FM to determine Agents from Standard Role
Khanna, Manish
manish.khanna at amd.com
Thu Mar 23 14:49:52 EST 2006
Thanks a lot. It worked.
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Baunach, Natasha R
Sent: Wednesday, March 22, 2006 3:47 PM
To: SAP Workflow Users' Group
Subject: RE: FM to determine Agents from Standard Role
Manish,
You can use the following function module:
CALL FUNCTION 'RH_GET_ACTORS'
EXPORTING
act_object = lv_rule (your rule number AC9*..)
TABLES
actor_container = lt_container (populate containers if your
rule has parameters
actor_tab = lt_actor_tab - internal table with users
determined by the rule.
EXCEPTIONS
no_active_plvar = 1
no_actor_found = 2
exception_of_role_raised = 3
no_valid_agent_determined = 4
no_container = 5
OTHERS = 6.
Natasha
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Khanna, Manish
Sent: Wednesday, March 22, 2006 3:30 PM
To: SAP Workflow Users' Group
Subject: FM to determine Agents from Standard Role
Hi,
Is there a FM to determine agents from a standard role defined in PFAC?
Regards,
Manish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060323/11f8fc58/attachment.htm
More information about the SAP-WUG
mailing list