Hi Experts,
Can anybody help me ?
My Requirement:
There should be a NavigationList UI Element at left and its content should be pull from SAP system through one of the custom BAPI. Next when we click on each link (content) in the NavigationList
, the corresponding link content should be pull from SAP System through another BAPI and display in the form UI element which is existed In next to the navigation list.
*What I Did*
I created two tables.
1 for contents of NavigationList.
2. for its corresponding data.
Created two BAPIu2019s
1 for pulling the data from SAP System to Navigationlist contents
2 for its corresponding content should bring from SAP System.
Created the application in webdynpro
Two Models
In the NavigationList OnSelect event I write code for calling the Second model object method existed in component controller.
See the code.
public void onActionSelectedItem(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionSelectedItem(ServerEvent)
int did = wdContext.currentItabElement().getDid();
wdContext.currentZfunmoddes_InputElement().setTddid(did);
wdThis.wdGetFinalCompController().executeZfunmoddes_Input();
//wdContext.nodeOutput().invalidate();
wdContext.nodeOutput1().invalidate();
//@@end
}
In the resulted contest I applied form UI elements to context attributes.
Result
When I run my application, it is showing the navigationlist items and if I click on each link it is not showing the corresponding content in the form.
Can u help me on this. I donu2019t understand how to solve this problem.
Waiting for u r reply.
Thanks u
Suresh..