How To Fix KG720 - Company code not specified in segment


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KG - CO-PA Planning

  • Message number: 720

  • Message text: Company code not specified in segment

  • Show details Hide details
  • What causes this issue?

    In Profitability Analysis (CO-PA), you can only update record that
    contain the company code. However, the company code cannot be derived
    directly or indirectly based on the SIS (Sales Information System)
    objects here.

    System Response

    The data cannot be updated to CO-PA.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KG720 - Company code not specified in segment ?

    The SAP error message KG720, which states "Company code not specified in segment," typically occurs in the context of controlling (CO) and financial accounting (FI) when there is an issue with the configuration or data entry related to cost centers, internal orders, or other controlling objects.

    Cause:

    1. Missing Company Code: The most common cause of this error is that the company code has not been specified in the relevant segment of the document or transaction you are trying to process.
    2. Configuration Issues: There may be a configuration issue in the controlling area or the company code settings that prevents the system from recognizing the company code.
    3. Data Entry Errors: The user may have inadvertently left the company code field blank when entering data in a transaction.
    4. Master Data Issues: The master data for the cost center, internal order, or other controlling objects may not be properly maintained, leading to the absence of a company code.

    Solution:

    1. Check Data Entry: Ensure that the company code is correctly entered in the relevant fields of the transaction. If you are entering a cost center or internal order, make sure the company code is specified.
    2. Review Configuration: Go to the configuration settings in the SAP system and verify that the company code is correctly defined for the controlling area. You can check this in the following path:
      • SPRO ? Controlling ? General Controlling ? Master Data ? Cost Center Accounting ? Define Company Code for Cost Center Accounting.
    3. Maintain Master Data: If the error is related to a specific cost center or internal order, check the master data for that object to ensure that the company code is specified. You can do this by navigating to the relevant master data transaction (e.g., KS01 for cost centers).
    4. Transaction Codes: Use transaction codes like KS01 (Create Cost Center), KO01 (Create Internal Order), or KSB1 (Cost Centers: Actual Line Items) to verify and correct the entries.
    5. Consult Documentation: If the issue persists, consult SAP documentation or reach out to your SAP support team for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes for managing cost centers and internal orders, such as KS01, KS02 (Change Cost Center), KO01, and KO02 (Change Internal Order).
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message. SAP frequently updates its knowledge base with solutions for common problems.
    • User Roles and Authorizations: Ensure that the user has the necessary authorizations to create or modify the relevant master data and transactions.

    By following these steps, you should be able to resolve the KG720 error and ensure that the company code is properly specified in the relevant segments of your SAP transactions.

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