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

Close

How To Fix VG202 - Terms of payment in IDoc & have been transferred: Check data


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VG - EDI Messages in SD

  • Message number: 202

  • Message text: Terms of payment in IDoc & have been transferred: Check data

  • Show details Hide details
  • What causes this issue?

    Terms of payment have been sent to the IDOC segment. This data is not
    automatically transferred.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Check the incoming data and, if necessary, copy it into the document
    manually.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message VG202 - Terms of payment in IDoc & have been transferred: Check data ?

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


    SAP Error Message:

    VG202 Terms of payment in IDoc & have been transferred: Check data


    Cause:

    This error occurs during the processing of an IDoc (Intermediate Document) when the Terms of Payment field in the IDoc contains data that is either incorrect, inconsistent, or not recognized by the SAP system. The system tries to transfer the terms of payment from the IDoc to the corresponding SAP document (e.g., sales order, billing document), but the data does not match the expected values or master data.

    Common causes include:

    • The terms of payment code in the IDoc does not exist in the SAP system.
    • The terms of payment is not valid for the customer or company code.
    • The terms of payment is incomplete or incorrectly formatted in the IDoc segment.
    • Missing or incorrect configuration in SAP related to terms of payment.

    Solution:

    To resolve the VG202 error, follow these steps:

    1. Check the Terms of Payment Code in the IDoc:

      • Use transaction WE02 or WE05 to display the IDoc.
      • Navigate to the segment containing the terms of payment (usually segment E1EDK14 or similar).
      • Verify the terms of payment code (field like ZTERM).
    2. Verify Terms of Payment Master Data:

      • Use transaction OBB8 to check if the terms of payment code exists and is active.
      • Ensure the terms of payment is valid for the company code and customer.
    3. Check Customer Master Data:

      • Use transaction XD03 or FD03 to check the customer master.
      • Verify if the terms of payment assigned to the customer matches the one in the IDoc or if the system expects a different one.
    4. Check Configuration:

      • Ensure that the terms of payment are properly configured in the system.
      • Check if any custom validations or user exits are affecting the terms of payment during IDoc processing.
    5. Correct the IDoc Data or Master Data:

      • If the IDoc contains an incorrect terms of payment, correct the source system or the IDoc data.
      • If the terms of payment is missing in SAP, create or activate it.
      • If the terms of payment is not valid for the customer/company code, adjust the master data accordingly.
    6. Reprocess the IDoc:

      • After corrections, reprocess the IDoc using transaction BD87 or WE19 (test tool).

    Related Information:

    • IDoc Segment for Terms of Payment:
      Typically, terms of payment are transferred in segment E1EDK14 with qualifier 001 or similar, depending on the IDoc type (e.g., ORDERS05, INVOIC02).

    • Transaction Codes:

      • WE02 / WE05 – Display IDocs
      • BD87 – Reprocess IDocs
      • WE19 – Test IDoc processing
      • OBB8 – Terms of payment configuration
      • XD03 / FD03 – Display customer master
    • Notes and Documentation:

      • Check SAP Notes related to IDoc processing and terms of payment errors.
      • Review the IDoc documentation for the specific message type you are processing.

    Summary:

    The VG202 error indicates a mismatch or invalid terms of payment code in the IDoc data. The solution involves verifying and correcting the terms of payment in the IDoc and ensuring the corresponding master data and configuration in SAP are consistent and valid.


    If you provide the IDoc type or more context, I can help with more specific guidance!

    • 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker