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

Function RV_CONDITION_RECORD_DISPLAY 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_CONDITION_RECORD_DISPLAY'"Display Condition Records.
EXPORTING
* ACCESS_SEQUENCE = ' ' "Access sequence
* FOR_MAINTENANCE_ONLY = ' ' "Only display condition types which
* GET_CONDITION_TYPE = ' ' "Only determine condition type
* ITEM_HEADER = ' ' "Header or item condition
* F4_DISPLAY_ONLY = ' ' "
* NO_F4_DIALOG = ABAP_FALSE "
APPLICATION = "Application
* CALCULATION_PROCEDURE = ' ' "Pricing Procedure
* CHANGE_MANUALLY = ' ' "Indicator: take manual condition i
* CONDITION_CLASSES = ' ' "Indicator: take condition class in
* CONDITION_CLASSES_EXCL = ' ' "
* CONDITION_TYPE = ' ' "Condition type
CONDITION_USE = "Use
* DISPLAY_TABLE = ' ' "Displaying table name in report
IMPORTING
CONDITION_TYPE = "Condition type
CONDITION_TYPE_TEXT = "Name of condition type
TABLES
* CONDITION_TYPES = "
EXCEPTIONS
INVALID_ACCESS_SEQUENCE = 1 INVALID_CALCULATION_PROCEDURE = 2 INVALID_CONDITION_TYPE = 3 NO_CONDITION_TYPE_SELECTED = 4 NO_REPORT = 5
IMPORTING Parameters details for RV_CONDITION_RECORD_DISPLAY
ACCESS_SEQUENCE - Access sequence
Data type: T685-KOZGFDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
FOR_MAINTENANCE_ONLY - Only display condition types which
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
GET_CONDITION_TYPE - Only determine condition type
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
ITEM_HEADER - Header or item condition
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
F4_DISPLAY_ONLY -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
NO_F4_DIALOG -
Data type: ABAP_BOOLDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
APPLICATION - Application
Data type: T681A-KAPPLOptional: No
Call by Reference: No ( called with pass by value option)
CALCULATION_PROCEDURE - Pricing Procedure
Data type: T683-KALSMDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGE_MANUALLY - Indicator: take manual condition i
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
CONDITION_CLASSES - Indicator: take condition class in
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
CONDITION_CLASSES_EXCL -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
CONDITION_TYPE - Condition type
Data type: T685A-KSCHLDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
CONDITION_USE - Use
Data type: T685-KVEWEOptional: No
Call by Reference: No ( called with pass by value option)
DISPLAY_TABLE - Displaying table name in report
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RV_CONDITION_RECORD_DISPLAY
CONDITION_TYPE - Condition type
Data type: T685A-KSCHLOptional: No
Call by Reference: No ( called with pass by value option)
CONDITION_TYPE_TEXT - Name of condition type
Data type: T685T-VTEXTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RV_CONDITION_RECORD_DISPLAY
CONDITION_TYPES -
Data type: T685Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
INVALID_ACCESS_SEQUENCE - Invalid access sequence
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_CALCULATION_PROCEDURE - Invalid pricing sheet
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_CONDITION_TYPE - Invalid condition type
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_CONDITION_TYPE_SELECTED - No condition type was selected.
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_REPORT - There is no access report
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RV_CONDITION_RECORD_DISPLAY 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_condition_type | TYPE T685A-KSCHL, " | |||
| lv_access_sequence | TYPE T685-KOZGF, " ' ' | |||
| lt_condition_types | TYPE STANDARD TABLE OF T685, " | |||
| lv_invalid_access_sequence | TYPE T685, " | |||
| lv_for_maintenance_only | TYPE T685, " ' ' | |||
| lv_get_condition_type | TYPE T685, " ' ' | |||
| lv_item_header | TYPE T685, " ' ' | |||
| lv_f4_display_only | TYPE T685, " ' ' | |||
| lv_no_f4_dialog | TYPE ABAP_BOOL, " ABAP_FALSE | |||
| lv_application | TYPE T681A-KAPPL, " | |||
| lv_condition_type_text | TYPE T685T-VTEXT, " | |||
| lv_invalid_calculation_procedure | TYPE T685T, " | |||
| lv_calculation_procedure | TYPE T683-KALSM, " ' ' | |||
| lv_invalid_condition_type | TYPE T683, " | |||
| lv_change_manually | TYPE T683, " ' ' | |||
| lv_no_condition_type_selected | TYPE T683, " | |||
| lv_no_report | TYPE T683, " | |||
| lv_condition_classes | TYPE T683, " ' ' | |||
| lv_condition_classes_excl | TYPE T683, " ' ' | |||
| lv_condition_type | TYPE T685A-KSCHL, " ' ' | |||
| lv_condition_use | TYPE T685-KVEWE, " | |||
| lv_display_table | TYPE T685. " ' ' |
|   CALL FUNCTION 'RV_CONDITION_RECORD_DISPLAY' "Display Condition Records |
| EXPORTING | ||
| ACCESS_SEQUENCE | = lv_access_sequence | |
| FOR_MAINTENANCE_ONLY | = lv_for_maintenance_only | |
| GET_CONDITION_TYPE | = lv_get_condition_type | |
| ITEM_HEADER | = lv_item_header | |
| F4_DISPLAY_ONLY | = lv_f4_display_only | |
| NO_F4_DIALOG | = lv_no_f4_dialog | |
| APPLICATION | = lv_application | |
| CALCULATION_PROCEDURE | = lv_calculation_procedure | |
| CHANGE_MANUALLY | = lv_change_manually | |
| CONDITION_CLASSES | = lv_condition_classes | |
| CONDITION_CLASSES_EXCL | = lv_condition_classes_excl | |
| CONDITION_TYPE | = lv_condition_type | |
| CONDITION_USE | = lv_condition_use | |
| DISPLAY_TABLE | = lv_display_table | |
| IMPORTING | ||
| CONDITION_TYPE | = lv_condition_type | |
| CONDITION_TYPE_TEXT | = lv_condition_type_text | |
| TABLES | ||
| CONDITION_TYPES | = lt_condition_types | |
| EXCEPTIONS | ||
| INVALID_ACCESS_SEQUENCE = 1 | ||
| INVALID_CALCULATION_PROCEDURE = 2 | ||
| INVALID_CONDITION_TYPE = 3 | ||
| NO_CONDITION_TYPE_SELECTED = 4 | ||
| NO_REPORT = 5 | ||
| . " RV_CONDITION_RECORD_DISPLAY | ||
ABAP code using 7.40 inline data declarations to call FM RV_CONDITION_RECORD_DISPLAY
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 KSCHL FROM T685A INTO @DATA(ld_condition_type). | ||||
| "SELECT single KOZGF FROM T685 INTO @DATA(ld_access_sequence). | ||||
| DATA(ld_access_sequence) | = ' '. | |||
| DATA(ld_for_maintenance_only) | = ' '. | |||
| DATA(ld_get_condition_type) | = ' '. | |||
| DATA(ld_item_header) | = ' '. | |||
| DATA(ld_f4_display_only) | = ' '. | |||
| DATA(ld_no_f4_dialog) | = ABAP_FALSE. | |||
| "SELECT single KAPPL FROM T681A INTO @DATA(ld_application). | ||||
| "SELECT single VTEXT FROM T685T INTO @DATA(ld_condition_type_text). | ||||
| "SELECT single KALSM FROM T683 INTO @DATA(ld_calculation_procedure). | ||||
| DATA(ld_calculation_procedure) | = ' '. | |||
| DATA(ld_change_manually) | = ' '. | |||
| DATA(ld_condition_classes) | = ' '. | |||
| DATA(ld_condition_classes_excl) | = ' '. | |||
| "SELECT single KSCHL FROM T685A INTO @DATA(ld_condition_type). | ||||
| DATA(ld_condition_type) | = ' '. | |||
| "SELECT single KVEWE FROM T685 INTO @DATA(ld_condition_use). | ||||
| DATA(ld_display_table) | = ' '. | |||
Search for further information about these or an SAP related objects