2008 Nov 18 1:50 PM
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?
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?
2008 Nov 18 1:51 PM
You call yourself "abap developer" and you don't know how to do that?
matt
2008 Nov 18 1:52 PM
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
2008 Nov 18 1:55 PM
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
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |