FVD_IOA_DB_READ_CUST is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FVD_IOA_DB_READ_CUST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FVD_IOA_DB
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FVD_IOA_DB_READ_CUST' "Read Customizing for Interest on Arrears Caclulation from DB / Memory
* EXPORTING
* i_bukrs = " t001-bukrs Company Code
* i_gsart = " vdarl-gsart Product Type
* i_scheme_id = " tdioa_scheme_def-scheme_id Verzugszinsberechnungsschema-ID
* i_bewart_gruppe = " tdbo_balance-bewart_gruppe Flow Type Grouping
* i_swhr = " tdioa_triv_amt-swhr Currency
* i_sbo_cat = " vdbohead-sbo_cat Geschäftsvorfalltyp
* i_tab_scheme_bal = " trty_tdioa_scheme_bal Table Type for Table TDIOA_SCHEME_BAL
* i_loghandle = " balloghndl Application Log: Log Handle
* i_spras = " tdioa_schemet-spras VZ-Berechnung: Texttabelle zu Schemadefinition
* i_sloanfunc = " vvsloanfunc Application Subfunction
* i_str_bewart_gruppe = " tb_ioa_flow_type_grouping Flow Type Grouping
* CHANGING
* c_tab_scheme_bal = " trty_tdioa_scheme_bal Table Type for Table TDIOA_SCHEME_BAL
* c_tab_ft_balance = " trty_tdioa_ft_balance Table Type for Table TDIOA_FT_BALANCE
* c_tab_bal_cond = " trty_tdioa_bal_cond Table Type for Table TDIOA_BAL_COND
* c_str_scheme_def = " tdioa_scheme_def VZ-Berechnung: Schemadefinition
* c_str_triv_amt = " tdioa_triv_amt VZ-Berechnung: Bagatellbetrag pro Währung und Schema
* c_str_ioa_bo = " tdioa_bo VZ-Berechnung: VZ aktiv im GV
* c_str_schemet = " tdioa_schemet VZ-Berechnung: Texttabelle zu Schemadefinition
* c_str_balancet = " tdbo_balancet Text Table for Flow Grouping to Calculate Interest on Arrears
* c_tab_gsteer = " trty_tdioa_gsteer Table Type for Table TDIOA_GSTEER
* c_tab_nopostcalc = " trty_tdioa_nopostcalc Table Type for Table TDIOA_NOPOSTCALC
* c_tab_tzk01 = " trty_tzk01 Table Type for Table TZK01
* c_str_scheme_tpl = " tdioa_schm_tpl Default Calculation Profile for New Loan
* c_str_ioa_bo_mgl = " tdioa_bo_mgl Interest on Arrears Active in BO for Mortgage/General Loans
EXCEPTIONS
NOT_FOUND = 1 " Einträge zu Customizingtabelle nicht gefunden
MISSING_PARAM = 2 " Transfer parameters missing
. " FVD_IOA_DB_READ_CUST
The ABAP code below is a full code listing to execute function module FVD_IOA_DB_READ_CUST including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
DATA(ld_c_tab_scheme_bal) = 'Check type of data required'.
DATA(ld_c_tab_ft_balance) = 'Check type of data required'.
DATA(ld_c_tab_bal_cond) = 'Check type of data required'.
DATA(ld_c_str_scheme_def) = 'Check type of data required'.
DATA(ld_c_str_triv_amt) = 'Check type of data required'.
DATA(ld_c_str_ioa_bo) = 'Check type of data required'.
DATA(ld_c_str_schemet) = 'Check type of data required'.
DATA(ld_c_str_balancet) = 'Check type of data required'.
DATA(ld_c_tab_gsteer) = 'Check type of data required'.
DATA(ld_c_tab_nopostcalc) = 'Check type of data required'.
DATA(ld_c_tab_tzk01) = 'Check type of data required'.
DATA(ld_c_str_scheme_tpl) = 'Check type of data required'.
DATA(ld_c_str_ioa_bo_mgl) = 'Check type of data required'.
SELECT single BUKRS
FROM T001
INTO @DATA(ld_i_bukrs).
SELECT single GSART
FROM VDARL
INTO @DATA(ld_i_gsart).
SELECT single SCHEME_ID
FROM TDIOA_SCHEME_DEF
INTO @DATA(ld_i_scheme_id).
SELECT single BEWART_GRUPPE
FROM TDBO_BALANCE
INTO @DATA(ld_i_bewart_gruppe).
SELECT single SWHR
FROM TDIOA_TRIV_AMT
INTO @DATA(ld_i_swhr).
SELECT single SBO_CAT
FROM VDBOHEAD
INTO @DATA(ld_i_sbo_cat).
DATA(ld_i_tab_scheme_bal) = 'Check type of data required'.
DATA(ld_i_loghandle) = 'Check type of data required'.
SELECT single SPRAS
FROM TDIOA_SCHEMET
INTO @DATA(ld_i_spras).
DATA(ld_i_sloanfunc) = 'Check type of data required'.
DATA(ld_i_str_bewart_gruppe) = 'Check type of data required'. . CALL FUNCTION 'FVD_IOA_DB_READ_CUST' * EXPORTING * i_bukrs = ld_i_bukrs * i_gsart = ld_i_gsart * i_scheme_id = ld_i_scheme_id * i_bewart_gruppe = ld_i_bewart_gruppe * i_swhr = ld_i_swhr * i_sbo_cat = ld_i_sbo_cat * i_tab_scheme_bal = ld_i_tab_scheme_bal * i_loghandle = ld_i_loghandle * i_spras = ld_i_spras * i_sloanfunc = ld_i_sloanfunc * i_str_bewart_gruppe = ld_i_str_bewart_gruppe * CHANGING * c_tab_scheme_bal = ld_c_tab_scheme_bal * c_tab_ft_balance = ld_c_tab_ft_balance * c_tab_bal_cond = ld_c_tab_bal_cond * c_str_scheme_def = ld_c_str_scheme_def * c_str_triv_amt = ld_c_str_triv_amt * c_str_ioa_bo = ld_c_str_ioa_bo * c_str_schemet = ld_c_str_schemet * c_str_balancet = ld_c_str_balancet * c_tab_gsteer = ld_c_tab_gsteer * c_tab_nopostcalc = ld_c_tab_nopostcalc * c_tab_tzk01 = ld_c_tab_tzk01 * c_str_scheme_tpl = ld_c_str_scheme_tpl * c_str_ioa_bo_mgl = ld_c_str_ioa_bo_mgl EXCEPTIONS NOT_FOUND = 1 MISSING_PARAM = 2 . " FVD_IOA_DB_READ_CUST
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ENDIF.
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_c_tab_scheme_bal | TYPE TRTY_TDIOA_SCHEME_BAL , |
| ld_i_bukrs | TYPE T001-BUKRS , |
| ld_i_gsart | TYPE VDARL-GSART , |
| ld_c_tab_ft_balance | TYPE TRTY_TDIOA_FT_BALANCE , |
| ld_c_tab_bal_cond | TYPE TRTY_TDIOA_BAL_COND , |
| ld_i_scheme_id | TYPE TDIOA_SCHEME_DEF-SCHEME_ID , |
| ld_c_str_scheme_def | TYPE TDIOA_SCHEME_DEF , |
| ld_i_bewart_gruppe | TYPE TDBO_BALANCE-BEWART_GRUPPE , |
| ld_c_str_triv_amt | TYPE TDIOA_TRIV_AMT , |
| ld_i_swhr | TYPE TDIOA_TRIV_AMT-SWHR , |
| ld_c_str_ioa_bo | TYPE TDIOA_BO , |
| ld_i_sbo_cat | TYPE VDBOHEAD-SBO_CAT , |
| ld_c_str_schemet | TYPE TDIOA_SCHEMET , |
| ld_i_tab_scheme_bal | TYPE TRTY_TDIOA_SCHEME_BAL , |
| ld_c_str_balancet | TYPE TDBO_BALANCET , |
| ld_i_loghandle | TYPE BALLOGHNDL , |
| ld_c_tab_gsteer | TYPE TRTY_TDIOA_GSTEER , |
| ld_i_spras | TYPE TDIOA_SCHEMET-SPRAS , |
| ld_c_tab_nopostcalc | TYPE TRTY_TDIOA_NOPOSTCALC , |
| ld_i_sloanfunc | TYPE VVSLOANFUNC , |
| ld_c_tab_tzk01 | TYPE TRTY_TZK01 , |
| ld_i_str_bewart_gruppe | TYPE TB_IOA_FLOW_TYPE_GROUPING , |
| ld_c_str_scheme_tpl | TYPE TDIOA_SCHM_TPL , |
| ld_c_str_ioa_bo_mgl | TYPE TDIOA_BO_MGL . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FVD_IOA_DB_READ_CUST or its description.
FVD_IOA_DB_READ_CUST - Read Customizing for Interest on Arrears Caclulation from DB / Memory FVD_IOA_DB_READ_CONDTABL - Read Condition Table from Database / Memory FVD_IOA_DB_READ_CALC - Read Calculation Details from DB FVD_IOA_DB_READ_BEWART_TEXT - Read Texts for Flow Type FVD_IOA_API_SHOW_CALC_DET - API: Displays Calcaulation Details of Int. on Arrears Calc. in Dialog FVD_IOA_API_SHOW_CALC_CF - API: Display Original Documents of Interest on Arrears Calc. in Dialog