Symptom
Flexible workflow is configured for Purchase Requisitions, where the approver should be the 'Manager of Workflow Initiator'. Yet when Purchase Requisitionis created it shows as awaiting approval but does not appear in the inbox of the approving manager as defined in the employee/employer hierarchy.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Use the APP 'Manage workforce' maintain Manager for the creator of the document in under work agreements tab with validity in the case of Cloud versions.In On-Premise versions, set the same relation in 'PPOMA'.
- Activate flexible workflow for respective Purchase Requisition type.
APP Manage Your Solution > configure your solution > search for - Approval Settings for Purchase Requisition > Configure > Flexible Workflow. - Configure flexible workflow pre-conditions, steps with the approver as 'manager of workflow initiator'.
APP 'Manage Workflows for Purchase Requisitions'. - With the relevant user create a Purchase Requisition using the APP 'Manage Purchase Requisition Professional'.
- The Purchase requisition is created with status 'Awaiting Approval'.
- Logon to the fiori launchpad with the corresponding Manager.
- Check the APP 'My Inbox' - There is no pending to be approved.
Cause
If Purchase Requisition is created via the APP 'Manage Purchase Requisition – Professional' it will not work as documented because 'Manager approval' is not supported in the 'Professional' APP.
Resolution
Create the Purchase Requisition via APP 'Create Purchase Requisitions'. If the pre-requisites are met the approval workflow will be transferred to the employee's manager as assigned.
Pre-requisites:
- If Purchase Requisition of type other than the standard type 'NB', assign a default document type to the user using the APP 'Default settings for user'.
- Maintain Manager for the creator of the document in APP 'Manage workforce' under Work agreements tab with validity. in case of cloud.
- Flexible workflow for the document type is active.
- The pre conditions for the workflow are met.
- The approving manager needs the business roles SAP_BR_MANAGER and SAP_BR_EMPLOYEE_PROCUREMENT to approve or reject Purchase Requisitions.
Keywords
FIORI, MMFIOSTD, IEMPLOYEE, IEMPLOYMENTMGR, CL_GBAPP_APV_PR_API, RH_LOCAL_INBOX_GET, SWE_EVENT_CREATE, SWI1, SWWUSERWI, SWWWIHEAD, Approval, Level, Processor, CB User , KBA , MM-FIO-PUR-REL , Fiori UI for Purchasing Approval , CA-INB-FIO , Fiori UI for My Inbox Application , MM-FIO-PUR-REQ-SSP , Fiori UI for Self Service Procurement , MM-FIO-PUR-REQ-PRF , Manage Purchase Requisitions – Professional , How To