Issue:
Why SRM Central contract distribution to ECC fails with Error ME 029 - "Purchasing Organization not assigned to company code", even passing plant code?
Solution:
The application on ERP side does indeed need a company code to work when creating/replicating contracts. To solve this issue, you have 2 options:
- Make use of Business Add-In MEOUT_PROCESS_CUST with method PROCESS_HEADER. You will also need to apply note 1401871.
Make use of Enhancement spot PUR_SPOT_SE_PURCHASINGCONTRACT with methdot INBOUND_PROCESSING. With these options you can include a code that will derive the company code based on your own logic and fill out the data wich will then be used to create the contract with the right company code.
Related notes / content:
1547977 FAQ: Central Contract Management (SOA based)
1401871 BAdI ME_PROCESS_OUT_CUST->PROCESS_HEADER is never called