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

Close

How To Fix WS893 - Company code &1 of EKORG &2 differs from entered (&3)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 893

  • Message text: Company code &1 of EKORG &2 differs from entered (&3)

  • 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 WS893 - Company code &1 of EKORG &2 differs from entered (&3) ?

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


    SAP Error Message:

    WS893: Company code &1 of EKORG &2 differs from entered (&3)


    Meaning / Cause:

    This error occurs when the company code assigned to the purchasing organization (EKORG) in the system does not match the company code you have entered or that is expected in the current transaction.

    • EKORG = Purchasing Organization
    • &1 = Company code assigned to the purchasing organization
    • &2 = Purchasing organization
    • &3 = Company code entered in the transaction

    In SAP, each purchasing organization is assigned to exactly one company code. If you try to create or process a document where the company code entered does not correspond to the company code assigned to the purchasing organization, the system throws this error.


    Typical Scenario:

    • You are creating or changing a purchasing document (e.g., Purchase Order, Contract).
    • You enter a company code that does not match the company code assigned to the purchasing organization.
    • The system checks the assignment and finds a mismatch, so it stops the process with this error.

    How to Check / Verify:

    1. Check the company code assigned to the purchasing organization:

      • Transaction code: OX08
      • Path: IMG ? Enterprise Structure ? Assignment ? Purchasing ? Assign Purchasing Organization to Company Code
      • Here, you can see which company code is assigned to the purchasing organization.
    2. Check the company code entered in the transaction:

      • Verify the company code you entered in the document header or relevant screen.

    Solution:

    • Ensure that the company code entered in the transaction matches the company code assigned to the purchasing organization.

    • If the company code is incorrect, correct it to the one assigned to the purchasing organization.

    • If the purchasing organization should be assigned to a different company code, update the assignment in OX08 (this requires proper authorization and should be done carefully as it affects organizational structure).


    Additional Notes:

    • This error enforces organizational consistency in SAP MM (Materials Management) and Purchasing.
    • The purchasing organization is a key organizational unit responsible for procurement activities and is linked to a single company code.
    • Changing the assignment of purchasing organization to company code is a significant change and may require coordination with finance and controlling departments.

    Summary:

    Aspect Details
    Error Message WS893: Company code &1 of EKORG &2 differs from entered (&3)
    Cause Company code entered does not match the company code assigned to the purchasing organization.
    Solution Enter the correct company code matching the purchasing organization or update the assignment in OX08 if necessary.
    Transaction to Check Assignment OX08

    If you need help with a specific transaction or further troubleshooting, feel free to ask!

    • 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