on 01-19-2009 6:10 AM
Hi experts
My requirement is to create two windows in the same Web DynPro component, then call up one of the Windows in an external page, so that the users can see both at the same time. I have looked at LinkToURL, but it does not appear to support this.
Any help would be greatly appreciated!
Regards
Johan Kriek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pranav and Thomas
Thanks for your assistance on my last problem! I have implemented the workaround you have suggested!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pranav.
Thank you very much for your help! I have implemented the code as you have suggested, and the window pops up in a different screen as expected.
It does however not appear that the context that I set up in the previous application is transferred to the new application. I have created a context mapping in the new window, referencing the component controller context of the component that contains both applications.
Any idea how I can get the context to be available in the new application?
Thanks in advance,
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
>
> It does however not appear that the context that I set up in the previous application is transferred to the new application. I have created a context mapping in the new window, referencing the component controller context of the component that contains both applications.
>
> Any idea how I can get the context to be available in the new application?
>
> Thanks in advance,
> Johan
You can not share context between external windows. When you open an external window, it creates a new session on the ABAP Application Server. You might even get load balanced to a different application server in a multi-app server environment. Therefore there is no memory communication between the sessions.
The only way to communicate is pass data via the URL parameters on launch of the external window.
Hi Johan,
use this code in action of any event, a button or link to action....
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->CREATE_EXTERNAL_WINDOW(
URL =
'http://<server_name>/sap/bc/webdynpro/sap/ztesttab'
* title =
* close_in_any_case = abap_true
).
lo_window->open( ).
you have to create an application and in that you have tyo give interface view as name of your view in popup window and give any plug even default will work...
regards
Pranav
Edited by: Pranav Nagpal on Jan 19, 2009 11:31 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
use the following link ,
Regards
Jayapriya
Edited by: jayapriya jayaraj on Jan 19, 2009 8:10 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.