08-12-2009 3:31 PM
Hi Experts,
Is there any FM or any possibility of Reading and Deleting the Lock entries of a perticular user for a perticular transaction (Other than SM12, FM ENQUE_READ and FM ENQUE_DELETE)
FM ENQUE_DELETE -
This reads Lock entries of a user.
I need to read lock entries of a perticular transaction for that user.
Thanks,
Bhagi
08-12-2009 3:33 PM
08-12-2009 3:39 PM
hi,
The above dosn't solve my problem.
I need to read and delete in a program.
Thanks,
Bhagi
08-12-2009 3:45 PM
use FM CALL FUNCTION 'ENQUE_READ2'
CALL FUNCTION 'ENQUE_READ2'
EXPORTING GCLIENT = GCLIENT
GUNAME = GUNAME
GNAME = GNAME
GARG = GARG
IMPORTING SUBRC = SUBRC
NUMBER = NUMBER
TABLES ENQ = raw_ENQ.
in the table raw_enq you can see all entries you have selected.
to delete you need to use FM DEQUEUE..... with the correct entrie
here the table in detail:
GNAME C 30 TRDIR
GARG C 150 ZTEST
GMODE C 1 X
GUSR C 58 20090812163703922861000800ch01s581........................
GUSRVB C 58 ##########################################################
GUSE C 10 0000000001
GUSEVB C 10 0000000000
GOBJ C 16 ESRDIRE
GCLIENT C 3 011
GUNAME C 12 MIRO
GTCODE C 20 SEU_INT
GBCKTYPE C 1 #
08-12-2009 3:56 PM
hi,
FM ENQUE_READ2 is same as FM ENQUE_READ(This will read all the lock entries of a user irrespective of the transaction).
How to read the exact lock entries related to the perticular transaction.
Thanks
Bhagi