cancel
Showing results for 
Search instead for 
Did you mean: 

One PO with multiple Company Codes

Former Member
0 Kudos

Hello

Here is what we want to do within the same PO

Items A => Plant 1000 + Company Code 1000 + Controlling Area 1000

Item B => Plant 8000 + Company Code 3000 + Controlling Area 3000

what are the SAP settings in ECC6 to do this type of transaction ?

Thanks

Stéphane

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos

The company code at header level is only used to define the home  currency of the document.

if all plants (even belonging to different company codes) have the same home currency, then there is no problem in having those items mixed in one PO.

Former Member
0 Kudos

Hi

Thanks but we do have then the following message :

Message no. ME002, Diagnosis: The company code has not been defined in the system.

Stéphane

JL23
Active Contributor
0 Kudos

You can only use companies that got customized. have you entered it manually or pulled from F4 help?

Former Member
0 Kudos

Company code are working fine.

no issue creating a po with any of the company code. But when trying to mix them, this is @ that stage we face this error message.

JL23
Active Contributor
0 Kudos
Former Member
0 Kudos

Hello

We checked with this OSS Note and already have it onto our system

this OSS note is included in SAP Application package SAPKH60014

JL23
Active Contributor
0 Kudos

search for OSS notes yourself, if you dont find an appropriate then open an incident to SAP.

It must be a bug as I can do it without problem (just created an order in my test system)

Answers (2)

Answers (2)

Former Member
0 Kudos

You can create a data maintanence table for the above requirement with the help of abaper.

You can use tables MATNR from mara, WERKS from mara,  and for Company Code check in table T001K table pass Plant value in BWKEY. For Controlling area search CELAUFK table by passing company code field.

Then what is the validation to be given for PO using this???

Thanks,

Shiva

Former Member
0 Kudos

Company Code falls under header level and Plant is under Item Level, so you cannot have a PO responsible under 2 different Company Codes. So ideally you can have only 1 Co Code under the header and multiple line items under item level but items can belong to different plants but belonging to same Co Code.

/Manoj