cancel
Showing results for 
Search instead for 
Did you mean: 

Occassional double workitem for BUS2081

Former Member
0 Kudos

Our invoice workflow is triggered from transaction OAWD and starts an object type BUS2081 method CREATE. Occassionally (once every 150-200 invoices) a workitem is created twice for a single invoice, obviously causing problems in further processing. Although we cannot replicate the error manually, it seems to happen only if a large batch is processed at once.

On another forum I found a similar problem <a href="http://mailman.mit.edu/pipermail/sap-wug/2003-June/009594.html">Double Workitems or Events Created</a> that suggests a problem in the SAP BASIS-package like locks or TFRC-errors, but on 4.6c.

Has anyone experienced similar problems and found a solution, i.e. by implementing an OSS-note?

Workflows are running on R/3 4.7, BASIS release 6.20 level 052.

Cheers,

Jasper Veltman

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jasper,

I have made a couple of soultions using OAWD as entry point of invoices on BUS2081. I have never expirienced that problem. I think you might should look into eventque. If you set up such a one, it might solve the problem (And give you the other advantages you get using the que)

Kind Regards

Mikkel

pokrakam
Active Contributor
0 Kudos

Hmmm, I was about to suggest the opposite. Are you using the queue? If so it might be worth checking the queue jobs during these busy times.

I remember my post, one problem is that if your queue overloads the system then it can overlap: The job runs every minute, but if you're trying to dispatch too many events then it is still running when the next one starts, which CAN pick up events the previous job hasn't processed yet. I've seen this happen on a 4.6c system.

It's a gray area of whether it's an error or not, because if you're saturating the system with the event queue then there's no point in using the queue to start with...

Cheers

Mike

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mike,

No, event queues are turned off in SWEAD and nothing is put in SWE2/SWE3 related to this. Instead we have in SOA0 the link with BUS2081/CREATE and the workflow. Strange thing is it cannot be replicated, it only happens occassionally under some load on the production system. Checks are in place to prevent writing the same ARC_DOC_ID to our custom tables, but the flow does get created twice.

Cheers,

Jasper