SAP RM_RF_CALL_FUNCTION Function Module for Ruft die Funktion zur RF-Wert Bestimmung (mit oder ohne RFC)









RM_RF_CALL_FUNCTION is a standard rm rf call function SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Ruft die Funktion zur RF-Wert Bestimmung (mit oder ohne RFC) 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 rf call function FM, simply by entering the name RM_RF_CALL_FUNCTION into the relevant SAP transaction such as SE37 or SE38.

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



Function RM_RF_CALL_FUNCTION 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_RF_CALL_FUNCTION'"Ruft die Funktion zur RF-Wert Bestimmung (mit oder ohne RFC)
EXPORTING
I_FUNCTION = "RM RFC: Funktionsname für das Risikofaktorlesen
I_DESTINATION = "RM RFC: Destination für das Risikofaktorlesen
I_RFNAME = "Risikofaktorname
I_DATUM = "Datum gültig ab
I_AUSWPARAMETER = "Auswertungsparameter zum Lesen eines Risikofaktors

TABLES
E_VALUE = "Risikofaktor: Rückgabewerte für einen Risikofaktor

EXCEPTIONS
NO_INFO_FOUND = 1 NO_VALUE_FOUND = 2 RFC_PROBLEMS = 3
.



IMPORTING Parameters details for RM_RF_CALL_FUNCTION

I_FUNCTION - RM RFC: Funktionsname für das Risikofaktorlesen

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

I_DESTINATION - RM RFC: Destination für das Risikofaktorlesen

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

I_RFNAME - Risikofaktorname

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

I_DATUM - Datum gültig ab

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

I_AUSWPARAMETER - Auswertungsparameter zum Lesen eines Risikofaktors

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

TABLES Parameters details for RM_RF_CALL_FUNCTION

E_VALUE - Risikofaktor: Rückgabewerte für einen Risikofaktor

Data type: TVRF_VALUES
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_INFO_FOUND -

Data type:
Optional: No
Call by Reference: Yes

NO_VALUE_FOUND -

Data type:
Optional: No
Call by Reference: Yes

RFC_PROBLEMS -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RM_RF_CALL_FUNCTION 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:
lt_e_value  TYPE STANDARD TABLE OF TVRF_VALUES, "   
lv_i_function  TYPE ATRFART-FUNCTION, "   
lv_no_info_found  TYPE ATRFART, "   
lv_i_destination  TYPE ATRFART-DESTINATION, "   
lv_no_value_found  TYPE ATRFART, "   
lv_i_rfname  TYPE ATRF-RFNAME, "   
lv_rfc_problems  TYPE ATRF, "   
lv_i_datum  TYPE ATXKO-DATAB, "   
lv_i_auswparameter  TYPE TVRF_AUSWPARA. "   

  CALL FUNCTION 'RM_RF_CALL_FUNCTION'  "Ruft die Funktion zur RF-Wert Bestimmung (mit oder ohne RFC)
    EXPORTING
         I_FUNCTION = lv_i_function
         I_DESTINATION = lv_i_destination
         I_RFNAME = lv_i_rfname
         I_DATUM = lv_i_datum
         I_AUSWPARAMETER = lv_i_auswparameter
    TABLES
         E_VALUE = lt_e_value
    EXCEPTIONS
        NO_INFO_FOUND = 1
        NO_VALUE_FOUND = 2
        RFC_PROBLEMS = 3
. " RM_RF_CALL_FUNCTION




ABAP code using 7.40 inline data declarations to call FM RM_RF_CALL_FUNCTION

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 FUNCTION FROM ATRFART INTO @DATA(ld_i_function).
 
 
"SELECT single DESTINATION FROM ATRFART INTO @DATA(ld_i_destination).
 
 
"SELECT single RFNAME FROM ATRF INTO @DATA(ld_i_rfname).
 
 
"SELECT single DATAB FROM ATXKO INTO @DATA(ld_i_datum).
 
 


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!