on 12-19-2013 1:39 PM
Hi experts,
I have two view let view1 and view2 in my web dynpro component.
In view1 there is a submit buttons having an action name fetch .
Now within the code of onactionfetch I want to call second view as well as want to pass wa data to to second view.
For Eg:
method ONACTIONfetch .
---
---
if sy-subrc <> 0.
******* call second view ie view2
endif.
endmethod
thanks.
Hi,
Define outboundplug for view1 and inboundplug for view2 and navigation link between them and fire outboundplug method ONAvalueTIONfetch.To send values use outboundplug parameters.
For more details go through http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/308ebfe9-a07a-2c10-e494-9849d50ef...
Regards,
Sreenivas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rao,
I know to navigate from one view to another view and vice versa on clicking action button with help of inbound and outbound plug.
But here I want to call view2 when the sy-subrc fails within the code of view1. I knw how to call view if user click action button. But how to call the view without user interacation I mean if sy-subrc get fail within code of view1 it should automatically trigger view2 dynamically??
I need it urgent.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.