‎2006 Jun 27 12:42 PM
Hi ABAPers,
I want to read the locked objects, which are locked in other sessions other than the current session.
Can I use the parameter "LOCAL" in the FM ENQUEUE_READ. If yes, What should be the parameter value for "LOCAL"?
The signature of the FM ENQUEUE_READ is as follows:
FUNCTION ENQUEUE_READ.
Lokale Schnittstelle:
IMPORTING
VALUE(GCLIENT) LIKE SEQG3-GCLIENT DEFAULT SY-MANDT
VALUE(GNAME) LIKE SEQG3-GNAME DEFAULT SPACE
VALUE(GARG) LIKE SEQG3-GARG DEFAULT SPACE
VALUE(GUNAME) LIKE SEQG3-GUNAME DEFAULT SY-UNAME
VALUE(LOCAL) LIKE SY-SUBTY DEFAULT SPACE
EXPORTING
VALUE(NUMBER) LIKE SY-TABIX
VALUE(SUBRC) LIKE SY-SUBRC
TABLES
ENQ STRUCTURE SEQG3
EXCEPTIONS
COMMUNICATION_FAILURE
SYSTEM_FAILURE
Thanks in advance,
Regards
Ramesh.
‎2006 Jun 27 12:45 PM
Hi ramesh,
1. this FM will just provide information
for TABLE records, which are locked.
(this information can be seen from sm12 tcode)
regards,
amit m.
‎2006 Jun 27 12:52 PM
Hai Ramesh
it is not useful for this F.M 'ENQUE_READ'.
By default it is space.
so no need to pass any value for LOCAL Parameter
Thanks & regards
Sreenivasulu P
‎2006 Jun 27 1:01 PM
Hi Friends,
I dont want the objects that are locked in my current sessions.To achieve that is it possible to use the parameter "local". to get objects that are locked out side the current transaction.
Regards,
Ramesh