2010 Nov 04 1:33 PM
Whats the correct way to write the flow logic of a screen in which a table control has been created...??
PROCESS BEFORE OUTPUT.
MODULE modify_table.
LOOP AT tc_li_itab WITH CONTROL tc_li INTO wa_tc_li.
MODULE populate_tc.
ENDLOOP.
MODULE status_0110.
*
PROCESS AFTER INPUT.
LOOP AT tc_li_itab.
MODULE read_tc.
ENDLOOP.
MODULE process.
is this correct or should is use 'process' module before looping through table ??
PS: I have done processing on table control like adding new lines,selecting all,deselecting all, through push buttons in the 'process' module..
2010 Nov 04 11:10 PM
The best way is for all manipulation of table control you to it loop and append to internal table. It will be good if you can explain me your requirement in details plus where are you struck..?
Nabheet
Whats the correct way to write the flow logic of a screen in which a table control has been created...??
PROCESS BEFORE OUTPUT.
MODULE modify_table.
LOOP AT tc_li_itab WITH CONTROL tc_li INTO wa_tc_li.
MODULE populate_tc.
ENDLOOP.
MODULE status_0110.
*
PROCESS AFTER INPUT.
LOOP AT tc_li_itab.
MODULE read_tc.
ENDLOOP.
MODULE process.
is this correct or should is use 'process' module before looping through table ??
PS: I have done processing on table control like adding new lines,selecting all,deselecting all, through push buttons in the 'process' module..
2010 Nov 04 11:10 PM
The best way is for all manipulation of table control you to it loop and append to internal table. It will be good if you can explain me your requirement in details plus where are you struck..?
Nabheet