on 03-03-2008 10:14 AM
hai all,
i need to get the values from backend to frontend.In webdynpro iam using jco codings instead of adaptive rfc.here i need to loop the table in backend and get the values.how to get the size of a table in r/3.
Thanks
Sharanya.R
Edited by: Sharanya R on Mar 3, 2008 11:14 AM
Hi Sharanya,
Describe table < internal table name > lines n.
In R/3 this statement will give the number of table rows of the internal table .n should be of data type i.
Eg : If the internal table has 3 records n will have the value of 3.
If you are using a RFC you can store n in an export parameter
and can retreive when it is needed.
Regards,
Charumathi.B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hai charu,
Thanks for the response.I have closed the issue as soon as i opened.
In front end i need to refer it as follows
for(int i=0;i<table_ref.getNumRows();i++)
{
wdComponentAPI.getMessageManager().reportSuccess(""+table_ref.getValue("VOLTAGE"));
table_ref.nextRow();
}
Thanks n Regards
Sharanya.R
Edited by: Sharanya R on Mar 3, 2008 12:09 PM
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.