cancel
Showing results for 
Search instead for 
Did you mean: 

wdscopeutill in WDA ?

0 Kudos

Is there something similiar to the above?

I want to keep values of session for multiple projects in portal.

Thanks

Ariel

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Perhaps you should better describe what you want to do. Is WDSCOPEUTILL a Web Dynpro Java utility? You say you want "keep values of session for multiple projects in portal." - what exactly does that mean? You want to share data between different Web Dynpro Components? Are these different components in separate iViews? Are you talking about Portal Eventing? Do you just want to store some data in Shared Memory?

I did a search and WDSCOPEUTIL does appear to be a WDJ utility for sharing session context between parent and extenral windows.

We don't have a specific tool for doing this in ABAP. Instead there are several techniques that could be used. If all WD Components will be in the same user session, then you can just use static attributes/methods of a class. The static attributes will be persisted across all internal modes of the single user session.

If you need to cross multiple user sessions (spawing an external browser window), then developers often write the data into the database - sometimes via what we call Server Cookies (just a temporary entry in a database table). You can then pass the cookee key as a URL parameter to the new window and retrieve the data from the server cookie using this key.

If you need the data to persist across completely different user ids and sessions, then you can consider an ABAP Shared Memory Object. This is a class that exists in Application Server Shared Memory instead of any single user session.

Answers (0)