SAP ICL_ENQUEUE_AND_SELECT Function Module for
ICL_ENQUEUE_AND_SELECT is a standard icl enqueue and select SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 icl enqueue and select FM, simply by entering the name ICL_ENQUEUE_AND_SELECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: ICL_SUBCL_BDT
Program Name: SAPLICL_SUBCL_BDT
Main Program: SAPLICL_SUBCL_BDT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ICL_ENQUEUE_AND_SELECT 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 'ICL_ENQUEUE_AND_SELECT'".
EXPORTING
I_CLAIM = "Claim Number
* I_CLTYPE = "Internal Claim Type
* I_SUBCLAIM = '~' "Subclaim
* IV_NO_ACTSUBCL = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* IV_AUTHCLM = "Authorization Group for Claim (VIP)
IMPORTING
E_ICLCLAIM = "Claim
TABLES
* IT_SUBCL = "Subclaim Table
EXCEPTIONS
ENQUEUE_ERROR = 1 DOES_NOT_EXIST = 2 NOT_FOUND = 3 NO_AUTHORITY = 4 NOT_ALLOWED = 5
IMPORTING Parameters details for ICL_ENQUEUE_AND_SELECT
I_CLAIM - Claim Number
Data type: ICL_CLAIMOptional: No
Call by Reference: Yes
I_CLTYPE - Internal Claim Type
Data type: ICL_CLTYPEOptional: Yes
Call by Reference: Yes
I_SUBCLAIM - Subclaim
Data type: ICL_SUBCLDefault: '~'
Optional: Yes
Call by Reference: Yes
IV_NO_ACTSUBCL - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DOptional: Yes
Call by Reference: Yes
IV_AUTHCLM - Authorization Group for Claim (VIP)
Data type: ICL_AUTHCLMOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ICL_ENQUEUE_AND_SELECT
E_ICLCLAIM - Claim
Data type: ICLCLAIMOptional: No
Call by Reference: Yes
TABLES Parameters details for ICL_ENQUEUE_AND_SELECT
IT_SUBCL - Subclaim Table
Data type: ICL_SUBCL_TABOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
ENQUEUE_ERROR -
Data type:Optional: No
Call by Reference: Yes
DOES_NOT_EXIST -
Data type:Optional: No
Call by Reference: Yes
NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
NO_AUTHORITY -
Data type:Optional: No
Call by Reference: Yes
NOT_ALLOWED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ICL_ENQUEUE_AND_SELECT 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_i_claim | TYPE ICL_CLAIM, " | |||
| lt_it_subcl | TYPE STANDARD TABLE OF ICL_SUBCL_TAB, " | |||
| lv_e_iclclaim | TYPE ICLCLAIM, " | |||
| lv_enqueue_error | TYPE ICLCLAIM, " | |||
| lv_i_cltype | TYPE ICL_CLTYPE, " | |||
| lv_does_not_exist | TYPE ICL_CLTYPE, " | |||
| lv_not_found | TYPE ICL_CLTYPE, " | |||
| lv_i_subclaim | TYPE ICL_SUBCL, " '~' | |||
| lv_no_authority | TYPE ICL_SUBCL, " | |||
| lv_iv_no_actsubcl | TYPE BOOLE_D, " | |||
| lv_iv_authclm | TYPE ICL_AUTHCLM, " | |||
| lv_not_allowed | TYPE ICL_AUTHCLM. " |
|   CALL FUNCTION 'ICL_ENQUEUE_AND_SELECT' " |
| EXPORTING | ||
| I_CLAIM | = lv_i_claim | |
| I_CLTYPE | = lv_i_cltype | |
| I_SUBCLAIM | = lv_i_subclaim | |
| IV_NO_ACTSUBCL | = lv_iv_no_actsubcl | |
| IV_AUTHCLM | = lv_iv_authclm | |
| IMPORTING | ||
| E_ICLCLAIM | = lv_e_iclclaim | |
| TABLES | ||
| IT_SUBCL | = lt_it_subcl | |
| EXCEPTIONS | ||
| ENQUEUE_ERROR = 1 | ||
| DOES_NOT_EXIST = 2 | ||
| NOT_FOUND = 3 | ||
| NO_AUTHORITY = 4 | ||
| NOT_ALLOWED = 5 | ||
| . " ICL_ENQUEUE_AND_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM ICL_ENQUEUE_AND_SELECT
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.| DATA(ld_i_subclaim) | = '~'. | |||
Search for further information about these or an SAP related objects