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

Internal Tables

Former Member
0 Likes
459

Hi all,

How to delete blank lines from internal table.

I wrote append statement 2 times without any values.

The itab appended with blank lines.

4 REPLIES 4
Read only

Former Member
0 Likes
436

Hi

Try this

Delete <itab> where <key-field = ' ' >.

Regards

Aditya

Edited by: ADITYA MITTAL on Apr 1, 2008 12:58 PM

Read only

Sm1tje
Active Contributor
0 Likes
436

delete itab where xxx is initial.

Or just don't do an append if line is initial:

if wa_table_line is not initial.

append.

else.

  • DO ???

endif.

Read only

Former Member
0 Likes
436

hi,

delete <field> from itab where <field> = ' ' .

Read only

0 Likes
436

Hi,

delete int_tab where f1 = ' '.