cancel
Showing results for 
Search instead for 
Did you mean: 

User should not be allowed to change plant in SO once PR/PO is created

surendergupta
Explorer
0 Kudos

Hi SAP Gurus,

User has created the Purchase Request & Purchase Order for a sales order line item. After PR/PO creation user is able to change the plant. We need to stop that is there any standard configuration or setting by which i can stop the user to change the plant.

System is giving the error if i am trying to delete the item since the PO exist but not stoping me to change the plant.

Thanks

Surender

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Try using this exit with the help of your ABAPer. Ask him to write a code to grey out the plant in the SO while saving.

Exit: USEREXIT_SAVE_DOCUMENT_PREPARE

Program: MV45AFZZ

Regards

Madhu

Former Member
0 Kudos

you can do this through SHD0 tranction varient.

Former Member
0 Kudos

Hi,

Standard setting is not available.You need to write the specific code in Sales order change exist by checking the VBEP -schedule line table where the PR exists.so for the line item the Plant should not be changeable.

Sales Order Change exit the following requirement has to be incorporated.

You can find the user exits in SPRO-Sales and DistributionSystem ModificationsUser Exits--User Exits for Order Processing.

Regards,

Saju.S