Menu

SAP Function Module HR_ENQUEUE_OBJECT_LIST

Lock HR objects (List)

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module HR_ENQUEUE_OBJECT_LIST (Lock HR objects (List)) is a standard Function Module in SAP ERP and is part of the function group HRBAS00ENQDEQ within the package SP00.

Technical Information

Function Module HR_ENQUEUE_OBJECT_LIST
Short Text Lock HR objects (List)
Function Group HRBAS00ENQDEQ
Package SP00
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ENQUEUE_ONCE TYPE C SPACE Do Not Lock Objects More Than Once
ENQ_COLLECT TYPE DDENQCOLL ' ' Flag Whether Locks Should Only Be Collected First
ENQ_SCOPE TYPE DDENQSCOPE '2' Control Lock Behavior When Calling the Update Task
ENQ_WAIT TYPE DDENQWAIT SPACE Flag Indicating Whether Lock Attempt Is to Be Repeated

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ERROR_TABIX LIKE SY-TABIX Index of Table Entries with Errors
LOCK_USER LIKE SY-UNAME User Locking the Object

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ENQUEUE_LIST LIKE PPENQ List of Objects to Lock

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ENQUEUE_FAILED Object Already Locked
ILLEGAL_OTYPE Object Type not Permitted
INTERNAL_ERROR System Error
OBJID_IS_INITIAL Object ID Empty