Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to read table record in WebDynpro ?

Dear All,

I create a table in WebDynpro, This table have 5 record , and the data come from a Bapi,

now, I want to save this table data to html Page, but, at present, I only get the first record data (like :WdConetxt.currentBapi_my_table Data.getmypersonNo();).

I want get the data one record by one record, can you give the method how to read the table record one by one ?

Thanks!

Edited by: Doke on Sep 30, 2008 2:07 PM

replied

Hi,

U take one for loop and retrieve all the records.

ex

for( int i=0; i< wdContext.nodeFlight_List().size(); i++)

{

String s1=wdContext.nodeFlight_List().getFlight_ListElementAt(i).getAirline().toString();

}

nodeFlight_List is my node name.

Regards,

Sunaina Reddy T

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question