cancel
Showing results for 
Search instead for 
Did you mean: 

wda table edit

Former Member
0 Kudos

Hi all,

I am working on wda normal tables. I want to give the table in input. when i click the submit it should take those values.

i made table fields as inputfield.but when i test my program i am not able to edit my table. and i made cardinality is 1:n and selection 1:n that time i am able to edit 1 row.unable to select other rows.

how to make all rows of the table fields editable .

Can any body give any suggesion

Thanks&Regards

revati

Accepted Solutions (1)

Accepted Solutions (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

when you make the cardinality 1:n one record automatically inserted by the framework, so you have one element in your context node.

you have to write code to insert new records into the context node, then you are able to see the records in edit mode.

if you want ten records put code in WDDOINIT

data: lr_node type ref to if_wd_context_node.

data: ls_tab type <node type>.

data: lt_tab type table of <node type>.

lr_node = wd_context->get_child_node( '<node name binded to table>' ).

do 10 times.

append ls_tab to lt_tab.

enddo.

lr_node->bind_table( lt_tab ).

Abhi

Answers (1)

Answers (1)

Former Member
0 Kudos

Can you paste your code here.let me see how you are making ediable columns.

thanks

Suman