How to Assign Company Code to Controlling Area in SAP
After creating and configuring a controlling area in SAP, assign the relevant company code to it before maintaining controlling objects such as cost centers, internal orders, and profit centers. If the assignment is missing, SAP can display an error when you try to create or maintain controlling master data.

A controlling area is the organizational unit used for management accounting in SAP. One controlling area can contain one or more company codes, provided the required organizational settings are compatible.
SAP Transaction and IMG Path for Company Code Assignment
| Transaction Code | OX19 |
| SAP Path | SPRO > IMG > Controlling > Organization > Maintain controlling area |
You can also access controlling area configuration with transaction OKKP. Transaction OX19 opens the company code assignment activity, while OKKP is commonly used to maintain the controlling area and its organizational assignments.
Prerequisites for Assigning a Company Code to a Controlling Area
- The company code must already exist in the enterprise structure.
- The controlling area must already be created and its basic data maintained.
- The chart of accounts settings must be compatible with the controlling area design.
- The fiscal year settings must support the intended cross-company-code controlling structure.
- The company code must not be assigned incorrectly to another controlling area.
- You must have authorization to change SAP Customizing settings.
When several company codes are assigned to one controlling area, review currency, fiscal year, and operational requirements before saving the structure. The exact permitted combinations depend on the SAP release and controlling area settings.
Assign Company Code to Controlling Area Using OX19
Step 1: Execute transaction code “OX19” in the SAP command field.

Step 2: On the basic data overview screen, choose Position, enter the required controlling area key, and press Enter. This takes you directly to the controlling area that must receive the company code assignment.

Step 3: Select the required controlling area and choose the option for Assignment of Company Codes.

Step 4: In the Assignment of Company Codes overview, review the existing entries. If the required company code is not listed, choose New Entries.

Step 5: Enter the company code key in the CoCd field and press Enter. Verify that the company code description and controlling area are correct before saving.

Step 6: Choose the save icon and save the configured assignment details. When prompted, assign the change to an appropriate Customizing transport request.
The company code is now assigned to the selected controlling area. Test the assignment by opening a relevant controlling configuration or master-data transaction, such as cost center maintenance, in the appropriate client.
How to Check the Controlling Area for a Company Code
You can verify the assignment through transaction OX19 or OKKP by opening the controlling area and reviewing its assigned company codes. For a table-level check, the company code master table T001 contains the controlling area field associated with the company code.
Table checks are useful for verification, but configuration changes should be made through the relevant IMG activity or transaction rather than by directly updating database tables.
Requirements for Assigning Multiple Company Codes to One Controlling Area
SAP supports assigning more than one company code to a controlling area. This structure is used when management accounting must operate across company codes. Before using this design, confirm that the company codes meet the controlling area’s organizational requirements.
- Use a consistent operating chart of accounts where required by the controlling area design.
- Confirm that fiscal year variants and posting periods support cross-company-code controlling.
- Review the controlling area currency and currency type settings.
- Check whether cost centers, profit centers, internal orders, and allocations need to work across the assigned company codes.
- Test intercompany and cross-company-code postings before transporting the configuration to production.
Common Company Code Assignment Errors in SAP CO
- Company code is not assigned to a controlling area: Open OX19 or OKKP and maintain the missing assignment.
- Company code is already assigned elsewhere: Review the existing organizational structure before changing the assignment. Reassignment can affect existing controlling data and should not be performed without impact analysis.
- Incompatible chart of accounts or fiscal year settings: Compare the company code settings with the controlling area’s basic data.
- Controlling master data cannot be created: Confirm the assignment, validity dates, hierarchy settings, and dependent configuration.
- Changes cannot be saved: Check authorization, transport settings, and whether the client permits Customizing changes.
SAP Company Code to Controlling Area Configuration Checklist
- Verify that the company code and controlling area keys are correct.
- Confirm that the company code is assigned only to the intended controlling area.
- Review chart of accounts, fiscal year, and currency compatibility.
- Check the assignment in OX19, OKKP, or table T001.
- Test cost center or other controlling master-data maintenance after the assignment.
- Confirm that the Customizing transport request contains the expected change.
- Document any cross-company-code controlling requirements before moving the configuration to production.
Company Code and Controlling Area FAQs
What is the transaction code for assigning a company code to a controlling area?
Use transaction OX19 to assign a company code to a controlling area. Transaction OKKP can also be used to maintain controlling area settings and review company code assignments.
Which SAP table shows the controlling area assigned to a company code?
Table T001 stores company code data and includes the controlling area associated with the company code. Use the table for verification, not for direct configuration changes.
Can one controlling area be assigned to multiple company codes?
Yes. One controlling area can contain multiple company codes when the organizational and accounting settings are compatible. This allows management accounting processes to operate across the assigned company codes.
Can one company code be assigned to multiple controlling areas?
No. A company code is assigned to one controlling area for controlling purposes. Review the existing assignment carefully before attempting to reorganize the structure.
Why does SAP show that the company code is not assigned to a controlling area?
The assignment may be missing, the wrong company code may have been selected, or the configuration may not have been transported to the current system. Check OX19 or OKKP and verify the company code entry under the intended controlling area.
TutorialKart.com