How To Fix ME788 - Order no. & in IDoc item differs from order no. & in IDoc header


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ME - Purchasing: General Messages

  • Message number: 788

  • Message text: Order no. & in IDoc item differs from order no. & in IDoc header

  • Show details Hide details
  • What causes this issue?

    Purchase order no. &V1& in the IDoc item segment differs from PO no.
    &V2& in the IDoc header segment.

    How to fix this error?

    Get the supplier to transmit only confirmations/acknowledgments relating
    to one particular order number in one IDoc.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ME788 - Order no. & in IDoc item differs from order no. & in IDoc header ?

    The SAP error message ME788 indicates a mismatch between the order number in the IDoc item and the order number in the IDoc header. This error typically occurs during the processing of IDocs related to purchasing documents, such as purchase orders.

    Cause:

    The error is caused by a discrepancy between the order number specified in the IDoc header and the order number specified in one or more of the IDoc items. This can happen due to several reasons, including:

    1. Data Entry Errors: Incorrect data entry when creating the IDoc, leading to mismatched order numbers.
    2. IDoc Generation Issues: Problems during the generation of the IDoc, where the header and item data are not synchronized.
    3. Manual Modifications: If the IDoc was manually modified or incorrectly generated, it could lead to inconsistencies.
    4. System Configuration Issues: Misconfiguration in the system that affects how IDocs are generated or processed.

    Solution:

    To resolve the ME788 error, you can take the following steps:

    1. Check IDoc Data: Review the IDoc data in transaction WE02 or WE19. Compare the order number in the IDoc header with the order numbers in the item segments. Ensure they match.

    2. Correct the IDoc: If you find discrepancies, you may need to correct the IDoc. This can involve regenerating the IDoc with the correct data or modifying the IDoc if it is in an editable state.

    3. Reprocess the IDoc: After correcting the data, you can reprocess the IDoc. Use transaction BD87 to reprocess the IDoc if it is in error status.

    4. Check IDoc Generation Logic: If the issue persists, investigate the logic used to generate the IDoc. Ensure that the system is correctly populating the header and item data.

    5. Consult Documentation: Review SAP documentation or notes related to IDoc processing for any known issues or additional troubleshooting steps.

    6. Contact SAP Support: If you are unable to resolve the issue, consider reaching out to SAP support for assistance, especially if this is a recurring problem.

    Related Information:

    • IDoc Types: Familiarize yourself with the specific IDoc type being used (e.g., ORDERS, INVOIC) as different types may have different structures and requirements.
    • Transaction Codes: Use transaction codes like WE02 (Display IDoc), WE19 (Test IDoc), and BD87 (Reprocess IDoc) for monitoring and troubleshooting IDocs.
    • SAP Notes: Search for relevant SAP Notes that may address specific issues related to IDoc processing and the ME788 error.

    By following these steps, you should be able to identify and resolve the cause of the ME788 error in your SAP system.

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