SAP FVD_IOA_API_SAVE Function Module for API: Save, Delete, Reverse, and Activate Interest on Arrears Calculations
FVD_IOA_API_SAVE is a standard fvd ioa api save 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: Save, Delete, Reverse, and Activate Interest on Arrears Calculations 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 ioa api save FM, simply by entering the name FVD_IOA_API_SAVE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_IOA_API_BO
Program Name: SAPLFVD_IOA_API_BO
Main Program: SAPLFVD_IOA_API_BO
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVD_IOA_API_SAVE 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_IOA_API_SAVE'"API: Save, Delete, Reverse, and Activate Interest on Arrears Calculations.
EXPORTING
I_RBO = "Business operation number (loans)
I_STR_VDARL = "Loan
I_STATUS_NEW = "Loans: Business operation status
I_STATUS_OLD = "Loans: Business operation status
I_TAB_VDBEKI = "Table Type for Table VDBEKI
I_TAB_VDBEPI = "Table Type for Table VDBEPI
I_RNG_IOA_SBEWZITI = "Range for SBEWZITI
I_KEYDATE = "Key Date of Interest on Arrears Calculation
* I_LOGHANDLE = "Application Log: Log Handle
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for FVD_IOA_API_SAVE
I_RBO - Business operation number (loans)
Data type: RBOOptional: No
Call by Reference: Yes
I_STR_VDARL - Loan
Data type: VDARLOptional: No
Call by Reference: Yes
I_STATUS_NEW - Loans: Business operation status
Data type: SBO_STATUSOptional: No
Call by Reference: Yes
I_STATUS_OLD - Loans: Business operation status
Data type: SBO_STATUSOptional: No
Call by Reference: Yes
I_TAB_VDBEKI - Table Type for Table VDBEKI
Data type: TRTY_VDBEKIOptional: No
Call by Reference: Yes
I_TAB_VDBEPI - Table Type for Table VDBEPI
Data type: TRTY_VDBEPIOptional: No
Call by Reference: Yes
I_RNG_IOA_SBEWZITI - Range for SBEWZITI
Data type: TRAR_SBEWZITIOptional: No
Call by Reference: Yes
I_KEYDATE - Key Date of Interest on Arrears Calculation
Data type: SY-DATUMOptional: No
Call by Reference: Yes
I_LOGHANDLE - Application Log: Log Handle
Data type: BALLOGHNDLOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
ERROR - Error Occurred
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_IOA_API_SAVE 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_rbo | TYPE RBO, " | |||
| lv_i_str_vdarl | TYPE VDARL, " | |||
| lv_i_status_new | TYPE SBO_STATUS, " | |||
| lv_i_status_old | TYPE SBO_STATUS, " | |||
| lv_i_tab_vdbeki | TYPE TRTY_VDBEKI, " | |||
| lv_i_tab_vdbepi | TYPE TRTY_VDBEPI, " | |||
| lv_i_rng_ioa_sbewziti | TYPE TRAR_SBEWZITI, " | |||
| lv_i_keydate | TYPE SY-DATUM, " | |||
| lv_i_loghandle | TYPE BALLOGHNDL. " |
|   CALL FUNCTION 'FVD_IOA_API_SAVE' "API: Save, Delete, Reverse, and Activate Interest on Arrears Calculations |
| EXPORTING | ||
| I_RBO | = lv_i_rbo | |
| I_STR_VDARL | = lv_i_str_vdarl | |
| I_STATUS_NEW | = lv_i_status_new | |
| I_STATUS_OLD | = lv_i_status_old | |
| I_TAB_VDBEKI | = lv_i_tab_vdbeki | |
| I_TAB_VDBEPI | = lv_i_tab_vdbepi | |
| I_RNG_IOA_SBEWZITI | = lv_i_rng_ioa_sbewziti | |
| I_KEYDATE | = lv_i_keydate | |
| I_LOGHANDLE | = lv_i_loghandle | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " FVD_IOA_API_SAVE | ||
ABAP code using 7.40 inline data declarations to call FM FVD_IOA_API_SAVE
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 DATUM FROM SY INTO @DATA(ld_i_keydate). | ||||
Search for further information about these or an SAP related objects