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

Close

How To Fix WGDS_PROCESS665 - Could not find orders assigned to supplier &1 with reference &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WGDS_PROCESS - Global data synchronisation

  • Message number: 665

  • Message text: Could not find orders assigned to supplier &1 with reference &2

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WGDS_PROCESS665 - Could not find orders assigned to supplier &1 with reference &2 ?

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


    SAP Error Message:

    WGDS_PROCESS665: Could not find orders assigned to supplier &1 with reference &2


    Meaning / Cause:

    This error occurs in the SAP system when the Goods Receipt (GR) or related process tries to find purchase orders (POs) assigned to a specific supplier (vendor) with a given reference number, but no matching purchase orders are found.

    In other words:
    The system is expecting to find one or more purchase orders linked to the supplier (vendor) number &1 and the reference number &2 (which could be an external reference like a vendor's delivery note number or invoice reference), but it cannot find any such orders in the system.

    Common causes include:

    • The purchase order does not exist or has not been created for the supplier with the given reference.
    • The reference number used in the transaction does not match the reference number in the purchase order.
    • The purchase order is assigned to a different supplier/vendor.
    • The purchase order has been deleted or blocked.
    • The document or transaction is using incorrect or outdated supplier or reference data.
    • The system is looking for orders in the wrong company code or purchasing organization.

    Where does this error typically occur?

    • During Goods Receipt (MIGO) or Invoice Verification (MIRO) processes.
    • When processing inbound deliveries or supplier references.
    • In scenarios involving automatic matching of supplier references to purchase orders.

    Solution / How to fix:

    1. Verify Supplier and Reference Data:

      • Check that the supplier number (&1) is correct.
      • Verify the reference number (&2) used in the transaction matches the reference number on the purchase order.
    2. Check Purchase Orders:

      • Use transaction ME23N to display purchase orders for the supplier.
      • Search for purchase orders with the given reference number.
      • Confirm that the PO exists, is active, and assigned to the correct supplier.
    3. Check Purchase Order Status:

      • Ensure the PO is not deleted, blocked, or fully invoiced/received.
      • Check if the PO is released and valid for the posting date.
    4. Check Document Flow and Settings:

      • Confirm that the company code and purchasing organization are correct.
      • Verify if the reference number is stored in the correct field (e.g., vendor reference, delivery note number).
    5. Correct the Reference or Supplier Data:

      • If the reference number is incorrect, correct it in the transaction.
      • If the supplier is wrong, select the correct supplier.
    6. If the PO does not exist:

      • Create a purchase order for the supplier with the correct reference.
      • Or, if the process is incorrect, adjust the process to use the correct PO or supplier.
    7. Check Customizing / Configuration:

      • In some cases, the system might be configured to match references strictly.
      • Review the settings in Materials Management (MM) or Logistics Invoice Verification (LIV) related to reference matching.

    Additional Information:

    • Transaction Codes to use:

      • ME23N – Display Purchase Order
      • ME2N – Purchase Orders by Vendor
      • MIGO – Goods Receipt
      • MIRO – Invoice Verification
    • SAP Notes / KBAs:

      • Check SAP Service Marketplace for notes related to WGDS_PROCESS665.
      • Sometimes, OSS notes provide patches or detailed troubleshooting steps.
    • Logs and Debugging:

      • Check application logs (SLG1) for more detailed error messages.
      • Debug the process if necessary to see why the system cannot find the PO.

    Summary:

    Aspect Details
    Error Could not find orders assigned to supplier &1 with reference &2
    Cause No purchase order found for given supplier and reference number
    Solution Verify supplier and reference; check PO existence and status; correct data or create PO
    Transactions ME23N, ME2N, MIGO, MIRO
    Notes Check SAP OSS notes and logs for further details

    If you provide the actual supplier number and reference, I can help you with more specific steps or queries to find the relevant purchase orders.

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