SAP RM_MM_REF_YIELD_GET Function Module for Determine Historical Interest Reference Rate









RM_MM_REF_YIELD_GET is a standard rm mm ref yield get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine Historical Interest Reference Rate 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 mm ref yield get FM, simply by entering the name RM_MM_REF_YIELD_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function RM_MM_REF_YIELD_GET 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_MM_REF_YIELD_GET'"Determine Historical Interest Reference Rate
EXPORTING
I_SZSREF = "
I_FIX_DATE = "

IMPORTING
E_PKOND = "

EXCEPTIONS
NO_CALC = 1
.



IMPORTING Parameters details for RM_MM_REF_YIELD_GET

I_SZSREF -

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

I_FIX_DATE -

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

EXPORTING Parameters details for RM_MM_REF_YIELD_GET

E_PKOND -

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

EXCEPTIONS details

NO_CALC -

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

Copy and paste ABAP code example for RM_MM_REF_YIELD_GET 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_e_pkond  TYPE VTVFGCF01-PKOND, "   
lv_no_calc  TYPE VTVFGCF01, "   
lv_i_szsref  TYPE VTVFGCF01-SZSREF, "   
lv_i_fix_date  TYPE VTVFGCF01-DZFEST. "   

  CALL FUNCTION 'RM_MM_REF_YIELD_GET'  "Determine Historical Interest Reference Rate
    EXPORTING
         I_SZSREF = lv_i_szsref
         I_FIX_DATE = lv_i_fix_date
    IMPORTING
         E_PKOND = lv_e_pkond
    EXCEPTIONS
        NO_CALC = 1
. " RM_MM_REF_YIELD_GET




ABAP code using 7.40 inline data declarations to call FM RM_MM_REF_YIELD_GET

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 PKOND FROM VTVFGCF01 INTO @DATA(ld_e_pkond).
 
 
"SELECT single SZSREF FROM VTVFGCF01 INTO @DATA(ld_i_szsref).
 
"SELECT single DZFEST FROM VTVFGCF01 INTO @DATA(ld_i_fix_date).
 


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!