Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

synchronize MII transaction - only one running instance at a time

Hello,

I have a scenario where I use an MII transaction triggered by PCO, and it may be the case that the same PCO notification triggers this transaction twice within a very short time, i.e., the second transaction instance starts its execution before the first instance has finished. But I really need to make sure that those calls are done one after the other and that they do not overlap.

What is the best way to achieve this? Which MII technologies can I use? I do not want to use message services and schedule a job that handels the requests one after the other - I need real time action and  in this case I would need to schedule the Job every second. Im really looking for a kind of semaphore/mutex solution to make sure that the MII transaction call can be fired by PCO and in case the previous transaction call is still running, the current one should wait until the previous one has finished.

Thank you for your input and ideas!

Best Regards,

Matthias

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question