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

Close

How To Fix W_CB390 - Company code &1 of sales org &2 <> company code &3 of purchase org &4


SAP Error Message - Details

  • Message type: E = Error

  • Message class: W_CB -

  • Message number: 390

  • Message text: Company code &1 of sales org &2 <> company code &3 of purchase org &4

  • 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 W_CB390 - Company code &1 of sales org &2 <> company code &3 of purchase org &4 ?

    Certainly! Here's a detailed explanation of the SAP error message:


    SAP Error Message:

    W_CB390 Company code &1 of sales org &2 <> company code &3 of purchase org &4


    Meaning / Cause:

    This warning message occurs when there is a mismatch between the company code assigned to the sales organization and the company code assigned to the purchasing organization in a business transaction (e.g., in a sales order or purchase order process).

    • &1 = Company code of the sales organization
    • &2 = Sales organization
    • &3 = Company code of the purchasing organization
    • &4 = Purchasing organization

    In SAP, each sales organization and purchasing organization is assigned to a specific company code. When a transaction involves both a sales org and a purchasing org, the system expects these to belong to the same company code. If they differ, this warning is triggered.


    Why does this happen?

    • The sales organization and purchasing organization involved in the transaction belong to different company codes.
    • This can happen if the organizational assignments in customizing (SPRO) are inconsistent or if the transaction is trying to cross company code boundaries where it is not allowed or not properly configured.

    Impact:

    • This is a warning (not an error), so the system allows you to continue, but it indicates a potential issue in organizational data consistency.
    • Cross-company code transactions may require special handling (e.g., intercompany billing, intercompany stock transfers).
    • Ignoring this warning without proper intercompany setup can lead to incorrect accounting or process errors.

    Solution / How to fix:

    1. Check Organizational Assignments:

      • Go to SPRO ? Enterprise Structure ? Assignment ? Sales and Distribution ? Assign Sales Organization to Company Code
        Transaction code: OVX5

      • Go to SPRO ? Enterprise Structure ? Assignment ? Materials Management ? Assign Purchasing Organization to Company Code
        Transaction code: OX08

      Verify that the sales organization and purchasing organization involved in the transaction are assigned to the same company code if the business process requires it.

    2. If Cross-Company Code Transactions Are Intended:

      • Ensure that intercompany processes are properly configured.
      • Use intercompany billing and intercompany stock transfer processes.
      • Check if the system is configured to handle cross-company code transactions.
      • Review pricing, tax, and accounting settings for intercompany transactions.
    3. Adjust the Transaction Data:

      • If the transaction was created with incorrect organizational data, correct the sales org or purchasing org to align with the same company code.
      • Alternatively, create the transaction under the correct organizational units.
    4. Consult Business Process Owners:

      • Confirm whether the business process requires cross-company code transactions.
      • If yes, ensure that the master data and configuration support this.

    Related Information:

    • Transaction Codes:

      • OVX5 - Assign Sales Organization to Company Code
      • OX08 - Assign Purchasing Organization to Company Code
      • SPRO - Customizing Implementation Guide
    • Notes:

      • This warning is common in scenarios involving intercompany sales or procurement.
      • Proper intercompany configuration includes setting up intercompany billing, intercompany pricing, and intercompany stock transfer processes.
      • Review SAP documentation on intercompany processes for detailed configuration steps.

    Summary:

    Aspect Details
    Cause Sales org and purchasing org belong to different company codes in the transaction.
    Message Type Warning (W)
    Effect Indicates potential organizational inconsistency; transaction can proceed but may cause issues.
    Solution Align sales org and purchasing org to the same company code or configure intercompany processes properly.
    Key Transactions OVX5, OX08, SPRO

    If you need help with specific configuration or transaction data, please provide more details about the scenario.

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