Hi Experts,
When I am trying to Post an intercompany transaction facing an error "A unique company code has not been assigned to company number XXXX"
Scenario:
1. Company code 1 debit
2. company code 2 credit
In simulation I can see the line items as below
Cocd PK GL Acct Amount
IN01 40 1 100 Expense acct
IN02 50 2 100 Expense Acct
IN02 40 3 100 Inter comp clerg acct
IN01 50 4 100 Inter Comp Clerg Acct.
but still above said error message is pops up:
rgd
YJ
Ensure you have assigned the same COMPANY to both the company codes in OBY6
Hi Ravi,
OBY6 setting is in place, eventhough the same error is facing.
rgd
YJ
Please check for both the company codes, not just a single company code.
Please also ensure you have required settings in OBYA (including the clearing accounts).
There is no much configuration expect this.
If you are still facing problems, please let me know the message number.
Ravi,
I am still facing the same error
Message no. GLT0001
rgd
YJ
Hope the following link will help you
Re: Company code Could not be assigned to company number
Please refer SAP Note:
1085921
Hai Ravi,
Thanks for the link,
From the document split settings i can able to post an Inter-co document and that is : Expense of company code 1 to Expense of Company Code2. But In case of Vendor invoice (F-43) - Liability for Comp code 1 and Expense for Comp Code 2. In vendor case scenario I am still facing the same error.
My doubt on this error is how the line item of Comp code 1 can derive the profit Center (PC1) information when entry is as below:
Trnsct Compcode Amt Profit Center
Vendor 1 10000
Expesne 2 10000 PC2
Your suggestion or assistance on this is highly appreciated.
rgd
YJ
Dear:
Please check OKB9.
Regards
Dear:
Please check out your configuration on OBYA and check whether any company code has been assigned to xxxx co code for cross company clearing along with GL A/C. This will meet your issue,
Regards
Hi Atif,
Thanks for your tips, but OBYA setting is done so in result i can see the GL's (inter co accts) appearing on Document simulation.
rgd
YJ