Sometimes during your IDOC/BAPI communication you will get error "No global company code is assigned to the company code" & Message no. FC 326 in Idoc status record.
This problem is very frustrating. The solution is simple, but hard to find.
There is a very long menu to get there. It is: IMG > Basis Components > Application Link Enabling (ALE) > Modelling and Implementing Business Processes > Cross-Application Settings > Global Organizational Units > Cross-System Company Codes
1. Create a cross-system company code.
2. Assign the cross-system company code to a chart of accounts to which it is also assigned on the central system. This setting is needed on the decentral systems in order to determine the chart of accounts of the company code on the central system.
3. Assign cross-system company codes to the local company codes. Specify the identifiers of the relevant cross-system company codes for each of the individual company codes.
I hope that this will help somebody.
This was first published in February 2004