cancel
Showing results for 
Search instead for 
Did you mean: 

CLIENTSESSION_SCOPE is deprecated

Former Member
0 Kudos

Hi experts,

I have a problem with this instructions.

I need to manipulate "session" to save user's data navigation but

WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, "Key1", "Value1");   --> deprecated

String myVar = WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, "Key1");

I can't use "APPLICATION_SCOPE" because there are many SC.

How can I replace this instruction?

Regards.

Quentin

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182374
Active Contributor
0 Kudos

Hi,

Check the JavaDoc for WDScopeUtil: http://help.sap.com/javadocs/NW73/SPS11/CE/wdr/com.sap.wdr/com/sap/tc/webdynpro/services/session/api...

The interface can be found in three SCA, in two of them it's deprecated but you can use the third one:

[sap.com] WD-RUNTIME     [sap.com] tc/wd/api     default     BC-WD-JAV-RUN

Regards,

Omri