SAP CEV3_TABLE_READ Function Module for NOTRANSL: Tabellenfelder lesen
CEV3_TABLE_READ is a standard cev3 table read 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: Tabellenfelder lesen 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 cev3 table read FM, simply by entering the name CEV3_TABLE_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: CEV3
Program Name: SAPLCEV3
Main Program: SAPLCEV3
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CEV3_TABLE_READ 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 'CEV3_TABLE_READ'"NOTRANSL: Tabellenfelder lesen.
EXPORTING
* KEY_FIELDS_ONLY = ' ' "Only output key fields
* LANGUAGE = SY-LANGU "Language
TABLE_NAME = "Table name
IMPORTING
DDTEXT = "
TABLES
TABLE_FIELDS = "Table fields
EXCEPTIONS
NO_FIELDS_FOUND = 1 TABLE_NOT_FOUND = 2
IMPORTING Parameters details for CEV3_TABLE_READ
KEY_FIELDS_ONLY - Only output key fields
Data type: RCEVZ-MARKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
LANGUAGE - Language
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLE_NAME - Table name
Data type: DD02L-TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CEV3_TABLE_READ
DDTEXT -
Data type: DD02T-DDTEXTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CEV3_TABLE_READ
TABLE_FIELDS - Table fields
Data type: DD03POptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_FIELDS_FOUND - Table has no fields
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLE_NOT_FOUND - Table is not available
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CEV3_TABLE_READ 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_ddtext | TYPE DD02T-DDTEXT, " | |||
| lt_table_fields | TYPE STANDARD TABLE OF DD03P, " | |||
| lv_key_fields_only | TYPE RCEVZ-MARK, " SPACE | |||
| lv_no_fields_found | TYPE RCEVZ, " | |||
| lv_language | TYPE SY-LANGU, " SY-LANGU | |||
| lv_table_not_found | TYPE SY, " | |||
| lv_table_name | TYPE DD02L-TABNAME. " |
|   CALL FUNCTION 'CEV3_TABLE_READ' "NOTRANSL: Tabellenfelder lesen |
| EXPORTING | ||
| KEY_FIELDS_ONLY | = lv_key_fields_only | |
| LANGUAGE | = lv_language | |
| TABLE_NAME | = lv_table_name | |
| IMPORTING | ||
| DDTEXT | = lv_ddtext | |
| TABLES | ||
| TABLE_FIELDS | = lt_table_fields | |
| EXCEPTIONS | ||
| NO_FIELDS_FOUND = 1 | ||
| TABLE_NOT_FOUND = 2 | ||
| . " CEV3_TABLE_READ | ||
ABAP code using 7.40 inline data declarations to call FM CEV3_TABLE_READ
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 DDTEXT FROM DD02T INTO @DATA(ld_ddtext). | ||||
| "SELECT single MARK FROM RCEVZ INTO @DATA(ld_key_fields_only). | ||||
| DATA(ld_key_fields_only) | = ' '. | |||
| "SELECT single LANGU FROM SY INTO @DATA(ld_language). | ||||
| DATA(ld_language) | = SY-LANGU. | |||
| "SELECT single TABNAME FROM DD02L INTO @DATA(ld_table_name). | ||||
Search for further information about these or an SAP related objects