‎2008 Mar 28 2:46 AM
Hi
We have a requirement in which - we need to check the lock ( exclusive ) on a material before we call the BAPI to update the material.
I don't want to actually lock the material before calling the BAPI - the BAPI itself acquires the lock as a part of its processing. All I want to do is to check whether lock on a material exists before calling the BAPI - thus avoiding any lock related issues on the material in the BAPI call.
How do we just merely check whether material is locked - any standard function module /SAP tables where in material lock is stored that we use/interrogate ?
Correct answers will be promptly rewarded.
‎2008 Mar 28 3:03 AM
Hi ,
There is standard function enqueue_read ,based on material number .
Pass the material number to FM ENQUEUE_READ if sy-subrc = 0 then material is locked otherwise not .
Please reward if useful.
‎2008 Mar 28 3:03 AM
Hi ,
There is standard function enqueue_read ,based on material number .
Pass the material number to FM ENQUEUE_READ if sy-subrc = 0 then material is locked otherwise not .
Please reward if useful.
‎2008 Mar 28 2:22 PM