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: 

How to delete a particular column's data from ALV report

Former Member
0 Kudos

Hello All,

I want to delete data from a particular column at some particular condition in a ALV report. Please guide me.

Scenario is like, from one purchase requisition there are no.of PO's are created, so i have to show purchase requisition quantity only at first line PO.

Thanks in advance.

Regards,

Shubhada

2 REPLIES 2

venuarun
Active Participant
0 Kudos

Hi Shubhada,

Please refer this link

http://www.saptechnical.com/Tutorials/ALV/CustomTable/Page1.htm

Regards

ArunVS

SimoneMilesi
Active Contributor
0 Kudos

So you do not want to delete the column, simply "blank" it, correct?

Before calling ALV, manage your output table this way (sorting by banfn)

LOOP AT out_tab

     AT NEW banfn

      clear flag.

     END AT.

    

   IF flag = 'X'.

          CLEAR out_tab-banfn.

   ENDIF

     Flag = 'X'.

ENDLOOP.