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: 

Remove lines in alv output

kabil_g
Active Participant
0 Kudos

This message was moderated.

5 REPLIES 5

rajkumarnarasimman
Active Contributor
0 Kudos

Hi Kabil,

If you are planned to delete the entries which is having value for the particular column, i recommend to use NOT INITIAL.

If you are looking for some other option, i hope the following command also may work.

DELETE gt_final WHERE loapprove <> ''

DELETE gt_final WHERE loapprove IS NOT NULL .  

Regards

Rajkumar Narasimman

former_member195402
Active Contributor
0 Kudos

Hi Kabil,

what's the issue with your DELETE ?

Regards,

Klaus

0 Kudos

No Issues .

I wanted to know syntax available other than


Syntax : DELETE gt_final WHERE loapprove IS NOT INITIAL .

0 Kudos

Hi Kabil,

if you have more complex criteria for delete, you can use

LOOP AT gt_final INTO  ... or LOOP AT gt_final ASSIGNING  ...

Then check your criteria, maybe relations on several table fields.

DELETE single entry in this loop, when the criteria are fulfilled.

ENDLOOP.

But in your case the solution you already have will be the best one.

Regards,

Klaus

kabil_g
Active Participant
0 Kudos

I am closing these thread