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

limited output rows in table control module pool program.

0 Kudos
676

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
Read only

noumantahir
Explorer
0 Kudos
627

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.

Read only

0 Kudos
627

thank you for the reply. I will try that.

Read only

RaymondGiuseppi
Active Contributor
0 Kudos
627

I would add another line to insure correct execution

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