Hello experts,
I developed a table control in the following way:
process before output.
module status_0110.
loop with control tc_liqivp_items.
module item_get.
module screen_modify.
endloop.
process after input.
loop with control tc_liqivp_items.
chain.
field: gs_liqivp_items-umzeichart,
gs_liqivp_items-endpa
module endpa_check on chain-request.
endchain.
chain.
field: gs_liqivp_items-umzeichart,
gs_liqivp_items-umz_fenster,
gs_liqivp_items-endpa
module item_modify on chain-request.
endchain.
endloop.
The control is defined as following:
controls: tc_liqivp_items type tableview using screen 110.
The screen 110 is defined as subscreen.
I use the classical table control (using loop at TCu2026); in PAI the fields will be transferred implicitly from the table control to the assigned structure gs_liqivp_items.
Within the table control loop, however in structure not all fields are filled correctly (some fields comes from the last line of the internal table).
E.g.: 10 Testline1 3.25 CHF red blue 20 Testline1 4.25 CHF green blue 30 Testline1 6.10 CHF white blue 40 Testline1 6.50 CHF yellow blue
If I change the value in line 1 from 3.25 to 4.25 CHF also the fields red and blue will be overwritten by the last line. The result is:
10 Testline1 4.25 CHF yellow blue 20 Testline1 4.25 CHF green blue 30 Testline1 6.10 CHF white blue 40 Testline1 6.50 CHF yellow blue
Only the price field is set as input field.
Do you have any idea for this issue?
Thanks for your support!
Regards,
Kurt