Company vs Company Code in SAP
Company: It is the unit to which your financial statements are created and can have one to many company codes assigned to it. A company is equivalent to your legal business organization. Consolidated financial statements are based on the company's financial statements. Companies are defined in configuration and assigned to company codes. Each company code must use the same COA (Chart of Accounts) and Fiscal Year. Also, note that local currency for the company can be different.
Company Codes: They are the smallest unit within your organizational structure and is used for internal and external reporting purposes. Company Codes are not optional within SAP (Systems Applications and Products) and are required to be defined. Financial transactions are viewed at the company code level. Company Codes can be created for any business organization whether national or international. It is recommended that once a Company Code has been defined in Configuration with all the required settings then other company codes later created should be copied from the existing company code. You can then make changes as needed. This reduces repetitive input of information that does not change from company code to company code as well as eliminate the possibility of missed data input.
What are cross company transactions?
In cross company transactions several company codes are involved. In a cross-company code transaction, the system posts a separate document with its own document number in each of the company codes. Individual documents are linked by a common cross-company code number. The system generates line items automatically (receivables and payables arising
between company codes) in order to balance the debits and credits in each document.
For e.g: One company is paying its affiliate company;
Paying company entry:
Dr: Payable to Affiliate
Cr: Bank Account
Receiving Company entry:
Dr: Bank Account
Cr: A/R from Affiliate.
Both companies accounts are updated with the single entry.
Read Here for More SAP MM Tutorials.