Skip to Content
Former Member
Feb 21, 2011 at 08:55 AM

Get list of possible agents for a task



I'm looking for a way in ABAP to create a list of users as a result of what's entered in Agent Assignment for a task group.

The only things I've found is dynpros displaying a list like that (SWU_WF_TASK_DISPATCH).

I need something like SWD_API_POSSIBLE_AGENTS_GET and RH_AGENTS_OF_TASK_GET but couldn't figure out how to use it.

If there is no way to read the assignments of a task group, then I think it would work to read what users belongs to a role.

Same thing there. I can only find BAPIs to read what role a user have, not the other way around.

Any hints would be great!