cancel
Showing results for 
Search instead for 
Did you mean: 

Plant modifiable in Sales Order

former_member461383
Participant
0 Kudos

D Friends,

We are creating Sales Order with reference to Contract. We put plant in the line item of the contract. When we create Sales Order with reference to Contract, all the items including plant is copied in the Sales order. Now the issue is that in Sales Order if user is changing the plant code then system is accepting it. Hence we want that if the plant code is different from the contract, then system should give err. Can we do it through standard and if not then how else?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

prasanna_kumar4
Active Contributor
0 Kudos

HI

1. By using Screen variant we can control the plant fields Grey- out

2. By using the Enhancement we can control

Screen 4900

MODULE VBAP-WERKS_PRUEFEN ON REQUEST

PERFORM ENDE_OHNE_PRUEFUNG USING SPACE

Take the help of ABAPers and explain the logic

Regards,

Prasanna

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

As said above it is not possible through standard.You can achieve this by modifying the routine in copy controls.While coping the contract to sale order (VTAA) at item level modify the routine as per your requirement,with the help of ABAPer.So that when you coping a contract to sale order system will not allow you to change the plant at item level.

Regards

Ram