SAP FVD_API_EXP_EXPORT_LOAN_RFC Function Module for API: Read Loan Data and ALE Export (per RFC)
FVD_API_EXP_EXPORT_LOAN_RFC is a standard fvd api exp export loan 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 API: Read Loan Data and ALE Export (per 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 fvd api exp export loan rfc FM, simply by entering the name FVD_API_EXP_EXPORT_LOAN_RFC into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_API_EXP_GET
Program Name: SAPLFVD_API_EXP_GET
Main Program: SAPLFVD_API_EXP_GET
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FVD_API_EXP_EXPORT_LOAN_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_API_EXP_EXPORT_LOAN_RFC'"API: Read Loan Data and ALE Export (per RFC).
EXPORTING
I_DATE_FROM = "From Date
I_DATA_REQUESTED = "Control Scope of Data Selection for Loan
* I_CALCULATION_DATE = ' ' "Key Date of Capital Calculation
* I_PROCESSEXTENSION = 'X' "Execute Customer Enhancements
I_EXTENSIONS_REQUESTED = "Control Execution of Various Customer Enhancements
* I_FLG_ALE_EXPORT = ' ' "Export per ALE: ' ' = Testlauf
* I_ALE_EXP_BLOCKSIZE = 100 "Block Size for ALE Export
* I_LOG_HANDLE = "
* I_FLG_LOG_SAVE = ' ' "
* I_FLG_DETAIL_LOG = ' ' "
I_TIME_FROM = "Time From
I_DATE_TO = "To Date
I_TIME_TO = "Time To
I_TAB_VDARL_KEY = "Loan Key
* I_ALE_EXP_GROUP = '99' "ALE Processing Group
* I_FLG_NOT_PROCESSED = 'X' "Nicht verarbeitete Änderungszeiger berücksichtigen
* I_FLG_PROCESSED = "Verarbeitete Änderungszeiger berücksichtigen
* I_FLG_ERROR = "Fehlerhaft verarbeitete Änderungszeiger berücksichtigen
IMPORTING
E_TAB_MESSAGES = "Application Log: Table with Messages
IMPORTING Parameters details for FVD_API_EXP_EXPORT_LOAN_RFC
I_DATE_FROM - From Date
Data type: DATSOptional: No
Call by Reference: No ( called with pass by value option)
I_DATA_REQUESTED - Control Scope of Data Selection for Loan
Data type: FVDEXP_DATA_REQUESTEDOptional: No
Call by Reference: No ( called with pass by value option)
I_CALCULATION_DATE - Key Date of Capital Calculation
Data type: BAPIFVDEXP_ALE-DATEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PROCESSEXTENSION - Execute Customer Enhancements
Data type: BAPIFVDEXP_ALE-BOOLEANDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_EXTENSIONS_REQUESTED - Control Execution of Various Customer Enhancements
Data type: FVDEXP_EXTENSIONS_REQUESTEDOptional: No
Call by Reference: No ( called with pass by value option)
I_FLG_ALE_EXPORT - Export per ALE: ' ' = Testlauf
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ALE_EXP_BLOCKSIZE - Block Size for ALE Export
Data type: TB_ALE_EXP_BLOCKSIZEDefault: 100
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LOG_HANDLE -
Data type: BALLOGHNDLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_LOG_SAVE -
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_DETAIL_LOG -
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TIME_FROM - Time From
Data type: TIMSOptional: No
Call by Reference: No ( called with pass by value option)
I_DATE_TO - To Date
Data type: DATSOptional: No
Call by Reference: No ( called with pass by value option)
I_TIME_TO - Time To
Data type: TIMSOptional: No
Call by Reference: No ( called with pass by value option)
I_TAB_VDARL_KEY - Loan Key
Data type: TRTY_VDARL_KEYOptional: No
Call by Reference: No ( called with pass by value option)
I_ALE_EXP_GROUP - ALE Processing Group
Data type: TB_ALE_EXP_GROUPDefault: '99'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_NOT_PROCESSED - Nicht verarbeitete Änderungszeiger berücksichtigen
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_PROCESSED - Verarbeitete Änderungszeiger berücksichtigen
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_ERROR - Fehlerhaft verarbeitete Änderungszeiger berücksichtigen
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FVD_API_EXP_EXPORT_LOAN_RFC
E_TAB_MESSAGES - Application Log: Table with Messages
Data type: BAL_T_MSGOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FVD_API_EXP_EXPORT_LOAN_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_i_date_from | TYPE DATS, " | |||
| lv_e_tab_messages | TYPE BAL_T_MSG, " | |||
| lv_i_data_requested | TYPE FVDEXP_DATA_REQUESTED, " | |||
| lv_i_calculation_date | TYPE BAPIFVDEXP_ALE-DATE, " SPACE | |||
| lv_i_processextension | TYPE BAPIFVDEXP_ALE-BOOLEAN, " 'X' | |||
| lv_i_extensions_requested | TYPE FVDEXP_EXTENSIONS_REQUESTED, " | |||
| lv_i_flg_ale_export | TYPE FLAG, " SPACE | |||
| lv_i_ale_exp_blocksize | TYPE TB_ALE_EXP_BLOCKSIZE, " 100 | |||
| lv_i_log_handle | TYPE BALLOGHNDL, " | |||
| lv_i_flg_log_save | TYPE FLAG, " SPACE | |||
| lv_i_flg_detail_log | TYPE FLAG, " SPACE | |||
| lv_i_time_from | TYPE TIMS, " | |||
| lv_i_date_to | TYPE DATS, " | |||
| lv_i_time_to | TYPE TIMS, " | |||
| lv_i_tab_vdarl_key | TYPE TRTY_VDARL_KEY, " | |||
| lv_i_ale_exp_group | TYPE TB_ALE_EXP_GROUP, " '99' | |||
| lv_i_flg_not_processed | TYPE FLAG, " 'X' | |||
| lv_i_flg_processed | TYPE FLAG, " | |||
| lv_i_flg_error | TYPE FLAG. " |
|   CALL FUNCTION 'FVD_API_EXP_EXPORT_LOAN_RFC' "API: Read Loan Data and ALE Export (per RFC) |
| EXPORTING | ||
| I_DATE_FROM | = lv_i_date_from | |
| I_DATA_REQUESTED | = lv_i_data_requested | |
| I_CALCULATION_DATE | = lv_i_calculation_date | |
| I_PROCESSEXTENSION | = lv_i_processextension | |
| I_EXTENSIONS_REQUESTED | = lv_i_extensions_requested | |
| I_FLG_ALE_EXPORT | = lv_i_flg_ale_export | |
| I_ALE_EXP_BLOCKSIZE | = lv_i_ale_exp_blocksize | |
| I_LOG_HANDLE | = lv_i_log_handle | |
| I_FLG_LOG_SAVE | = lv_i_flg_log_save | |
| I_FLG_DETAIL_LOG | = lv_i_flg_detail_log | |
| I_TIME_FROM | = lv_i_time_from | |
| I_DATE_TO | = lv_i_date_to | |
| I_TIME_TO | = lv_i_time_to | |
| I_TAB_VDARL_KEY | = lv_i_tab_vdarl_key | |
| I_ALE_EXP_GROUP | = lv_i_ale_exp_group | |
| I_FLG_NOT_PROCESSED | = lv_i_flg_not_processed | |
| I_FLG_PROCESSED | = lv_i_flg_processed | |
| I_FLG_ERROR | = lv_i_flg_error | |
| IMPORTING | ||
| E_TAB_MESSAGES | = lv_e_tab_messages | |
| . " FVD_API_EXP_EXPORT_LOAN_RFC | ||
ABAP code using 7.40 inline data declarations to call FM FVD_API_EXP_EXPORT_LOAN_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.| "SELECT single DATE FROM BAPIFVDEXP_ALE INTO @DATA(ld_i_calculation_date). | ||||
| DATA(ld_i_calculation_date) | = ' '. | |||
| "SELECT single BOOLEAN FROM BAPIFVDEXP_ALE INTO @DATA(ld_i_processextension). | ||||
| DATA(ld_i_processextension) | = 'X'. | |||
| DATA(ld_i_flg_ale_export) | = ' '. | |||
| DATA(ld_i_ale_exp_blocksize) | = 100. | |||
| DATA(ld_i_flg_log_save) | = ' '. | |||
| DATA(ld_i_flg_detail_log) | = ' '. | |||
| DATA(ld_i_ale_exp_group) | = '99'. | |||
| DATA(ld_i_flg_not_processed) | = 'X'. | |||
Search for further information about these or an SAP related objects