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

MF05LFV0 SAP ABAP INCLUDE - Test whether "Foreign plants" active







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

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_VALIDATION_ITEM call function 'FI_VALIDATION_ITEM' exporting i_bkpf = bkpf i_bseg = bseg i_bsec = bsec i_bsed = bsed.

READ_DOCUMENT_HEADER call function 'READ_DOCUMENT_HEADER' exporting belnr = rf05l-belnr bukrs = rf05l-bukrs gjahr = rf05l-gjahr bstat = 'V' importing e_bkpf = *bkpf exceptions exit = 04 not_found = 08.

SWU_OBJECT_REFRESH * call function 'SWU_OBJECT_REFRESH'.

FI_DOCUMENT_LIST_DISPLAY call function 'FI_DOCUMENT_LIST_DISPLAY' exporting bukrs = *bkpf-bukrs belnr = *bkpf-belnr gjahr = *bkpf-gjahr aktyp = g_aktyp i_nochange = x_nochange "Note 492663 * XEPOS = * IMPORTING * E_CMRQ = * E_CHNG = exceptions display_not_possible = 1 no_authority = 2 others = 3 .

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' "Note751265 EXPORTING "Note751265 tcode = 'FBV3' "Note751265 EXCEPTIONS "Note751265 ok = 0 "Note751265 not_ok = 2 "Note751265 OTHERS = 3. "Note751265

FI_DOCUMENT_ARCH_READ_SINGLE * call function 'FI_DOCUMENT_ARCH_READ_SINGLE' * exporting * i_bukrs = rf05l-bvorg+10(4) * i_belnr = rf05l-bvorg(10) * i_gjahr = l_gjahr * i_group_xread = l_farc_xread * tables * c_abkpf = abkpf * c_bvor = ybvor * exceptions * others = 7.

FAGL_GET_ARCH_FI_DOCUMENT CALL FUNCTION 'FAGL_GET_ARCH_FI_DOCUMENT' EXPORTING i_bukrs = rf05l-bvorg+10(4) i_belnr = rf05l-bvorg(10) i_gjahr = l_gjahr TABLES T_BKPF = abkpf T_BVOR = ybvor EXCEPTIONS OTHERS = 3.

REAL_ESTATE_ACC_CHAR call function 'REAL_ESTATE_ACC_CHAR' exporting i_ac = fvviac importing e_ac = fvviac exceptions data_missing = 01 input_cancelled = 02 status_not_valid = 03.



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