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

MF05AFTENJ SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

ACC_CA_TREE_DELETE CALL FUNCTION 'ACC_CA_TREE_DELETE' EXPORTING i_no_flush = 'X'.

AC_VENDOR_DIALOG_TAB_CHECK CALL FUNCTION 'AC_VENDOR_DIALOG_TAB_CHECK' EXPORTING i_tname = string EXCEPTIONS not_found = 1 OTHERS = 2.

FI_TAX_MOVE_DATA_TO_TAX CALL FUNCTION 'FI_TAX_MOVE_DATA_TO_TAX' EXPORTING i_bkpf = bkpf i_xmwst = bkpf-xmwst i_lstml = t007a-lstml t_t020 = t020 i_display = display TABLES t_taxes = ttaxes i_bseg = xbseg "Note500281 EXCEPTIONS "Note500281 * error_message = 0. "Note500281 "N925287

FI_TAX_MOVE_DATA_FROM_TAX CALL FUNCTION 'FI_TAX_MOVE_DATA_FROM_TAX' IMPORTING s_taxes = staxes e_vatdate = bkpf-vatdate "N1023317 TABLES t_taxes = ttaxes.

FI_TAX_INDICATOR_CHECK CALL FUNCTION 'FI_TAX_INDICATOR_CHECK' EXPORTING i_bukrs = bseg-bukrs i_hkont = bseg-hkont i_koart = bseg-koart i_mwskz = ttaxes-mwskz EXCEPTIONS input_tax_code = 1 no_tax_code = 2 output_tax_code = 3 tax_code = 4 OTHERS = 5.

FI_TAX_INDICATOR_CHECK CALL FUNCTION 'FI_TAX_INDICATOR_CHECK' EXPORTING i_bukrs = bseg-bukrs i_hkont = bseg-hkont i_koart = bseg-koart i_mwskz = tax-mwskz EXCEPTIONS input_tax_code = 1 no_tax_code = 2 output_tax_code = 3 tax_code = 4 OTHERS = 5.

PP_ENJOY_TAX_CONTROL_DATA CALL FUNCTION 'PP_ENJOY_TAX_CONTROL_DATA'.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING info = text-e14 name = 'ICON_YELLOW_LIGHT' IMPORTING RESULT = rf05a-ampel.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING info = text-e12 name = 'ICON_RED_LIGHT' IMPORTING RESULT = rf05a-ampel.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING info = text-e13 name = 'ICON_GREEN_LIGHT' IMPORTING RESULT = rf05a-ampel.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING info = text-e14 name = 'ICON_YELLOW_LIGHT' IMPORTING RESULT = rf05a-ampel.

LINEITEM_TAX_INFO_SEND CALL FUNCTION 'LINEITEM_TAX_INFO_SEND' EXPORTING i_shkzg = tax-shkzg i_wmwst = tax-fwste i_mwsts = tax-hwste i_mwst2 = tax-h2ste i_mwst3 = tax-h3ste.

TAX_EXCHANGE_RATE_DIFFERENCE CALL FUNCTION 'TAX_EXCHANGE_RATE_DIFFERENCE' EXPORTING i_bkpf = bkpf IMPORTING e_itxdat = itxdat TABLES t_bseg = xbseg.



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