cancel
Showing results for 
Search instead for 
Did you mean: 

Navigate to another application in the same window

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

arjun_thakur
Active Contributor
0 Kudos

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