Ansicht
Dokumentation

ENQUEUE_READ - Read lock entries from lock table

ENQUEUE_READ - Read lock entries from lock table

Addresses (Business Address Services)   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Returns the list of locks that match the specified filter conditions.

Example

DATA: lt_locks TYPE STANDARD TABLE OF seqg3.

CALL FUNCTION 'ENQUEUE_READ'
  EXPORTING
    gclient = sy-mandt
    guname  = sy-uname
    gname   = 'example name'
    garg    = 'example argument'
  TABLES
    enq     = lt_locks
  EXCEPTIONS
    communication_failure = 1
    system_failure         = 2
    OTHERS    = 3.

Notes

Depending on the size of the lock table and the selectivity of filter conditions, this function module can produce a very large results list and increase system load.

For this reason, this function module should only be called with filter conditions that have a high selectivity.





Parameters

ENQ
FAST
GARG
GARGNOWC
GCLIENT
GNAME
GUNAME
LOCAL
NUMBER
SUBRC

Exceptions

COMMUNICATION_FAILURE
SYSTEM_FAILURE

Function Group

SENT

General Data in Customer Master   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1542 Date: 20240523 Time: 094150     sap01-206 ( 27 ms )