cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Flexible workflow PR approval with HR mini master

nevin_philip
Participant
1,865

I am looking at steps to see if standard out of the box flexible workflow solution could handle the following approval process 

- We have requsitioners creating PR. 

-HR mini master will setup in SAP. When the requsitioner creates a PR ,based on the approval limit set for the approvers , the workflow will be set to the approvers who has the approval limit

- Some of the material groups will special approvals

how can we achieve this in standard SAP

 

Accepted Solutions (1)

Accepted Solutions (1)

AKS
Explorer
0 Likes

 

I had worked on similar requirement recently.

SAP provides a standard Flexible Workflow for Purchase Requisition (PR) approvals, including:

  • WS02000458 – Release of Purchase Requisition Header.

Now, since you need to fetch the approver from the HR Mini Master, here’s how you can approach it:

  1. If the approvers are fixed based on approval limits:

    • You can use Teams & Responsibility Management while configuring the Flexible Workflow in the Fiori app “Manage Workflows for Purchase Requisition.”

    • This way, the approver is determined automatically based on predefined teams and responsibilities.

  2. If the approver needs to be dynamically selected from the HR Mini Master:

    • If the initial approver doesn’t have the required approval limit, the system should escalate the request up the organizational hierarchy.

    • The process continues until it finds a supervisor with sufficient approval authority.

    • To achieve this, you’ll need some custom development to store approval limits and implement the necessary cloud BADIs for different scenarios.

BADI Name

Enhancement Spot

Description

SWF_WORKFLOW_CONDITION_DEF

SWF_PROCESS_WORKFLOW_CONDITION

Providing additional conditions for scenarios.

SWF_WORKFLOW_CONDITION_EVAL

SWF_PROCESS_WORKFLOW_CONDITION

Value evaluation of additional conditions for scenarios.

MMPUR_WORKFLOW_AGENTS_V2

MMPUR_WORKFLOW_AGENTS_V2

Determination of Workflow Agents for Purchasing Documents

#Flexible Workflow#SAP S/4HANA Cloud Public Edition Sourcing and Procurement 

nevin_philip
Participant

Thank you for your feedback and your help. I was not sure if standard SAP had some selection options in PR or PO to pull information from HR.

Answers (1)

Answers (1)

azappi
Participant
0 Likes

Hi 

You might have to look into teams and responsibility, there you can create teams and delegate the approval based on material groups.

Else you have to add the material group as a trigger in your workflow 

nevin_philip
Participant
0 Likes
Thank you for your feedback