cancel
Showing results for 
Search instead for 
Did you mean: 

Row Repeter in WD ABAP

Former Member
0 Kudos

Hello,

Any one used row repeter UI element. how do we use this in our application.

I have one case can we use it in this.

I need to add my input feilds in runtime.

means I have a input feild on my screen and a add button when I press add button,

I should be able to get another input feild in next line and i should be able to input values,

This should happen n times depending on requirement.

-


Thanks & Regards,

Ajay

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi, You can try doin this. First add a Row repeater element . Now Bind its Datsource property to node( cardinality shud be multiple i.e 1..n or 0..n) in which u want to pass the data. Add input field ui element to Row repeater and bind it primary property i.e value to attribute of ur node . Now create an add button . In method of add button write code to add a new element to ur node.I think this will solve ur problem.

Former Member
0 Kudos

hi ajay.........

in that case you need to go for dynamic programming..

you have the class cl_wd_input_field which as a method new_input_field which adds an input field....

make sure that you cahnge the name of it every time you add.... initially try with only 1 input field.... you can get an idea of it when you work.

---regards,

alex b justin