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

akshay.bhagwat@wipro.com akshay.bhagwat at wipro.com
Mon May 22 05:30:45 EDT 2006


Hi Markkos,

If you have not yet tried this, I would like to suggest to create a
custom rule using your FM which determines agents and populate ACTOR
TAB.
For Workflow to rule binding,  parameters required by FM to determine
entries from Ztable should be passed from WF container to to rule
container.
Hope it helps.
Regards,

Akshay Bhagwat

SAP Practice

Wipro Technologies





________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Markkos
Sent: Saturday, May 20, 2006 3:25 AM
To: SAP Workflow Users' Group
Subject: Function Module ZTable to Multiline Element,getting data
issues...for workitem assigned to several "Positions"


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.






The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060522/bec0419c/attachment.htm


More information about the SAP-WUG mailing list