on 06-17-2008 9:49 PM
Hi,
I have this scenario where i get the following output from a BAPI where the input fields i submit are the username and language and the output i get is in a table format which gives me in another view say ResultView.
WI_ID
WI_Text
WI_Status Text
I could acheive the expected result till the above step.
what inturn i need is when i select a row of the above table.I need to send the WI_ID that i get as input to the second BAPI.I tried to get the leadselection of the node that i was previously getting in the custom controller .But it doesnt give me the option of getWi_Id int he WdDoinit method where iam trying to access it.Please could somebody tell me where i need to get the leadselection and where do i need to write the code for passing this value that i get from lead selection as an input to the other BAPI.
hi Swathi,
As mentioned you are trying to pass the output of first BAPI as the INput to the other BAPI.
In this regard, first of all on the table lead select method, write
String xyz=wdContext.current<node>element.getWI_ID();
then this xyz can be mapped to some context attribute or directly to the input field attribute of the second BAPI.
then the execution of the second Bapi if written in the Custom or Component Controller, then this parameter should be passed as the input to the second BAPI.
Hope this solves your problem.
Let me know if you still require some other help.
Thanks and regards,
kris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Better idea is keep the first coulmn of thetable with check boxes.
So what all are selected can be get by using the index and the data corrosponding to the selected index can easily be retrived and sent to the data base
Regards
Padma N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.