Symptom
The Factory Calendar functionality is not performing as expected. Despite being configured to exclude public holidays and weekends via BAdI MMPUR_PROC_WF_FACTORY_CALENDAR, when sending out purchase request reminder emails, it is erroneously including these non-working days in the calculation.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Maintain Factory Calendar via Configuration "Maintain Calendar" ID 180007
- Implement the BAdI MMPUR_PROC_WF_FACTORY_CALENDAR
- In Manage Workflows for Purchase Requisition create workflows with Deadlines
- Create a Purchase Requisition
- Deadline in days not considering weekend and holidays
Cause
Incorrect configuration in Workflow.
Resolution
- Manage Workflows for Purchase Requisitions
- Create a new workflow
- Add a new step
- Go to Deadlines tab
- Select the dropdown list in time
- Will be displayed Hour, Day, Minutes and Workdays
- Select Workdays
- Save
See Also
Keywords
Factory Calendar, Purchase Requisition, Workflow, BAdI, MMPUR_PROC_WF_FACTORY_CALENDAR , KBA , MM-FIO-PUR-REL , Fiori UI for Purchasing Approval , Bug Filed
Product
SAP S/4HANA Cloud Public Edition all versions