How do I avoid running ABAP programs more than once?

How do I avoid running ABAP programs more than once?

There is another way to avoid an ABAP program running more than once, without using the function ENQUEUE_ESINDX? If there is, can you tell me how?

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

If ENQUEUE_ESINDX causes you problems, why not create your own lock object and use that? I've not encountered the use of this particular FM for locking program runs.

This was first published in February 2005