cancel
Showing results for 
Search instead for 
Did you mean: 

Get user list logged onto planning Area

Former Member
0 Kudos

Hi Folks, Let me know how can i get the user list who are logged on to sdp94 through ABAP Program

Accepted Solutions (0)

Answers (1)

Answers (1)

ajayprakash
Explorer
0 Kudos

HI Arun,

Use the below logic

CALL FUNCTION 'ENQUEUE_READ'

EXPORTING
  GCLIENT = SY-MANDT
  GUNAME = ilcktbl-bname
TABLES
  enq = i_lckent
EXCEPTIONS
  COMMUNICATION_FAILURE       = 1
  SYSTEM_FAILURE = 2
OTHERS = 3.


In the ENQ table check for GNAME = /SAPAPO/DM_PAREA_LOCK and then get the respective users for this lock entry.


Cheers

Ajay