There is a standard functionality in workflow with PFAC, can't it be used?
FM: RH_GET_ACTORS should provide the interface.
The following table parameters have to exist in the custom function module.
“ACTOR_TAB STRUCTURE SWHACTOR”
“AC_CONTAINER STRUCTURE SWCONT”
Regards,
Akber