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

Close

How To Fix VK358 - PurchOrg &1 with CoCode &2 is different from CoCode &3 in the agreement


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VK - Pflege und Bearbeitung von Konditionen

  • Message number: 358

  • Message text: PurchOrg &1 with CoCode &2 is different from CoCode &3 in the agreement

  • Show details Hide details
  • What causes this issue?

    Company code &V2& of purchasing organization &V1& deviates from company
    code &V3& of the agreement. Agreement type &V4& does not allow a
    cross-company settlement because the settlement takes place on the
    level of the agreement's purchasing organization.

    System Response

    The system has recognized an incorrect entry and rejects you entry.

    How to fix this error?

    Select a different purchasing organization with the company code of the
    agreement.
    If you want to carry out a cross-company settlement, select a different
    agreement type with the settlement level 'plant' (settlement types '0'
    (on the credit side) or '2' (on the debit side), see Customizing for
    agreement types).

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message VK358 - PurchOrg &1 with CoCode &2 is different from CoCode &3 in the agreement ?

    The SAP error message VK358 indicates a mismatch between the purchasing organization (PurchOrg) and company codes (CoCode) in a purchasing agreement. Specifically, it means that the purchasing organization you are trying to use is associated with a different company code than the one defined in the agreement.

    Cause:

    1. Mismatch in Configuration: The purchasing organization is configured to work with a specific company code, and the agreement you are trying to reference is linked to a different company code.
    2. Incorrect Data Entry: When creating or modifying a purchasing document, the user may have inadvertently selected the wrong purchasing organization or company code.
    3. Master Data Issues: The master data for the purchasing organization or the vendor may not be correctly set up, leading to inconsistencies.

    Solution:

    1. Verify the Purchasing Organization and Company Code:

      • Check the purchasing organization (PurchOrg) and company code (CoCode) in the agreement. Ensure that they match the ones you are trying to use.
      • You can do this by navigating to the relevant purchasing agreement in SAP and reviewing the details.
    2. Adjust the Agreement:

      • If the purchasing organization is indeed supposed to be linked to the company code in question, you may need to adjust the purchasing agreement to reflect the correct purchasing organization.
    3. Change the Document:

      • If you are creating a new document (like a purchase order), ensure that you are selecting the correct purchasing organization that corresponds to the company code of the agreement.
    4. Check Master Data:

      • Review the master data for the purchasing organization and vendor to ensure they are correctly configured. This includes checking the assignment of purchasing organizations to company codes.
    5. Consult with Configuration Team:

      • If you are unsure about the configuration or if changes are needed, consult with your SAP configuration team or a functional consultant who can help ensure that the settings are correct.

    Related Information:

    • Transaction Codes: You may use transaction codes like ME33K (Display Purchasing Agreement) or ME21N (Create Purchase Order) to check the details of the purchasing agreement and the purchase order.
    • SAP Notes: Check SAP Notes for any known issues or additional guidance related to this error message.
    • Documentation: Refer to SAP documentation for purchasing organization and company code configuration to understand how they interact and how to set them up correctly.

    By following these steps, you should be able to resolve the VK358 error and ensure that your purchasing documents are correctly aligned with the purchasing agreements.

    • 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