cancel
Showing results for 
Search instead for 
Did you mean: 

Passing context variables to external windows

Former Member
0 Kudos

Hello,

I want to open web dynpro component as external window.

Is it possible to pass context variables to that window, without passing it as URL parameters?

Can I use the lo_window reference, that is created for accessing the interface controller?

Thanks and regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sebastian,

as Thomas says WDA does handle this directly.

the trick to having separate tasks access common data is to use Shared memory objects. If the window you spawn is not on the same server, you can pass it a return URL it can call to get data. Let me explain how it works.

A shared memory object is an ABAP OO class that runs in a shared memory segment.

Any work process can access it. Ie call get methods on it. Typically done via static get singleton and then call a method.

Your 2 WDAs can talk in this way.

If you open an external window, eg you can pass a call back URL to it.

In SICF add a new service. This service has a simple CLASS that behind it that calls the shared memory object and then returns the data in the HTTP response.

Programmitically this can be achieved in an under 2 hours.

cheers phil

thomas_szcs
Active Contributor
0 Kudos

Hello Sebastian,

Since an external window is a completely new browser window, parameters can only passed to it via the URL.

Best regards,

Thomas