Q
Problem solve Get help with specific problems with your technologies, process and projects.

How to use a created lock object

Use the ENQUEUE to lock the object (check the return codes to see if the lock acquisition failed -- this means the object is already locked). Use DEQUEUE to unlock the object.

Can you tell me how I can use a created lock object in an executable program?
When you create and activate a lock object, two function modules are created, ENQUEUE_lockobjectname and DEQUEUE_lockobjectname. Use the ENQUEUE to lock the object (check the return codes to see if the lock acquisition failed -- this means the object is already locked). Use DEQUEUE to unlock the object. There are some variations on this, which you can examine using the SAP online help*.

* Authorization necessary for access to the service marketplace

Dig Deeper on SAP security

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close