on 06-29-2011 7:52 AM
Dear ABAPer,
I am new in web dynpro
i have made a program in web dynpro
it habe three views v1,v2,v3
v1 = login
v2 = in this viewhave manubar (master data)
v3 = view(insert screen for data)
i want to go view v3 by pressing menubar(master data)
how can i achive this
please help me
thanks
Shashi Bhushan Tiwari
Edited by: shashibhushantiwari on Jun 29, 2011 8:54 AM
Hi Shashi,
You are creating Menu with different Menu options right. I mean MENUACTIONITEM. For this you find OAACTION event.
write your code in this action to call VIEW3. i., fire plug to call view3.
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shashi,
I checked with menu for me it is working. calling next view from menu.
How you create menu and calling view.
Here steps i done :
Create MENU UI element-insert menu -insert menu option. for this menu option ( MENUACTIONITEM) for this you find
onaction event.
in that action just call outbound plug
wd_this->fire_out_plg( ). // OUT is outboundplug name of first view.
Thats it.
Cheers,
Kris.
Hi,
No, you have to give your V2 outbound plug name in onaction
wd_this->fire_input_V2_plg( ). // you are firing outbound plug of view2.
Have you defined navigation link between plugs??
Dont confuse.. go through this..
http://wiki.sdn.sap.com/wiki/display/sandbox/NavigationBetweentheviewinWEBDYNPRO+ABAP
Cheers,
Kris.
Hi,
I sent one link step by step is there..
in V2 - creat one outbound plug and in V3 create one inbound plug.
go tow window - >drag and drop all view into window. in right side in V2 outbound plug( say V2 outbound plug name ).
Right click on that plug name click on create navigation link it opens one popup- select your destination veiw. i.e. V3 here.
now in onaction code .. fire out plug of V2. if you confuse use code wizard.
wd_this->fire_V2_plg( ).
Cheers,
Kris.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.