SAP Reports / Programs | Financial Accounting(FI) SAP FI

MF05BFS0 SAP ABAP INCLUDE - Include MF05AI00_READ_VERIFDOC







MF05BFS0 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MF05BFS0 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MF05BFS0. "Basic submit
SUBMIT MF05BFS0 AND RETURN. "Return to original report after report execution complete
SUBMIT MF05BFS0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MF05BFS0

INCLUDE IFRE_BEGIN_OF_RE_EA_FIN.
INCLUDE IFRE_END_OF_RE_EA_FIN.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

FI_CHECK_EXTENDED_WT CALL FUNCTION 'FI_CHECK_EXTENDED_WT' EXPORTING i_bukrs = bkpf-bukrs EXCEPTIONS OTHERS = 3.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING local_currency = bkpf-hwaer foreign_currency = bkpf-waers foreign_amount = rf05a-avibf date = bkpf-wwert rate = bkpf-kursf IMPORTING local_amount = rf05a-avibh.

FUNC_AREA_CONVERSION_OUTBOUND CALL FUNCTION 'FUNC_AREA_CONVERSION_OUTBOUND' "note 0643244 EXPORTING "note 0643244 i_func_area_long = bsis-fkber "note 0643244 IMPORTING "note 0643244 e_func_area = *bseg-fkber "note 0643244 e_func_area_long = *bseg-fkber_long. "note 0643244

FUNC_AREA_CONVERSION_OUTBOUND CALL FUNCTION 'FUNC_AREA_CONVERSION_OUTBOUND' "note 0643244 EXPORTING "note 0643244 i_func_area_long = bsid-fkber "note 0643244 IMPORTING "note 0643244 e_func_area = *bseg-fkber "note 0643244 e_func_area_long = *bseg-fkber_long. "note 0643244

FI_CHECK_EXTENDED_WT CALL FUNCTION 'FI_CHECK_EXTENDED_WT' EXPORTING i_bukrs = bkpf-bukrs EXCEPTIONS OTHERS = 1.

FI_WT_SELFWITH_ACTIVATION CALL FUNCTION 'FI_WT_SELFWITH_ACTIVATION' EXPORTING selection_popup = ' ' TABLES i_postab = postab i_postab_new = wt_new_postab EXCEPTIONS OTHERS = 1.

FI_WT_FB05_CALCULATE_WT CALL FUNCTION 'FI_WT_FB05_CALCULATE_WT' EXPORTING i_aktyp = t020-aktyp i_dyncl = t020-dyncl i_xrebz = lx_rebz * I_KURST = TABLES i_postab = postab i_bkpf = xbkpf EXCEPTIONS OTHERS = 1.

FI_WT_READ_WITH_ITEM CALL FUNCTION 'FI_WT_READ_WITH_ITEM' EXPORTING i_bukrs = postab-bukrs i_belnr = postab-belnr i_gjahr = postab-gjahr i_buzei = postab-buzei EXCEPTIONS with_info_already_in_memory = 1 not_found = 2 OTHERS = 3.

FI_WT_CLEAR_WT_AMOUNTS CALL FUNCTION 'FI_WT_CLEAR_WT_AMOUNTS' EXPORTING i_postm = '2' EXCEPTIONS OTHERS = 1.

FIN_UI_DECO_CUSTOMIZED_MESSAGE CALL FUNCTION 'FIN_UI_DECO_CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = '7Q' i_dtype = 'I' i_msgnr = '332'.

ISJP_OPENITEMS_GET CALL FUNCTION 'ISJP_OPENITEMS_GET' EXPORTING iv_bukrs = bkpf-bukrs iv_invsumpayer = slktab-agkok TABLES ct_bseg_key = lt_bseg_key.

FIN_UI_DECO_CUSTOMIZED_MESSAGE CALL FUNCTION 'FIN_UI_DECO_CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'F5' i_dtype = 'E' i_msgnr = '794' i_var01 = seltab-von i_var02 = bkpf-waers.

FUNC_AREA_CONVERSION_OUTBOUND CALL FUNCTION 'FUNC_AREA_CONVERSION_OUTBOUND' "note 0643244 EXPORTING "note 0643244 i_func_area_long = bsid-fkber "note 0643244 IMPORTING "note 0643244 e_func_area = *bseg-fkber "note 0643244 e_func_area_long = *bseg-fkber_long. "note 0643244

FUNC_AREA_CONVERSION_OUTBOUND CALL FUNCTION 'FUNC_AREA_CONVERSION_OUTBOUND' "note 0643244 EXPORTING "note 0643244 i_func_area_long = bsik-fkber "note 0643244 IMPORTING "note 0643244 e_func_area = *bseg-fkber "note 0643244 e_func_area_long = *bseg-fkber_long. "note 0643244

FUNC_AREA_CONVERSION_OUTBOUND CALL FUNCTION 'FUNC_AREA_CONVERSION_OUTBOUND' "note 0643244 EXPORTING "note 0643244 i_func_area_long = gs_faglbsis-fkber "note 0643244 IMPORTING "note 0643244 e_func_area = *bseg-fkber "note 0643244 e_func_area_long = *bseg-fkber_long. "note 0643244

FUNC_AREA_CONVERSION_OUTBOUND CALL FUNCTION 'FUNC_AREA_CONVERSION_OUTBOUND' "note 0643244 EXPORTING "note 0643244 i_func_area_long = bsis-fkber "note 0643244 IMPORTING "note 0643244 e_func_area = *bseg-fkber "note 0643244 e_func_area_long = *bseg-fkber_long. "note 0643244

REEX_CALLBACK_MP_GET_ALL_CNTR CALL FUNCTION 'REEX_CALLBACK_MP_GET_ALL_CNTR' EXPORTING id_bukrs = rf05a-agbuk id_vertn = rf05a-vertn id_vertt = rf05a-vertt * ID_BUDAT = SY-DATUM IMPORTING et_contract = lt_contract EXCEPTIONS OTHERS = 0.

RK_KOKRS_FIND * CALL FUNCTION 'RK_KOKRS_FIND' * EXPORTING * bukrs = postab-bukrs * IMPORTING * kokrs = ld_kokrs * EXCEPTIONS * assignment_not_allowed = 1 * insufficient_input = 2 * no_kokrs_assigned = 3 * no_kokrs_for_bukrs = 4 * no_kokrs_for_bu_gb = 5 * wrong_kokrs_for_bukrs = 6 * wrong_kokrs_for_bu_gb = 7 * OTHERS = 8.

FI_COMPANY_CODE_DATA





CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = bkpf-bukrs IMPORTING e_t001 = l_t001.

SAP_TO_ISO_COUNTRY_CODE CALL FUNCTION 'SAP_TO_ISO_COUNTRY_CODE' EXPORTING sap_code = l_t001-land1 IMPORTING iso_code = l_intca.

CURRENCY_GET_SUBSEQUENT CALL FUNCTION 'CURRENCY_GET_SUBSEQUENT' EXPORTING currency = l_bkpf-waers process = 'FBW3' date = bkpf-budat bukrs = l_bkpf-bukrs IMPORTING currency_new = subseq_cur.

FI_CHECK_EXTENDED_WT * call function 'FI_CHECK_EXTENDED_WT' * EXPORTING * i_bukrs = postab-bukrs * EXCEPTIONS * others = 1.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = bkpf-bukrs IMPORTING e_t001 = l_t001.

SAP_TO_ISO_COUNTRY_CODE CALL FUNCTION 'SAP_TO_ISO_COUNTRY_CODE' EXPORTING sap_code = l_t001-land1 IMPORTING iso_code = l_intca.

CURRENCY_GET_SUBSEQUENT CALL FUNCTION 'CURRENCY_GET_SUBSEQUENT' EXPORTING currency = l_bkpf-waers process = 'FBW3' date = bkpf-budat bukrs = l_bkpf-bukrs IMPORTING currency_new = subseq_cur.

FI_WT_DF05X_CALCULATE_WT CALL FUNCTION 'FI_WT_DF05X_CALCULATE_WT' EXPORTING i_aktyp = t020-aktyp i_dyncl = t020-dyncl TABLES i_postab = postab i_postab_new = wt_postab_new i_bkpf = h_bkpf EXCEPTIONS OTHERS = 1.

FI_WT_EXPORT_TO_MEMORY CALL FUNCTION 'FI_WT_EXPORT_TO_MEMORY' EXCEPTIONS OTHERS = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MF05BFS0 or its description.