Workflow Timing

Dart, Jocelyn jocelyn.dart at sap.com
Tue Mar 19 21:44:00 EST 2002


Hi Phil,=20
Did you know you can pass the old/new changes made by a change document =
as
event parameters?
There's documentation on this technique in the SAP Library - you just =
need
to create the relevant
event parameters in your business object and the standard functionality =
does
the rest.=20
That might solve your problem also.=20
Regards,
=09
Jocelyn Dart=20
Consultant (EBP, BBP, Ecommerce, Internet Transaction Server, Workflow) =
 
SAP Australia
Email  <mailto:jocelyn.dart at sap.com> jocelyn.dart at sap.com
Tel: +61 412 390 267
Fax: +61 2 9935 4880
 
-----Original Message-----
From: Francois Beaubien [mailto:Beaubien.Francois at hydro.qc.ca]
Sent: Wednesday, 20 March 2002 3:44 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: RE : Workflow Timing
 
 
Hello,
=20
I have use the enqueue function in situation like this to validate that =
the
LUW is completed. The lock object is release (dequeue) after the V1
functions are completed. Be aware that the change documents are =
probably
inserted with a V2 function module.=20
=20
You could call the EVVBAKE enqueue function in a loop until the order =
is
save and add a delay for the V2 function to complete.=20
=20
You can see the lock entries in SM12 and the update module in SM13 (you =
must
set the "update debugging" setting in the debugger to see them).=20
=20
To be 100% certain, you must query the VBHDR table to confirm that all
update function modules are completed.=20
 
Fran=E7ois Beaubien, ing.=20
 
 
-----Message d'origine-----
De : Czerwiec, Phil [mailto:Phil.Czerwiec at andrew.com]=20
Envoy=E9 : lundi 18 mars 2002 11:26
=C0 : SAP-WUG at MITVMA.MIT.EDU
Objet : Workflow Timing
 
 
 
We have several workflows that are triggered on the event of the Sales =
Order
Change.  One of the sub-workflows that is triggered by this event is to
check the document change log (tables CDHDR & CDPOS).  Occasionally, =
there
seems to be a timing problem.  It appears that the document change log =
is
read before the tables have been updated.  We are using the SAP =
supplied
function module 'CHANGEDOCUMENT_READ_WITHOUT_ED' to identified which =
type of
change was made.  How can we ensure that the document change log has =
been
updated before it is read?    =20
 
Phil Czerwiec=20
Andrew Corporation=20
P - (708) 873-2223=20
C - (708) 218-3120=20
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20020320/0796ddef/attachment.htm


More information about the SAP-WUG mailing list