‎2010 May 26 7:50 PM
Hi Experts,
I am using BAPI , BAPI_INSPECTIONPLAN_CREATE..Its creating inspection plane..THe only issue is its creating below mentioned locks.
Lock mode Table name Lock Argument
E OPR_CLASS_LOCK 796Q51999002########00000157
E OPR_CLASS_LOCK 796Q51999002########00000158
S PLKO 796Q51999002##########
E SEQ_CLASS_LOCK 796Q5199900202000000
E TSK_CLASS_LOCK 796Q5199900202
I had tried FMS...DEQUEUE_ARRAY..but still not able to clear locks..
the lock object I am passing to above fm is ENQARRAY.
Please advise
Thanks in advance
‎2010 May 27 2:16 AM
Hi,
do you call BAPI_TRANSACTION_COMMIT after your BAPI? It will commit changed to DB and after that it should release all locks.
Cheers
‎2010 May 27 5:38 AM
Hi Martin,
Thanks for the reply. I am doing a commit after BAPI call. The issue is I am not able to unlock those tables which I had mentioned in my before post..
‎2010 May 27 7:16 AM
Then how do you call that BAPI? Do you just load data from somewhere and then call that BAPI? If you are pretty sure that those records are not blocked by other transaction/application/FM then I would open OSS ticket and ask SAP why it does not release locks. You can also try to use FM DEQUEUE_ALL.
Cheers
‎2010 May 27 4:01 PM
Hi Martin,
Thanks for reeply..I had tried dequeue_all..and other unlock fms..nothing is working..
we may have to open a OSS NOTE..
‎2011 Apr 14 11:27 AM
Hello!
I face the same problems using BAPI_INSPECTIONPLAN_CREATE.
Could you please tell me, how you solved it?
Thanks in advance,
regards,
Thomas