Hi Sai,
I want to know where you have s trucked while delete and change.
PROCESS PAI.
LOOP AT ITAB.
FIELD ITAB-MARK.
MODULE MODIFY_ITAB.
ENDLOOP.
MODULE USER_COMMAND.
*****************************************
MODULE MODIFY_ITAB.
* Save all data from screen
MODIFY ITAB INDEX <TABLE CONTROL>-CURRENT_LINE.
ENDMODULE.
MODULE USER_COMMAND.
CASE OK_CODE.
WHEN 'DELETE'.
LOOP AT ITAB WHERE MARK = 'X'.
* Delete database record
DELETE Z<TABLE> FROM ITAB.
* Delete internal table record
DELETE ITAB.
ENDLOOP.
COMMIT WORK
WHEN 'MODIFY'.
LOOP AT ITAB WHERE MARK = 'X'.
* Modify database record
MODIFY Z<TABLE> FROM ITAB.
ENDLOOP.
COMMIT WORK.
ENDMODULE.
Thanks & Regards,
Manoj.