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

Close

How To Fix WG059 - Supplying plant & and delivery type & do not match up


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 059

  • Message text: Supplying plant & and delivery type & do not match up

  • Show details Hide details
  • What causes this issue?

    The supplier entry in plant maintenance for the supplying plant does not
    match the supplier number provided.

    System Response

    The system uses the entry from plant maintenance for the supplier
    number.

    How to fix this error?

    Check why the supplying plant number and supplier number do not match.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WG059 - Supplying plant & and delivery type & do not match up ?

    SAP Error Message:
    WG059 - Supplying plant & and delivery type & do not match up


    Cause:

    This error occurs during the creation or processing of a delivery document (typically in the context of stock transport orders or intercompany deliveries) when the combination of the supplying plant and the delivery type is not valid or consistent according to the system configuration.

    In other words, the delivery type assigned to the delivery document is not allowed or not maintained for the supplying plant specified. This mismatch can happen because:

    • The delivery type is not configured for the supplying plant in the system.
    • The delivery type is intended for a different kind of plant or process.
    • Customizing settings in the Logistics Execution (LE) or Sales and Distribution (SD) module do not allow this combination.
    • Incorrect master data or document data entry.

    Solution:

    To resolve the WG059 error, follow these steps:

    1. Check Delivery Type Configuration:

      • Go to SPRO ? Logistics Execution ? Shipping ? Deliveries ? Define Delivery Types.
      • Verify that the delivery type used in the document is correctly configured and allowed for the process involving the supplying plant.
    2. Check Plant and Delivery Type Assignment:

      • In some cases, the system requires that certain delivery types are only used with specific plants.
      • Check if there is any custom validation or user-exit that restricts delivery types per plant.
    3. Check Stock Transport Order (STO) or Delivery Document Setup:

      • If this is related to an STO, verify the document type and delivery type settings in:
        • SPRO ? Materials Management ? Purchasing ? Purchase Order ? Define Document Types.
        • SPRO ? Logistics Execution ? Shipping ? Deliveries ? Define Delivery Types.
      • Ensure that the delivery type assigned to the STO or delivery is valid for the supplying plant.
    4. Review Master Data:

      • Verify the plant master data to ensure it is correctly maintained.
      • Check if the plant is correctly assigned to the company code and sales organization.
    5. Adjust or Correct the Delivery Type or Plant:

      • If the delivery type is incorrect for the supplying plant, change it to a valid one.
      • Alternatively, if the plant is wrong, correct the plant in the document.
    6. Check for User-Exits or Enhancements:

      • Sometimes, custom code may enforce additional checks on plant and delivery type combinations.
      • Review any user-exits or BADIs related to delivery creation for such logic.

    Related Information:

    • Transaction Codes:

      • VL01N / VL02N (Create/Change Delivery)
      • ME21N (Create Purchase Order)
      • SPRO (Customizing)
    • SAP Notes:

      • Check SAP Notes related to WG059 for any known issues or patches.
    • Modules Involved:

      • Logistics Execution (LE)
      • Sales and Distribution (SD)
      • Materials Management (MM)
    • Typical Scenario:

      • This error often appears in Stock Transport Orders (STO) when the delivery type for the outbound delivery from the supplying plant is not properly maintained or mismatched.

    Summary:

    WG059 indicates a mismatch between the supplying plant and the delivery type in the delivery document. The solution involves verifying and correcting the delivery type configuration for the supplying plant, ensuring master data consistency, and adjusting the document data accordingly.

    • 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