Skip to Content
avatar image
Former Member

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,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jan 11, 2008 at 03:06 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Vishal,

      Even i am also facing same problem.

      it is working in init method when i get some records from database table and bind to it, the table is shwoing all the records.

      But if i input the records more than one, it is bringing only one record.

      any idea ????

      i am working on ECC6.0 with SP13.