01-30-2010 8:57 AM
Hi All,
I am tring to create a table maintenence.
In my table we have a field Deletion flag....
and as user hit delete in SM30 ..the record should not get delete ..but should mark the Deletion flag...
I am tring to use Events in the maintenence but didnt find this functionality..
Please suggest....
I dont want to use module program...
Thanks
RK
01-30-2010 9:44 AM
HI,
Another option, You can place a check box in the field i guess, or give a list box ....
Let the user mark the required entries and save it.
01-30-2010 11:29 AM
thnx for reply.....
but if user select the perticular field as check box.....then what will happen to the Delete botton...in txn SM30...how to remove it....
thnx
RK
01-30-2010 7:47 PM
01-31-2010 1:25 PM
Create a maintenance view and i think in the maintenance type of the view you can restrict the delete functionality.
Or in any of the events you can trigger the message when delete button is used.
01-30-2010 9:50 AM
Hi,
Try to add your own module in the begining of the PAI event the your table maintenance generator.
Put the check on the OK_CODE aand when OK_CODE = 'DELE'. try to update your table with deletion flag indicator.
01-30-2010 10:00 AM
In future what if the maintenance is regenerated, then it will create a problem.
Its better not to add any custom code in the flow logic.