Skip to Content

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

Input enabled table with multiple rows

Hi All,

I have a scenario to create a table in webdynpro for abap. This is a user interface. Here user will be providing value for tabe in multiple rows. And once user will press the Save button then all the rows of table will be read and will be saved in database.

My problem is the table is displaying only one row as input enabled not all the rows. Can anyone please help on this? Points will be assured.

If I am providing rowCount = 2. Or more than 2 then it is creating short dump.

Thanks & Regards,


Former Member replied

Hi Ashvender

In init method of your view :

Read the context node with which u have binded the table control fields.

Create a internal table same as structure of your context node

append blank records for as many editable rows u wanted

Bind the internal table.


node_table TYPE REF TO if_wd_context_node,

elem_table TYPE REF TO if_wd_context_element,

stru_table TYPE if_v_table=>element_flight ,

lt_stru_table TYPE if_v_table=>elements_flight .

node_table = wd_context->get_child_node( 'TABLE' ).

clear: stru_table.

do 5 times.

append stru_table to it_table.


node_table->bind_table( it_table).


Vishal Kapoor

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