SAP RMSA230_BUF_SUC_DEQENQ Function Module for NOTRANSL: Puffer: Sperren / Entsperren
RMSA230_BUF_SUC_DEQENQ is a standard rmsa230 buf suc deqenq SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Puffer: Sperren / Entsperren 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 rmsa230 buf suc deqenq FM, simply by entering the name RMSA230_BUF_SUC_DEQENQ into the relevant SAP transaction such as SE37 or SE38.
Function Group: RMSA230_BUF_SUC
Program Name: SAPLRMSA230_BUF_SUC
Main Program: SAPLRMSA230_BUF_SUC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RMSA230_BUF_SUC_DEQENQ 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 'RMSA230_BUF_SUC_DEQENQ'"NOTRANSL: Puffer: Sperren / Entsperren.
EXPORTING
I_FLG_ENQEUE = "
I_TABLENAME = "Table Name
I_RECN = "
* I_LOCKMODE_WANTED = 'S' "
* I_SCOPE = '3' "
CHANGING
* X_ADD_PARAMS = "(Further Parameters)
EXCEPTIONS
FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2
IMPORTING Parameters details for RMSA230_BUF_SUC_DEQENQ
I_FLG_ENQEUE -
Data type: ESP1_BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
I_TABLENAME - Table Name
Data type: ESP1_TAB_NAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_RECN -
Data type: EHSBE_UUID_32Optional: No
Call by Reference: No ( called with pass by value option)
I_LOCKMODE_WANTED -
Data type: RCGSTDBUF-LOCKMODDefault: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SCOPE -
Data type:Default: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for RMSA230_BUF_SUC_DEQENQ
X_ADD_PARAMS - (Further Parameters)
Data type: ESP5_RECN_ACTN_X_PARAMS_TYPEOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
FOREIGN_LOCK - Object Already Locked
Data type:Optional: No
Call by Reference: Yes
SYSTEM_FAILURE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RMSA230_BUF_SUC_DEQENQ 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: | ||||
| lv_foreign_lock | TYPE STRING, " | |||
| lv_i_flg_enqeue | TYPE ESP1_BOOLEAN, " | |||
| lv_x_add_params | TYPE ESP5_RECN_ACTN_X_PARAMS_TYPE, " | |||
| lv_i_tablename | TYPE ESP1_TAB_NAME, " | |||
| lv_system_failure | TYPE ESP1_TAB_NAME, " | |||
| lv_i_recn | TYPE EHSBE_UUID_32, " | |||
| lv_i_lockmode_wanted | TYPE RCGSTDBUF-LOCKMOD, " 'S' | |||
| lv_i_scope | TYPE RCGSTDBUF. " '3' |
|   CALL FUNCTION 'RMSA230_BUF_SUC_DEQENQ' "NOTRANSL: Puffer: Sperren / Entsperren |
| EXPORTING | ||
| I_FLG_ENQEUE | = lv_i_flg_enqeue | |
| I_TABLENAME | = lv_i_tablename | |
| I_RECN | = lv_i_recn | |
| I_LOCKMODE_WANTED | = lv_i_lockmode_wanted | |
| I_SCOPE | = lv_i_scope | |
| CHANGING | ||
| X_ADD_PARAMS | = lv_x_add_params | |
| EXCEPTIONS | ||
| FOREIGN_LOCK = 1 | ||
| SYSTEM_FAILURE = 2 | ||
| . " RMSA230_BUF_SUC_DEQENQ | ||
ABAP code using 7.40 inline data declarations to call FM RMSA230_BUF_SUC_DEQENQ
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 LOCKMOD FROM RCGSTDBUF INTO @DATA(ld_i_lockmode_wanted). | ||||
| DATA(ld_i_lockmode_wanted) | = 'S'. | |||
| DATA(ld_i_scope) | = '3'. | |||
Search for further information about these or an SAP related objects