How To Fix KE777 - You must specify a company code if the company code currency is used


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KE -

  • Message number: 777

  • Message text: You must specify a company code if the company code currency is used

  • Show details Hide details
  • What causes this issue?

    You have added the characteristic "Currency type" (field PALEDGER) to a
    summarization level. If the currency type is specified as "10" (company
    code currency) or with an asterisk ("*"), you also need to use the
    field "Company code" (BUKRS) in the summarization level.
    <ZH>Note:</>
    The field "Company code" is not required if you specified currency type
    "B0" (operating concern currency).

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    First add the field "Company code" to your summarization level. Then
    add the currency type.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KE777 - You must specify a company code if the company code currency is used ?

    The SAP error message KE777 indicates that a company code must be specified when the company code currency is being used in a transaction. This error typically arises in the context of controlling (CO) module transactions, particularly when dealing with cost centers, internal orders, or profit centers.

    Cause:

    The error occurs when:

    1. A transaction is being processed that requires a company code, but the company code is not specified.
    2. The system is set up to use company code currency, which necessitates the identification of a specific company code for proper financial reporting and analysis.

    Solution:

    To resolve the KE777 error, you can take the following steps:

    1. Specify the Company Code: Ensure that you are entering a valid company code in the relevant field of the transaction. This is usually done in the header or initial screen of the transaction.

    2. Check Configuration: If you are consistently encountering this error, check the configuration settings in the controlling area to ensure that the company code is correctly defined and linked to the controlling area.

    3. Review Transaction Data: If you are using a custom program or report, ensure that the logic includes the company code when processing data. This may involve modifying the code to include the company code in the relevant data structures.

    4. Consult Documentation: Review SAP documentation or help files related to the specific transaction you are using to ensure that all required fields are being filled out correctly.

    5. User Authorization: Ensure that you have the necessary authorizations to access the company code and perform the transaction.

    Related Information:

    • Transaction Codes: The error may occur in various transaction codes related to controlling, such as KSB1 (Cost Centers: Actual Line Items), KOB1 (Orders: Actual Line Items), etc.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Support: If the issue persists after trying the above solutions, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.

    By following these steps, you should be able to resolve the KE777 error and proceed with your transaction successfully.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant