<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: User Status Update Fails?</TITLE>
</HEAD>
<BODY>
 
<P><FONT SIZE=2>Hi Greg,</FONT>
</P>
 
<P><FONT SIZE=2>Yes I did.&nbsp; I set the mode on Call Transaction to 'N'.&nbsp; It seems to be working fine.</FONT>
</P>
 
<P><FONT SIZE=2>Thanks,</FONT>
<BR><FONT SIZE=2>Marlin</FONT>
</P>
 
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Gregory Kowalik [<A HREF="mailto:gkowalik@ashland.com">mailto:gkowalik@ashland.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Monday, September 25, 2000 12:13 PM</FONT>
<BR><FONT SIZE=2>To: SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT SIZE=2>Subject: Re: User Status Update Fails?</FONT>
</P>
<BR>
<BR>
<BR>
 
<P><FONT SIZE=2>Did you test your function module in background?</FONT>
<BR><FONT SIZE=2>Several SAP transactions behave differently in background mode, so I would check</FONT>
<BR><FONT SIZE=2>into this first.</FONT>
</P>
 
<P><FONT SIZE=2>Greg</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
 
<P><FONT SIZE=2>&quot;Grinnell, Marlin&quot; &lt;Marlin.Grinnell@us.origin-it.com&gt; on 09/25/2000 01:01:40 PM</FONT>
</P>
 
<P><FONT SIZE=2>Please respond to &quot;SAP Workflow Users' Group&quot; &lt;SAP-WUG@MITVMA.MIT.EDU&gt;</FONT>
</P>
 
<P><FONT SIZE=2>To:&nbsp;&nbsp; SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT SIZE=2>cc:&nbsp;&nbsp;&nbsp; (bcc: Gregory Kowalik)</FONT>
<BR><FONT SIZE=2>Subject:&nbsp; User Status Update Fails?</FONT>
</P>
<BR>
<BR>
 
<P><FONT SIZE=2>Hi,</FONT>
</P>
 
<P><FONT SIZE=2>I have created a workflow which is supposed to approve and release a</FONT>
<BR><FONT SIZE=2>project.&nbsp; (PS module)</FONT>
</P>
 
<P><FONT SIZE=2>The workflow initiator gets to choose among different approval chains.&nbsp; Each</FONT>
<BR><FONT SIZE=2>approval chain has up to five levels of approval.&nbsp; Each approval level is</FONT>
<BR><FONT SIZE=2>set by updating the project's user status field.</FONT>
<BR><FONT SIZE=2>I have created a sub-object type ZBUS2001 and a new method ApprovalProcess.</FONT>
<BR><FONT SIZE=2>This method calls a function module which is simply a BDC program using call</FONT>
<BR><FONT SIZE=2>transaction (transaction CJ20N) to update the user status field.&nbsp; The</FONT>
<BR><FONT SIZE=2>function module has been tested successfully.&nbsp; It also works fine when I</FONT>
<BR><FONT SIZE=2>test the method and the sub-object type.&nbsp; However,&nbsp; when I test the task</FONT>
<BR><FONT SIZE=2>(User Status Update Task) individually using SWUS, which uses the new</FONT>
<BR><FONT SIZE=2>method, the task fails (WF-BATCH executes SWW_BI_EXECUTE_S).</FONT>
</P>
 
<P><FONT SIZE=2>This is on R/3 4.6B.&nbsp; Any ideas?</FONT>
</P>
 
<P><FONT SIZE=2>Thanks,</FONT>
<BR><FONT SIZE=2>Marlin</FONT>
</P>
 
</BODY>
</HTML>