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 Public Edition

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

App Extensibility: Edit and Approve Purchase Requisition

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