SAP CLIBSEL_SELECT_OBJECTS Function Module for NOTRANSL: IB: Selektion









CLIBSEL_SELECT_OBJECTS is a standard clibsel select objects 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: IB: Selektion 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 clibsel select objects FM, simply by entering the name CLIBSEL_SELECT_OBJECTS into the relevant SAP transaction such as SE37 or SE38.

Function Group: CLIBSEL
Program Name: SAPLCLIBSEL
Main Program: SAPLCLIBSEL
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CLIBSEL_SELECT_OBJECTS 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 'CLIBSEL_SELECT_OBJECTS'"NOTRANSL: IB: Selektion
EXPORTING
* I_CLASS_TYPE = '300' "Class Type
* I_MAX_RECORDS = 0 "
* IT_CHARACTERISTICS = "CLIB: Table of Internal Characteristic Numbers

TABLES
E_OBJECTS = "
* E_OBJECT_VALUES = "
I_QUERY = "
I_RANGE_CLASSES = "
I_RANGE_OBJECT_TYPES = "

EXCEPTIONS
NO_RECORDS_FOUND = 1
.



IMPORTING Parameters details for CLIBSEL_SELECT_OBJECTS

I_CLASS_TYPE - Class Type

Data type: TCLA-KLART
Default: '300'
Optional: Yes
Call by Reference: Yes

I_MAX_RECORDS -

Data type: I
Optional: Yes
Call by Reference: Yes

IT_CHARACTERISTICS - CLIB: Table of Internal Characteristic Numbers

Data type: CLIB_CHARACTERISTICS_T
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for CLIBSEL_SELECT_OBJECTS

E_OBJECTS -

Data type: CLSEL_SEARCH_OBJECTS
Optional: No
Call by Reference: No ( called with pass by value option)

E_OBJECT_VALUES -

Data type: AUSP
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_QUERY -

Data type: COMW
Optional: No
Call by Reference: No ( called with pass by value option)

I_RANGE_CLASSES -

Data type: CLSEL_R_CLINT
Optional: No
Call by Reference: No ( called with pass by value option)

I_RANGE_OBJECT_TYPES -

Data type: MCLS_R_TABELLE
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_RECORDS_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CLIBSEL_SELECT_OBJECTS 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_e_objects  TYPE STANDARD TABLE OF CLSEL_SEARCH_OBJECTS, "   
lv_i_class_type  TYPE TCLA-KLART, "   '300'
lv_no_records_found  TYPE TCLA, "   
lv_i_max_records  TYPE I, "   0
lt_e_object_values  TYPE STANDARD TABLE OF AUSP, "   
lt_i_query  TYPE STANDARD TABLE OF COMW, "   
lv_it_characteristics  TYPE CLIB_CHARACTERISTICS_T, "   
lt_i_range_classes  TYPE STANDARD TABLE OF CLSEL_R_CLINT, "   
lt_i_range_object_types  TYPE STANDARD TABLE OF MCLS_R_TABELLE. "   

  CALL FUNCTION 'CLIBSEL_SELECT_OBJECTS'  "NOTRANSL: IB: Selektion
    EXPORTING
         I_CLASS_TYPE = lv_i_class_type
         I_MAX_RECORDS = lv_i_max_records
         IT_CHARACTERISTICS = lv_it_characteristics
    TABLES
         E_OBJECTS = lt_e_objects
         E_OBJECT_VALUES = lt_e_object_values
         I_QUERY = lt_i_query
         I_RANGE_CLASSES = lt_i_range_classes
         I_RANGE_OBJECT_TYPES = lt_i_range_object_types
    EXCEPTIONS
        NO_RECORDS_FOUND = 1
. " CLIBSEL_SELECT_OBJECTS




ABAP code using 7.40 inline data declarations to call FM CLIBSEL_SELECT_OBJECTS

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 KLART FROM TCLA INTO @DATA(ld_i_class_type).
DATA(ld_i_class_type) = '300'.
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!