cancel
Showing results for 
Search instead for 
Did you mean: 

Flexible Workflow with HCM active or not.

SAPSupport
Employee
Employee
0 Kudos

Hello,

As part of the implementation of a flexible workflow for purchasing documents, we need to get some clarification about employee management in the two cases below:

  1. Without activating HR module : Through Maintain Employee Fiori app

The use of the app requires the implementation of BADIMMPUR_WORKFLOW_AGENTS_V2. However, this BADI requires the maintaining of some criteria such as approvers levels, names,.. which will represent a constraint in terms of maintenance of workflows by end users . Is there a way to use the “Maintain Employees” tile without having to define hard criteria in the program.


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

Dear Customer, 

My name is Lisa from the MM-FIO/MM-PUR team. In relation to your query: 

Creating users in the Maintain Employees app is not enough for flexible workflow scenario's, it would then still be needed to activate HR later to synchronize employee data. This is explained in the following documentation:

https://help.sap.com/doc/6b11678926d3409bbfea8897cb34d10f/1909.000/en-US/INST_OP1909.pdf > page 77

If HCM is active within your system, ensure the following:

Activate HR integration (Set HRALX HRAC to ‘X’ and HRALX PBPON to ‘ON’ in table T77S0).

Run synchronization report /SHCM/RH_SYNC_BUPA_FROM_EMPL.

 

If HCM is not active within your system:

It is required to then code Badi MMPUR_WORKFLOW_AGENTS_V2 for agent determination. 

Then when configuring the specific flexible workflow, in the step creation of the workflow, in the section "Recipients" under "Assignment By", select options "Role" and "Agent Determination by BAdI".

Then the BAdI implementation will be called where you have determined the agents by your own logic, without having HR integration active. I have seen the use of custom tables where agents/approvers are maintained and then retrieved during BADI runtime. By using custom tables, the agents are not necessarily hard coded within the BADI and can be maintained within the tables for retrieval. 

I hope this helps answer your query, 

Kind Regards, 
Lisa 
SAP Support

 

 

Answers (0)