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

Close

How To Fix WRF_AT128 - Simultaneous change of DC and UoM not possible (PO &1, item &2)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WRF_AT - Messages for Allocation Table RTFASH

  • Message number: 128

  • Message text: Simultaneous change of DC and UoM not possible (PO &1, item &2)

  • Show details Hide details
  • What causes this issue?

    You changed the distribution center and unit of measure at the same time
    in purchase order &V1&. This is not supported.

    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?

    First change the distribution center in the purchase order and save. You
    can then change the unit of measure.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WRF_AT128 - Simultaneous change of DC and UoM not possible (PO &1, item &2) ?

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


    SAP Error Message:

    WRF_AT128 Simultaneous change of DC and UoM not possible (PO &1, item &2)


    Meaning / Cause:

    This error occurs when you try to simultaneously change both the Delivery Completed Indicator (DC) and the Unit of Measure (UoM) for a Purchase Order (PO) item in the same transaction or update.

    • Delivery Completed Indicator (DC): This flag in the PO item indicates whether the delivery is considered complete.
    • Unit of Measure (UoM): The unit in which the quantity is ordered or delivered.

    SAP does not allow changing both these fields at the same time because it can lead to inconsistencies in quantity and delivery status tracking.


    When does it occur?

    • During PO item update (e.g., via transaction ME22N or through a BAPI).
    • When a user or a program tries to update both the DC flag and the UoM field simultaneously.
    • Often happens in custom developments or interfaces that update PO data.

    Solution / How to fix:

    1. Separate the changes:

      • First, update the PO item to change the Delivery Completed Indicator (DC).
      • Save the document.
      • Then, in a separate step, update the Unit of Measure (UoM).
    2. Check custom code or interfaces:

      • If this happens during an automated process or interface, modify the logic to avoid simultaneous changes.
      • Implement two separate update calls or transactions.
    3. Manual correction:

      • If the error occurs during manual editing, do not try to change both fields at once.
      • Change one field, save, then change the other.
    4. Check SAP Notes:

      • Sometimes SAP releases notes or patches related to this behavior. Check the SAP Support Portal for any relevant notes.

    Additional Information:

    • The restriction is in place to maintain data consistency.
    • The error message references the PO number (&1) and item number (&2) to help identify the problematic record.
    • This is a standard SAP validation in the Materials Management (MM) module.

    Summary:

    Aspect Details
    Error Message WRF_AT128 Simultaneous change of DC and UoM not possible (PO &1, item &2)
    Cause Attempt to change Delivery Completed Indicator and Unit of Measure simultaneously for a PO item
    Solution Change DC and UoM in separate steps/transactions
    Where it occurs PO item update (ME22N, BAPI, interfaces)
    Related SAP Module Materials Management (MM)

    If you need help with a specific scenario or code snippet causing this error, feel free to provide more details!

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