Skip to Content
author's profile photo Former Member
Former Member

How to find and add user's manager as approver for an action at runtime?

Hi All,

I am able to add logged in users to a role and initiate the process.

But for 1st and 2nd level approval, I want to add supervisor and manger user id to the appropriate roles.

How do I implement this?

Thanks

Sundar

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 18, 2009 at 11:14 AM

    Hi,

    2 ways:

    1 - You can define a Structure String -> 0..n and define your role as Runtime Defined, so you associate this structure with your role. You will retrieve the users by role from UME, after this, initialize the structure withe the users. So the values will be transferred to your process.

    see this link: /people/dipankar.saha3/blog/2007/05/31/how-to-create-dynamic-approval-process-using-conditional-loop-block-in-guided-procedure

    /people/berndt.woerner/blog/2007/09/19/different-ways-to-model-dynamical-assignment-of-user-to-process-roles-using-composition-tool-guided-procedures--part-1

    2 - Using Assign Users to Process Role Callable Object

    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0c451f8-0dc2-2b10-e286-f5be915a07f7

    Best regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2009 at 11:12 AM

    if you are using Webdynpro CO you can add the users to the role's dynamically

    Please let me know if you need any further help on this

    Thanks and Regards

    shanto aloor

    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.