hi all,
may i know how to loop to check this.
hope to have the code.
thanks
table abc
fielda lot no fieldb status
123
123 x
123 x
123
LOOP AT itab.
va_tabix = sy-tabix.
(check against table abc base on [lot no]
if [status] in all records in table abc for the same lot '123' are 'x' then
DELETE itab INDEX va_tabix.
example of the table abc above only 2 records have 'x' so cannot delete itab.
ENDIF.)
ENDLOOP.