cancel
Showing results for 
Search instead for 
Did you mean: 

Session Management.

Former Member
0 Kudos

Hi,

When we embed view in the view container, the session is not changed. i mean it is in the same session.

My requirement is that i want to embed a view in the view container and that view should be start in a different(new) session. Is it possible and how do i achieve it.

Please help.

Regards,

Piyush

Accepted Solutions (0)

Answers (2)

Answers (2)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

That functionality isn't supported by the Web Dynpro Model. Everything running within one application (multiple Views or Components) will be in the same session. You could use the iFrame UI element, but it is depreciated. My suggestion is that if you must have separate sessions, you should create two separate iViews in the portal for separate WD applications and host them within one page. This will give you two separate sessions, but you can still communicate between them using portal eventing.

uday_gubbala2
Active Contributor
0 Kudos

Hi Piyush,

I guess you intend to have the view displayed in a popup. Just go through [this example|http://www.sapdev.co.uk/sap-webapps/sap-webdynpro/wdp_displaypopup.htm] and you will find the entire coding to display a popup window with the desired buttons. You can also go through this [2nd example|http://saptechnical.com/Tutorials/WebDynproABAP/Modalbox/page1.htm] in which the user enters a customer number in the main view & presses on a pushbutton. A popup is then displayed showing the list of all sales orders related to the customer in a table UI element. The user can then select a table row in the popup & click on a button to navigate back to the main view & display it in there. Hope that this helps.

Regards,

Uday

Former Member
0 Kudos

i dont want a pop-up, like in html we have frames i want the same functionilty.

i want to embed a view inside a view which starts in different session.