SAP Knowledge Base Article - Public

3468411 - Factory Calendar Issue for Purchase Requisition Workflow

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

Reproducing the Issue

  1. Maintain Factory Calendar via Configuration "Maintain Calendar" ID 180007
  2. Implement the BAdI MMPUR_PROC_WF_FACTORY_CALENDAR
  3. In Manage Workflows for Purchase Requisition create workflows with Deadlines
  4. Create a Purchase Requisition
  5. Deadline in days not considering weekend and holidays 

Cause

Incorrect configuration in Workflow.

Resolution

  1. Manage Workflows for Purchase Requisitions
  2. Create a new workflow
  3. Add a new step
  4. Go to Deadlines tab
  5. Select the dropdown list in time
  6. Will be displayed Hour, Day, Minutes and Workdays
  7. Select Workdays
  8. Save

See Also

https://help.sap.com/docs/SAP_S4HANA_CLOUD/0e602d466b99490187fcbb30d1dc897c/0f7ba1a709fc456180a32618a3b4245e.html

Keywords

Factory Calendar, Purchase Requisition, Workflow, BAdI, MMPUR_PROC_WF_FACTORY_CALENDAR , KBA , MM-FIO-PUR-REL , Fiori UI for Purchasing Approval , How To

Product

SAP S/4HANA Cloud all versions