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

Close

How To Fix WRF_DISPRO059 - Overlap for &1, &2, between &3 and &4 processed by BAdI


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WRF_DISPRO -

  • Message number: 059

  • Message text: Overlap for &1, &2, between &3 and &4 processed by BAdI

  • Show details Hide details
  • What causes this issue?

    The time-dependent minimum and maximum stock levels for promotions in
    the time period specified overlap for the combination of material and
    plant.
    For the combination of material and plant for different promotions, you
    have entered time-dependent data for overlapping time periods
    (transaction WRF_DISP_PROMO).

    System Response

    Method DETERMINE_VALID_TD_DATA of BAdI WRF_DISPRO_TD_OUT was called to
    process the overlap.

    How to fix this error?

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

    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_DISPRO059 - Overlap for &1, &2, between &3 and &4 processed by BAdI ?

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


    SAP Error Message:

    WRF_DISPRO059
    Text: Overlap for &1, &2, between &3 and &4 processed by BAdI


    1. Cause of the Error

    This error occurs during the production order or process order scheduling or confirmation phase, specifically when working with the Dispo (disposition) process in SAP PP (Production Planning). The message indicates that there is an overlap in the scheduling or allocation of resources, capacities, or operations for a particular object.

    • &1: Object type (e.g., resource, work center, operation)
    • &2: Object ID (e.g., resource number, work center ID)
    • &3 and &4: Time interval start and end where the overlap occurs

    The message is triggered by a BAdI (Business Add-In) implementation that checks for overlaps in scheduling or capacity allocation. The BAdI is designed to detect if two or more operations or orders are scheduled on the same resource or capacity simultaneously, which is not allowed or needs special handling.


    2. Where does it occur?

    • During capacity leveling or capacity scheduling in production orders.
    • When a custom BAdI implementation is active that checks for overlaps.
    • Typically related to resource or work center scheduling.
    • The BAdI involved is often WORKORDER_DISPATCH or a similar enhancement spot related to production order scheduling.

    3. Solution

    • Analyze the overlapping intervals: Check the time intervals &3 and &4 to understand which operations or orders are overlapping.
    • Check the BAdI implementation:
      • Identify the BAdI that raises this message (e.g., WORKORDER_DISPATCH or a custom BAdI for scheduling).
      • Review the logic that detects overlaps and adjust it if necessary.
    • Adjust scheduling or capacity:
      • Reschedule one of the conflicting operations/orders to avoid overlap.
      • Increase capacity or adjust resource availability if possible.
    • Check master data:
      • Verify work center or resource calendars and capacities.
      • Ensure no incorrect or duplicate entries cause false overlaps.
    • If the overlap is allowed:
      • Modify the BAdI implementation to handle or ignore certain overlaps.
      • Implement logic to prioritize or sequence operations properly.

    4. Related Information

    • BAdI Name: Often related to WORKORDER_DISPATCH or other scheduling-related BAdIs.
    • Transaction Codes:
      • CO02 (Change Production Order)
      • CM01 (Capacity Planning)
      • CM25 (Capacity Leveling)
    • SAP Notes: Check for SAP Notes related to WRF_DISPRO059 or scheduling overlaps.
    • Debugging:
      • Set breakpoints in the BAdI implementation to trace how overlaps are detected.
      • Use transaction SE18 or SE19 to find and edit BAdI implementations.
    • Documentation:
      • SAP PP Production Scheduling guides.
      • SAP Help Portal for capacity planning and scheduling.

    Summary

    Aspect Details
    Cause Overlapping scheduling intervals for a resource or operation detected by a BAdI.
    Effect Scheduling conflict that needs resolution to avoid resource overbooking.
    Solution Adjust scheduling, review and modify BAdI logic, check master data and capacity settings.
    Related BAdI WORKORDER_DISPATCH or custom scheduling BAdIs.
    Transactions CO02, CM01, CM25

    If you provide the exact BAdI name or scenario, I can help with more specific guidance on the implementation or correction steps.

    • 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