SAP CLSE_SELECT_CABNT Function Module for Read and Buffer CABNT Entries for Classification
CLSE_SELECT_CABNT is a standard clse select cabnt SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read and Buffer CABNT Entries for Classification 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 clse select cabnt FM, simply by entering the name CLSE_SELECT_CABNT into the relevant SAP transaction such as SE37 or SE38.
Function Group: CLSE
Program Name: SAPLCLSE
Main Program: SAPLCLSE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CLSE_SELECT_CABNT 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 'CLSE_SELECT_CABNT'"Read and Buffer CABNT Entries for Classification.
EXPORTING
* LANGUAGE = ' ' "Language
* KEY_DATE = SY-DATUM "Validity Time
* BYPASSING_BUFFER = ' ' "No Use of the Buffer
TABLES
IN_CABN = "Table of Requested Keys
T_CABNT = "Table of Values Found
EXCEPTIONS
NO_ENTRY_FOUND = 1
IMPORTING Parameters details for CLSE_SELECT_CABNT
LANGUAGE - Language
Data type: SY-LANGUDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
KEY_DATE - Validity Time
Data type: RMCLS-KEY_DATEDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
BYPASSING_BUFFER - No Use of the Buffer
Data type: SY-BATCHDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CLSE_SELECT_CABNT
IN_CABN - Table of Requested Keys
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
T_CABNT - Table of Values Found
Data type: CABNTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_ENTRY_FOUND - No Entry Found in the Database Table
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CLSE_SELECT_CABNT 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_in_cabn | TYPE STANDARD TABLE OF STRING, " | |||
| lv_language | TYPE SY-LANGU, " SPACE | |||
| lv_no_entry_found | TYPE SY, " | |||
| lt_t_cabnt | TYPE STANDARD TABLE OF CABNT, " | |||
| lv_key_date | TYPE RMCLS-KEY_DATE, " SY-DATUM | |||
| lv_bypassing_buffer | TYPE SY-BATCH. " SPACE |
|   CALL FUNCTION 'CLSE_SELECT_CABNT' "Read and Buffer CABNT Entries for Classification |
| EXPORTING | ||
| LANGUAGE | = lv_language | |
| KEY_DATE | = lv_key_date | |
| BYPASSING_BUFFER | = lv_bypassing_buffer | |
| TABLES | ||
| IN_CABN | = lt_in_cabn | |
| T_CABNT | = lt_t_cabnt | |
| EXCEPTIONS | ||
| NO_ENTRY_FOUND = 1 | ||
| . " CLSE_SELECT_CABNT | ||
ABAP code using 7.40 inline data declarations to call FM CLSE_SELECT_CABNT
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 LANGU FROM SY INTO @DATA(ld_language). | ||||
| DATA(ld_language) | = ' '. | |||
| "SELECT single KEY_DATE FROM RMCLS INTO @DATA(ld_key_date). | ||||
| DATA(ld_key_date) | = SY-DATUM. | |||
| "SELECT single BATCH FROM SY INTO @DATA(ld_bypassing_buffer). | ||||
| DATA(ld_bypassing_buffer) | = ' '. | |||
Search for further information about these or an SAP related objects