How To Fix EK298 - Company code & differs from company code & in the contract


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EK - IS-U Accounts Receivable and Payable

  • Message number: 298

  • Message text: Company code & differs from company code & in the contract

  • Show details Hide details
  • What causes this issue?

    During creation of a business partner item, a company code was
    specified that differs from the contracts allocated in the contract
    account.

    System Response

    The document cannot be posted.

    How to fix this error?

    Specify the appropriate company code or change the data accordingly.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message EK298 - Company code & differs from company code & in the contract ?

    The SAP error message EK298 indicates that there is a mismatch between the company code in the purchase order (or contract) and the company code in the associated document (such as a contract or vendor master data). This error typically arises when you are trying to create or process a purchase order or contract that references a different company code than what is defined in the contract.

    Cause:

    1. Company Code Mismatch: The primary cause of this error is that the company code specified in the purchase order does not match the company code defined in the contract or the vendor master data.
    2. Incorrect Document Reference: The document you are trying to reference (like a contract) may belong to a different company code than the one you are currently working in.
    3. Data Entry Errors: Manual entry errors when creating or referencing documents can lead to this mismatch.

    Solution:

    1. Verify Company Codes: Check the company code in the purchase order and compare it with the company code in the contract. Ensure they match.
    2. Correct the Document: If the company codes do not match, you may need to either:
      • Change the company code in the purchase order to match the contract.
      • Create a new contract under the correct company code if the existing contract is not applicable.
    3. Review Vendor Master Data: Ensure that the vendor master data is correctly set up for the relevant company code.
    4. Consult with Your SAP Administrator: If you are unsure about the correct company code or how to proceed, consult with your SAP administrator or a colleague who has experience with SAP procurement processes.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like ME21N (Create Purchase Order), ME22N (Change Purchase Order), or ME31K (Create Contract) to review and correct the documents.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Documentation: Refer to SAP documentation for detailed information on managing contracts and purchase orders, especially regarding company codes and organizational structures.

    By following these steps, you should be able to resolve the EK298 error and ensure that your documents are correctly aligned with the appropriate company codes.

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