Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ENQUEUE_READ function Module details

Former Member
0 Likes
3,645

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.

3 REPLIES 3
Read only

Former Member
0 Likes
1,244

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.

Read only

Former Member
0 Likes
1,244

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

Read only

0 Likes
1,244

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