Skip to Content
avatar image
Former Member

Navigate to another application in the same window

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 25, 2009 at 11:58 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 25, 2009 at 12:00 PM
    Add comment
    10|10000 characters needed characters exceeded