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

deletion indicator

Former Member
0 Likes
569

Hi,

I have seleted banfn,matnr and loekz fields from eban table.Now I have to check if there is a deletion indicator(loekz) set for any of the material numbers and delete the corresponding materials from the internal table.How can I do that?

3 REPLIES 3
Read only

matt
Active Contributor
0 Likes
532

You call yourself "abap developer" and you don't know how to do that?

matt

Read only

former_member404244
Active Contributor
0 Likes
532

Hi,

While retriving only u can filter

select matnr

banfn

lokez

from eban

into table it_eban

where lokez ne 'X'.

This will fetch onlty those reocrds whose lokez is space....

Regards,

Nagaraj

Read only

Former Member
0 Likes
532

u have all the data in ur internal table...

DELETE itab where LOEKZ EQ 'X'.

that deletes all the rows of the internal table that have the deletion flag set.

Regards,

Srinivas