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

Close

How To Fix WRF_AT159 - The recipient referenced in purchase order &3, item &4 no longer exists


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WRF_AT - Messages for Allocation Table RTFASH

  • Message number: 159

  • Message text: The recipient referenced in purchase order &3, item &4 no longer exists

  • Show details Hide details
  • What causes this issue?

    The recipient referenced in purchase order &V3&, item &V4&, no longer
    exists in allocation table &V1&, item &V2&.

    System Response

    The recipient in allocation table &V1&, item &V2& was probably deleted.
    The reference to the allocation table item in purchase order &V3&, item
    &V4& no longer exists.

    How to fix this error?

    Check allocation table &V1& (transaction code WA02).

    Procedure for System Administrators

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WRF_AT159 - The recipient referenced in purchase order &3, item &4 no longer exists ?

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


    SAP Error Message:

    WRF_AT159
    Text: The recipient referenced in purchase order &3, item &4 no longer exists.


    Cause:

    This error occurs when a purchase order (PO) references a recipient (such as a contact person, vendor, or partner) that has been deleted or is no longer valid in the system. Specifically, the PO item is linked to a recipient record that cannot be found in the master data tables.

    Common scenarios include:

    • The recipient master data (e.g., contact person or partner function) was deleted after the PO was created.
    • The recipient number or ID was changed or archived.
    • Data inconsistencies due to incomplete or incorrect master data maintenance.

    Solution:

    To resolve this error, follow these steps:

    1. Identify the Recipient:
      Check the purchase order number (&3) and item number (&4) mentioned in the error message to find the exact PO item causing the issue.

    2. Check Recipient Master Data:

      • Verify if the recipient (contact person, partner, or vendor) still exists in the master data.
      • Use transaction codes such as:
        • BP (Business Partner)
        • XK03 (Display Vendor)
        • ME23N (Display Purchase Order) to check partner functions.
    3. Restore or Update Recipient Data:

      • If the recipient was deleted accidentally, restore or recreate the recipient master data.
      • If the recipient was changed, update the PO item to reference a valid recipient.
    4. Update Purchase Order:

      • Use transaction ME22N (Change Purchase Order) to correct the recipient information in the PO item.
      • Remove or replace the invalid recipient reference.
    5. Check Partner Functions in PO:

      • Ensure that the partner functions assigned to the PO item are valid and exist in the system.
    6. Reprocess the PO:
      After correcting the recipient data, save the PO and reprocess the transaction that triggered the error.


    Related Information:

    • Transaction Codes:

      • ME22N (Change Purchase Order)
      • ME23N (Display Purchase Order)
      • BP (Business Partner)
      • XK03 (Display Vendor)
    • Tables to Check:

      • EKKO (Purchase Order Header)
      • EKPO (Purchase Order Item)
      • LFA1 (Vendor Master)
      • BUT000 (Business Partner General Data)
    • Notes and Documentation:

      • Check SAP Notes related to partner functions and purchase order processing.
      • Review your organization's master data governance to prevent deletion of active recipients.

    If the problem persists after these steps, consider involving your SAP Basis or Master Data team to check for deeper data inconsistencies or system issues.


    Let me know if you need help with specific transaction steps or further troubleshooting!

    • 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