SAP RV_COND_TABLE_READ Function Module for NOTRANSL: Lesen einer Kondition aus dem DDic - Struktur und variabler Schl
RV_COND_TABLE_READ is a standard rv cond 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: Lesen einer Kondition aus dem DDic - Struktur und variabler Schl 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 rv cond table read FM, simply by entering the name RV_COND_TABLE_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: V12A
Program Name: SAPLV12A
Main Program: SAPLV12A
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RV_COND_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 'RV_COND_TABLE_READ'"NOTRANSL: Lesen einer Kondition aus dem DDic - Struktur und variabler Schl.
EXPORTING
CTR_KOTABNR = "Condition number
CTR_KVEWE = "Use
* CTR_LANGU = SY-LANGU "Language
TABLES
KOND_DFIES_TAB = "Condition field table (DFIES)
KOND_FLD_TAB = "Condition field table
VAKE_DFIES_TAB = "Variable Key table (DFIES)
VAKE_DTL_TAB = "Variable Key data element table
VAKE_FLD_TAB = "Variable Key field table
EXCEPTIONS
CONDITION_TABLE_NOT_FOUND = 1 T681_ENTRY_NOT_FOUND = 2 TEMPLATE_TABLE_NOT_FOUND = 3 TMC1_ENTRY_NOT_FOUND = 4
IMPORTING Parameters details for RV_COND_TABLE_READ
CTR_KOTABNR - Condition number
Data type: T681-KOTABNROptional: No
Call by Reference: No ( called with pass by value option)
CTR_KVEWE - Use
Data type: T681V-KVEWEOptional: No
Call by Reference: No ( called with pass by value option)
CTR_LANGU - Language
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RV_COND_TABLE_READ
KOND_DFIES_TAB - Condition field table (DFIES)
Data type: DFIESOptional: No
Call by Reference: No ( called with pass by value option)
KOND_FLD_TAB - Condition field table
Data type: DD03VOptional: No
Call by Reference: No ( called with pass by value option)
VAKE_DFIES_TAB - Variable Key table (DFIES)
Data type: DFIESOptional: No
Call by Reference: No ( called with pass by value option)
VAKE_DTL_TAB - Variable Key data element table
Data type: DD04VOptional: No
Call by Reference: No ( called with pass by value option)
VAKE_FLD_TAB - Variable Key field table
Data type: DD03VOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CONDITION_TABLE_NOT_FOUND - Condition table not found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
T681_ENTRY_NOT_FOUND - Entry in T681 could not be read
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TEMPLATE_TABLE_NOT_FOUND - Sample table not found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TMC1_ENTRY_NOT_FOUND - Entry in TMC1 could not be read
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RV_COND_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_ctr_kotabnr | TYPE T681-KOTABNR, " | |||
| lt_kond_dfies_tab | TYPE STANDARD TABLE OF DFIES, " | |||
| lv_condition_table_not_found | TYPE DFIES, " | |||
| lv_ctr_kvewe | TYPE T681V-KVEWE, " | |||
| lt_kond_fld_tab | TYPE STANDARD TABLE OF DD03V, " | |||
| lv_t681_entry_not_found | TYPE DD03V, " | |||
| lv_ctr_langu | TYPE SY-LANGU, " SY-LANGU | |||
| lt_vake_dfies_tab | TYPE STANDARD TABLE OF DFIES, " | |||
| lv_template_table_not_found | TYPE DFIES, " | |||
| lt_vake_dtl_tab | TYPE STANDARD TABLE OF DD04V, " | |||
| lv_tmc1_entry_not_found | TYPE DD04V, " | |||
| lt_vake_fld_tab | TYPE STANDARD TABLE OF DD03V. " |
|   CALL FUNCTION 'RV_COND_TABLE_READ' "NOTRANSL: Lesen einer Kondition aus dem DDic - Struktur und variabler Schl |
| EXPORTING | ||
| CTR_KOTABNR | = lv_ctr_kotabnr | |
| CTR_KVEWE | = lv_ctr_kvewe | |
| CTR_LANGU | = lv_ctr_langu | |
| TABLES | ||
| KOND_DFIES_TAB | = lt_kond_dfies_tab | |
| KOND_FLD_TAB | = lt_kond_fld_tab | |
| VAKE_DFIES_TAB | = lt_vake_dfies_tab | |
| VAKE_DTL_TAB | = lt_vake_dtl_tab | |
| VAKE_FLD_TAB | = lt_vake_fld_tab | |
| EXCEPTIONS | ||
| CONDITION_TABLE_NOT_FOUND = 1 | ||
| T681_ENTRY_NOT_FOUND = 2 | ||
| TEMPLATE_TABLE_NOT_FOUND = 3 | ||
| TMC1_ENTRY_NOT_FOUND = 4 | ||
| . " RV_COND_TABLE_READ | ||
ABAP code using 7.40 inline data declarations to call FM RV_COND_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 KOTABNR FROM T681 INTO @DATA(ld_ctr_kotabnr). | ||||
| "SELECT single KVEWE FROM T681V INTO @DATA(ld_ctr_kvewe). | ||||
| "SELECT single LANGU FROM SY INTO @DATA(ld_ctr_langu). | ||||
| DATA(ld_ctr_langu) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects