How To Fix MD138 - Planning period in the past


SAP Error Message - Details

  • Message type: E = Error

  • Message class: MD - Material Requirements Planning (MRP)

  • Message number: 138

  • Message text: Planning period in the past

  • Show details Hide details
  • What causes this issue?

    The planning period lies either partially or completely in the past.

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

    How to fix this error?

    Please check the start and finish dates of the planning period.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message MD138 - Planning period in the past ?

    The SAP error message MD138, which states "Planning period in the past," typically occurs in the context of Material Requirements Planning (MRP) or when trying to execute planning functions in SAP. This error indicates that the planning period you are trying to work with is set to a date that has already passed, which is not allowed in the planning process.

    Cause:

    1. Date Settings: The planning horizon or the planning period you are trying to use is set to a date that is earlier than the current date.
    2. Master Data Configuration: The material master or planning parameters may have been configured with a planning period that does not align with the current date.
    3. MRP Settings: The MRP settings may not be correctly defined, leading to attempts to plan for periods that are no longer relevant.

    Solution:

    1. Check Current Date: Verify the current date in the system and ensure that the planning period you are trying to access is not in the past.
    2. Adjust Planning Period: If you are trying to run MRP or any planning function, adjust the planning period to a future date. This can often be done in the MRP run settings or planning parameters.
    3. Review Material Master Data: Check the material master data for the specific material you are working with. Ensure that the planning horizon is set correctly and that it does not extend into the past.
    4. MRP Configuration: Review the MRP configuration settings in the system. Ensure that the planning parameters are set correctly to avoid planning in the past.
    5. Transaction Codes: Use transaction codes like MD01 (MRP Run) or MD02 (Single-item, Multi-level MRP) to check the settings and parameters being used for planning.

    Related Information:

    • Planning Horizon: The planning horizon is the time frame within which the system is allowed to plan. It is important to set this correctly to avoid errors.
    • MRP Types: Different MRP types (like PD, VB, etc.) may have different implications for planning periods. Ensure you are using the correct MRP type for your materials.
    • SAP Notes: Check for any relevant SAP Notes or documentation that may provide additional insights or updates related to this error message.
    • User Authorization: Ensure that you have the necessary authorizations to perform planning activities in the system.

    By following these steps, you should be able to resolve the MD138 error and successfully execute your planning activities in SAP.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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