SAP ISU_MASTER_DATA_ENQUEUE Function Module for External: Lock Master Data
ISU_MASTER_DATA_ENQUEUE is a standard isu master data enqueue SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for External: Lock Master Data processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for isu master data enqueue FM, simply by entering the name ISU_MASTER_DATA_ENQUEUE into the relevant SAP transaction such as SE37 or SE38.
Function Group: ENQU
Program Name: SAPLENQU
Main Program: SAPLENQU
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_MASTER_DATA_ENQUEUE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ISU_MASTER_DATA_ENQUEUE'"External: Lock Master Data.
EXPORTING
X_OBJTYPE = "
* X_NEW_READ = 'X' "
* X_FULL = ' ' "
* X_SCOPE = '2' "Lock Mode
* X_WAIT = ' ' "
* X_ACTUAL = 'X' "
* X_SHARED = ' ' "Shared
* X_PROGRAM = SY-REPID "
* X_MODULE = ' ' "
TABLES
XT_KEYS = "
* YT_ERROR_KEYS = "
EXCEPTIONS
FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2
IMPORTING Parameters details for ISU_MASTER_DATA_ENQUEUE
X_OBJTYPE -
Data type: SWOTOBJID-OBJTYPEOptional: No
Call by Reference: No ( called with pass by value option)
X_NEW_READ -
Data type: REGEN-KENNZXDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_FULL -
Data type: REGEN-KENNZXDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_SCOPE - Lock Mode
Data type:Default: '2'
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_WAIT -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_ACTUAL -
Data type: EFKKSTR-ACTUALDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_SHARED - Shared
Data type: REGEN-KENNZXDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_PROGRAM -
Data type: REGEN-PROGRAMMDefault: SY-REPID
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_MODULE -
Data type: REGEN-BAUSTEINDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISU_MASTER_DATA_ENQUEUE
XT_KEYS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
YT_ERROR_KEYS -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
FOREIGN_LOCK -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_FAILURE - System Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_MASTER_DATA_ENQUEUE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_xt_keys | TYPE STANDARD TABLE OF STRING, " | |||
| lv_x_objtype | TYPE SWOTOBJID-OBJTYPE, " | |||
| lv_foreign_lock | TYPE SWOTOBJID, " | |||
| lv_x_new_read | TYPE REGEN-KENNZX, " 'X' | |||
| lt_yt_error_keys | TYPE STANDARD TABLE OF REGEN, " | |||
| lv_system_failure | TYPE REGEN, " | |||
| lv_x_full | TYPE REGEN-KENNZX, " SPACE | |||
| lv_x_scope | TYPE REGEN, " '2' | |||
| lv_x_wait | TYPE REGEN, " SPACE | |||
| lv_x_actual | TYPE EFKKSTR-ACTUAL, " 'X' | |||
| lv_x_shared | TYPE REGEN-KENNZX, " ' ' | |||
| lv_x_program | TYPE REGEN-PROGRAMM, " SY-REPID | |||
| lv_x_module | TYPE REGEN-BAUSTEIN. " ' ' |
|   CALL FUNCTION 'ISU_MASTER_DATA_ENQUEUE' "External: Lock Master Data |
| EXPORTING | ||
| X_OBJTYPE | = lv_x_objtype | |
| X_NEW_READ | = lv_x_new_read | |
| X_FULL | = lv_x_full | |
| X_SCOPE | = lv_x_scope | |
| X_WAIT | = lv_x_wait | |
| X_ACTUAL | = lv_x_actual | |
| X_SHARED | = lv_x_shared | |
| X_PROGRAM | = lv_x_program | |
| X_MODULE | = lv_x_module | |
| TABLES | ||
| XT_KEYS | = lt_xt_keys | |
| YT_ERROR_KEYS | = lt_yt_error_keys | |
| EXCEPTIONS | ||
| FOREIGN_LOCK = 1 | ||
| SYSTEM_FAILURE = 2 | ||
| . " ISU_MASTER_DATA_ENQUEUE | ||
ABAP code using 7.40 inline data declarations to call FM ISU_MASTER_DATA_ENQUEUE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single OBJTYPE FROM SWOTOBJID INTO @DATA(ld_x_objtype). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_new_read). | ||||
| DATA(ld_x_new_read) | = 'X'. | |||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_full). | ||||
| DATA(ld_x_full) | = ' '. | |||
| DATA(ld_x_scope) | = '2'. | |||
| DATA(ld_x_wait) | = ' '. | |||
| "SELECT single ACTUAL FROM EFKKSTR INTO @DATA(ld_x_actual). | ||||
| DATA(ld_x_actual) | = 'X'. | |||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_shared). | ||||
| DATA(ld_x_shared) | = ' '. | |||
| "SELECT single PROGRAMM FROM REGEN INTO @DATA(ld_x_program). | ||||
| DATA(ld_x_program) | = SY-REPID. | |||
| "SELECT single BAUSTEIN FROM REGEN INTO @DATA(ld_x_module). | ||||
| DATA(ld_x_module) | = ' '. | |||
Search for further information about these or an SAP related objects