Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Using IScope in Netweaver 7.1 Web Dynpro

Dear All,

I have migrated my web dynpro code from NW 04s to NW 7.1.

Previosly, i was using

IMaintainScope scopeMaintainer = Utils.getScopeMaintainer(WDScopeType.CLIENTSESSION_SCOPE);
IScope scope = scopeMaintainer.getScope();

to maintain user session throughout the application. Now in 7.1, its not able to resolve these. Is there any sap dc which I have to add in Used DCs? Or what is the other way out?

Regards,

Amey Mogare

replied

Hi,

Following code may be of use for you

WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, key)

Regards

Ayyapparaj

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question