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

Close

How To Fix WG223 - System error combining purchase orders. Data was reset


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WG - Messages for store order and investment buy

  • Message number: 223

  • Message text: System error combining purchase orders. Data was reset

  • Show details Hide details
  • What causes this issue?

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

    System Response

    How to fix this error?

    Contact your system administrator.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WG223 - System error combining purchase orders. Data was reset ?

    SAP Error Message:
    WG223 - System error combining purchase orders. Data was reset


    Cause:

    This error typically occurs during the process of combining or merging purchase orders (POs) in SAP, for example, when using transaction ME21N or ME22N to create or change POs and the system attempts to combine line items or documents. The message indicates that the system encountered an unexpected inconsistency or internal error while trying to combine purchase orders, which led to the reset of the data entered.

    Common causes include:

    • Inconsistent or conflicting data in the purchase orders being combined (e.g., different vendors, purchasing organizations, or document types that are not allowed to be combined).
    • Custom enhancements or user exits that interfere with the standard combining logic.
    • Data corruption or incomplete data in the PO header or item level.
    • System bugs or inconsistencies in the SAP standard code related to PO combination.
    • Authorization issues that prevent proper processing of the combination.
    • Locking or update conflicts during simultaneous access or changes.

    Solution:

    1. Check the Data Consistency:

      • Verify that the purchase orders you are trying to combine have compatible data (same vendor, purchasing organization, document type, currency, etc.).
      • Ensure that no mandatory fields are missing or inconsistent.
    2. Review Custom Code:

      • If there are any user exits, BADIs, or enhancements related to purchase order processing (e.g., ME_PROCESS_PO_CUST), check if they are causing the issue.
      • Temporarily disable or debug these enhancements to isolate the problem.
    3. Debug the Error:

      • Use transaction ST22 to check for any short dumps related to this error.
      • Use transaction SM13 to check for update failures.
      • Debug the standard SAP program or function module where the error occurs to identify the exact cause.
    4. Check Authorizations:

      • Ensure the user has the necessary authorizations to combine or change purchase orders.
    5. SAP Notes and Support:

      • Search for SAP Notes related to message WG223 or PO combination errors.
      • Apply any relevant SAP patches or support packages.
    6. Workaround:

      • Instead of combining purchase orders in one step, try processing them separately.
      • Manually adjust or recreate purchase orders if necessary.

    Related Information:

    • Transaction Codes: ME21N (Create PO), ME22N (Change PO), ME23N (Display PO)
    • User Exits/BADIs: ME_PROCESS_PO_CUST, ME_PROCESS_PO_CUST_FIELDS
    • SAP Notes: Check SAP ONE Support Launchpad for notes referencing WG223 or PO combination errors.
    • Debugging Tools: ST22 (Dump Analysis), SM13 (Update Requests), SM12 (Lock Entries)

    If the problem persists after these steps, consider raising a support ticket with SAP, providing detailed information about the scenario, system logs, and any custom code involved.

    • 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