2008 Nov 17 5:29 AM
I want to get the list of user/Agents assigned in any RULE (with responsibility) and TASK GROUPS.
(without tcode PFAC, data is required in an internal table)
Is there any method/function module, which returns the above data ??
e.g. I have a rule RY 50000123 and six or seven different responsibilities under the same; many agents are assigned to those responsibilities.
I want to get the list of user/Agents assigned in any RULE (with responsibility) and TASK GROUPS.
(without tcode PFAC, data is required in an internal table)
Is there any method/function module, which returns the above data ??
e.g. I have a rule RY 50000123 and six or seven different responsibilities under the same; many agents are assigned to those responsibilities.
2008 Nov 17 5:33 AM
hi,
use these function modules.
SWF_TASK_DETAILS_GET
SWD_GET_TASK_AGENTS
RH_WI_ORGTASK_READ
SWL_WI_DISP_ACTUAL_AGENTS
2008 Nov 17 6:21 AM
Hi Goutam,
Thanks for your help, but my requirement was regarding the Agents maintained in PFAC tcode.
All the Fm you have mentioned are helpful only when you have work item id or Task name to search for.
i.e. run time data mostly.
My requirement was for Master data :-
If you go to tcode OOCU_RESP for any RULE (where RULE is maintained for Responsibilities), you will find list of agents listed.
I need this list in a internal table i.e. any FM which returns this list of users where the input value will be RULE ID.