BPM is an excellent tool to build and manage your workflows across the Systems and Organizational boundaries.
When the time comes to integrate it with HCM Organizational Management within ECC there is no out of box functionality. You can fix the User Ids using Portal UME to different Swim Lanes or Tasks but its not possible to pick the Manager/next Approving Authority based on relationships maintained within HCM Organizational Management.
After reading many articles and communicating with different peoples, I reached to a conclusion that relationships maintained between employees within ECC HCM can be picked using following steps.
Step by Step tutorial
2. Type the name of your development component.
3. Expand your newly created project and create a process under Process Modeling. Create two swim lanes, Employee and Manager.
4. Delete the link between start and end. Place one Human Activity on Lane - 1 and name it to initiator.
4. Create an RFC enable function module in your ECC server which can accept user id/owner of Human Activity and returns the manager of Initiator.
It is assumed that you are familiar with ABAP and how the employees relationship are maintained in HRP1001 table.
5. In Project Explore right click the Services Interface and Import RFC. Make sure before this you have maintained the R/3 Configuration in NWDS and RFC Connection to you ABAP System within portal (Go to NWA -> SOA Management -> Technical Configuration -> System Connection)
6. Right click on connectivity and create a new service group e.g. BPM_RFC. Purpose of creating Service Group here is to maintain a repository having information about the services consumed by your Application e.g RFCs or Web Services.
7. Drag and Drop the imported RFC over swim lane Employee. An automated/background activity will be created automatically. Link it with Initiator Activity.
8. Select the GetManager Pool and check mark "Enable Principal Propagation" with General Tab of Properties.
9. Now you can see output Mapping of Initiator task is having all required task attributes. Mapped user id of Initiator Task to Automated RFC Activity which will return the Manager.
Other than using Principal Propagation, Task Attribute actualOwner can also be mapped with next automated activity. Now you have user id in custom built RFC Function module that will return the manager of first task to second human task.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 |