Skip to Content
Former Member
Feb 15, 2010 at 05:11 AM

how to check lock on table or transaction


Hi All,

I am performing BDC recording for transaction CJR2. Before doing the call transaction i want to check if the transaction is already open.

I am using the fm 'enqueue_e_Table' and passing the tables CCSS and COSS (which are updated by thr transaction) .

But, even when the transaction is open in change mode, the function module does not give me foreign lock., it returns sy-subrc 0.

My requirement is i should not perform the BDC if the transaction is already open.Kindly help me in this.