<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>User Status Update Fails?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I have created a workflow which is supposed to approve and release a project. (PS module)</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">The workflow initiator gets to choose among different approval chains. Each approval chain has up to five levels of approval. Each approval level is set by updating the project's user status field.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I have created a sub-object type ZBUS2001 and a new method ApprovalProcess. This method calls a function module which is simply a BDC program using call transaction (transaction CJ20N) to update the user status field. The function module has been tested successfully. It also works fine when I test the method and the sub-object type. However, when I test the task (User Status Update Task) individually using SWUS, which uses the new method, the task fails (WF-BATCH executes SWW_BI_EXECUTE_S).</FONT></P>
<P><FONT SIZE=2 FACE="Arial">This is on R/3 4.6B. Any ideas? </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Marlin</FONT>
</P>
</BODY>
</HTML>