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

MF05AFRENJ SAP ABAP INCLUDE - documentation and ABAP source code







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

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_DOCUMENT_TYPE_DATA * (del) call function 'FI_DOCUMENT_TYPE_DATA' "Note488336 * (del) exporting "Note488336 * (del) i_blart = blart "Note488336 * (del) importing "Note488336 * (del) e_t003 = t003 "Note488336 * (del) e_ltext = t003t-ltext. "Note488336

FI_DOCUMENT_TYPE_DATA CALL FUNCTION 'FI_DOCUMENT_TYPE_DATA' EXPORTING i_blart = p_blart IMPORTING e_t003 = ps_t003 e_ltext = p_ltext.

FAGL_GET_NUMBER_RANGE_FOR_PN CALL FUNCTION 'FAGL_GET_NUMBER_RANGE_FOR_PN' EXPORTING i_rldnr = p_ledger i_blart = p_blart IMPORTING es_t003 = ls_t003.

NUMBER_GET_INFO * (del) call function 'NUMBER_GET_INFO' "Note488336 * (del) exporting "Note488336 * (del) nr_range_nr = t003-numkr "Note488336 * (del) object = 'RF_BELEG' "Note488336 * (del) subobject = nriv-subobject "Note488336 * (del) toyear = bkpf-gjahr "Note488336 * (del) importing "Note488336 * (del) interval = nriv "Note488336 * (del) exceptions "Note488336 * (del) interval_not_found = 01 "Note488336 * (del) object_not_found = 02. "Note488336

DOCHEADER_NUMBER_GET_INFO CALL FUNCTION 'DOCHEADER_NUMBER_GET_INFO' EXPORTING i_numkr = p_numkr i_bukrs = p_bukrs i_gjahr = p_gjahr IMPORTING e_nriv = p_nriv EXCEPTIONS number_range_not_found = 1 object_not_found = 2 OTHERS = 3.

FSKB_REMOVE_ASSIGNMENT_MODEL CALL FUNCTION 'FSKB_REMOVE_ASSIGNMENT_MODEL' EXPORTING i_kmnam = _kmnam i_tcode = tcode IMPORTING e_kmnam = _kmnam EXCEPTIONS not_removed = 1 OTHERS = 2.

ACC_CA_TREE_DELETE_NODE CALL FUNCTION 'ACC_CA_TREE_DELETE_NODE' EXPORTING i_node_key = _node_key i_no_flush = 'X' EXCEPTIONS invalid_tree_number = 1 control_error = 2 OTHERS = 3.

FSKB_REMOVE_SCREEN_VARIANT CALL FUNCTION 'FSKB_REMOVE_SCREEN_VARIANT' EXPORTING i_scname = _scname IMPORTING e_scname = _scname EXCEPTIONS not_removed = 1 OTHERS = 2.

ACC_CA_TREE_DELETE_NODE CALL FUNCTION 'ACC_CA_TREE_DELETE_NODE' EXPORTING i_node_key = _node_key i_no_flush = 'X' EXCEPTIONS invalid_tree_number = 1 control_error = 2 OTHERS = 3.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'N' diagnosetext1 = text-514 textline1 = text-515 titel = text-519 cancel_display = ' ' IMPORTING answer = ld_answer.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'N' diagnosetext1 = text-517 textline1 = text-515 titel = text-518 cancel_display = ' ' IMPORTING answer = ld_answer.



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