06-29-2007 7:35 AM
In tables if i delete any record delete_flag should set to 'x' and the record should be saved, displaying the message 'Entry deleted'.
Do u have any sample code or module written in table maintainance for this.
please help me with it.
06-29-2007 7:39 AM
Hi
This is what SAP follows, for example
When you delete an item in a PO it simply marks that record as deleted by setting the field LOEKZ = 'X'. It wont delete that record from the table
similar case with most of the transaction tables in SAP.
Programatically also you can modify that record by setting the field = 'X' in the respective table.
Reward points for useful Answers
Regards
Anji
06-29-2007 7:51 AM
I have created an event 03 (before deletion) and set delete_flag = 'x' but i could neither save the value x in that field nor avoid from deleting.
Do u have any sample code to achieve it Anji.