<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Message</TITLE>
 
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D781572715-19032002>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D781572715-19032002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D781572715-19032002>I have=20
use the enqueue function in situation like this to validate that the =
LUW is=20
completed. The lock object is release (dequeue) after the V1 =
functions&nbsp;are=20
completed. Be aware that the change documents are probably inserted =
with a V2=20
function module. </SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D781572715-19032002></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D781572715-19032002></SPAN><FONT face=3DArial><FONT=20
color=3D#0000ff><FONT size=3D2><SPAN class=3D781572715-19032002>You =
could call the=20
</SPAN>EVVBAKE<SPAN class=3D781572715-19032002> enqueue =
function&nbsp;in a loop=20
until&nbsp;the order is save and add a delay for the V2 function to=20
complete.&nbsp;</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D781572715-19032002><FONT face=3DArial =
color=3D#0000ff size=3D2>You=20
can see the lock entries in SM12 and the update module in SM13 (you =
must set the=20
"update debugging" setting in the debu</FONT></SPAN><SPAN=20
class=3D781572715-19032002><FONT face=3DArial color=3D#0000ff =
size=3D2>gger to see=20
them). </FONT></SPAN></DIV>
<DIV><SPAN class=3D781572715-19032002><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D781572715-19032002><FONT face=3DArial =
color=3D#0000ff size=3D2>To be=20
100% certain, you must query the VBHDR table to&nbsp;confirm that all =
update=20
function modules are completed. </FONT></SPAN></DIV><!-- Converted from =
text/rtf format -->
<P><SPAN lang=3Dfr-ca><FONT face=3D"Trebuchet MS" =
color=3D#0000ff>Fran=E7ois Beaubien,=20
ing.</FONT></SPAN> <BR></P>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Dfr dir=3Dltr =
align=3Dleft><FONT face=3DTahoma=20
  size=3D2>-----Message d'origine-----<BR><B>De&nbsp;:</B> Czerwiec, =
Phil=20
  [mailto:Phil.Czerwiec@andrew.com] <BR><B>Envoy=E9&nbsp;:</B> lundi 18 =
mars 2002=20
  11:26<BR><B>=C0&nbsp;:</B> =
SAP-WUG@MITVMA.MIT.EDU<BR><B>Objet&nbsp;:</B>=20
  Workflow Timing<BR><BR></FONT></DIV>
  <P><FONT face=3D"Times New Roman">We have several workflows that are =
triggered=20
  on the event of the Sales Order Change.&nbsp; One of the =
sub-workflows that is=20
  triggered by this event is to check the document change log (tables =
CDHDR=20
  &amp; CDPOS).&nbsp; Occasionally, there seems to be a timing =
problem.&nbsp; It=20
  appears that the document change log is read before the tables have =
been=20
  updated.&nbsp; We are using the SAP supplied function module=20
  'CHANGEDOCUMENT_READ_WITHOUT_ED' to identified which type of change =
was=20
  made.&nbsp; How can we ensure that the document change log has been =
updated=20
  before it is read?&nbsp;&nbsp;&nbsp;&nbsp; </FONT></P>
  <P><FONT face=3D"Times New Roman">Phil Czerwiec</FONT> <BR><FONT=20
  face=3D"Times New Roman">Andrew Corporation</FONT> <BR><FONT=20
  face=3D"Times New Roman">P - (708) 873-2223</FONT> <BR><FONT=20
  face=3D"Times New Roman">C - (708) 218-3120</FONT> =
</P></BLOCKQUOTE></BODY></HTML>