on 05-27-2008 3:37 PM
Hello Experts
I've the following view: the left handle column contains a worklist and the right column contains a VCUIElement that shall embed another view dynamically depending on an action in the left-hand worklist view. What do I have to do to tell the VCUIElement to display a specific view depending on the selected entry in the left-hand worklist?
Regards,
Mathias
Hi Mathias
To do a dynmic navigation(without define inbound and outbound plug in window design),you need to use this interface method:
IF_WD_NAVIGATION_SERVICES->DO_DYNAMIC_NAVIGATION.
the interface implement class is CL_WDR_VIEW,you can get the instance from any of you view's controller using WD_THIS->wd_get_api( ).
Here's an example:
Web Dynpro Comp: WDR_TEST_MISC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I suggest you to read these: [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2eb11b59-0a01-0010-dfa3-8292abdf9c4f] and [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cfb80249-0801-0010-3eaa-829afeac170f].
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do the following:
1. Create outbound plugs in the main view, for each outbound plug, in each of the views which need to be navigated to, create an inbound plug corresponding to each outbound plug.
2. Go to the window which embeds your main view. Within the main view, you will see the VCUI element. Within that, embed each of the views which need to be displayed in the UI element.
3. Create navigation links between the outbound plugs of the main view and inbound plugs of the individually embedded views.
4. In your event handler methods, for the links on the left hand side, fire the respective outbound plugs. The corresponding view will get loaded on the right hand side.
Regards,
Wenonah
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.