FM to determine Agents from Standard Role

Baunach, Natasha R natasha.r.baunach at intel.com
Wed Mar 22 18:46:46 EST 2006


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/20060322/ac2c81d7/attachment.htm


More information about the SAP-WUG mailing list