Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

I tried deleting a record from standard table but not working

I need to delete a record from standard table scarr using this syntax but the record is not deleted please check it ,is it possible to delete the record from standard table or not help me in doing it .

data: wa_scarr type scarr.

wa_scarr-CARRID = 'SQ'.

wa_scarr-CARRNAME = 'Singapore Airlines'.

delete from scarr where carrid = wa_scarr-carrid and

carrname = wa_scarr-carrname.

if sy-subrc <> 0.

write: 'record not deleted'.

endif.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question