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

Function CLOB_SELECT_OBJECT_DATA 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 'CLOB_SELECT_OBJECT_DATA'"Classification: Read Object Table.
EXPORTING
* CLASSTYPE = ' ' "Class Type
TABLE = "Classifiable Table from TCLT
* SPRAS = SY-LANGU "Language Key
IMPORTING
DYNNR1 = "SUBSCREEN No. for CL20: SAPMMCLF0100
DYNNR2 = "SUBSCREEN No. for CL24 STEPLOOP: SAPLCLFM0511
DYNNR3 = "SUBSCREEN No. for CL24 Heading: SAPLCLFM0512
DYNNR4 = "SUBSCREEN No. for Values: SAPLCTMS0100
NO_TEXT = "No Object Description in TCLTT
OBJECT_TEXT = "Object Description
REDUNDANT = "Indicator: Redundant Storage in AUSP
MULTI_OBJ = "Indicator: Multiple Objects Allowed
EXCEPTIONS
TABLE_NOT_FOUND = 1
IMPORTING Parameters details for CLOB_SELECT_OBJECT_DATA
CLASSTYPE - Class Type
Data type: TCLAO-KLARTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLE - Classifiable Table from TCLT
Data type: TCLT-OBTABOptional: No
Call by Reference: No ( called with pass by value option)
SPRAS - Language Key
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CLOB_SELECT_OBJECT_DATA
DYNNR1 - SUBSCREEN No. for CL20: SAPMMCLF0100
Data type: TCLT-DYNNR1Optional: No
Call by Reference: No ( called with pass by value option)
DYNNR2 - SUBSCREEN No. for CL24 STEPLOOP: SAPLCLFM0511
Data type: TCLT-DYNNR2Optional: No
Call by Reference: No ( called with pass by value option)
DYNNR3 - SUBSCREEN No. for CL24 Heading: SAPLCLFM0512
Data type: TCLT-DYNNR3Optional: No
Call by Reference: No ( called with pass by value option)
DYNNR4 - SUBSCREEN No. for Values: SAPLCTMS0100
Data type: TCLT-DYNNR4Optional: No
Call by Reference: No ( called with pass by value option)
NO_TEXT - No Object Description in TCLTT
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OBJECT_TEXT - Object Description
Data type: TCLTT-OBTXTOptional: No
Call by Reference: No ( called with pass by value option)
REDUNDANT - Indicator: Redundant Storage in AUSP
Data type: TCLT-REDUNOptional: No
Call by Reference: No ( called with pass by value option)
MULTI_OBJ - Indicator: Multiple Objects Allowed
Data type: TCLA-MULTOBJOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
TABLE_NOT_FOUND - Table Not Found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CLOB_SELECT_OBJECT_DATA 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_dynnr1 | TYPE TCLT-DYNNR1, " | |||
| lv_classtype | TYPE TCLAO-KLART, " SPACE | |||
| lv_table_not_found | TYPE TCLAO, " | |||
| lv_table | TYPE TCLT-OBTAB, " | |||
| lv_dynnr2 | TYPE TCLT-DYNNR2, " | |||
| lv_spras | TYPE SY-LANGU, " SY-LANGU | |||
| lv_dynnr3 | TYPE TCLT-DYNNR3, " | |||
| lv_dynnr4 | TYPE TCLT-DYNNR4, " | |||
| lv_no_text | TYPE TCLT, " | |||
| lv_object_text | TYPE TCLTT-OBTXT, " | |||
| lv_redundant | TYPE TCLT-REDUN, " | |||
| lv_multi_obj | TYPE TCLA-MULTOBJ. " |
|   CALL FUNCTION 'CLOB_SELECT_OBJECT_DATA' "Classification: Read Object Table |
| EXPORTING | ||
| CLASSTYPE | = lv_classtype | |
| TABLE | = lv_table | |
| SPRAS | = lv_spras | |
| IMPORTING | ||
| DYNNR1 | = lv_dynnr1 | |
| DYNNR2 | = lv_dynnr2 | |
| DYNNR3 | = lv_dynnr3 | |
| DYNNR4 | = lv_dynnr4 | |
| NO_TEXT | = lv_no_text | |
| OBJECT_TEXT | = lv_object_text | |
| REDUNDANT | = lv_redundant | |
| MULTI_OBJ | = lv_multi_obj | |
| EXCEPTIONS | ||
| TABLE_NOT_FOUND = 1 | ||
| . " CLOB_SELECT_OBJECT_DATA | ||
ABAP code using 7.40 inline data declarations to call FM CLOB_SELECT_OBJECT_DATA
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 DYNNR1 FROM TCLT INTO @DATA(ld_dynnr1). | ||||
| "SELECT single KLART FROM TCLAO INTO @DATA(ld_classtype). | ||||
| DATA(ld_classtype) | = ' '. | |||
| "SELECT single OBTAB FROM TCLT INTO @DATA(ld_table). | ||||
| "SELECT single DYNNR2 FROM TCLT INTO @DATA(ld_dynnr2). | ||||
| "SELECT single LANGU FROM SY INTO @DATA(ld_spras). | ||||
| DATA(ld_spras) | = SY-LANGU. | |||
| "SELECT single DYNNR3 FROM TCLT INTO @DATA(ld_dynnr3). | ||||
| "SELECT single DYNNR4 FROM TCLT INTO @DATA(ld_dynnr4). | ||||
| "SELECT single OBTXT FROM TCLTT INTO @DATA(ld_object_text). | ||||
| "SELECT single REDUN FROM TCLT INTO @DATA(ld_redundant). | ||||
| "SELECT single MULTOBJ FROM TCLA INTO @DATA(ld_multi_obj). | ||||
Search for further information about these or an SAP related objects