11-22-2010 3:18 AM
Hi experts,
I know there's way to control the deletion of Sales Document through V_VBAK_AAT and V_VBAK_VKO.
However, how can I control the deletion of Delivery Document (in t-code VL02N)?
Thanks in advance.
Chin
11-22-2010 5:08 AM
Hi,
if you can't find a standard authorization object using standard tools such as SU24 and ST01 then there is a BADI LE_SHP_DELIVERY_PROC with method CHANGE_FCODE_ATTRIBUTES. This method is called whenever screen is displayed and can be used to exclude menu items e.g. Delete Delivery. So you can create a custom authorization object which will be used to control access to delete function.
Cheers
01-30-2011 12:14 PM
01-31-2011 3:21 PM
I think this is not possible by standard authorization. However what you have found in trace?
Regards,
Arpan Paik
01-31-2011 3:40 PM
Hi,
This functionality is not directly available in the standard SAP with authorization objects. Please refer OSS note: 580226. Therefore we have to go for below 2 step process.
1. Enable delete activity to the relevant authorization object
2. Code a user exit to check the activity status of the authorization object and to popup a error message
Best regards,
Anupa