cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Order not to be deleted

Former Member
0 Kudos

Hi All,

Does anybody have any idea how to make the sales order delete option inactive in VA02. I know one if the option is by giving a variant to the user, but ideally this is not preferable.

Thanks & Regards,

Vidya

Edited by: VIDYA SAGAR DADI on Sep 18, 2008 12:36 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Check with the BASIS expert , how to inactivate the filed delete from VA02, they may be able to help you.

Prase

Answers (4)

Answers (4)

Manoj_Mahajan78
Active Contributor
0 Kudos

Hi..

Your BASIS team can help you in this by User Authorisation Controls.

Regds

MM

Former Member
0 Kudos

Hi,

You can restrict access for users to delete sales orders in VA02. Please take help from Basis team and block the access to delete sales order function in VA02.

As per one of the suggestions from the forum:

In the include program MV45AFZB

FORM USEREXIT_CHECK_XVBAP_FOR_DELET USING US_ERROR

US_EXIT.

***Stops process of deleting the entire order

IF ( sy-tcode EQ 'VA02' ) AND

( fcode EQ 'LOES' ).

us_exit = 'X'.

EXIT.

ENDIF.

Please check the same with Basis-Admin.

Best Regards,

Amit.

Note: Refer "Search Forum".

Former Member
0 Kudos

Hi there,

Check with your BASIS team if it is possible to deactivate the option Delete in VA02 --> Sales Doc.

You cannnot control delete with user authorisations. BASIS team will totally stop the create / change access for that.

So best option to try seeing if the option Delete is deactivated.

Regards,

Sivanand

Former Member
0 Kudos

Best way is to control this by authorizations. Do not give delete authorization to all the users.

Regards,

GSL.