correlations using BP address

Paul.Bakker@osr.treasury.qld.gov.au Paul.Bakker at osr.treasury.qld.gov.au
Mon Mar 1 23:17:33 EST 2010


Hi,

Sorry for the long post..
I am using workflow correlations to react to a  (BusinessPartner)
BUS1006.CREATED event.

My correlation is based on the name and address of the business partner
(for example ' Joe Blow / 21 Jump St').
This works beautifully when I test it via SWUE, but NOT when a BP is
created for real. The correlation is NEVER made.

My theory is that the address record for the BP is not  fully committed
when the BUS1006.CREATED event is raised...
(Which makes correlations a little hard to use!).

So the obvious solution is to put a delay in, to ensure that the event is
not delivered until the address record is created.

I tried delaying the delivery of the event by piping it through the event
queue, and delivering one per minute.
This worked (hooray!), but I vaguely remember hearing negative comments
about using the event queue to delay event delivery.

Another option I considered is to put a 'check function' on the event
linkage with the correlation manager, that simply has a 'wait for n
seconds' ABAP command inside it.

Can anyone provide advice on this? Has anyone faced a similar problem?

cheers
Paul B

PS thanks to the guy who explained workflow correlations in a recent WUG
post, and recommended oss note (1335009)
I owe you a beer!


******************************************************************************************************************************************************

Only an individual or entity who is intended to be a recipient of this e-mail may access or use the information contained in this e-mail or any of its attachments.  Opinions contained in this e-mail or any of its attachments do not necessarily reflect the opinions of Queensland Treasury.

The contents of this e-mail and any attachments are confidential and may be legally privileged and the subject of copyright.  If you have received this e-mail in error, please notify Queensland Treasury immediately and erase all copies of the e-mail and the attachments.  Queensland Treasury uses virus scanning software.  However, it is not liable for viruses present in this e-mail or in any attachment.  

******************************************************************************************************************************************************




More information about the SAP-WUG mailing list