Do you have any question about this error?
Message type: E = Error
Message class: GX - Archiving/Reorganization
Message number: 221
Message text: The company codes entered do not match the controlling areas
The company codes that you have entered are not in the controlling
areas that you have entered.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Check your settings. If you want to make entries for company codes,
these must be in the controlling areas you enter.
Error message extract from SAP system. Copyright SAP SE.
GX221
- The company codes entered do not match the controlling areas ?The SAP error message GX221 indicates that there is a mismatch between the company codes and the controlling areas that have been entered in a transaction. This typically occurs when you are trying to perform a transaction that involves both financial accounting (FI) and controlling (CO) modules, and the company code you are using is not assigned to the controlling area you are trying to use.
Cause:
- Company Code and Controlling Area Mismatch: The company code you are trying to use is not assigned to the controlling area specified in the transaction.
- Incorrect Configuration: The configuration settings in the SAP system may not have the correct assignments between company codes and controlling areas.
- Data Entry Error: There may be a simple data entry error where the wrong company code or controlling area has been entered.
Solution:
Check Assignments:
- Go to the SAP transaction code
OBY6
(or navigate through the menu: SPRO > Financial Accounting > Financial Accounting Global Settings > Assign Company Code to Controlling Area).- Verify that the company code you are using is correctly assigned to the controlling area you are trying to work with.
Correct Data Entry:
- Ensure that you are entering the correct company code and controlling area in the transaction. Double-check for any typos or incorrect selections.
Configuration Review:
- If you have the necessary authorizations, review the configuration settings to ensure that the company codes and controlling areas are set up correctly.
- If you are not authorized to make changes, contact your SAP administrator or the person responsible for SAP configuration in your organization.
Consult Documentation:
- Refer to SAP documentation or help resources for more detailed information on how to manage company codes and controlling areas.
Testing:
- After making any changes, perform a test transaction to ensure that the error has been resolved.
Related Information:
OBY6
- Assign Company Code to Controlling AreaOKKP
- Change Controlling AreaIf the issue persists after following these steps, it may be beneficial to consult with your SAP support team or a functional consultant who specializes in FI/CO integration.
Get instant SAP help. Start your 7-day free trial now.
GX220
There are still plan line items that match the entered selection criteria
What causes this issue? Plan line items in the system match the selection criteria you entered. The totals records can only be archived once the corr...
GX219
There are still actual line items that match the selection criteria
What causes this issue? Actual line items in the system match the selection criteria you entered. Totals records can only be archived if the correspo...
GX222
You can only enter a profit center group if you choose 1 controlling area
What causes this issue? You want to carry out archiving in more than one controlling area and have entered or are want to choose a profit center grou...
GX250
* ------------------------- Table repair ------------------------------ *
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.