Skip to Content

Plant modifiable in Sales Order

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 27, 2012 at 05:09 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 27, 2012 at 05:28 AM

    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

    Add comment
    10|10000 characters needed characters exceeded