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

MF05AFAENJ SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

AC_CUSTOMER_DIALOG_COMP_IMPORT call function 'AC_CUSTOMER_DIALOG_COMP_IMPORT' exporting i_bukrs = bkpf-bukrs i_koart = t020-koart i_buzei = bseg-buzei i_bkpf = bkpf i_bseg = bseg i_bsec = bsec i_anzbz = rf05a-anzbz i_buscs = rf05a-buscs i_bsez = bsez i_lstml = t007a-lstml i_mwskz_kontext = acc_kontext-mwskz * (del) i_document_exists = g_document_exists "Note 370893 * (del) i_document_exists = l_document "Note 370893 Note 387235 i_document_exists = g_document_exists "Note 387235 * (del) i_status = g_status. "Note 376374

AC_VENDOR_DIALOG_COMP_IMPORT call function 'AC_VENDOR_DIALOG_COMP_IMPORT' exporting i_bukrs = bkpf-bukrs i_koart = t020-koart i_buzei = bseg-buzei i_bkpf = bkpf i_bseg = bseg i_bsec = bsec i_bsez = bsez i_anzbz = rf05a-anzbz i_buscs = rf05a-buscs i_lstml = t007a-lstml i_mwskz_kontext = acc_kontext-mwskz * (del) i_document_exists = g_document_exists "Note 370893 * (del) i_document_exists = l_document "Note 370893 Note 387235 i_document_exists = g_document_exists "Note 387235 i_status = g_status i_aktyp = t020-aktyp "Note485043 i_activetab = activetab "Note486418 tables t_splttab = splttab "Note 376374 t_acscr = tacscr t_tiban = xtiban "Note1033963 t_bnka = xbnka. "Note1033963

FI_WT_PREPARE_XSPLTWT call function 'FI_WT_PREPARE_XSPLTWT' "Note481737 tables "Note481737 t_xspltwt = spltwt. "Note481737

AC_CUSTOMER_DIALOG_COMP_EXPORT call function 'AC_CUSTOMER_DIALOG_COMP_EXPORT' importing e_bkp1 = bkp1 e_bkpf = bkpf e_bseg = bseg e_bsez = bsez e_bseu = bseu e_bsec = bsec e_txjcd = txjcd_kna1 e_actab = activetab e_egrel = eg-relevant e_regul = rf05a-regul e_gricd = vorschl_gricd e_grirg = vorschl_grirg e_gityp = vorschl_gityp e_lstml = t007a-lstml "Note205413 e_cpd_req = g_cpd_req "Note325240 e_skb1_mwskz = g_skb1_mwskz "Note360551 tables t_kkbtab = kkbtab t_splttab = splttab t_mandate = xmandate "Note1611602 changing "Note207446 c_okcode = ok-code. "Note207446

AC_VENDOR_DIALOG_COMP_EXPORT call function 'AC_VENDOR_DIALOG_COMP_EXPORT' importing e_bkpf = bkpf e_bkp1 = bkp1 e_bseg = bseg e_bseu = bseu e_bsez = bsez e_bsec = bsec e_actab = activetab e_egrel = eg-relevant e_regul = rf05a-regul e_gricd = vorschl_gricd e_grirg = vorschl_grirg e_gityp = vorschl_gityp e_lstml = t007a-lstml "Note205413 e_cpd_req = g_cpd_req "Note325240 e_skb1_mwskz = g_skb1_mwskz "Note360551 tables t_splttab = splttab changing "Note207446 c_okcode = ok-code. "Note207446

FI_WT_GET_XSPLTWT call function 'FI_WT_GET_XSPLTWT' "Note481737 tables "Note481737 t_xspltwt = spltwt. "Note481737

DOCHEADER_AUTHORITY_CHECK call function 'DOCHEADER_AUTHORITY_CHECK' exporting i_bukrs = bseg-bukrs i_blart = t003-blart i_brgru = t003-brgru i_status = g_status.

DOCHEADER_DOCTYPE_DEFAULT_READ call function 'DOCHEADER_DOCTYPE_DEFAULT_READ' exporting i_koart = t020-koart i_buscs = rf05a-buscs i_bukrs = bkpf-bukrs importing e_blart = bkpf-blart.

AC_APAR_LINE_ITEM_IMPORT_PAI call function 'AC_APAR_LINE_ITEM_IMPORT_PAI' exporting i_buscs = rf05a-buscs i_blart = bkpf-blart i_no_checks = no_checks * (del) i_document_exists = g_document_exists "Note 370893 * (del) i_document_exists = l_document_e "Note 370893 Note 387235 i_document_exists = g_document_exists "Note 387235 i_status = g_status.

AC_APAR_LINE_ITEM_IMPORT_PAI call function 'AC_APAR_LINE_ITEM_IMPORT_PAI' exporting i_buscs = rf05a-buscs i_blart = '' i_no_checks = no_checks * (del) i_document_exists = g_document_exists "Note 370893 * (del) i_document_exists = l_document_e "Note 370893 Note 387235 i_document_exists = g_document_exists "Note 387235 i_status = g_status.

AC_APAR_DIALOG_IMPORT_INVFO call function 'AC_APAR_DIALOG_IMPORT_INVFO' importing e_bseg = bseg.

AUTHORITY_ACCOUNT_TYPE call function 'AUTHORITY_ACCOUNT_TYPE' exporting i_koart = p_koarb i_actvt = l_actvt exceptions no_authority = 4.



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