Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix KN347 - Company code must come before the plant


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KN - Reporting for Costing

  • Message number: 347

  • Message text: Company code must come before the plant

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KN347 - Company code must come before the plant ?

    The SAP error message KN347 ("Company code must come before the plant") typically occurs when there is an issue with the sequence of data entry in the SAP system, particularly in the context of master data creation or maintenance for materials, vendors, or customers. This error indicates that the system expects the company code to be specified before the plant in the relevant transaction.

    Cause:

    1. Incorrect Sequence of Data Entry: The error usually arises when the user tries to enter or save data related to a plant without first specifying the associated company code.
    2. Configuration Issues: There may be configuration settings in the SAP system that enforce a specific order of data entry.
    3. Missing Master Data: If the company code or plant is not properly defined in the system, it can lead to this error.

    Solution:

    To resolve the KN347 error, follow these steps:

    1. Check Data Entry Sequence:

      • Ensure that you are entering the company code before the plant in the relevant transaction. For example, if you are creating or changing a material master, make sure to select the company code first.
    2. Verify Master Data:

      • Check if the company code and plant are correctly defined in the system. You can do this by navigating to the relevant master data transaction (e.g., MM01 for material master, XK01 for vendor master, etc.) and verifying the entries.
    3. Review Configuration:

      • If you have access to configuration settings, review the settings related to the company code and plant in the relevant modules (e.g., MM, SD). Ensure that the settings are correctly configured to allow for the proper sequence of data entry.
    4. Consult Documentation:

      • Refer to SAP documentation or help resources for specific guidance on the transaction you are working with. This can provide insights into the expected data entry sequence.
    5. Seek Help from SAP Support:

      • If the issue persists after checking the above points, consider reaching out to your SAP support team or consulting SAP Notes for any known issues or patches related to this error.

    Related Information:

    • Transaction Codes: Familiarize yourself with the relevant transaction codes for creating or maintaining master data (e.g., MM01, MM02, XK01, etc.).
    • SAP Notes: Search for SAP Notes related to error KN347 for any specific fixes or updates provided by SAP.
    • User Roles and Authorizations: Ensure that you have the necessary authorizations to create or modify the relevant master data.

    By following these steps, you should be able to resolve the KN347 error and successfully complete your data entry in SAP.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


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


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