<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:tahoma, new york, times, serif;font-size:10pt"><DIV></DIV>
<DIV>Ronen,</DIV>
<DIV>&nbsp;</DIV>
<DIV>How r&nbsp;u ?&nbsp;haven't heard from u&nbsp;4 a while...</DIV>
<DIV>&nbsp;</DIV>
<DIV>As per you're question, in the past I was unable to implement without little coding (and I still do not think it is possible). </DIV>
<DIV>&nbsp;</DIV>
<DIV>However I have a general solution for such occasions: I suggest creating&nbsp;STRCONCATENATE method for object ZSYSTEM which just receives, for example, 5&nbsp;strings and return these concatenated as one string. Afterwards create background task for this method.</DIV>
<DIV>&nbsp;</DIV>
<DIV>In such way you can create your key, this time for PReq item, tomorrow can be used for other objects.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Good luck,</DIV>
<DIV><BR>&nbsp;</DIV>
<P><FONT face="verdana, helvetica, sans-serif" color=#00007f size=2><STRONG>Regards,<BR>Shai Eyal</STRONG></FONT></P>
<P><FONT face=Verdana color=#000080 size=2><STRONG>SAP Logistics senior consultant<BR>SAP Workflow specialist<BR>Mobile: 972-52-5816633</STRONG></FONT></P>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: "sap-wug-request@mit.edu" &lt;sap-wug-request@mit.edu&gt;<BR>To: sap-wug@mit.edu<BR>Sent: Sunday, April 6, 2008 19:09:36<BR>Subject: SAP-WUG Digest, Vol 41, Issue 18<BR><BR>Send SAP-WUG mailing list submissions to<BR>&nbsp;&nbsp;&nbsp; <A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A><BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>&nbsp;&nbsp;&nbsp; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>or, via email, send a message with subject or body 'help' to<BR>&nbsp;&nbsp;&nbsp; <A href="mailto:sap-wug-request@mit.edu" ymailto="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</A><BR><BR>You can reach the person managing the list at<BR>&nbsp;&nbsp;&nbsp; <A href="mailto:sap-wug-owner@mit.edu"
 ymailto="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</A><BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of SAP-WUG digest..."<BR><BR><BR>Today's Topics:<BR><BR>&nbsp; 1. creating a purchase requisition item (BUS2009) object<BR>&nbsp; &nbsp; &nbsp; refference&nbsp;&nbsp;&nbsp; inside a workflow (Ronen Fox)<BR>&nbsp; 2. Nicholas Brand/UK/IBM is out of the office. (Nicholas Brand)<BR>&nbsp; 3. Re: creating a purchase requisition item (BUS2009) object<BR>&nbsp; &nbsp; &nbsp; refferenceinside a workflow (Florin Wach (gmx))<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Sun, 6 Apr 2008 07:38:08 +0200<BR>From: "Ronen Fox" &lt;<A href="mailto:ronenfox@gmail.com" ymailto="mailto:ronenfox@gmail.com">ronenfox@gmail.com</A>&gt;<BR>Subject: creating a purchase requisition item (BUS2009) object<BR>&nbsp;&nbsp;&nbsp; refference&nbsp;&nbsp;&nbsp;
 inside a workflow<BR>To: <A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A><BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp; &lt;<A href="mailto:d2ce9c060804052238y77a24ca4x974104c096637cef@mail.gmail.com" ymailto="mailto:d2ce9c060804052238y77a24ca4x974104c096637cef@mail.gmail.com">d2ce9c060804052238y77a24ca4x974104c096637cef@mail.gmail.com</A>&gt;<BR>Content-Type: text/plain; charset="iso-8859-1"<BR><BR>Hello all,<BR><BR>A custom WF is built around the following objects:<BR><BR>BUS2012&nbsp; &nbsp; -&nbsp; &nbsp; Purchase Order<BR>BUS2105&nbsp; &nbsp; -&nbsp; &nbsp; Purchase Requisition<BR>BUS2009&nbsp; &nbsp; -&nbsp; &nbsp; Purchase Requisition Item<BR><BR>The problem is creating the object reference for BUS2009 (req. item)<BR><BR>I have two container elements - one has the requisition number and one has<BR>the item number.<BR>The key of BUS2009 is the req. no + item no. together.<BR>For example, if the req. no is 10000045 and
 the item no. is 00010, than the<BR>key for<BR>BUS2009 should be: 1000004500010<BR><BR>The way I tried to "build" the key from the two container elements is as<BR>follows:<BR><BR>1. A container element *preq_key *is defined for BUS2009 key<BR><BR>2. Container operation to add the req. number:<BR><BR>Result Element&nbsp; preq_key&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; preq_key<BR>Assignment&nbsp; &nbsp; &nbsp; =&nbsp; &nbsp; Assign (contents of table are deleted first)<BR>Expression&nbsp; &nbsp; &nbsp; &amp;PURCHASEREQ_SINGLE&amp;<BR>PurchaseReq_single<BR><BR>3 Container operation to add the item number<BR><BR>Result Element&nbsp; preq_key&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; preq_key<BR>Assignment&nbsp; &nbsp; &nbsp; &lt;-&nbsp; &nbsp; Add only to table (contents are extended)<BR>Expression&nbsp; &nbsp; &nbsp; &amp;REQ_ITEM_NO&amp;&nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; req_item_no<BR><BR><BR>The problem is - the item number is not added to the container element, only<BR>the req. number.<BR><BR>I would like very much to be able to solve this "inside" the WF builder,<BR>without having to implement new methods or attributes in the business object<BR>itself.<BR><BR><BR>Your help is much appreciated !<BR><BR><BR>Thanks &amp; best regards,<BR><BR>Ronen<BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20080406/f11c683a/attachment-0001.htm" target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20080406/f11c683a/attachment-0001.htm</A><BR><BR></DIV></DIV></div><br>Send instant messages to your online friends http://uk.messenger.yahoo.com </body></html>