SAP RV_CONDITION_RECORD Function Module for NOTRANSL: Anzeige eines Konditionssatzes zu vorgegebener Konditionsnummer









RV_CONDITION_RECORD is a standard rv condition record 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: Anzeige eines Konditionssatzes zu vorgegebener Konditionsnummer 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 FM, simply by entering the name RV_CONDITION_RECORD into the relevant SAP transaction such as SE37 or SE38.

Function Group: V14A
Program Name: SAPLV14A
Main Program: SAPLV14A
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RV_CONDITION_RECORD 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'"NOTRANSL: Anzeige eines Konditionssatzes zu vorgegebener Konditionsnummer
EXPORTING
CONDITION_NUMBER = "Condition Record Number
* RV130_DATAM = "Date and Time, Current (Application Server) Date
* CONDITION_USE = 'A' "Indicator : rebate condition
* FIRST_SCREEN = 'C' "First screen
* ITEM_NUMBER = '01' "Number of Condition Item
* MAINTAIN_MODE = 'C' "Maintenance mode
* POPUP_CONFIRM = ' ' "
* SELECTION_DATE = "Date and Time, Current (Application Server) Date
* USE_SELECTION_DATE = "Checkbox
* CHECK_MEMORY = ' ' "Single-character Indicator

EXCEPTIONS
NO_EXISTING_RECORD = 1
.



IMPORTING Parameters details for RV_CONDITION_RECORD

CONDITION_NUMBER - Condition Record Number

Data type: KONH-KNUMH
Optional: No
Call by Reference: No ( called with pass by value option)

RV130_DATAM - Date and Time, Current (Application Server) Date

Data type: SYST-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

CONDITION_USE - Indicator : rebate condition

Data type: T681V-KVEWE
Default: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)

FIRST_SCREEN - First screen

Data type:
Default: 'C'
Optional: Yes
Call by Reference: No ( called with pass by value option)

ITEM_NUMBER - Number of Condition Item

Data type: KONP-KOPOS
Default: '01'
Optional: Yes
Call by Reference: No ( called with pass by value option)

MAINTAIN_MODE - Maintenance mode

Data type:
Default: 'C'
Optional: Yes
Call by Reference: No ( called with pass by value option)

POPUP_CONFIRM -

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELECTION_DATE - Date and Time, Current (Application Server) Date

Data type: SYST-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

USE_SELECTION_DATE - Checkbox

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHECK_MEMORY - Single-character Indicator

Data type: CHAR1
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_EXISTING_RECORD - G/L account number

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RV_CONDITION_RECORD 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_number  TYPE KONH-KNUMH, "   
lv_no_existing_record  TYPE KONH, "   
lv_rv130_datam  TYPE SYST-DATUM, "   
lv_condition_use  TYPE T681V-KVEWE, "   'A'
lv_first_screen  TYPE T681V, "   'C'
lv_item_number  TYPE KONP-KOPOS, "   '01'
lv_maintain_mode  TYPE KONP, "   'C'
lv_popup_confirm  TYPE KONP, "   ' '
lv_selection_date  TYPE SYST-DATUM, "   
lv_use_selection_date  TYPE XFELD, "   
lv_check_memory  TYPE CHAR1. "   ' '

  CALL FUNCTION 'RV_CONDITION_RECORD'  "NOTRANSL: Anzeige eines Konditionssatzes zu vorgegebener Konditionsnummer
    EXPORTING
         CONDITION_NUMBER = lv_condition_number
         RV130_DATAM = lv_rv130_datam
         CONDITION_USE = lv_condition_use
         FIRST_SCREEN = lv_first_screen
         ITEM_NUMBER = lv_item_number
         MAINTAIN_MODE = lv_maintain_mode
         POPUP_CONFIRM = lv_popup_confirm
         SELECTION_DATE = lv_selection_date
         USE_SELECTION_DATE = lv_use_selection_date
         CHECK_MEMORY = lv_check_memory
    EXCEPTIONS
        NO_EXISTING_RECORD = 1
. " RV_CONDITION_RECORD




ABAP code using 7.40 inline data declarations to call FM RV_CONDITION_RECORD

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 KNUMH FROM KONH INTO @DATA(ld_condition_number).
 
 
"SELECT single DATUM FROM SYST INTO @DATA(ld_rv130_datam).
 
"SELECT single KVEWE FROM T681V INTO @DATA(ld_condition_use).
DATA(ld_condition_use) = 'A'.
 
DATA(ld_first_screen) = 'C'.
 
"SELECT single KOPOS FROM KONP INTO @DATA(ld_item_number).
DATA(ld_item_number) = '01'.
 
DATA(ld_maintain_mode) = 'C'.
 
DATA(ld_popup_confirm) = ' '.
 
"SELECT single DATUM FROM SYST INTO @DATA(ld_selection_date).
 
 
DATA(ld_check_memory) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!