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

MF05AFBENJ SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

OPEN_FI_PERFORM_00001011_E CALL FUNCTION 'OPEN_FI_PERFORM_00001011_E' EXPORTING i_bseg = bseg i_bkpf = bkpf EXCEPTIONS error_message = 1.

OPEN_FI_PERFORM_00001010_E call function 'OPEN_FI_PERFORM_00001010_E' exporting i_bseg = bseg i_bkpf = bkpf.

COMPANY_CODE_READ call function 'COMPANY_CODE_READ' exporting i_bukrs = p_bukrs importing e_t001 = t001 e_t004 = t004 e_t005 = t005 e_t014 = t014 e_t043 = t043 e_t043t = t043t.

FI_CURRENCY_INFORMATION call function 'FI_CURRENCY_INFORMATION' exporting i_bukrs = t001-bukrs i_land1 = t001-land1 i_rcomp = t001-rcomp i_ldgrp = p_ldgrp "n0762201 importing e_x001 = x001.

FI_DOCUMENT_TYPE_DATA call function 'FI_DOCUMENT_TYPE_DATA' exporting i_blart = blart_old i_koart = t020-koart importing e_t003 = t003_old.

FI_DOCUMENT_TYPE_DATA call function 'FI_DOCUMENT_TYPE_DATA' exporting i_blart = blart_new i_koart = t020-koart importing e_t003 = t003.

FIND_TAX_SPREADSHEET call function 'FIND_TAX_SPREADSHEET' exporting buchungskreis = t001-bukrs importing schema = t005-kalsm exceptions not_found = 04.

PP_CHANGE_DOCUMENT_ENJ call function 'PP_CHANGE_DOCUMENT_ENJ' exporting text_update = text_xupd opfi_update = ofiwa-xchng "DMC i_noleave = p_noleave "Note482563 IMPORTING "Note950653 xepbbp = x_epbbp "Note950653 TABLES t_xbkpf = xbkpf t_xbseg = xbseg * (del) t_xbsec = xbsec.

PP_COMPLETE_DOCUMENT_ENJ call function 'PP_COMPLETE_DOCUMENT_ENJ' exporting text_update = text_xupd workf = xwfla1 " Note 518910 opfi_update = ofiwa-xchng "DMC i_noleave = p_noleave "Note482563 i_pargb = rf05a-pargb "Note937527 i_uf05a = uf05a "Note1357033 IMPORTING xepbbp = x_epbbp "Note 604100 tables t_xbkpf = xbkpf * (del) t_xbseg = xbseg. "P00K030072



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