<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>User Status Update Fails?</TITLE>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML =
3.2//EN">
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Marlin,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>You may want to look at the locking of database =
record. I=20
assume you are trying to set the status of the Network Order. I had same =
issue.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Alan Hans</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px">
<DIV><FONT face=3DArial size=3D2><B>-----Original =
Message-----</B><BR><B>From:=20
</B>Grinnell, Marlin <<A=20
=
href=3D"mailto:Marlin.Grinnell@us.origin-it.com">Marlin.Grinnell@us.origi=
n-it.com</A>><BR><B>To:=20
</B><A =
href=3D"mailto:SAP-WUG@MITVMA.MIT.EDU">SAP-WUG@MITVMA.MIT.EDU</A> <<A =
=
href=3D"mailto:SAP-WUG@MITVMA.MIT.EDU">SAP-WUG@MITVMA.MIT.EDU</A>><BR>=
<B>Date:=20
</B>Monday, September 25, 2000 1:05 PM<BR><B>Subject: </B>User Status =
Update=20
Fails?<BR><BR></DIV></FONT>
<P><FONT face=3DArial size=3D2>Hi,</FONT> </P>
<P><FONT face=3DArial size=3D2>I have created a workflow which is =
supposed to=20
approve and release a project. (PS module)</FONT> </P>
<P><FONT face=3DArial size=3D2>The workflow initiator gets to choose =
among=20
different approval chains. Each approval chain has up to five =
levels of=20
approval. Each approval level is set by updating the project's =
user=20
status field.</FONT></P>
<P><FONT face=3DArial size=3D2>I have created a sub-object type =
ZBUS2001 and a new=20
method ApprovalProcess. This method calls a function module =
which is=20
simply a BDC program using call transaction (transaction CJ20N) to =
update the=20
user status field. The function module has been tested=20
successfully. It also works fine when I test the method and the=20
sub-object type. However, when I test the task (User =
Status Update=20
Task) individually using SWUS, which uses the new method, the task =
fails=20
(WF-BATCH executes SWW_BI_EXECUTE_S).</FONT></P>
<P><FONT face=3DArial size=3D2>This is on R/3 4.6B. Any ideas? =
</FONT></P>
<P><FONT face=3DArial size=3D2>Thanks,</FONT> <BR><FONT face=3DArial=20
size=3D2>Marlin</FONT> </P></BLOCKQUOTE></BODY></HTML>