Skip to Content

Remove lines in alv output

This message was moderated.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jan 12, 2015 at 06:06 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 12, 2015 at 06:10 AM

    Hi Kabil,

    what's the issue with your DELETE ?

    Regards,

    Klaus

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • Jan 12, 2015 at 07:50 AM

    I am closing these thread

    Add comment
    10|10000 characters needed characters exceeded