<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV></DIV>
<DIV>Hi Kim,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I've used this BAPI several times and never had problems.</DIV>
<DIV>Please make sure to specify the number of the outcome you wish to have (0001, 0002, ...).</DIV>
<DIV>I'd advice to run BAPI from SE37 and see how the workflow behaves. </DIV>
<DIV>If possible, send your source of BAPI execution and&nbsp;I'll be able to tell more.</DIV>
<DIV>&nbsp;</DIV>
<DIV>BTW,&nbsp;are you using standard generic&nbsp;desicion or is it customized one?<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><BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-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: Friday, August 15, 2008 11:57:21<BR>Subject: SAP-WUG Digest, Vol 45, Issue 32<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. BAPIs to execute workflow decisions (Kim Obermair)<BR>&nbsp; 2. Re: How to attach a document stored in Archive link in a<BR>&nbsp; &nbsp; &nbsp; notification (Ibrahim Khan)<BR>&nbsp; 3. Approval Workflow Appropriation Request (Florin Wach)<BR>&nbsp; 4. Re: How to attach a document stored in Archive link in a<BR>&nbsp; &nbsp; &nbsp; notification (Ibrahim Khan)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Thu, 14 Aug 2008 23:22:07 -0400<BR>From: "Kim Obermair" &lt;<A href="mailto:kobermair@infologix.com" ymailto="mailto:kobermair@infologix.com">kobermair@infologix.com</A>&gt;<BR>Subject: BAPIs to execute workflow decisions<BR>To: &lt;<A href="mailto:sap-wug@mit.edu"
 ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>&gt;<BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp; &lt;<A href="mailto:22AB4F1640F49344BB593C78E9120B09038A4B37@Exchange.INFOLOGIXSYS.local" ymailto="mailto:22AB4F1640F49344BB593C78E9120B09038A4B37@Exchange.INFOLOGIXSYS.local">22AB4F1640F49344BB593C78E9120B09038A4B37@Exchange.INFOLOGIXSYS.local</A>&gt;<BR>Content-Type: text/plain; charset="us-ascii"<BR><BR>Hi Folks,<BR><BR><BR><BR>I have a very simple workflow (for test purposes only) which has a user<BR>decision step and once the decision is processed, executes a send mail<BR>step for either approve or reject.&nbsp; When I initiate this workflow via<BR>SWDD it places the user decision item into my workspace.&nbsp; When I approve<BR>or reject in dialog mode, the user decision step is completed and the<BR>send mail message sent to my SAPMail.&nbsp; <BR><BR><BR><BR>I wish to execute this user decision step via a BAPI and have
 used<BR>SAP_WAPI_DECISION_COMPLETE.&nbsp; This does complete the work item, but does<BR>not log my decision for the user decision step nor does it initiate the<BR>next step (Send Mail).&nbsp; Has anyone had any experience in using BAPIs<BR>from a Java application in order to process workflows?<BR><BR><BR><BR>Your assistance would be appreciated.<BR><BR><BR><BR>Kim <BR><BR></DIV></DIV></div><br>
      <hr size=1> <a href="http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/"> New Email addresses available on Yahoo! </a> <br>
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail.<br>
Hurry before someone else does!</body></html>