Application Development 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: 

limited output rows in table control module pool program.

0 Kudos

I had created a module pool program with table control.

At first, entered one input, got some records. then I wanted to change the input. For the second output I have some empty rows in the table, how can I delete them?

3 REPLIES 3

noumantahir
Explorer
0 Kudos

first of all get the count of your ITAB that you passed to table control.

write the below code in Process before output

TAB_CTRL-LINES = Count of ITAB.

0 Kudos

thank you for the reply. I will try that.

raymond_giuseppi
Active Contributor
0 Kudos

I would add another line to insure correct execution

REFRESH CONTROL 'TAB_CTRL' FROM SCREEN dynnr.
tab_ctrl-lines = lines( output_table ).