Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table Contols-Explanation

former_member191562
Participant
0 Likes
346

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..

1 ACCEPTED SOLUTION
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
320

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

1 REPLY 1
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
321

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