SAP Function Modules

FI_INTITIT_READ SAP Function module







FI_INTITIT_READ 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 FI_INTITIT_READ into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FI_INT
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM FI_INTITIT_READ - FI INTITIT READ





CALL FUNCTION 'FI_INTITIT_READ' "
* EXPORTING
*   ib_read_account_to =        " xfeld
  TABLES
    ir_koart =                  " fint_tr_koart
    ir_bukrs =                  " fint_tr_bukrs
    ir_account =                " fint_tr_account
*   ir_array =                  " fint_tr_array
*   ir_curr =                   " fint_tr_curr
*   ir_int_until =              " fint_tr_int_until
*   ir_belnr =                  " fint_tr_belnr
*   ir_gjahr =                  " fint_tr_gjahr
*   ir_ibelnr =                 " fint_tr_belnr
*   ir_igjahr =                 " fint_tr_gjahr
*   ir_usnam =                  " fint_tr_usnam
    et_intitit =                " intitit       FI Item Interest Calculation: Details
  EXCEPTIONS
    NOT_FOUND = 1               "               Entry not found
    .  "  FI_INTITIT_READ

ABAP code example for Function Module FI_INTITIT_READ





The ABAP code below is a full code listing to execute function module FI_INTITIT_READ 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:
it_ir_koart  TYPE STANDARD TABLE OF FINT_TR_KOART,"TABLES PARAM
wa_ir_koart  LIKE LINE OF it_ir_koart ,
it_ir_bukrs  TYPE STANDARD TABLE OF FINT_TR_BUKRS,"TABLES PARAM
wa_ir_bukrs  LIKE LINE OF it_ir_bukrs ,
it_ir_account  TYPE STANDARD TABLE OF FINT_TR_ACCOUNT,"TABLES PARAM
wa_ir_account  LIKE LINE OF it_ir_account ,
it_ir_array  TYPE STANDARD TABLE OF FINT_TR_ARRAY,"TABLES PARAM
wa_ir_array  LIKE LINE OF it_ir_array ,
it_ir_curr  TYPE STANDARD TABLE OF FINT_TR_CURR,"TABLES PARAM
wa_ir_curr  LIKE LINE OF it_ir_curr ,
it_ir_int_until  TYPE STANDARD TABLE OF FINT_TR_INT_UNTIL,"TABLES PARAM
wa_ir_int_until  LIKE LINE OF it_ir_int_until ,
it_ir_belnr  TYPE STANDARD TABLE OF FINT_TR_BELNR,"TABLES PARAM
wa_ir_belnr  LIKE LINE OF it_ir_belnr ,
it_ir_gjahr  TYPE STANDARD TABLE OF FINT_TR_GJAHR,"TABLES PARAM
wa_ir_gjahr  LIKE LINE OF it_ir_gjahr ,
it_ir_ibelnr  TYPE STANDARD TABLE OF FINT_TR_BELNR,"TABLES PARAM
wa_ir_ibelnr  LIKE LINE OF it_ir_ibelnr ,
it_ir_igjahr  TYPE STANDARD TABLE OF FINT_TR_GJAHR,"TABLES PARAM
wa_ir_igjahr  LIKE LINE OF it_ir_igjahr ,
it_ir_usnam  TYPE STANDARD TABLE OF FINT_TR_USNAM,"TABLES PARAM
wa_ir_usnam  LIKE LINE OF it_ir_usnam ,
it_et_intitit  TYPE STANDARD TABLE OF INTITIT,"TABLES PARAM
wa_et_intitit  LIKE LINE OF it_et_intitit .

DATA(ld_ib_read_account_to) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_ir_koart to it_ir_koart.

"populate fields of struture and append to itab
append wa_ir_bukrs to it_ir_bukrs.

"populate fields of struture and append to itab
append wa_ir_account to it_ir_account.

"populate fields of struture and append to itab
append wa_ir_array to it_ir_array.

"populate fields of struture and append to itab
append wa_ir_curr to it_ir_curr.

"populate fields of struture and append to itab
append wa_ir_int_until to it_ir_int_until.

"populate fields of struture and append to itab
append wa_ir_belnr to it_ir_belnr.

"populate fields of struture and append to itab
append wa_ir_gjahr to it_ir_gjahr.

"populate fields of struture and append to itab
append wa_ir_ibelnr to it_ir_ibelnr.

"populate fields of struture and append to itab
append wa_ir_igjahr to it_ir_igjahr.

"populate fields of struture and append to itab
append wa_ir_usnam to it_ir_usnam.

"populate fields of struture and append to itab
append wa_et_intitit to it_et_intitit. . CALL FUNCTION 'FI_INTITIT_READ' * EXPORTING * ib_read_account_to = ld_ib_read_account_to TABLES ir_koart = it_ir_koart ir_bukrs = it_ir_bukrs ir_account = it_ir_account * ir_array = it_ir_array * ir_curr = it_ir_curr * ir_int_until = it_ir_int_until * ir_belnr = it_ir_belnr * ir_gjahr = it_ir_gjahr * ir_ibelnr = it_ir_ibelnr * ir_igjahr = it_ir_igjahr * ir_usnam = it_ir_usnam et_intitit = it_et_intitit EXCEPTIONS NOT_FOUND = 1 . " FI_INTITIT_READ
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_ib_read_account_to  TYPE XFELD ,
it_ir_koart  TYPE STANDARD TABLE OF FINT_TR_KOART ,
wa_ir_koart  LIKE LINE OF it_ir_koart,
it_ir_bukrs  TYPE STANDARD TABLE OF FINT_TR_BUKRS ,
wa_ir_bukrs  LIKE LINE OF it_ir_bukrs,
it_ir_account  TYPE STANDARD TABLE OF FINT_TR_ACCOUNT ,
wa_ir_account  LIKE LINE OF it_ir_account,
it_ir_array  TYPE STANDARD TABLE OF FINT_TR_ARRAY ,
wa_ir_array  LIKE LINE OF it_ir_array,
it_ir_curr  TYPE STANDARD TABLE OF FINT_TR_CURR ,
wa_ir_curr  LIKE LINE OF it_ir_curr,
it_ir_int_until  TYPE STANDARD TABLE OF FINT_TR_INT_UNTIL ,
wa_ir_int_until  LIKE LINE OF it_ir_int_until,
it_ir_belnr  TYPE STANDARD TABLE OF FINT_TR_BELNR ,
wa_ir_belnr  LIKE LINE OF it_ir_belnr,
it_ir_gjahr  TYPE STANDARD TABLE OF FINT_TR_GJAHR ,
wa_ir_gjahr  LIKE LINE OF it_ir_gjahr,
it_ir_ibelnr  TYPE STANDARD TABLE OF FINT_TR_BELNR ,
wa_ir_ibelnr  LIKE LINE OF it_ir_ibelnr,
it_ir_igjahr  TYPE STANDARD TABLE OF FINT_TR_GJAHR ,
wa_ir_igjahr  LIKE LINE OF it_ir_igjahr,
it_ir_usnam  TYPE STANDARD TABLE OF FINT_TR_USNAM ,
wa_ir_usnam  LIKE LINE OF it_ir_usnam,
it_et_intitit  TYPE STANDARD TABLE OF INTITIT ,
wa_et_intitit  LIKE LINE OF it_et_intitit.

ld_ib_read_account_to = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_ir_koart to it_ir_koart.

"populate fields of struture and append to itab
append wa_ir_bukrs to it_ir_bukrs.

"populate fields of struture and append to itab
append wa_ir_account to it_ir_account.

"populate fields of struture and append to itab
append wa_ir_array to it_ir_array.

"populate fields of struture and append to itab
append wa_ir_curr to it_ir_curr.

"populate fields of struture and append to itab
append wa_ir_int_until to it_ir_int_until.

"populate fields of struture and append to itab
append wa_ir_belnr to it_ir_belnr.

"populate fields of struture and append to itab
append wa_ir_gjahr to it_ir_gjahr.

"populate fields of struture and append to itab
append wa_ir_ibelnr to it_ir_ibelnr.

"populate fields of struture and append to itab
append wa_ir_igjahr to it_ir_igjahr.

"populate fields of struture and append to itab
append wa_ir_usnam to it_ir_usnam.

"populate fields of struture and append to itab
append wa_et_intitit to it_et_intitit.

Contribute (Add Comments)

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 FI_INTITIT_READ or its description.