I have retrived data from an DB table.From the retrieved entreis deleted entries where werks not in Plant on the screen.
for this i have used the code
delete itab where werks ne s_werks.
is this the corect code.Bcoz even though werks = s_werks the data from itab is gettin deleted.
here s_werks is a select-option field.