SAP Function Modules

EXIT_RFEBFI20_001 SAP Function module - Transfer Additional Data (Finnish TITO Format)







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

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


Pattern for FM EXIT_RFEBFI20_001 - EXIT RFEBFI20 001





CALL FUNCTION 'EXIT_RFEBFI20_001' "Transfer Additional Data (Finnish TITO Format)
* EXPORTING
*   i_febko =                   " febko         Electronic Bank Statement: Header Record
*   i_febvw =                   " febvw         Electronic Bank Statement: Management Record
  IMPORTING
    e_febko =                   " febko         Electronic Bank Statement: Header Record
    e_febvw =                   " febvw         Electronic Bank Statement: Management Record
    e_msgtext =                 " febmka-messg  Message Text
    e_msgtyp =                  " febmka-mstyp  Message Type
    e_update =                  " febmka-mstyp  Update Flag
  TABLES
*   t_febep =                   " febep         Line Item Table
*   t_febre =                   " febre         Line Item Table - Usage
*   t_febms =                   " febms         Messages from Bank Statement
    t_base_rec_acc_stmt =       " base_rec_acc_stmt  T00 TITO Record Table
    t_base_rec_trans =          " base_rec_trans  T10 TITO Record Table
    t_add_rec_trans =           " add_rec_trans  T11 TITO Record Table
    t_balance_rec =             " balance_rec   T40 TITO Record Table
    t_cum_base_rec =            " cum_base_rec  T50 TITO Record Table
    t_cum_corr_rec =            " cum_corr_rec  T51 TITO Record Table
    t_spec_rec =                " spec_rec      T60 TITO Record Table
    t_mess_rec =                " mess_rec      T70 TITO Record Table
    t_base_rec_notif =          " base_rec_trans  T80 TITO Record Table
    t_add_rec_notif =           " add_rec_trans  T81 TITO Record Table
    .  "  EXIT_RFEBFI20_001

ABAP code example for Function Module EXIT_RFEBFI20_001





The ABAP code below is a full code listing to execute function module EXIT_RFEBFI20_001 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_e_febko  TYPE FEBKO ,
ld_e_febvw  TYPE FEBVW ,
ld_e_msgtext  TYPE FEBMKA-MESSG ,
ld_e_msgtyp  TYPE FEBMKA-MSTYP ,
ld_e_update  TYPE FEBMKA-MSTYP ,
it_t_febep  TYPE STANDARD TABLE OF FEBEP,"TABLES PARAM
wa_t_febep  LIKE LINE OF it_t_febep ,
it_t_febre  TYPE STANDARD TABLE OF FEBRE,"TABLES PARAM
wa_t_febre  LIKE LINE OF it_t_febre ,
it_t_febms  TYPE STANDARD TABLE OF FEBMS,"TABLES PARAM
wa_t_febms  LIKE LINE OF it_t_febms ,
it_t_base_rec_acc_stmt  TYPE STANDARD TABLE OF BASE_REC_ACC_STMT,"TABLES PARAM
wa_t_base_rec_acc_stmt  LIKE LINE OF it_t_base_rec_acc_stmt ,
it_t_base_rec_trans  TYPE STANDARD TABLE OF BASE_REC_TRANS,"TABLES PARAM
wa_t_base_rec_trans  LIKE LINE OF it_t_base_rec_trans ,
it_t_add_rec_trans  TYPE STANDARD TABLE OF ADD_REC_TRANS,"TABLES PARAM
wa_t_add_rec_trans  LIKE LINE OF it_t_add_rec_trans ,
it_t_balance_rec  TYPE STANDARD TABLE OF BALANCE_REC,"TABLES PARAM
wa_t_balance_rec  LIKE LINE OF it_t_balance_rec ,
it_t_cum_base_rec  TYPE STANDARD TABLE OF CUM_BASE_REC,"TABLES PARAM
wa_t_cum_base_rec  LIKE LINE OF it_t_cum_base_rec ,
it_t_cum_corr_rec  TYPE STANDARD TABLE OF CUM_CORR_REC,"TABLES PARAM
wa_t_cum_corr_rec  LIKE LINE OF it_t_cum_corr_rec ,
it_t_spec_rec  TYPE STANDARD TABLE OF SPEC_REC,"TABLES PARAM
wa_t_spec_rec  LIKE LINE OF it_t_spec_rec ,
it_t_mess_rec  TYPE STANDARD TABLE OF MESS_REC,"TABLES PARAM
wa_t_mess_rec  LIKE LINE OF it_t_mess_rec ,
it_t_base_rec_notif  TYPE STANDARD TABLE OF BASE_REC_TRANS,"TABLES PARAM
wa_t_base_rec_notif  LIKE LINE OF it_t_base_rec_notif ,
it_t_add_rec_notif  TYPE STANDARD TABLE OF ADD_REC_TRANS,"TABLES PARAM
wa_t_add_rec_notif  LIKE LINE OF it_t_add_rec_notif .

DATA(ld_i_febko) = 'Check type of data required'.
DATA(ld_i_febvw) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_febep to it_t_febep.

"populate fields of struture and append to itab
append wa_t_febre to it_t_febre.

"populate fields of struture and append to itab
append wa_t_febms to it_t_febms.

"populate fields of struture and append to itab
append wa_t_base_rec_acc_stmt to it_t_base_rec_acc_stmt.

"populate fields of struture and append to itab
append wa_t_base_rec_trans to it_t_base_rec_trans.

"populate fields of struture and append to itab
append wa_t_add_rec_trans to it_t_add_rec_trans.

"populate fields of struture and append to itab
append wa_t_balance_rec to it_t_balance_rec.

"populate fields of struture and append to itab
append wa_t_cum_base_rec to it_t_cum_base_rec.

"populate fields of struture and append to itab
append wa_t_cum_corr_rec to it_t_cum_corr_rec.

"populate fields of struture and append to itab
append wa_t_spec_rec to it_t_spec_rec.

"populate fields of struture and append to itab
append wa_t_mess_rec to it_t_mess_rec.

"populate fields of struture and append to itab
append wa_t_base_rec_notif to it_t_base_rec_notif.

"populate fields of struture and append to itab
append wa_t_add_rec_notif to it_t_add_rec_notif. . CALL FUNCTION 'EXIT_RFEBFI20_001' * EXPORTING * i_febko = ld_i_febko * i_febvw = ld_i_febvw IMPORTING e_febko = ld_e_febko e_febvw = ld_e_febvw e_msgtext = ld_e_msgtext e_msgtyp = ld_e_msgtyp e_update = ld_e_update TABLES * t_febep = it_t_febep * t_febre = it_t_febre * t_febms = it_t_febms t_base_rec_acc_stmt = it_t_base_rec_acc_stmt t_base_rec_trans = it_t_base_rec_trans t_add_rec_trans = it_t_add_rec_trans t_balance_rec = it_t_balance_rec t_cum_base_rec = it_t_cum_base_rec t_cum_corr_rec = it_t_cum_corr_rec t_spec_rec = it_t_spec_rec t_mess_rec = it_t_mess_rec t_base_rec_notif = it_t_base_rec_notif t_add_rec_notif = it_t_add_rec_notif . " EXIT_RFEBFI20_001
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_e_febko  TYPE FEBKO ,
ld_i_febko  TYPE FEBKO ,
it_t_febep  TYPE STANDARD TABLE OF FEBEP ,
wa_t_febep  LIKE LINE OF it_t_febep,
ld_e_febvw  TYPE FEBVW ,
ld_i_febvw  TYPE FEBVW ,
it_t_febre  TYPE STANDARD TABLE OF FEBRE ,
wa_t_febre  LIKE LINE OF it_t_febre,
ld_e_msgtext  TYPE FEBMKA-MESSG ,
it_t_febms  TYPE STANDARD TABLE OF FEBMS ,
wa_t_febms  LIKE LINE OF it_t_febms,
ld_e_msgtyp  TYPE FEBMKA-MSTYP ,
it_t_base_rec_acc_stmt  TYPE STANDARD TABLE OF BASE_REC_ACC_STMT ,
wa_t_base_rec_acc_stmt  LIKE LINE OF it_t_base_rec_acc_stmt,
ld_e_update  TYPE FEBMKA-MSTYP ,
it_t_base_rec_trans  TYPE STANDARD TABLE OF BASE_REC_TRANS ,
wa_t_base_rec_trans  LIKE LINE OF it_t_base_rec_trans,
it_t_add_rec_trans  TYPE STANDARD TABLE OF ADD_REC_TRANS ,
wa_t_add_rec_trans  LIKE LINE OF it_t_add_rec_trans,
it_t_balance_rec  TYPE STANDARD TABLE OF BALANCE_REC ,
wa_t_balance_rec  LIKE LINE OF it_t_balance_rec,
it_t_cum_base_rec  TYPE STANDARD TABLE OF CUM_BASE_REC ,
wa_t_cum_base_rec  LIKE LINE OF it_t_cum_base_rec,
it_t_cum_corr_rec  TYPE STANDARD TABLE OF CUM_CORR_REC ,
wa_t_cum_corr_rec  LIKE LINE OF it_t_cum_corr_rec,
it_t_spec_rec  TYPE STANDARD TABLE OF SPEC_REC ,
wa_t_spec_rec  LIKE LINE OF it_t_spec_rec,
it_t_mess_rec  TYPE STANDARD TABLE OF MESS_REC ,
wa_t_mess_rec  LIKE LINE OF it_t_mess_rec,
it_t_base_rec_notif  TYPE STANDARD TABLE OF BASE_REC_TRANS ,
wa_t_base_rec_notif  LIKE LINE OF it_t_base_rec_notif,
it_t_add_rec_notif  TYPE STANDARD TABLE OF ADD_REC_TRANS ,
wa_t_add_rec_notif  LIKE LINE OF it_t_add_rec_notif.

ld_i_febko = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_febep to it_t_febep.
ld_i_febvw = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_febre to it_t_febre.

"populate fields of struture and append to itab
append wa_t_febms to it_t_febms.

"populate fields of struture and append to itab
append wa_t_base_rec_acc_stmt to it_t_base_rec_acc_stmt.

"populate fields of struture and append to itab
append wa_t_base_rec_trans to it_t_base_rec_trans.

"populate fields of struture and append to itab
append wa_t_add_rec_trans to it_t_add_rec_trans.

"populate fields of struture and append to itab
append wa_t_balance_rec to it_t_balance_rec.

"populate fields of struture and append to itab
append wa_t_cum_base_rec to it_t_cum_base_rec.

"populate fields of struture and append to itab
append wa_t_cum_corr_rec to it_t_cum_corr_rec.

"populate fields of struture and append to itab
append wa_t_spec_rec to it_t_spec_rec.

"populate fields of struture and append to itab
append wa_t_mess_rec to it_t_mess_rec.

"populate fields of struture and append to itab
append wa_t_base_rec_notif to it_t_base_rec_notif.

"populate fields of struture and append to itab
append wa_t_add_rec_notif to it_t_add_rec_notif.

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