hi ,
i got syntax error like below
passing the formal parameter "SUBRC" to the fields SY-SUBRC is not appropriate since
SY-SUBRC is set by statement
the code is like below,
FORM view_sap_locks.
DATA: l_num_locks LIKE sy-tabix.
CALL FUNCTION 'ENQUEUE_READ'
EXPORTING
gclient = sy-mandt
gname = c_order
guname = space
IMPORTING
number = l_num_locks
subrc = sy-subrc
TABLES
enq = t_saplocks
EXCEPTIONS
communication_failure = 1
system_failure = 2
OTHERS = 3.
please tell me how to proceed