Do you have any question about this error?
Message type: E = Error
Message class: KM - Error messages for Profit Center Accounting
Message number: 787
Message text: Combination of controlling area and company code is invalid
At least one of the entered company codes is not assigned to the set
controlling area.
The program cannot be executed.
Change your entries. You have the following options:
Only enter company codes that are assigned to the set controlling area.
For this, use the input help in the <LS>Company Code<LS> field.</></>
Do <ZH>not </>enter a company code. The system then automatically
selects all company codes that are assigned to the set controlling area.
Set the right controlling area by choosing <LS>Extras -> Set Controlling
Area.</>
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
KM787
- Combination of controlling area and company code is invalid ?The SAP error message KM787, which states "Combination of controlling area and company code is invalid," typically occurs when there is a mismatch between the controlling area and the company code in the system. This error is often encountered in the context of cost accounting and financial transactions.
Cause:
- Incorrect Configuration: The controlling area is not properly assigned to the company code in the system configuration.
- Data Entry Error: The user may have entered an incorrect combination of controlling area and company code during transaction processing.
- Missing Assignment: The controlling area may not be assigned to the company code in the configuration settings.
- Inactive or Deleted Configuration: The controlling area or company code may have been deactivated or deleted in the system.
Solution:
Check Configuration:
- Go to the SAP Customizing Implementation Guide (SPRO).
- Navigate to Controlling > Cost Center Accounting > Master Data > Cost Centers > Define Controlling Area.
- Ensure that the controlling area is correctly assigned to the company code.
Verify Assignment:
- In the same SPRO path, check the assignment of the controlling area to the company code.
- Ensure that the controlling area is active and correctly linked to the company code.
Review Transaction Data:
- If the error occurs during a specific transaction, review the data entered for accuracy.
- Ensure that the controlling area and company code entered match the valid combinations in the system.
Check for Deactivation:
- Verify if the controlling area or company code has been deactivated or deleted.
- If so, you may need to reactivate or create a new combination.
Consult Documentation:
- Review SAP documentation or consult with your SAP Basis or functional team for any specific configurations that may be affecting the controlling area and company code relationship.
Related Information:
OBY6
(for company code settings) and OKKP
(for controlling area settings) to check the configurations.By following these steps, you should be able to identify and resolve the issue causing the KM787 error message in SAP.
Get instant SAP help. Start your 7-day free trial now.
KM786
Reversal only allowed for concrete object characteristics
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
KM785
Data cannot be reversed without line items
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
KM788
You are not authorized to change version &1
What causes this issue? You are not authorized to change data in version &V1&.System Response Processing has been cancelled.How to fix this ...
KM789
Error occurred during automatic currency translation
What causes this issue? The system found an error during derivation of the bill of material from the material cost estimate.System Response The syst...
Click on this link to search all SAP messages.