on 09-18-2006 5:07 AM
Hi,
I have a table in My application.Im bringing the data from R/3 to that table.i want to display the data in the selected row . how to achieve it ?..
Regards,
Ramganesh.
Hi Ramganesan,
You could set the main table's Singleton property to TRUE, pass the lead selected element and use a supply-function to load data to be displayed in a second 'detail' table.
You could refer:
/people/sap.user72/blog/2005/03/15/supply-functions-in-webdynpro
Alternatively, by displaying more data retrieved "IN" the selected row itself, you could employ a table popin.
Refer:
http://help.sap.com/saphelp_erp2005/helpdata/en/23/5e9041d3c72e7be10000000a1550b0/frameset.htm
Regards,
Adithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramesh,
try this.
In table onleadselection() method write this code.
int size= wdContext.current<outputnode>.size();
for(int i=0;i<size;i++)
{
String rowval = wdContext.current<outputnode>().getAttribute();
or
String f+=wdContext.node<Output>.get<outputElementat>(i).get<Field>();
String 2 = same above ..
String 3= ....
}
Display where ever do u need.
this is for do u have more rows in the table .
Only you have one row write the same code in that method with out for statement....
Thanks
Lohi
Message was edited by: Lohitha M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you explain selected row in detail format?
Regards,
Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Based on your selection, where do you want to show the selected Details? Will it be on Corresponding Input Fields?
If you want to get lead selection and Get Elements use the below code.
wdContext.nodeTestNode().getLeadSelection();
//Get Elements
String element = wdContext.currentTestNodeElement().getTestElement();
Regards,
Sridhar
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.