09-23-2008 8:33 PM
Hi all
I have deleted some entries from Ztable by using
DELETE FROM Z4567 WHERE BUKRS IN S_BUKRS
But here I need to display how many records are deleted from that Ztable.
can any body..
09-23-2008 8:38 PM
The statement DELETE sets sy-dbcnt to the number of deleted rows.
09-23-2008 8:39 PM
This is from F1 Help.
The statement DELETE sets sy-dbcnt to the number of deleted rows.
09-23-2008 8:41 PM
check the value of sy-dbcnt after delete statement...may be it will give u the info.
09-23-2008 8:50 PM
09-23-2008 9:01 PM
09-23-2008 9:02 PM
DELETE FROM Z4567 WHERE BUKRS IN S_BUKRS.
if sy-subrc = 0.
Write: 'Number of record(s) deleted : ',
sy-dbcnt.
endif.
09-24-2008 4:03 PM