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