Fetching agent assignments for a security role

Swami Bala swam_in at hotmail.com
Tue Feb 25 16:15:21 EST 2003


Thanks Jocelyn. Though I have the book I missed it !. I am using the same
fmodule you have given with ACT_WEGID = US_ACTGR.
 
Swami Bala
 
>
>Hi Swami,
>You could also use function module RH_GET_STRUCTURE in a rule in
>transaction PFAC, assign
>evaluation path SAP_TAGT and feed in the activity group as your starting
>object.
>If you've got the book it explains how to set up a rule based on an eval
>path and the
>container elements you need to set up.
>This way it only takes a few minutes to set up and use it and you know its
>right because
>workflow uses the same underlying routines to find the agents during
>possible agent assignment.
>Regards,
>         Jocelyn Dart
>Consultant (SRM, EBP, Workflow)
>and co-author of the book
>"Practical Workflow for SAP"
>SAP Australia
>email: jocelyn.dart at sap.com
>phone: +61 412 390 267
>fax:   +61 2 9935 4880
>
>
>
>
>-----Original Message-----
>From: Swam_in [mailto:swam_in at hotmail.com]
>Sent: Tuesday, 25 February 2003 4:51 PM
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Re: Fetching agent assignments for a security role
>
>
>Thanks Sue. I meant the assignment of Basis Security roles in the
>Additional Data -> Agent Assignment -> Maintain. Instead of Org. management
>or a position or a user, I am assigning the 'Role'. This gives the
>flexibility that Workflow need not have Org. management. Instead the Basis
>team can handle the agent assignment in the Production against the role.
>Now
>I would like to fetch the agents - just like using rh_get_actors for org.
>mgmt - for the task  by passing the role name to it. The last thing I heard
>after posting my earlier question is that I can use agr_users table to
>fetch
>the agents for a Basis security role.
>
>Thanks anyway...
>
>Swami Bala
>
>
> > Hi Swami,
> >
> > When you define a role, using transaction PFAC_INS, you can specify
>whether this role should be
> > resolved using Organizational data, responsibilities, organizational
>attributes, or a function
> > module.  This means that you have the flexibility here of putting into a
>function module the ABAP
> > code that will define a role according to your business rules.  It's not
>too hard to do (well that
> > depends on your business rules).  I suggest you look at some of the
>SAP-Delivered roles, and what
> > their function modules look like, as a model for what you build.
> >
> > Good luck,
> > Sue
> >
> > Swami Bala wrote:
> > > Hello All,
> > >
> > > Have anybody used a 'Role' instead of Org, mangagement for the agent
> > > assignment ?
> > > I assigned a 'Role' as the agent assignment for the Task. I just
>wanted
>to
> > > know how to fetch the agents attached to it. Is there any fmodule that
>I
> > > can
> > > make use of ?
> > >
> > > Thanks
> > >
> > > Swami Bala
> > >
> > >
> > >
> > >
> > > _________________________________________________________________
> > > STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> > > http://join.msn.com/?page=features/junkmail
> >
> >
> > --
> > Susan R. Keohan
> > SAP Workflow Developer
> > MIT Lincoln Laboratory
> > 244 Wood Street
> > LI-200
> > Lexington, MA. 02420
> > 781-981-3561
> > skeohan at mit.edu
> >
 
 
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
 


More information about the SAP-WUG mailing list