SAP RV_COND_DEF_TRANS Function Module for Transport of a condition table
RV_COND_DEF_TRANS is a standard rv cond def trans SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Transport of a condition 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 rv cond def trans FM, simply by entering the name RV_COND_DEF_TRANS into the relevant SAP transaction such as SE37 or SE38.
Function Group: V12Z
Program Name: SAPLV12Z
Main Program:
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RV_COND_DEF_TRANS 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_DEF_TRANS'"Transport of a condition table.
EXPORTING
KVEWE_I = "Usage
KOTABNR_I = "Table
GSTRU_I = "
* NORMAL_I = 'X' "
* GENERATED_X_I = ' ' "
* DELETE_I = ' ' "
TABLES
* E071K_TAB = "Table entries
E071_TAB = "Correction item
* KO200_TAB = "
IMPORTING Parameters details for RV_COND_DEF_TRANS
KVEWE_I - Usage
Data type: T681-KVEWEOptional: No
Call by Reference: No ( called with pass by value option)
KOTABNR_I - Table
Data type: T681-KOTABNROptional: No
Call by Reference: No ( called with pass by value option)
GSTRU_I -
Data type: T681-KOTABOptional: No
Call by Reference: No ( called with pass by value option)
NORMAL_I -
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
GENERATED_X_I -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
DELETE_I -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RV_COND_DEF_TRANS
E071K_TAB - Table entries
Data type: E071KOptional: Yes
Call by Reference: No ( called with pass by value option)
E071_TAB - Correction item
Data type: E071Optional: No
Call by Reference: No ( called with pass by value option)
KO200_TAB -
Data type: KO200Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RV_COND_DEF_TRANS 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_kvewe_i | TYPE T681-KVEWE, " | |||
| lt_e071k_tab | TYPE STANDARD TABLE OF E071K, " | |||
| lt_e071_tab | TYPE STANDARD TABLE OF E071, " | |||
| lv_kotabnr_i | TYPE T681-KOTABNR, " | |||
| lv_gstru_i | TYPE T681-KOTAB, " | |||
| lt_ko200_tab | TYPE STANDARD TABLE OF KO200, " | |||
| lv_normal_i | TYPE KO200, " 'X' | |||
| lv_generated_x_i | TYPE KO200, " ' ' | |||
| lv_delete_i | TYPE KO200. " ' ' |
|   CALL FUNCTION 'RV_COND_DEF_TRANS' "Transport of a condition table |
| EXPORTING | ||
| KVEWE_I | = lv_kvewe_i | |
| KOTABNR_I | = lv_kotabnr_i | |
| GSTRU_I | = lv_gstru_i | |
| NORMAL_I | = lv_normal_i | |
| GENERATED_X_I | = lv_generated_x_i | |
| DELETE_I | = lv_delete_i | |
| TABLES | ||
| E071K_TAB | = lt_e071k_tab | |
| E071_TAB | = lt_e071_tab | |
| KO200_TAB | = lt_ko200_tab | |
| . " RV_COND_DEF_TRANS | ||
ABAP code using 7.40 inline data declarations to call FM RV_COND_DEF_TRANS
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 KVEWE FROM T681 INTO @DATA(ld_kvewe_i). | ||||
| "SELECT single KOTABNR FROM T681 INTO @DATA(ld_kotabnr_i). | ||||
| "SELECT single KOTAB FROM T681 INTO @DATA(ld_gstru_i). | ||||
| DATA(ld_normal_i) | = 'X'. | |||
| DATA(ld_generated_x_i) | = ' '. | |||
| DATA(ld_delete_i) | = ' '. | |||
Search for further information about these or an SAP related objects