cancel
Showing results for 
Search instead for 
Did you mean: 

Substitution Profile is not working correctly

anjali216
Explorer
0 Kudos
510

Substitution Profile is not working correctly

We have linked the Substitution, Classification & profiles as per the below blog.

Link Substitution, Classification and Profiles - FAQ Wiki - Support Wiki (sap.com).

We have created the below classifications & substitution profiles-

Classification

1. ZAPPRLEAVE- Approve Leave

2. ZHRFORMS - Approve Forms

Profiles

1. ZAPPROVE

2. ZHRFORMS

And, we have assigned the substitution profile ZAPPROVE to User1 & ZHRFORMS to User2.

So that User1 should receive only the work items related to Approve Leave & the User2 receive only the work items related to Approve Forms.

But the issue is User1 is receiving both the workitems of Approve Leave & Forms. Its not getting restricted.

Same Wise User2 also receiving the both work items.

Please guide me how to send the workitems of Approve Leave alone to the User1 & same for User2.

View Entire Topic
StephaneBailleu
Active Contributor
0 Kudos

Hi

Substitution means first a determined agent is found (most of the time via rule) that you can set up in the workflow step (transaction to set up rule is PFAC)

When the agent is found then if he has an active substitution (from my inbox or swbp or rmps_set_substitute[administration] ) and this substitution has the right profile (beaware that leaving it blank means all tasks) then the work item is going to both the substitute and original agent.

Agent determination is a whole topic in workflow so you shall take a look at the help

However the substitution profile as far as I know is working fine (I am using this since 2001) for diverse workflow and customers...

anjali216
Explorer
0 Kudos

Hi Stephane,

Thank you so much for your Input. Please confirm my understanding is correct - Do I need to filter the Substitute user based on the profile in the Agent Determination step itself for the appropriate workflow task.

In other way, Do we need to write the code logic for the above in addition to the configurations of classifications & Profiles?

anjali216
Explorer
0 Kudos

In our scenario, determined agent is found ‘ANX’ who having 2 substitutes

1.User1 with substitute profile ZAPPROVE

2.User2 with substitute profile ZHRFORMS

The request has been raised to approve leave. So in this case, workitem notification should have gone to the user ‘ANX’ and ‘User1’.

But the issue is User2 also receiving the notification.