on 02-25-2009 11:13 AM
How can I navigate to another application in the same window? I know how to open in a new browser.
Also, I cannot give a linktourl UI. I have to do it on click of a button.
I can get the URL. How to go there now?
Thanks in adv.
Hi Shweta,
You can get a URL to a webdynpro application and also navigate to it. I used below code snippet,
METHOD onactionclick .
* Data Declarations
DATA:
lr_ref TYPE REF TO ig_ZWDA_APP1,
str TYPE string.
*Get the URL of the Application
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'ZWDA_APP2'
IMPORTING
out_absolute_url = str.
*Reference of Window
lr_ref = wd_this->get_ZWDA_APP1_ctr( ).
* Fire Exit Plug
lr_ref->fire_go_exit_plg(
url = str
).
ENDMETHOD.
u can modify it so that ur current application is not closed or that new application gets launched in seperate browser window.
Greetings
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shweta,
Please refer to this [article|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2064719b-8851-2b10-a399-b356d91ca4ba]
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.