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

Close

How To Fix WG066 - Delivery processing for material & terminated


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 066

  • Message text: Delivery processing for material & terminated

  • Show details Hide details
  • What causes this issue?

    Creation of the delivery document for the material & has been
    terminated.

    System Response

    The document item was not created.

    How to fix this error?

    INCLUDE ISR_VERWALTUNG

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WG066 - Delivery processing for material & terminated ?

    SAP Error Message:
    WG066 - Delivery processing for material & terminated


    Cause:

    This error occurs when you try to create or process a delivery for a material that has been marked as "terminated" in the system. In SAP, a material can be flagged as terminated to indicate that it is no longer available for procurement, sales, or delivery processes. When a material is terminated, the system prevents further delivery processing to avoid transactions involving obsolete or discontinued materials.


    Explanation:

    • The material master record has a termination indicator set.
    • This indicator is usually maintained in the Sales: Sales Org. 2 view or in the Basic Data view of the material master.
    • The termination flag signals that the material is no longer valid for sales or delivery.
    • Attempting to create a delivery document (e.g., outbound delivery) for such a material triggers this error.

    How to Check:

    1. Go to transaction MM03 (Display Material).
    2. Enter the material number.
    3. Navigate to the Sales: Sales Org. 2 tab.
    4. Check the field "Delivery/Shipping" or look for a "Material status" or "Termination" indicator.
    5. Alternatively, check the Basic Data 1 or Basic Data 2 views for any termination flags.

    Solution:

    1. If the material should no longer be used:

      • Do not create deliveries for this material.
      • Inform the business users that the material is terminated and cannot be processed further.
      • Update any sales orders or documents referencing this material accordingly.
    2. If the termination flag was set by mistake or the material needs to be reactivated:

      • Remove the termination indicator from the material master.
      • Use transaction MM02 (Change Material).
      • Navigate to the relevant view where the termination flag is set (usually Sales: Sales Org. 2).
      • Clear the termination indicator.
      • Save the material master.
      • Retry the delivery processing.
    3. Check related configuration:

      • Sometimes, the termination indicator is controlled by material status profiles or custom fields.
      • Verify with your SAP MM/SD consultant if any custom logic or user-exits are enforcing this check.

    Related Information:

    • Material Master Termination: Used to block materials from further use in sales and distribution.
    • Material Status: Can be used to control various processes including procurement, sales, and delivery.
    • Transaction Codes:
      • MM03: Display Material
      • MM02: Change Material
      • VL01N / VL02N: Create/Change Delivery
    • SAP Notes: Check SAP OSS notes if the issue persists or if you suspect a system bug.

    Summary:

    Aspect Details
    Error Cause Material is flagged as terminated in material master.
    Effect Delivery processing is blocked for this material.
    Solution Remove termination flag if material is still valid, or do not process deliveries for terminated materials.
    Check Material master views (Sales: Sales Org. 2), MM02/MM03 transactions.

    If you need further assistance, please provide the material number and the transaction you are using to create the delivery.

    • 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