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

Close

How To Fix SWF_FLEX_ENGINE021 - Factory calendar is only allowed with days as time unit


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SWF_FLEX_ENGINE - Workflow: Flexible Engine

  • Message number: 021

  • Message text: Factory calendar is only allowed with days as time unit

  • 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 SWF_FLEX_ENGINE021 - Factory calendar is only allowed with days as time unit ?

    The SAP error message SWF_FLEX_ENGINE021 indicates that there is an issue with the configuration of the factory calendar in the context of workflow or flexible workflow settings. Specifically, this error occurs when the system expects a time unit of "days" for the factory calendar, but a different time unit is being used.

    Cause:

    The primary cause of this error is that the factory calendar is configured with a time unit that is not compatible with the expected "days" time unit. This can happen if:

    • The factory calendar is set to use hours, minutes, or another time unit instead of days.
    • There is a mismatch in the configuration settings for the workflow or the factory calendar.

    Solution:

    To resolve this error, you can follow these steps:

    1. Check Factory Calendar Configuration:

      • Go to the transaction code SCAL (Factory Calendar) in SAP.
      • Verify the settings of the factory calendar being used. Ensure that the time unit is set to "days."
    2. Adjust Workflow Settings:

      • If you are using a flexible workflow, check the workflow configuration to ensure that it is set to use the correct factory calendar.
      • Ensure that any time-related settings in the workflow are consistent with the factory calendar's time unit.
    3. Review Custom Code:

      • If there is any custom code or enhancements that interact with the factory calendar, review that code to ensure it is not inadvertently changing the expected time unit.
    4. Testing:

      • After making the necessary adjustments, test the workflow or process that was generating the error to confirm that the issue has been resolved.
    5. Consult Documentation:

      • If you are unsure about the settings or need further clarification, refer to the SAP documentation or help resources related to factory calendars and workflows.

    Related Information:

    • Transaction Codes:

      • SCAL: Factory Calendar configuration.
      • SWDD: Workflow Builder, where you can check and modify workflows.
    • SAP Notes and Documentation:

      • Check for any relevant SAP Notes that might address this specific error or provide additional guidance on configuring factory calendars and workflows.
    • Support:

      • If the issue persists after following the above steps, consider reaching out to SAP support or your internal SAP team for further assistance.

    By ensuring that the factory calendar is correctly configured to use "days" as the time unit, you should be able to resolve the SWF_FLEX_ENGINE021 error.

    • 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