How To Fix WRF_PRC_OTB221 - Specified order date is invalid; next workday is &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WRF_PRC_OTB - Purchasing, Open-To-Buy, Seasonal Procurement Messages

  • Message number: 221

  • Message text: Specified order date is invalid; next workday is &1

  • Show details Hide details
  • What causes this issue?

    In OTB allocation, the specified order date cannot be any later than the
    next workday according to the plant calendar.

    System Response

    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?

    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_PRC_OTB221 - Specified order date is invalid; next workday is &1 ?

    The SAP error message WRF_PRC_OTB221 indicates that the specified order date is invalid because it does not fall on a valid workday. The message typically includes a placeholder for the next valid workday, which is represented by &1.

    Cause:

    This error usually occurs in the context of order processing or planning within SAP, particularly in the areas of sales and distribution (SD) or production planning (PP). The primary reasons for this error include:

    1. Non-Working Day: The specified order date falls on a weekend or a public holiday when the system is configured to not allow operations.
    2. Calendar Settings: The factory calendar or the work schedule for the plant may not include the specified date as a valid working day.
    3. Configuration Issues: There may be issues with the configuration of the workdays in the system, leading to incorrect recognition of valid dates.

    Solution:

    To resolve the error, you can take the following steps:

    1. Check the Order Date: Verify the order date you are trying to use. Ensure that it is a valid working day according to the factory calendar.
    2. Review Factory Calendar: Go to the transaction code SCAL (Maintain Calendar) to check the factory calendar settings. Ensure that the date in question is marked as a working day.
    3. Adjust Order Date: If the specified order date is indeed a non-working day, change the order date to the next valid workday as indicated in the error message.
    4. Check Public Holidays: Review any public holiday settings that might affect the working days in your calendar.
    5. Consult with Configuration Team: If you suspect that the configuration of the workdays is incorrect, consult with your SAP configuration team to ensure that the settings align with your business requirements.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like MD01 (MRP Run), VA01 (Create Sales Order), or CO01 (Create Production Order) depending on where the error occurs.
    • SAP Notes: Check for any relevant SAP Notes that might address known issues or provide additional guidance on this error.
    • Documentation: Review SAP documentation related to order processing and calendar settings for more detailed information on how to manage workdays and order dates.

    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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker