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

MF05AFA0_AUSGLEICH_MIT_BUCHEN SAP ABAP INCLUDE - MF05AFA0AUSGLEICHMITBUCHEN







MF05AFA0_AUSGLEICH_MIT_BUCHEN 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 MF05AFA0_AUSGLEICH_MIT_BUCHEN 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 MF05AFA0_AUSGLEICH_MIT_BUCHEN. "Basic submit
SUBMIT MF05AFA0_AUSGLEICH_MIT_BUCHEN AND RETURN. "Return to original report after report execution complete
SUBMIT MF05AFA0_AUSGLEICH_MIT_BUCHEN 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 MF05AFA0_AUSGLEICH_MIT_BUCHEN

No INCLUDES are used within this REPORT code!


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 = xbseg-bukrs exceptions component_not_active = 1 not_found = 2 others = 3.

FI_WT_FB05_BILL_OF_EXCHANGE call function 'FI_WT_FB05_BILL_OF_EXCHANGE' exporting i_bukrs = xbseg-bukrs i_gjahr = xbseg-gjahr i_buzei = xbseg-buzei i_umsks = xbseg-umsks i_lifnr = xbseg-lifnr i_kunnr = xbseg-kunnr i_koart = xbseg-koart i_budat = bkpf-budat importing e_qsskz = xbseg-qsskz exceptions entry_already_existing = 1 nothing_selected = 2 umsks_not_allowed = 3 others = 4.

FMPRPP_PREP_ACC_ASGMT call function 'FMPRPP_PREP_ACC_ASGMT' tables it_postab = postab et_xausz4 = xausz4.

EWU_GET_CUKEY_ORG call function 'EWU_GET_CUKEY_ORG' "892440 exporting waehrungsursprung = '10' "892440 auspraegung = postab-bukrs "892440 gueltigkeitsdatum = ld_cpudt "892440 exceptions no_conversion_found = 2 "892440 object_not_found = 3. "892440

FI_SPLIT_EXCHANGE_RATE_DIFF call function 'FI_SPLIT_EXCHANGE_RATE_DIFF' "AL0K059406 exporting "AL0K059406 cleared_item = postab "AL0K059406 currency_type = kdftab-curtp "AL0K059406 forex_total = forex_total "AL0K059406 id_budat = bkpf-budat "P7DK016958 importing "AL0K059406 forex_data = forex_data "AL0K059406 tables "E4AK002958 it_ausz_clr_asgmt = xausz4. "E4AK002958

FI_SPLIT_EXCHANGE_RATE_DIFF call function 'FI_SPLIT_EXCHANGE_RATE_DIFF' "AL0K059406 exporting "AL0K059406 cleared_item = postab "AL0K059406 currency_type = kdftab-curtp "AL0K059406 forex_total = forex_total "AL0K059406 id_budat = bkpf-budat "P7DK016958 importing "AL0K059406 forex_data = forex_data "AL0K059406 tables "E4AK002958 it_ausz_clr_asgmt = xausz4. "E4AK002958

FI_SPLIT_EXCHANGE_RATE_DIFF call function 'FI_SPLIT_EXCHANGE_RATE_DIFF' "AL0K059406 exporting "AL0K059406 cleared_item = postab "AL0K059406 currency_type = kdftab-curtp "AL0K059406 forex_total = forex_total "AL0K059406 id_budat = bkpf-budat "P7DK016958 importing "AL0K059406 forex_data = forex_data "AL0K059406 tables "E4AK002958 it_ausz_clr_asgmt = xausz4. "E4AK002958

REGUP_CREATE_OLD_ITEM call function 'REGUP_CREATE_OLD_ITEM' exporting i_rfops = postab i_sknto = zah_sknto i_wskto = zah_wskto.

FI_SPLIT_CASH_DISCOUNT call function 'FI_SPLIT_CASH_DISCOUNT' "AL0K059407 exporting "AL0K059407 cleared_item = cleared_item "AL0K059407 id_budat = bkpf-budat "P7DK016958 id_gjahr = bkpf-gjahr "Note1480655 importing "AL0K059407 discount_data = discount_data. "AL0K059407

FI_SPLIT_CASH_DISCOUNT call function 'FI_SPLIT_CASH_DISCOUNT' exporting cleared_item = cleared_item id_budat = bkpf-budat "P7DK016958 id_gjahr = bkpf-gjahr "Note1480655 importing discount_data = discount_data.

FI_SPLIT_PENALTY call function 'FI_SPLIT_PENALTY' exporting cleared_item = cleared_item penalty_total = ls_penalty id_budat = bkpf-budat id_gjahr = bkpf-gjahr importing penalty_data = penalty_data.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = bkpf-wwert foreign_amount = refe foreign_currency = bkpf-waers local_currency = bkpf-hwaer rate = bkpf-kursf importing local_amount = refe1.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = wae_wwer2 foreign_amount = refe foreign_currency = bkpf-waers local_currency = bkpf-hwae2 rate = bkpf-kurs2 importing local_amount = refe2.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = wae_wwer2 foreign_amount = refe1 foreign_currency = bkpf-hwaer local_currency = bkpf-hwae2 rate = bkpf-kurs2 importing local_amount = refe2.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = wae_wwer3 foreign_amount = refe foreign_currency = bkpf-waers local_currency = bkpf-hwae3 rate = bkpf-kurs3 importing local_amount = refe3.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = wae_wwer3 foreign_amount = refe1 foreign_currency = bkpf-hwaer local_currency = bkpf-hwae3 rate = bkpf-kurs3 importing local_amount = refe3.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = bkpf-wwert foreign_amount = difffw foreign_currency = bkpf-waers local_currency = bkpf-hwaer rate = bkpf-kursf importing local_amount = diffhw.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = wae_wwer2 foreign_amount = difffw foreign_currency = bkpf-waers local_currency = bkpf-hwae2 rate = bkpf-kurs2 type_of_rate = bkpf-kuty2 "Note1792698 importing local_amount = diffh2.

CONVERT_TO_LOCAL_CURRENCY





call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = wae_wwer2 foreign_amount = diffhw foreign_currency = bkpf-hwaer local_currency = bkpf-hwae2 rate = bkpf-kurs2 type_of_rate = bkpf-kuty2 "Note1792698 importing local_amount = diffh2.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = wae_wwer3 foreign_amount = difffw foreign_currency = bkpf-waers local_currency = bkpf-hwae3 rate = bkpf-kurs3 type_of_rate = bkpf-kuty3 "Note1792698 importing local_amount = diffh3.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = wae_wwer3 foreign_amount = diffhw foreign_currency = bkpf-hwaer local_currency = bkpf-hwae3 rate = bkpf-kurs3 type_of_rate = bkpf-kuty3 "Note1792698 importing local_amount = diffh3.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = bkpf-wwert foreign_amount = refe foreign_currency = bkpf-waers local_currency = bkpf-hwaer rate = bkpf-kursf importing local_amount = refe1.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = wae_wwer2 foreign_amount = refe foreign_currency = bkpf-waers local_currency = bkpf-hwae2 rate = bkpf-kurs2 type_of_rate = bkpf-kuty2 "Note1792698 importing local_amount = refe2.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = wae_wwer2 foreign_amount = refe1 foreign_currency = bkpf-hwaer local_currency = bkpf-hwae2 rate = bkpf-kurs2 type_of_rate = bkpf-kuty2 "Note1792698 importing local_amount = refe2.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = wae_wwer3 foreign_amount = refe foreign_currency = bkpf-waers local_currency = bkpf-hwae3 rate = bkpf-kurs3 type_of_rate = bkpf-kuty3 "Note1792698 importing local_amount = refe3.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = wae_wwer3 foreign_amount = refe1 foreign_currency = bkpf-hwaer local_currency = bkpf-hwae3 rate = bkpf-kurs3 type_of_rate = bkpf-kuty3 "Note1792698 importing local_amount = refe3.

FUNC_AREA_CONVERSION_OUTBOUND call function 'FUNC_AREA_CONVERSION_OUTBOUND' exporting i_func_area_long = kontab-fkber importing e_func_area = bseg-fkber e_func_area_long = bseg-fkber_long.

FI_CHECK_EXTENDED_WT call function 'FI_CHECK_EXTENDED_WT' exporting i_bukrs = xbseg-bukrs exceptions component_not_active = 1 not_found = 2 others = 3.

FI_WT_PREPARE_PAYMENT call function 'FI_WT_PREPARE_PAYMENT' exporting i_gjahr = xbseg-gjahr i_buzei = xbseg-buzei i_kontab = kontab_key i_belnr = xbseg-belnr i_blart = xbkpf-blart importing e_qsskz = bseg-qsskz exceptions others = 1.

FI_WT_CREATE_ITEM_CLEARING call function 'FI_WT_CREATE_ITEM_CLEARING' exporting i_kontab_key = kontab_key i_gjahr = xbseg-gjahr i_buzei = xbseg-buzei exceptions others = 1.

ME_READ_DOCUMENT_FINANCE CALL FUNCTION 'ME_READ_DOCUMENT_FINANCE' EXPORTING i_ek05a = ek05a IMPORTING e_ek05a = ek05a EXCEPTIONS OTHERS = 0.

FIN_UI_DECO_CUSTOMIZED_MESSAGE CALL FUNCTION 'FIN_UI_DECO_CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'F5A' i_dtype = 'W' i_msgnr = '293' i_var01 = ek05a-ebeln i_var02 = ek05a-ebelp.



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