Skip to Content

How disable "General substitution" in Mantain Substitute?

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

Substitute.jpg (119.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 10, 2014 at 02:07 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2014 at 01:43 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.