SAP FVD_MAP_LC_COMPUTE_RFC Function Module for Determine and Compare Processing Characteristics for Multiple Loans
FVD_MAP_LC_COMPUTE_RFC is a standard fvd map lc compute rfc 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 and Compare Processing Characteristics for Multiple Loans 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 fvd map lc compute rfc FM, simply by entering the name FVD_MAP_LC_COMPUTE_RFC into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_MAP_LC_APPLICATION
Program Name: SAPLFVD_MAP_LC_APPLICATION
Main Program: SAPLFVD_MAP_LC_APPLICATION
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FVD_MAP_LC_COMPUTE_RFC 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 'FVD_MAP_LC_COMPUTE_RFC'"Determine and Compare Processing Characteristics for Multiple Loans.
EXPORTING
I_TAB_VDARL_KEY = "Table Type for Key VDARL
I_MODE = "'V' = Vergleichen, 'C' = Berechnen
* I_FLG_ONLY_OFFLINE = ' ' "'X' = Nur unbestimmte Merkmale ermitteln
* I_COMMIT = ' ' "Speichern auf DB: ' ' = Kein Commit, 'C' = COMMIT, 'W' = COMMIT and WAIT
* I_CNT_BLOCKSIZE = 20 "Blockgröße für die Verarbeitung der Darlehen, 0 = Alle Darlehen in einem Block
* I_FLG_EXPORT_RESULTS = 'X' "'X' = Füllen der Exportparameter (für Protokoll, usw), ' ' = Leere Exportparam.
* I_FLG_ONLY_LOAN_CHANGE = 'X' "'X' = Nur Darlehen mit Abweichung ausgeben
* I_FLG_ONLY_CHARAC_CHANGE = 'X' "Im Modus 'V': 'X' = Nur Merkmale mit Abweichung ausgeben
IMPORTING
E_TAS_VDARL_KEY_COMMIT = "Sorted Table Type for the Key VDARL
E_TAS_VDARL_KEY_ERROR = "Sorted Table Type for the Key VDARL
E_TAB_BAPIRET2 = "Table with BAPI Return Information
E_TAS_VDARL = "Sorted Table Type for Table VDARL
E_TAS_LC_COMPARE = "Sorted Table Type for Table RLC_COMPARE
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for FVD_MAP_LC_COMPUTE_RFC
I_TAB_VDARL_KEY - Table Type for Key VDARL
Data type: TRTY_VDARL_KEYOptional: No
Call by Reference: No ( called with pass by value option)
I_MODE - 'V' = Vergleichen, 'C' = Berechnen
Data type: FLAGOptional: No
Call by Reference: No ( called with pass by value option)
I_FLG_ONLY_OFFLINE - 'X' = Nur unbestimmte Merkmale ermitteln
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_COMMIT - Speichern auf DB: ' ' = Kein Commit, 'C' = COMMIT, 'W' = COMMIT and WAIT
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CNT_BLOCKSIZE - Blockgröße für die Verarbeitung der Darlehen, 0 = Alle Darlehen in einem Block
Data type: IDefault: 20
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_EXPORT_RESULTS - 'X' = Füllen der Exportparameter (für Protokoll, usw), ' ' = Leere Exportparam.
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_ONLY_LOAN_CHANGE - 'X' = Nur Darlehen mit Abweichung ausgeben
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_ONLY_CHARAC_CHANGE - Im Modus 'V': 'X' = Nur Merkmale mit Abweichung ausgeben
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FVD_MAP_LC_COMPUTE_RFC
E_TAS_VDARL_KEY_COMMIT - Sorted Table Type for the Key VDARL
Data type: TRTY_S_VDARL_KEYOptional: No
Call by Reference: No ( called with pass by value option)
E_TAS_VDARL_KEY_ERROR - Sorted Table Type for the Key VDARL
Data type: TRTY_S_VDARL_KEYOptional: No
Call by Reference: No ( called with pass by value option)
E_TAB_BAPIRET2 - Table with BAPI Return Information
Data type: BAPIRETTABOptional: No
Call by Reference: No ( called with pass by value option)
E_TAS_VDARL - Sorted Table Type for Table VDARL
Data type: TRTY_S_VDARLOptional: No
Call by Reference: No ( called with pass by value option)
E_TAS_LC_COMPARE - Sorted Table Type for Table RLC_COMPARE
Data type: TRTY_S_RLC_COMPAREOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FVD_MAP_LC_COMPUTE_RFC 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_error | TYPE STRING, " | |||
| lv_i_tab_vdarl_key | TYPE TRTY_VDARL_KEY, " | |||
| lv_e_tas_vdarl_key_commit | TYPE TRTY_S_VDARL_KEY, " | |||
| lv_i_mode | TYPE FLAG, " | |||
| lv_e_tas_vdarl_key_error | TYPE TRTY_S_VDARL_KEY, " | |||
| lv_e_tab_bapiret2 | TYPE BAPIRETTAB, " | |||
| lv_i_flg_only_offline | TYPE FLAG, " SPACE | |||
| lv_i_commit | TYPE FLAG, " SPACE | |||
| lv_e_tas_vdarl | TYPE TRTY_S_VDARL, " | |||
| lv_i_cnt_blocksize | TYPE I, " 20 | |||
| lv_e_tas_lc_compare | TYPE TRTY_S_RLC_COMPARE, " | |||
| lv_i_flg_export_results | TYPE FLAG, " 'X' | |||
| lv_i_flg_only_loan_change | TYPE FLAG, " 'X' | |||
| lv_i_flg_only_charac_change | TYPE FLAG. " 'X' |
|   CALL FUNCTION 'FVD_MAP_LC_COMPUTE_RFC' "Determine and Compare Processing Characteristics for Multiple Loans |
| EXPORTING | ||
| I_TAB_VDARL_KEY | = lv_i_tab_vdarl_key | |
| I_MODE | = lv_i_mode | |
| I_FLG_ONLY_OFFLINE | = lv_i_flg_only_offline | |
| I_COMMIT | = lv_i_commit | |
| I_CNT_BLOCKSIZE | = lv_i_cnt_blocksize | |
| I_FLG_EXPORT_RESULTS | = lv_i_flg_export_results | |
| I_FLG_ONLY_LOAN_CHANGE | = lv_i_flg_only_loan_change | |
| I_FLG_ONLY_CHARAC_CHANGE | = lv_i_flg_only_charac_change | |
| IMPORTING | ||
| E_TAS_VDARL_KEY_COMMIT | = lv_e_tas_vdarl_key_commit | |
| E_TAS_VDARL_KEY_ERROR | = lv_e_tas_vdarl_key_error | |
| E_TAB_BAPIRET2 | = lv_e_tab_bapiret2 | |
| E_TAS_VDARL | = lv_e_tas_vdarl | |
| E_TAS_LC_COMPARE | = lv_e_tas_lc_compare | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " FVD_MAP_LC_COMPUTE_RFC | ||
ABAP code using 7.40 inline data declarations to call FM FVD_MAP_LC_COMPUTE_RFC
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.| DATA(ld_i_flg_only_offline) | = ' '. | |||
| DATA(ld_i_commit) | = ' '. | |||
| DATA(ld_i_cnt_blocksize) | = 20. | |||
| DATA(ld_i_flg_export_results) | = 'X'. | |||
| DATA(ld_i_flg_only_loan_change) | = 'X'. | |||
| DATA(ld_i_flg_only_charac_change) | = 'X'. | |||
Search for further information about these or an SAP related objects