Function Module ZTable to Multiline Element, getting data issues...for workitem assigned to several "Positions"

Markkos markkos at gmail.com
Fri May 19 17:54:33 EDT 2006


Hi partners...hope you can help me with this little issue,, i can't figure
it out how to deal with it.

Main purpose: To have a workitem assigned to several "Positions" (ex. S
50000001 and S 50000002), so every user in each of the positions will get
the workitem in their inbox.

Function module side:
Source: I'm getting all the positions from a function module, returned as a
user Z TABLE I made.
Table Name=ZBPTT_WF_POREL
Only field= ZBPTT_WF_POREL-AGENT  (field type = SWP_AGENT)

This table will contain, for example:
S 10000000
S 20000000


Workflow side:
I get this returned table (from the function) with all the positions as
entries, assigned to a multiline element called Positions2 (with REF =
ZBPTT_WF_POREL).

The problem is when i try to use this element in my agent-assigned-task, in
the section "agent" I select the "expression" type and then put my multiline
element there (Positions2), but the sintax check says that has different
types... (of course)..

Question: How can I get each of this entries of my table inside a multiline
element (with the type WFSYST-agent),

Maybe the solution is from the abap-function module side, or the workflow
side, the thing is that i don't really know how to do it...

I hope you can give  me a hand with this... i'll appreciate.

thanks.
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060519/fb6662bc/attachment.htm


More information about the SAP-WUG mailing list