How To Fix 6P058 - Date ( & ) lies outside the planning horizon


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 6P - Messages for planned independent requirements (Appl.area 60)

  • Message number: 058

  • Message text: Date ( & ) lies outside the planning horizon

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 6P058 - Date ( & ) lies outside the planning horizon ?

    The SAP error message 6P058 ("Date ( & ) lies outside the planning horizon") typically occurs in the context of planning and scheduling within SAP, particularly in modules like SAP APO (Advanced Planning and Optimization) or SAP S/4HANA. This error indicates that the date you are trying to use for a planning operation (such as a forecast, production order, or other planning activities) is outside the defined planning horizon.

    Cause:

    1. Planning Horizon Configuration: The planning horizon is defined in the system settings and specifies the time frame within which planning activities can be performed. If you attempt to plan for a date that is earlier than the start of the planning horizon or later than the end of the planning horizon, this error will occur.
    2. Incorrect Date Input: The date you are trying to use may be incorrectly entered or may not align with the expected date format.
    3. Master Data Settings: The planning horizon may not be set correctly in the master data for the relevant planning object (e.g., product, location).

    Solution:

    1. Check Planning Horizon Settings:

      • Navigate to the relevant configuration settings in SAP (e.g., in SAP APO, check the planning book settings).
      • Ensure that the planning horizon is set correctly to encompass the date you are trying to use.
      • If necessary, extend the planning horizon to include the required dates.
    2. Adjust Date Input:

      • Verify the date you are entering. Ensure it is within the defined planning horizon.
      • If you are using a date picker or calendar, ensure that the selected date is correct.
    3. Review Master Data:

      • Check the master data for the relevant planning object to ensure that the planning horizon is correctly defined.
      • Make adjustments as necessary to ensure that the planning horizon aligns with your planning needs.
    4. Consult Documentation:

      • Refer to SAP documentation or help resources for specific guidance on configuring planning horizons in your version of SAP.
    5. Contact Support:

      • If you are unable to resolve the issue, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.

    Related Information:

    • Planning Horizon: This is a critical concept in supply chain planning and production scheduling. It defines the time frame for which planning can be performed and is essential for ensuring that planning activities are relevant and actionable.
    • Transaction Codes: Depending on your SAP version, you may use specific transaction codes to access planning horizon settings (e.g., /SAPAPO/SDP94 for planning books in APO).
    • User Exits and BAdIs: In some cases, custom logic may be implemented that affects how planning horizons are handled. Check for any user exits or BAdIs that may be relevant to your planning process.

    By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.

    • 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