on 06-09-2009 9:08 AM
Hi experts,
I have tried using _self in the "target" property in my LinkToURL UI element to call up another ABAP web dynpro application, but the browser keep calling the new application in a separated browser. How can I call up the new application in the same window?
Thanks.
Hi Mandy,
By starting a new application in the same browser window, the current application has to stop. There are two methods of achieving what you want. The first one is to use an exit plug and to specify the new URL there. The second option is to use the suspend/resume functionality.
Here in this example I am saying like IG_MAIN_WINDOW coz my window name is MAIN_WINDOW. Just replace the main_window with the name of your window. So if you window is called WIN1, the name will be IG_WIN1
method ONACTIONGO_SUSPENDING .
data: L_REF_MAIN_WINDOW type ref to IG_MAIN_WINDOW .
L_REF_MAIN_WINDOW = WD_THIS->GET_MAIN_WINDOW_CTR( ).
L_REF_MAIN_WINDOW->FIRE_GO_SUSPENDING_PLG(
URL = 'http://
/webdynpro/sap/my_secondary_wda' ).
endmethod..
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 |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.