How To Fix KE386 - Neither company code nor controlling area have been filled


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KE -

  • Message number: 386

  • Message text: Neither company code nor controlling area have been filled

  • Show details Hide details
  • What causes this issue?

    The system tried to check the validity of the profitability segment
    entered, but neither the company code nor the controlling area were
    transferred from the program. These fields are necessary for
    determining the correct operating concern.

    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?

    Inform your system administrator.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KE386 - Neither company code nor controlling area have been filled ?

    The SAP error message KE386 ("Neither company code nor controlling area have been filled") typically occurs in the context of controlling (CO) module transactions, particularly when trying to create or post a document that requires a company code or controlling area to be specified.

    Cause:

    This error arises when the system expects either a company code or a controlling area to be specified in the transaction, but neither has been provided. This can happen in various scenarios, such as:

    1. Missing Data: The user did not enter the required company code or controlling area in the relevant fields.
    2. Configuration Issues: The system configuration may not be set up correctly to link the company code with the controlling area.
    3. Transaction Type: The transaction being executed may inherently require these fields to be filled, and they are not being populated automatically.

    Solution:

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

    1. Check Input Fields: Ensure that you have filled in the company code and controlling area fields in the transaction you are trying to execute. If these fields are not visible, you may need to adjust your screen layout or settings.

    2. Review Configuration:

      • Go to the configuration settings in SAP (transaction code SPRO).
      • Navigate to Controlling > General Controlling > Master Data > Define Controlling Areas.
      • Ensure that the controlling area is correctly defined and linked to the appropriate company codes.
    3. Transaction Settings: If you are using a custom transaction or report, check the underlying code or configuration to ensure that it is correctly populating the company code and controlling area.

    4. User Authorizations: Ensure that the user has the necessary authorizations to access the company code and controlling area.

    5. Consult Documentation: If the issue persists, refer to SAP documentation or consult with your SAP support team for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as KE51 (Create Cost Center), KSB1 (Cost Centers: Actual Line Items), etc., where this error might occur.
    • SAP Notes: Check for any SAP Notes related to this error message for potential patches or updates that may address the issue.
    • User Forums: Engage with SAP community forums or user groups where similar issues may have been discussed, and solutions shared.

    By following these steps, you should be able to identify the cause of the KE386 error and implement a solution to resolve it.

    • 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker