Hello Experts,
I have a scenario where i need to display a dynamic table based on the user entered value in the selection screen.
For example if the user enters M1 it has to read all the L's tied to that M1 and dispplay as the L's as columns. In the below example I have L1,L2,L3,L4,L5 tied to M1. The field should be editable and possible values are numeric.
M1 | L1 | L2 | L3 | L4 | L5 |
---|---|---|---|---|---|
01/23/2013 | |||||
01/24/2013 | |||||
01/25/2013 | |||||
01/26/2013 | |||||
01/27/2013 |
When the user populates the table like below I have to save all the values in the table.
M1 | L1 | L2 | L3 | L4 | L5 |
---|---|---|---|---|---|
01/23/2013 | 0 | 8 | 0 | 2 | 0 |
01/24/2013 | 2 | 0 | 0 | 0 | 0 |
01/25/2013 | 0 | 5 | 0 | 0 | 0 |
01/26/2013 | 3 | 0 | 0 | 0 | 0 |
01/27/2013 | 2 | 0 | 0 | 0 | 0 |
Please help in understanding dynamic display of table and reading the values from the table. Is there any array concept in ABAP?
I am thinking of using READ LINE statement but how can i differentiate the values in the table?
Appreciate all your suggestions/inputs on this.
Thanks!