Our requirement is as follows - we have substitution active in SBWP for managers i.e. manager 2 is substitute of manager 1. Now, manager 2 is able to see and process all the work items of manager 1. We have an appraisal workflow which sends appraisee details to manager 1. We do not want that the manager 2 should see or process these appraisee details which belong to manager 1 but we want that the manager 2 can see and process other activites apart from these appraisal details. We tried making an implementation of the badi WF_SUBSTITUTE and seen that in debugging, the system deletes the profile entreis but it still shows in the inbox of the substitute manager. In other words, this badi is not working despite of being active. What could be wrong?
Another thing is that this badi is called in FM SAP_WAPI_SUBSTITUTE_PROF_GET. This FM, when we tried searching in where used list, displayed no search results.
Please suggest what other things we can do?
Ours is ECC latest system and all patches and notes are taken care of.