How To Fix KM787 - Combination of controlling area and company code is invalid


KM787 - Overview

  • 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

  • Show details Hide details
  • What causes this issue?

    At least one of the entered company codes is not assigned to the set
    controlling area.

    System Response

    The program cannot be executed.

    How to fix this error?

    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.</>

    Procedure for System Administrators

    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 - Details

  • 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

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


KM787 - Related SAP Errors

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author