Hi guys,
I need to ensure that a workflow approver cannot choose a "General substitution" in the Detail Screen Substitution when maintaining a substitute.
There are any way to do that without change the standard making this a obligatory field?
Tks
Hi,
I don't think its possible without changing the standard function module RH_SUBSTITUTION_MAINTAIN.
What you can do is remove maintaining a substitute authorizations from the users and only let the Wf administrator carry out substitutions.
What is the reason why they can't choose general substitution.
With agent assignments and profiles and excluded agents you control who cannot execute the workitem.
Kind regards, Rob Dielemans
Hi,
If I remember correctly, you cannot remove the substitution profile "ALL". It was somehow "hardcoded" to the system (there might be some discussions about this here in SCN - I think someone recommended removing the ALL profile from customization, but there might have been a problem with that such as if you leave the profile empty when maintaining the substitution, it might still work as ALL etc.).
Rob, I see this as a relevant issue. Some clients have wanted to have a control for this. They don't want users to just select someone who will then process all the work items. (HR processes about confidential salary information etc.). Of course there is a possibility to use e.g. possible agents & excluded agents etc. but this might not work for all the possible scenarios.
Just as Rob said, you might need to change the standard (or hopefully find a suitable enhancement spot) to remove the option. We had some success with the substitution BADI (for UWL). Users received an error message, when trying to choose the wrong profile. You could try similar approach by implementing this kind of check to a correct spot in the standard code.
Kind regards,
Karri
Add a comment