SAP Function VIEW_ENQUEUE - Lock/unlock view structure data

Parameter Reference Type Length Default Optional Text
ACTION 0 'E' X Action: E --> lock, D --> unlock
ENQUEUE_MODE 0 'S' X Lock mode: S --> shared, E --> exclusive
ENQUEUE_RANGE 0 ' ' X Flag: X -> Sub area, ' ' -> Lock entire table
VIEW_NAME OCUS-TABLE C 30 Name of the view to be processed

Parameter Reference Length Optional Text
SELLIST VIMSELLIST 712 X Maintenance selection condition table

Exception Text
CLIENT_REFERENCE View is connected to another client
FOREIGN_LOCK View or subview locked by another user
INVALID_ACTION
INVALID_ENQUEUE_MODE
SYSTEM_FAILURE System Lock Error
TABLE_NOT_FOUND DDIC access error