How To Fix MD118 - Date & lies outside the planning period


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 118

  • Message text: Date & lies outside the planning period

  • Show details Hide details
  • What causes this issue?

    You entered a start or finish date for the versions to be used
    that lies outside the period of the scenario that you defined.

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

    System Response

    The planning run is only carried out within the period that you defined
    for the scenario. Therefore, the selected version can also only be
    valid for this period.

    How to fix this error?

    Choose a start or finish date that lies within the planning period of
    the planning scenario.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message MD118 - Date & lies outside the planning period ?

    The SAP error message MD118 ("Date & lies outside the planning period") typically occurs when you are trying to perform a planning operation (such as creating or changing a plan) for a date that is outside the defined planning period in the system. This can happen in various modules, particularly in SAP APO (Advanced Planning and Optimization) or SAP ECC (Enterprise Central Component) when dealing with materials planning.

    Cause:

    1. Planning Period Configuration: The planning period is defined in the system settings, and the date you are trying to use for planning is not within this range.
    2. Master Data Settings: The material master or planning area may have specific settings that restrict planning to certain dates.
    3. Version Control: If you are working with different planning versions, the version you are using may not allow planning for the specified date.
    4. Calendar Settings: The factory calendar or holiday settings may also affect the planning period.

    Solution:

    1. Check Planning Period Settings:

      • Go to the configuration settings for the planning area or planning version and verify the defined planning period.
      • Adjust the planning period if necessary to include the date you are trying to use.
    2. Review Material Master Data:

      • Check the material master data for the specific material you are working with. Ensure that the planning settings allow for the date in question.
    3. Adjust Planning Version:

      • If you are using a specific planning version, ensure that it is set up correctly and that the date falls within the allowed range for that version.
    4. Factory Calendar:

      • Review the factory calendar settings to ensure that the date is not falling on a non-working day or outside the defined working days.
    5. Consult Documentation:

      • Refer to SAP documentation or help resources for specific configuration steps related to planning periods and settings.
    6. Contact SAP Support:

      • If the issue persists after checking the above settings, consider reaching out to SAP support for further assistance.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like MD01, MD02, or MD04 for planning-related activities.
    • Configuration Path: The planning period can typically be configured in the following path:
      • SPRO ? Advanced Planning and Optimization ? Supply Chain Planning ? Planning Book ? Define Planning Periods.
    • User Exits and BAdIs: If custom logic is implemented, check for any user exits or BAdIs that might affect planning behavior.

    By following these steps, you should be able to resolve the MD118 error and successfully perform your planning activities within the defined period.

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