Delete single row from DBTAB
I want to delete a single row from DBTAB ( KLAH )
WHERE KLAHKLART = '2' and KLAHCLINT = '241'.
Try this code To delete single record from DB table- -
DATA : t_klah LIKE TABLE OF klah, fs_klah LIKE klah. SELECT * FROM klah INTO TABLE t_klah WHERE klart = '2' AND clint = '241'. LOOP AT t_klah INTO fs_klah. DELETE klah FROM fs_klah . EXIT. ENDLOOP.