cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop user to delete Sales Order when subsiquent document exist

Former Member
0 Kudos

I have a scenario that a user has deleted the sales documnet although the subsequent documents are already exist, can anyone help me out that how can i restrict user to not to delete any document of the system.

gurrus help me out.

Accepted Solutions (0)

Answers (4)

Answers (4)

ian_kehoe
Active Participant
0 Kudos

Hi Yasir,

Could you please try the following:

Transaction SE38 -> rvscd100

Enter the document number and execute.

This should show you if the user deleted the order with VA02 or some other way. If there are no change logs for this order then I'd say the user deleted directly from the database.

If the user deleted it from VA02 then you could just restrict the user from using VA02. If they deleted it from the database then you will have to take away replace authorisation in debugging to avoid this user doing this again.

In the standard system it should not be possible to delete the order when subsequent documents exist.

I hope this helps.

Best regards,

Ian

Former Member
0 Kudos

Hello,

If you want to restrict your user to change authorizatio for user roles... Go and talk to your Security team in order to restrict a delete functionality. Security team has assigned certain roles which has certain parameters to do necessary changes in sales order like create, change, display and delete. Request the security team uncheck the delete function.

Other way:

1. Create one sales order and save it in Test system

2. Take the order number and delete it

3. From the same screen in command field enter /nsu53

4. Give the screen shot to Security team

5. Tell security team to remove that authorization of delete functionality which is showing in the screen shot.

regards

rc gopi

Former Member
0 Kudos

Hi Yasir

Your case is only possible if the user has deleted the document from table. Otherwise standard SAP would not allow to delete such scenarios.

If user has deleted the document from tables directly, Please restrict table change authorization.

Former Member
0 Kudos

Hi Yasir,

In standard SAP, system will not allow to delete any document when subsequent document is existing.

I suggest you to please check your documents once again.

Regards,

Ravi Duggirala

Former Member
0 Kudos

Hi,

In standard its very unlikely to delete any sales document if any subsequent document is existing. I dont think you have to do some special setting for it.

Thanks,

Raja