Skip to Content
0
Jan 15, 2008 at 05:52 PM

Problems getting receivers of task

35 Views

Hi everyone.

I'm facing a new problem. I developed a simple workflow. This workflow is started with an event. To determine the receivers of the workitem, i've developed a function module with actor an container tables.

this is a sample of my code ...

swc_get_element ac_container 'object_key_ac' mp.

case mp.

when 'A'.

actor_tab-objid = 'US'.

actor_tab-otype = 'DES014'.

append actor_tab.

when others.

actor_tab-objid = 'DES018'.

actor_tab-otype = 'US'.

append actor_tab.

endcase.

'object_key_ac' is the container i've defined in the role used to get the user. This container is an element of a Z table.

My problem is that i don't know how to pass the parameters (several bindings i'va made didn't work) so i can fill the actor_tab table.

Does anybody know where is the problem?

Many thanks

Inigo.