SAP FVD_REPAY_OL_CREATE_TRANSACT Function Module for Generate Flow Record
FVD_REPAY_OL_CREATE_TRANSACT is a standard fvd repay ol create transact SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Generate Flow Record 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 create transact FM, simply by entering the name FVD_REPAY_OL_CREATE_TRANSACT 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_CREATE_TRANSACT 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_CREATE_TRANSACT'"Generate Flow Record.
EXPORTING
I_VDARL = "Loan
I_SINCL = "Inclusive Indicator for Beginning and End of a Period
I_SVULT = "Month-End Indicator for Value Date
I_KUNNR = "Customer Number
I_RPARTNR = "Business Partner Number
I_BVTYP = "Partner Bank Type
I_ZLSCH = "Payment Method
I_SZART = "Payment Transaction
* I_SGTXT = "Item Text
I_NTRANS = "Transaction data key: Consecutive number
I_RBO = "Business operation number (loans)
I_SBEWART = "Flow Type
I_BCWHR = "Settlement Amount
I_SCWHR = "Settlement Currency
* I_KURS = "Exchange Rate from Settlement Currency into Local Currency
* I_BHWHR = "Amount in Local Currency
I_DFAELL = "Due Date
* I_DDISPO = "Payment date / Day of payment
IMPORTING
E_VZZBEPP = "Transaction Data - Planned and Actual Item
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_CREATE_TRANSACT
I_VDARL - Loan
Data type: VDARLOptional: No
Call by Reference: Yes
I_SINCL - Inclusive Indicator for Beginning and End of a Period
Data type: VZZBEPP-SINCLOptional: No
Call by Reference: Yes
I_SVULT - Month-End Indicator for Value Date
Data type: VZZBEPP-SVULTOptional: No
Call by Reference: Yes
I_KUNNR - Customer Number
Data type: VZZBEPP-KUNNROptional: No
Call by Reference: Yes
I_RPARTNR - Business Partner Number
Data type: VZZBEPP-RPARTNROptional: No
Call by Reference: Yes
I_BVTYP - Partner Bank Type
Data type: VZZBEPP-BVTYPOptional: No
Call by Reference: Yes
I_ZLSCH - Payment Method
Data type: VZZBEPP-ZLSCHOptional: No
Call by Reference: Yes
I_SZART - Payment Transaction
Data type: VZZBEPP-SZARTOptional: No
Call by Reference: Yes
I_SGTXT - Item Text
Data type: VZZBEPP-SGTXTOptional: Yes
Call by Reference: Yes
I_NTRANS - Transaction data key: Consecutive number
Data type: VZZBEPP-NTRANSOptional: No
Call by Reference: Yes
I_RBO - Business operation number (loans)
Data type: VDBOHEAD-RBOOptional: No
Call by Reference: Yes
I_SBEWART - Flow Type
Data type: VZZBEPP-SBEWARTOptional: No
Call by Reference: Yes
I_BCWHR - Settlement Amount
Data type: VZZBEPP-BCWHROptional: No
Call by Reference: Yes
I_SCWHR - Settlement Currency
Data type: VZZBEPP-SCWHROptional: No
Call by Reference: Yes
I_KURS - Exchange Rate from Settlement Currency into Local Currency
Data type: VZZBEPP-KURS2Optional: Yes
Call by Reference: Yes
I_BHWHR - Amount in Local Currency
Data type: VZZBEPP-BHWHROptional: Yes
Call by Reference: Yes
I_DFAELL - Due Date
Data type: VZZBEPP-DFAELLOptional: No
Call by Reference: Yes
I_DDISPO - Payment date / Day of payment
Data type: VZZBEPP-DDISPOOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FVD_REPAY_OL_CREATE_TRANSACT
E_VZZBEPP - Transaction Data - Planned and Actual Item
Data type: VZZBEPPOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_REPAY_OL_CREATE_TRANSACT 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_i_vdarl | TYPE VDARL, " | |||
| lv_e_vzzbepp | TYPE VZZBEPP, " | |||
| lv_i_sincl | TYPE VZZBEPP-SINCL, " | |||
| lv_i_svult | TYPE VZZBEPP-SVULT, " | |||
| lv_i_kunnr | TYPE VZZBEPP-KUNNR, " | |||
| lv_i_rpartnr | TYPE VZZBEPP-RPARTNR, " | |||
| lv_i_bvtyp | TYPE VZZBEPP-BVTYP, " | |||
| lv_i_zlsch | TYPE VZZBEPP-ZLSCH, " | |||
| lv_i_szart | TYPE VZZBEPP-SZART, " | |||
| lv_i_sgtxt | TYPE VZZBEPP-SGTXT, " | |||
| lv_i_ntrans | TYPE VZZBEPP-NTRANS, " | |||
| lv_i_rbo | TYPE VDBOHEAD-RBO, " | |||
| lv_i_sbewart | TYPE VZZBEPP-SBEWART, " | |||
| lv_i_bcwhr | TYPE VZZBEPP-BCWHR, " | |||
| lv_i_scwhr | TYPE VZZBEPP-SCWHR, " | |||
| lv_i_kurs | TYPE VZZBEPP-KURS2, " | |||
| lv_i_bhwhr | TYPE VZZBEPP-BHWHR, " | |||
| lv_i_dfaell | TYPE VZZBEPP-DFAELL, " | |||
| lv_i_ddispo | TYPE VZZBEPP-DDISPO. " |
|   CALL FUNCTION 'FVD_REPAY_OL_CREATE_TRANSACT' "Generate Flow Record |
| EXPORTING | ||
| I_VDARL | = lv_i_vdarl | |
| I_SINCL | = lv_i_sincl | |
| I_SVULT | = lv_i_svult | |
| I_KUNNR | = lv_i_kunnr | |
| I_RPARTNR | = lv_i_rpartnr | |
| I_BVTYP | = lv_i_bvtyp | |
| I_ZLSCH | = lv_i_zlsch | |
| I_SZART | = lv_i_szart | |
| I_SGTXT | = lv_i_sgtxt | |
| I_NTRANS | = lv_i_ntrans | |
| I_RBO | = lv_i_rbo | |
| I_SBEWART | = lv_i_sbewart | |
| I_BCWHR | = lv_i_bcwhr | |
| I_SCWHR | = lv_i_scwhr | |
| I_KURS | = lv_i_kurs | |
| I_BHWHR | = lv_i_bhwhr | |
| I_DFAELL | = lv_i_dfaell | |
| I_DDISPO | = lv_i_ddispo | |
| IMPORTING | ||
| E_VZZBEPP | = lv_e_vzzbepp | |
| . " FVD_REPAY_OL_CREATE_TRANSACT | ||
ABAP code using 7.40 inline data declarations to call FM FVD_REPAY_OL_CREATE_TRANSACT
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 SINCL FROM VZZBEPP INTO @DATA(ld_i_sincl). | ||||
| "SELECT single SVULT FROM VZZBEPP INTO @DATA(ld_i_svult). | ||||
| "SELECT single KUNNR FROM VZZBEPP INTO @DATA(ld_i_kunnr). | ||||
| "SELECT single RPARTNR FROM VZZBEPP INTO @DATA(ld_i_rpartnr). | ||||
| "SELECT single BVTYP FROM VZZBEPP INTO @DATA(ld_i_bvtyp). | ||||
| "SELECT single ZLSCH FROM VZZBEPP INTO @DATA(ld_i_zlsch). | ||||
| "SELECT single SZART FROM VZZBEPP INTO @DATA(ld_i_szart). | ||||
| "SELECT single SGTXT FROM VZZBEPP INTO @DATA(ld_i_sgtxt). | ||||
| "SELECT single NTRANS FROM VZZBEPP INTO @DATA(ld_i_ntrans). | ||||
| "SELECT single RBO FROM VDBOHEAD INTO @DATA(ld_i_rbo). | ||||
| "SELECT single SBEWART FROM VZZBEPP INTO @DATA(ld_i_sbewart). | ||||
| "SELECT single BCWHR FROM VZZBEPP INTO @DATA(ld_i_bcwhr). | ||||
| "SELECT single SCWHR FROM VZZBEPP INTO @DATA(ld_i_scwhr). | ||||
| "SELECT single KURS2 FROM VZZBEPP INTO @DATA(ld_i_kurs). | ||||
| "SELECT single BHWHR FROM VZZBEPP INTO @DATA(ld_i_bhwhr). | ||||
| "SELECT single DFAELL FROM VZZBEPP INTO @DATA(ld_i_dfaell). | ||||
| "SELECT single DDISPO FROM VZZBEPP INTO @DATA(ld_i_ddispo). | ||||
Search for further information about these or an SAP related objects