SAP Function Modules

FIMA_TRANSACTIONS_GENERATE SAP Function module







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

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


Pattern for FM FIMA_TRANSACTIONS_GENERATE - FIMA TRANSACTIONS GENERATE





CALL FUNCTION 'FIMA_TRANSACTIONS_GENERATE' "
  EXPORTING
    i_dbervon =                 " vtbleiste-dbervon
    i_dberbis =                 " vtbleiste-dberbis
*   i_sultbis = SPACE           " vtbleiste-sultbis
*   i_sincl = '0'               " vtbleiste-sincl
    i_dblfz =                   " vtbleiste-dblfz
    i_defsz =                   " vtbleiste-defsz
*   i_rantyp = SPACE            "
*   i_reinh = 0                 " trff_type_n_4
*   i_stilgart = '0'            " trff_type_n_1
*   i_jsoftilg = ' '            " vtbleiste-jsoftilg  Begin with Repayment Immediately
*   i_flag_accrued_interest = ' '  "
  TABLES
    e_bewe =                    " vtbbewe
    i_bewe =                    " vtbbewe
    i_kondi =                   " vtbkond
    .  "  FIMA_TRANSACTIONS_GENERATE

ABAP code example for Function Module FIMA_TRANSACTIONS_GENERATE





The ABAP code below is a full code listing to execute function module FIMA_TRANSACTIONS_GENERATE 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_e_bewe  TYPE STANDARD TABLE OF VTBBEWE,"TABLES PARAM
wa_e_bewe  LIKE LINE OF it_e_bewe ,
it_i_bewe  TYPE STANDARD TABLE OF VTBBEWE,"TABLES PARAM
wa_i_bewe  LIKE LINE OF it_i_bewe ,
it_i_kondi  TYPE STANDARD TABLE OF VTBKOND,"TABLES PARAM
wa_i_kondi  LIKE LINE OF it_i_kondi .


DATA(ld_i_dbervon) = 20210129

DATA(ld_i_dberbis) = 20210129

DATA(ld_i_sultbis) = some text here

DATA(ld_i_sincl) = Check type of data required

DATA(ld_i_dblfz) = 20210129

DATA(ld_i_defsz) = 20210129
DATA(ld_i_rantyp) = 'some text here'.
DATA(ld_i_reinh) = 'Check type of data required'.
DATA(ld_i_stilgart) = 'Check type of data required'.

DATA(ld_i_jsoftilg) = some text here
DATA(ld_i_flag_accrued_interest) = 'some text here'.

"populate fields of struture and append to itab
append wa_e_bewe to it_e_bewe.

"populate fields of struture and append to itab
append wa_i_bewe to it_i_bewe.

"populate fields of struture and append to itab
append wa_i_kondi to it_i_kondi. . CALL FUNCTION 'FIMA_TRANSACTIONS_GENERATE' EXPORTING i_dbervon = ld_i_dbervon i_dberbis = ld_i_dberbis * i_sultbis = ld_i_sultbis * i_sincl = ld_i_sincl i_dblfz = ld_i_dblfz i_defsz = ld_i_defsz * i_rantyp = ld_i_rantyp * i_reinh = ld_i_reinh * i_stilgart = ld_i_stilgart * i_jsoftilg = ld_i_jsoftilg * i_flag_accrued_interest = ld_i_flag_accrued_interest TABLES e_bewe = it_e_bewe i_bewe = it_i_bewe i_kondi = it_i_kondi . " FIMA_TRANSACTIONS_GENERATE
IF SY-SUBRC EQ 0. "All OK 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_i_dbervon  TYPE VTBLEISTE-DBERVON ,
it_e_bewe  TYPE STANDARD TABLE OF VTBBEWE ,
wa_e_bewe  LIKE LINE OF it_e_bewe,
ld_i_dberbis  TYPE VTBLEISTE-DBERBIS ,
it_i_bewe  TYPE STANDARD TABLE OF VTBBEWE ,
wa_i_bewe  LIKE LINE OF it_i_bewe,
ld_i_sultbis  TYPE VTBLEISTE-SULTBIS ,
it_i_kondi  TYPE STANDARD TABLE OF VTBKOND ,
wa_i_kondi  LIKE LINE OF it_i_kondi,
ld_i_sincl  TYPE VTBLEISTE-SINCL ,
ld_i_dblfz  TYPE VTBLEISTE-DBLFZ ,
ld_i_defsz  TYPE VTBLEISTE-DEFSZ ,
ld_i_rantyp  TYPE STRING ,
ld_i_reinh  TYPE TRFF_TYPE_N_4 ,
ld_i_stilgart  TYPE TRFF_TYPE_N_1 ,
ld_i_jsoftilg  TYPE VTBLEISTE-JSOFTILG ,
ld_i_flag_accrued_interest  TYPE STRING .


ld_i_dbervon = 20210129

"populate fields of struture and append to itab
append wa_e_bewe to it_e_bewe.

ld_i_dberbis = 20210129

"populate fields of struture and append to itab
append wa_i_bewe to it_i_bewe.

ld_i_sultbis = some text here

"populate fields of struture and append to itab
append wa_i_kondi to it_i_kondi.

ld_i_sincl = Check type of data required

ld_i_dblfz = 20210129

ld_i_defsz = 20210129
ld_i_rantyp = 'some text here'.
ld_i_reinh = 'Check type of data required'.
ld_i_stilgart = 'Check type of data required'.

ld_i_jsoftilg = some text here
ld_i_flag_accrued_interest = 'some text here'.

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