cancel
Showing results for 
Search instead for 
Did you mean: 

Deletion of lines for Sales Orders

Marisela1
Explorer
0 Kudos
125

Hello,

Does anyone know how to restrict deletion of lines on sales orders per user?  The user should be able to create sales order lines but not able to delete them.

View Entire Topic
Neeraj_Jain
Active Contributor
0 Kudos

Hello https://community.sap.com/t5/user/viewprofilepage/user-id/1924792

To restrict sales order line deletion in SAP S/4HANA Cloud, you can utilize authorization objects and/or implement a custom solution in the form of a BAdI or enhancement to prevent the deletion functionality.

Please check below authorization objects. Might it solve your issue.

V_VBAK_AAT:
This authorization object controls activities related to sales orders, including deletion. You can restrict users from deleting sales order lines by removing authorization to activity 06 (delete) for this object.
V_VBKA_VKO:
This object controls activities related to sales order headers, and removing authorization to activity 06 (delete) for this object can also help prevent deletion of sales order lines.

Regards,

Neeraj Jain

Marisela1
Explorer
0 Kudos
Hi Neeraj - thank you I will check into that.
Marisela1
Explorer
0 Kudos
Hi Neeraj, my understand is that this doesn't work with S4HANA Cloud Public, have you tried ?