Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

table control not deleting

Former Member
0 Likes
348

Hi,

I wanted to delete a record from a databse table.

but theat record is not getting deleted and the other records are gettng deleted....

can you help me pls

WHEN 'DELETE'.

LOOP AT IT_ZASSET . " WHERE SEL = 'X'.

delete IT_zasset index TC-CURRENT_LINE . "WHERE SEL = 'X'.

*MODIFY ZASSET FROM TABLE IT_ZASSET.

*DELETE FROM ZASSET WHERE EQUNR = IT_ZASSET-EQUNR..

DELETE ZASSET FROM INDEX SY-TABIX.

*MODIFY ZASSET FROM TABLE IT_ZASSET.

ENDLOOP.

COMMIT WORK.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
326

You check the Demo program RSDEMO02.

It is handled in that. You can follow the same logic.

1 REPLY 1
Read only

Former Member
0 Likes
327

You check the Demo program RSDEMO02.

It is handled in that. You can follow the same logic.