SAP FVD_ACC_API_IOA_GET_RATE Function Module for Determination of Interest Rate for Interest on Arrears (Start)









FVD_ACC_API_IOA_GET_RATE is a standard fvd acc api ioa get rate SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determination of Interest Rate for Interest on Arrears (Start) 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 acc api ioa get rate FM, simply by entering the name FVD_ACC_API_IOA_GET_RATE into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_ACC_API_IOA_GET_RATE 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_ACC_API_IOA_GET_RATE'"Determination of Interest Rate for Interest on Arrears (Start)
EXPORTING
* WF_BUKRS = "Company Code
* WF_WRBTR = "Amount in Document Currency
* WF_CURR = "Currency Key
* WF_DAYS = "
* WF_FDATE = "Date and Time, Current (Application Server) Date
* WF_KONTO = "
* WF_NETDT = "Net Due Date
* WF_TDATE = "Date and Time, Current (Application Server) Date
* WF_VERTNR = "Contract Number
* WF_VZSKZ = "

TABLES
T_ZSTAB = "Delivery Table for Interest Rates

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for FVD_ACC_API_IOA_GET_RATE

WF_BUKRS - Company Code

Data type: T001-BUKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

WF_WRBTR - Amount in Document Currency

Data type: BSEG-WRBTR
Optional: Yes
Call by Reference: No ( called with pass by value option)

WF_CURR - Currency Key

Data type: BKPF-WAERS
Optional: Yes
Call by Reference: No ( called with pass by value option)

WF_DAYS -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

WF_FDATE - Date and Time, Current (Application Server) Date

Data type: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

WF_KONTO -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

WF_NETDT - Net Due Date

Data type: BSEGA-NETDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

WF_TDATE - Date and Time, Current (Application Server) Date

Data type: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

WF_VERTNR - Contract Number

Data type: VDARL-RANL
Optional: Yes
Call by Reference: No ( called with pass by value option)

WF_VZSKZ -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FVD_ACC_API_IOA_GET_RATE

T_ZSTAB - Delivery Table for Interest Rates

Data type: INT_TAB
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NOT_FOUND - Interest rate not found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FVD_ACC_API_IOA_GET_RATE 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:
lt_t_zstab  TYPE STANDARD TABLE OF INT_TAB, "   
lv_wf_bukrs  TYPE T001-BUKRS, "   
lv_not_found  TYPE T001, "   
lv_wf_wrbtr  TYPE BSEG-WRBTR, "   
lv_wf_curr  TYPE BKPF-WAERS, "   
lv_wf_days  TYPE BKPF, "   
lv_wf_fdate  TYPE SY-DATUM, "   
lv_wf_konto  TYPE SY, "   
lv_wf_netdt  TYPE BSEGA-NETDT, "   
lv_wf_tdate  TYPE SY-DATUM, "   
lv_wf_vertnr  TYPE VDARL-RANL, "   
lv_wf_vzskz  TYPE VDARL. "   

  CALL FUNCTION 'FVD_ACC_API_IOA_GET_RATE'  "Determination of Interest Rate for Interest on Arrears (Start)
    EXPORTING
         WF_BUKRS = lv_wf_bukrs
         WF_WRBTR = lv_wf_wrbtr
         WF_CURR = lv_wf_curr
         WF_DAYS = lv_wf_days
         WF_FDATE = lv_wf_fdate
         WF_KONTO = lv_wf_konto
         WF_NETDT = lv_wf_netdt
         WF_TDATE = lv_wf_tdate
         WF_VERTNR = lv_wf_vertnr
         WF_VZSKZ = lv_wf_vzskz
    TABLES
         T_ZSTAB = lt_t_zstab
    EXCEPTIONS
        NOT_FOUND = 1
. " FVD_ACC_API_IOA_GET_RATE




ABAP code using 7.40 inline data declarations to call FM FVD_ACC_API_IOA_GET_RATE

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 BUKRS FROM T001 INTO @DATA(ld_wf_bukrs).
 
 
"SELECT single WRBTR FROM BSEG INTO @DATA(ld_wf_wrbtr).
 
"SELECT single WAERS FROM BKPF INTO @DATA(ld_wf_curr).
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_wf_fdate).
 
 
"SELECT single NETDT FROM BSEGA INTO @DATA(ld_wf_netdt).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_wf_tdate).
 
"SELECT single RANL FROM VDARL INTO @DATA(ld_wf_vertnr).
 
 


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!