SAP FVD_REPAY_OL_GET_CORRESP Function Module for Get Data for Correspondence









FVD_REPAY_OL_GET_CORRESP is a standard fvd repay ol get corresp SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get Data for Correspondence 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 repay ol get corresp FM, simply by entering the name FVD_REPAY_OL_GET_CORRESP into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_REPAY_OL_GET_CORRESP 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_REPAY_OL_GET_CORRESP'"Get Data for Correspondence
EXPORTING
I_STR_KORR = "Correspondence - Correspondence Header

IMPORTING
E_VDARL = "Loan
E_TAB_VZZBEPP_FELD1 = "Table Type for Structure VZZBEPP
E_TAB_VZZBEPP_FELD2 = "Table Type for Structure VZZBEPP
E_TAB_VZZBEPP_KLV = "Table Type for Structure VZZBEPP
E_TAB_VZZBEPP_IOA = "Table Type for Structure VZZBEPP
E_TAB_VZZBEPP_OVERDUE = "Table Type for Structure VZZBEPP
E_TAB_VZZBEPP_CREDIT = "Table Type for Structure VZZBEPP
E_TAB_VZZBEPP_ADD = "Table Type for Structure VZZBEPP
E_TAB_VZZBEPP_OUT = "Table Type for Structure VZZBEPP
E_TAB_VZZBEPP_ACCRUED = "Table Type for Structure VZZBEPP
E_TAB_VZZBEPP_PROJECTED = "Table Type for Structure VZZBEPP
E_RREPAYMENT = "Screen Fields for Payoff
E_DEPERIOD = "Period End Date
E_SUM1 = "Net Payoff Amount
E_SUM2 = "Net Payoff Amount
E_SUM3 = "Net Payoff Amount
E_TAB_VZZBEPP_PROP = "Table Type for Structure VZZBEPP
E_TAB_VZZBEPP_REG = "Table Type for Structure VZZBEPP
E_TAB_VZZBEPP_DEF = "Table Type for Structure VZZBEPP

EXCEPTIONS
NOT_FOUND = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLFVD_REPAY_OL_001 User Exit for Flow Data
EXIT_SAPLFVD_REPAY_OL_002 User Exit for Amounts
EXIT_SAPLFVD_REPAY_OL_003 User Exit: Plausiblity Check for Payoff Data
EXIT_SAPLFVD_REPAY_OL_004 User Exit Flow Type Determination
EXIT_SAPLFVD_REPAY_OL_005 User Exit Transfer of all Relevant Data

IMPORTING Parameters details for FVD_REPAY_OL_GET_CORRESP

I_STR_KORR - Correspondence - Correspondence Header

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

EXPORTING Parameters details for FVD_REPAY_OL_GET_CORRESP

E_VDARL - Loan

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

E_TAB_VZZBEPP_FELD1 - Table Type for Structure VZZBEPP

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

E_TAB_VZZBEPP_FELD2 - Table Type for Structure VZZBEPP

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

E_TAB_VZZBEPP_KLV - Table Type for Structure VZZBEPP

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

E_TAB_VZZBEPP_IOA - Table Type for Structure VZZBEPP

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

E_TAB_VZZBEPP_OVERDUE - Table Type for Structure VZZBEPP

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

E_TAB_VZZBEPP_CREDIT - Table Type for Structure VZZBEPP

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

E_TAB_VZZBEPP_ADD - Table Type for Structure VZZBEPP

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

E_TAB_VZZBEPP_OUT - Table Type for Structure VZZBEPP

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

E_TAB_VZZBEPP_ACCRUED - Table Type for Structure VZZBEPP

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

E_TAB_VZZBEPP_PROJECTED - Table Type for Structure VZZBEPP

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

E_RREPAYMENT - Screen Fields for Payoff

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

E_DEPERIOD - Period End Date

Data type: VZZBEPP-DEPERIOD
Optional: No
Call by Reference: Yes

E_SUM1 - Net Payoff Amount

Data type: RREPAYMENT-BCWHR
Optional: No
Call by Reference: Yes

E_SUM2 - Net Payoff Amount

Data type: RREPAYMENT-BCWHR
Optional: No
Call by Reference: Yes

E_SUM3 - Net Payoff Amount

Data type: RREPAYMENT-BCWHR
Optional: No
Call by Reference: Yes

E_TAB_VZZBEPP_PROP - Table Type for Structure VZZBEPP

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

E_TAB_VZZBEPP_REG - Table Type for Structure VZZBEPP

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

E_TAB_VZZBEPP_DEF - Table Type for Structure VZZBEPP

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

EXCEPTIONS details

NOT_FOUND - No Data Available

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVD_REPAY_OL_GET_CORRESP 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_vdarl  TYPE VDARL, "   
lv_not_found  TYPE VDARL, "   
lv_i_str_korr  TYPE DFKKCOH, "   
lv_e_tab_vzzbepp_feld1  TYPE TRTY_VZZBEPP, "   
lv_e_tab_vzzbepp_feld2  TYPE TRTY_VZZBEPP, "   
lv_e_tab_vzzbepp_klv  TYPE TRTY_VZZBEPP, "   
lv_e_tab_vzzbepp_ioa  TYPE TRTY_VZZBEPP, "   
lv_e_tab_vzzbepp_overdue  TYPE TRTY_VZZBEPP, "   
lv_e_tab_vzzbepp_credit  TYPE TRTY_VZZBEPP, "   
lv_e_tab_vzzbepp_add  TYPE TRTY_VZZBEPP, "   
lv_e_tab_vzzbepp_out  TYPE TRTY_VZZBEPP, "   
lv_e_tab_vzzbepp_accrued  TYPE TRTY_VZZBEPP, "   
lv_e_tab_vzzbepp_projected  TYPE TRTY_VZZBEPP, "   
lv_e_rrepayment  TYPE RREPAYMENT, "   
lv_e_deperiod  TYPE VZZBEPP-DEPERIOD, "   
lv_e_sum1  TYPE RREPAYMENT-BCWHR, "   
lv_e_sum2  TYPE RREPAYMENT-BCWHR, "   
lv_e_sum3  TYPE RREPAYMENT-BCWHR, "   
lv_e_tab_vzzbepp_prop  TYPE TRTY_VZZBEPP, "   
lv_e_tab_vzzbepp_reg  TYPE TRTY_VZZBEPP, "   
lv_e_tab_vzzbepp_def  TYPE TRTY_VZZBEPP. "   

  CALL FUNCTION 'FVD_REPAY_OL_GET_CORRESP'  "Get Data for Correspondence
    EXPORTING
         I_STR_KORR = lv_i_str_korr
    IMPORTING
         E_VDARL = lv_e_vdarl
         E_TAB_VZZBEPP_FELD1 = lv_e_tab_vzzbepp_feld1
         E_TAB_VZZBEPP_FELD2 = lv_e_tab_vzzbepp_feld2
         E_TAB_VZZBEPP_KLV = lv_e_tab_vzzbepp_klv
         E_TAB_VZZBEPP_IOA = lv_e_tab_vzzbepp_ioa
         E_TAB_VZZBEPP_OVERDUE = lv_e_tab_vzzbepp_overdue
         E_TAB_VZZBEPP_CREDIT = lv_e_tab_vzzbepp_credit
         E_TAB_VZZBEPP_ADD = lv_e_tab_vzzbepp_add
         E_TAB_VZZBEPP_OUT = lv_e_tab_vzzbepp_out
         E_TAB_VZZBEPP_ACCRUED = lv_e_tab_vzzbepp_accrued
         E_TAB_VZZBEPP_PROJECTED = lv_e_tab_vzzbepp_projected
         E_RREPAYMENT = lv_e_rrepayment
         E_DEPERIOD = lv_e_deperiod
         E_SUM1 = lv_e_sum1
         E_SUM2 = lv_e_sum2
         E_SUM3 = lv_e_sum3
         E_TAB_VZZBEPP_PROP = lv_e_tab_vzzbepp_prop
         E_TAB_VZZBEPP_REG = lv_e_tab_vzzbepp_reg
         E_TAB_VZZBEPP_DEF = lv_e_tab_vzzbepp_def
    EXCEPTIONS
        NOT_FOUND = 1
. " FVD_REPAY_OL_GET_CORRESP




ABAP code using 7.40 inline data declarations to call FM FVD_REPAY_OL_GET_CORRESP

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 DEPERIOD FROM VZZBEPP INTO @DATA(ld_e_deperiod).
 
"SELECT single BCWHR FROM RREPAYMENT INTO @DATA(ld_e_sum1).
 
"SELECT single BCWHR FROM RREPAYMENT INTO @DATA(ld_e_sum2).
 
"SELECT single BCWHR FROM RREPAYMENT INTO @DATA(ld_e_sum3).
 
 
 
 


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!