Do you have any question about this error?
Message type: E = Error
Message class: /ACCGO/CMN_SANITYCHK -
Message number: 021
Message text: Plant and sales org. are assigned to different company codes
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
/ACCGO/CMN_SANITYCHK021
- Plant and sales org. are assigned to different company codes ?The SAP error message
/ACCGO/CMN_SANITYCHK021
indicates that there is a mismatch between the plant and sales organization assignments to different company codes. This error typically arises during processes that involve both the plant and sales organization, such as sales order creation or delivery processing.Cause:
The root cause of this error is that the plant and sales organization are assigned to different company codes in the system. In SAP, a plant is linked to a specific company code, and a sales organization is also linked to a company code. If you attempt to perform an operation that involves both the plant and the sales organization, and they belong to different company codes, the system will throw this error.
Solution:
To resolve this error, you need to ensure that the plant and sales organization are assigned to the same company code. Here are the steps to check and correct the assignments:
Check Plant Assignment:
- Go to the transaction code
OX10
(or navigate through the SAP menu: Logistics > Production > Master Data > Plant > Define Plant).- Verify the company code assigned to the plant in question.
Check Sales Organization Assignment:
- Go to the transaction code
OVXK
(or navigate through the SAP menu: Sales and Distribution > Master Data > Sales Organization > Define Sales Organization).- Verify the company code assigned to the sales organization in question.
Adjust Assignments:
- If the plant and sales organization are indeed assigned to different company codes, you will need to either:
- Change the assignment of the plant to the correct company code that matches the sales organization.
- Change the assignment of the sales organization to the correct company code that matches the plant.
- This can be done in the respective configuration settings.
Testing:
- After making the necessary changes, test the transaction again to ensure that the error no longer occurs.
Related Information:
Transaction Codes:
OX10
: Define PlantOVXK
: Define Sales OrganizationOVXG
: Assign Sales Organization to Company CodeConfiguration Path:
Documentation:
Consulting Basis/Functional Team:
By ensuring that the plant and sales organization are correctly assigned to the same company code, you should be able to resolve the error and proceed with your transactions.
Get instant SAP help. Start your 7-day free trial now.
/ACCGO/CMN_SANITYCHK020
Plant &1 is assigned to company code &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/ACCGO/CMN_SANITYCHK019
Purchasing UoM &1 maintained for material &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/ACCGO/CMN_SANITYCHK022
Assign purchasing org. &1 to plant &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/ACCGO/CMN_SANITYCHK023
Maintain market point mapping for material &1 and plant &2
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.