SAP RM_MD_CR_READ_SEQUENCE Function Module for Interpolate Exchange Rates from Scenario Flow
RM_MD_CR_READ_SEQUENCE is a standard rm md cr read sequence SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Interpolate Exchange Rates from Scenario Flow 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 rm md cr read sequence FM, simply by entering the name RM_MD_CR_READ_SEQUENCE into the relevant SAP transaction such as SE37 or SE38.
Function Group: RMMD
Program Name: SAPLRMMD
Main Program: SAPLRMMD
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RM_MD_CR_READ_SEQUENCE 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 'RM_MD_CR_READ_SEQUENCE'"Interpolate Exchange Rates from Scenario Flow.
EXPORTING
AKTDATUM = "
KONDDAT = "
SEQUENCE = "
WAEHRUNG1 = "
WAEHRUNG2 = "
* SZKART_G = "
* SZKART_B = "
* GELD_BRIEF = '0' "
* NOTATION = "Quotation type for currency translation
IMPORTING
SPOT = "
C_TYPE = "
T_FACT = "
F_FACT = "
SPOT_FLT = "
EXCEPTIONS
ERROR_INTERPOLATION = 1 NOT_F_SZVERL = 2 NOT_F_WAERS = 3 NO_INITIALIZATION = 4
IMPORTING Parameters details for RM_MD_CR_READ_SEQUENCE
AKTDATUM -
Data type: DOptional: No
Call by Reference: No ( called with pass by value option)
KONDDAT -
Data type: DOptional: No
Call by Reference: No ( called with pass by value option)
SEQUENCE -
Data type: VTVSZVERL-SZVERLAUFOptional: No
Call by Reference: No ( called with pass by value option)
WAEHRUNG1 -
Data type: VTVSZCURR-FCURROptional: No
Call by Reference: No ( called with pass by value option)
WAEHRUNG2 -
Data type: VTVSZCURR-TCURROptional: No
Call by Reference: No ( called with pass by value option)
SZKART_G -
Data type: JBD14-SZKARTOptional: Yes
Call by Reference: No ( called with pass by value option)
SZKART_B -
Data type: JBD14-SZKARTOptional: Yes
Call by Reference: No ( called with pass by value option)
GELD_BRIEF -
Data type: VTVMDSCR-BIDOFFDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
NOTATION - Quotation type for currency translation
Data type: TCURN-NOTATIONOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RM_MD_CR_READ_SEQUENCE
SPOT -
Data type: TCURR-UKURSOptional: No
Call by Reference: No ( called with pass by value option)
C_TYPE -
Data type: TCURR-KURSTOptional: No
Call by Reference: No ( called with pass by value option)
T_FACT -
Data type: TCURR-TFACTOptional: No
Call by Reference: No ( called with pass by value option)
F_FACT -
Data type: TCURR-FFACTOptional: No
Call by Reference: No ( called with pass by value option)
SPOT_FLT -
Data type: FOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_INTERPOLATION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_F_SZVERL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_F_WAERS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_INITIALIZATION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RM_MD_CR_READ_SEQUENCE 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_spot | TYPE TCURR-UKURS, " | |||
| lv_aktdatum | TYPE D, " | |||
| lv_error_interpolation | TYPE D, " | |||
| lv_c_type | TYPE TCURR-KURST, " | |||
| lv_konddat | TYPE D, " | |||
| lv_not_f_szverl | TYPE D, " | |||
| lv_t_fact | TYPE TCURR-TFACT, " | |||
| lv_sequence | TYPE VTVSZVERL-SZVERLAUF, " | |||
| lv_not_f_waers | TYPE VTVSZVERL, " | |||
| lv_f_fact | TYPE TCURR-FFACT, " | |||
| lv_waehrung1 | TYPE VTVSZCURR-FCURR, " | |||
| lv_no_initialization | TYPE VTVSZCURR, " | |||
| lv_spot_flt | TYPE F, " | |||
| lv_waehrung2 | TYPE VTVSZCURR-TCURR, " | |||
| lv_szkart_g | TYPE JBD14-SZKART, " | |||
| lv_szkart_b | TYPE JBD14-SZKART, " | |||
| lv_geld_brief | TYPE VTVMDSCR-BIDOFF, " '0' | |||
| lv_notation | TYPE TCURN-NOTATION. " |
|   CALL FUNCTION 'RM_MD_CR_READ_SEQUENCE' "Interpolate Exchange Rates from Scenario Flow |
| EXPORTING | ||
| AKTDATUM | = lv_aktdatum | |
| KONDDAT | = lv_konddat | |
| SEQUENCE | = lv_sequence | |
| WAEHRUNG1 | = lv_waehrung1 | |
| WAEHRUNG2 | = lv_waehrung2 | |
| SZKART_G | = lv_szkart_g | |
| SZKART_B | = lv_szkart_b | |
| GELD_BRIEF | = lv_geld_brief | |
| NOTATION | = lv_notation | |
| IMPORTING | ||
| SPOT | = lv_spot | |
| C_TYPE | = lv_c_type | |
| T_FACT | = lv_t_fact | |
| F_FACT | = lv_f_fact | |
| SPOT_FLT | = lv_spot_flt | |
| EXCEPTIONS | ||
| ERROR_INTERPOLATION = 1 | ||
| NOT_F_SZVERL = 2 | ||
| NOT_F_WAERS = 3 | ||
| NO_INITIALIZATION = 4 | ||
| . " RM_MD_CR_READ_SEQUENCE | ||
ABAP code using 7.40 inline data declarations to call FM RM_MD_CR_READ_SEQUENCE
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 UKURS FROM TCURR INTO @DATA(ld_spot). | ||||
| "SELECT single KURST FROM TCURR INTO @DATA(ld_c_type). | ||||
| "SELECT single TFACT FROM TCURR INTO @DATA(ld_t_fact). | ||||
| "SELECT single SZVERLAUF FROM VTVSZVERL INTO @DATA(ld_sequence). | ||||
| "SELECT single FFACT FROM TCURR INTO @DATA(ld_f_fact). | ||||
| "SELECT single FCURR FROM VTVSZCURR INTO @DATA(ld_waehrung1). | ||||
| "SELECT single TCURR FROM VTVSZCURR INTO @DATA(ld_waehrung2). | ||||
| "SELECT single SZKART FROM JBD14 INTO @DATA(ld_szkart_g). | ||||
| "SELECT single SZKART FROM JBD14 INTO @DATA(ld_szkart_b). | ||||
| "SELECT single BIDOFF FROM VTVMDSCR INTO @DATA(ld_geld_brief). | ||||
| DATA(ld_geld_brief) | = '0'. | |||
| "SELECT single NOTATION FROM TCURN INTO @DATA(ld_notation). | ||||
Search for further information about these or an SAP related objects