on 02-04-2011 4:33 AM
Hi,
I need to open a new window in Wd, tat is i want to navigate from one window to another window. I dont need pop up.
thnx in advance,
Create one more application for the window 2.
In the first window create an exit plug with url pararmeter as the url of the second window 's application .
then it will navigate to the second window.
thanks
sarbjeet singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ranjith ,
You can call a window by calling url of any application.
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( ).
CALL METHOD LO_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW
EXPORTING
URL = ' NAME of the URL ' " get this from web dynpro aplication name
MODAL = ABAP_FALSE
HAS_MENUBAR = ABAP_TRUE
IS_RESIZABLE = ABAP_TRUE
HAS_SCROLLBARS = ABAP_TRUE
HAS_STATUSBAR = ABAP_TRUE
HAS_TOOLBAR = ABAP_TRUE
HAS_LOCATION = ABAP_TRUE
RECEIVING
WINDOW = LO_WINDOW.LO_WINDOW->OPEN( ).
These will also help you.
[IF_WD_WINDOW|http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/47/b8acd317302fe1e10000000a42189d/content.htm]
[Calling Dialog Boxes of the Same Component|http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/47/b9487301602fe2e10000000a42189d/content.htm]
Thank & Regards,
Monishankar C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ranjith,
method ONACTIONwindow.
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( ).
CALL METHOD LO_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW
EXPORTING
URL = 'www.sdn.sap.com'
MODAL = ABAP_FALSE
HAS_MENUBAR = ABAP_TRUE
IS_RESIZABLE = ABAP_TRUE
HAS_SCROLLBARS = ABAP_TRUE
HAS_STATUSBAR = ABAP_TRUE
HAS_TOOLBAR = ABAP_TRUE
HAS_LOCATION = ABAP_TRUE
RECEIVING
WINDOW = LO_WINDOW.LO_WINDOW->OPEN( ).
IF SY-SUBRC EQ 0.
ENDIF.
endmethod.
try this code.
also it can be acheived through exit-plugs
Create a exit plug in the window.
fire the exit plug by passing the URL of the window you want to navigte to
thanks and regards,
sahai.s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ranjith ,
You can use Exit-plugs for achieving this..
Create a exit plug in the window.
On click of a button(or some link) , fire the exit plug by passing the URL (to which you want to navigate).
But exit plugs logout from the current application before moving to another URL.
Thanks,
Aditya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.