on 09-22-2008 1:48 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.