Hi Guys,
I am writing a method which returns agents from a given rule. The issue is that the rule has responsibilities but the function module does not return that or allow me to specify them. With RH_GET_ACTORS i can pass it is the rule and it return agents but I also want another check at responsibility level.
Is there any function module that i can use use to get this? This is an independent report and not in the workflow so I cannot use container values.
The example is like this rule AC1234557
responsibility: finance
user 1
user 2
user 3
responsibility:Human resource
user 4
user 6
I need a function that I can pass it a rule and responsibility so that I can return user 6 for example, FM RH_GET_ACTORS gives em all users.
I would also be happe to loop at output tabel where responsibility = Human resource but even that is not possible.
Your suggestions will be greatly appreciated.
Thank you
Andy