SAP Reports / Programs | Financial Accounting | General Ledger Accounting | Basic Functions(FI-GL-GL) SAP FI

MF42BFK0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_DATE CALL FUNCTION 'FI_CHECK_DATE' EXPORTING I_BUKRS = RF42B-BUKRS I_USER = SY-UNAME I_PROGRAM = 'SAPMF42B' I_FROM_YEAR = RF42B-GJAHR EXCEPTIONS NO_AUTHORITY_PROG = 1 NO_AUTHORITY_DATE = 2 WRONG_PARAMETER = 3 OTHERS = 4.

FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING I_BUKRS = BUKTAB-BUKRS IMPORTING E_X001 = BZDTAB EXCEPTIONS ERROR_MESSAGE = 1.

OPEN_FI_PERFORM_00001230_E CALL FUNCTION 'OPEN_FI_PERFORM_00001230_E' EXPORTING I_KNA1 = KNA1 I_LFA1 = LFA1 I_SKA1 = *SKA1 TABLES T_KONTAB = KONTAB T_SLBTAB = SLBTAB.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING LOCAL_CURRENCY = T001-WAERS FOREIGN_CURRENCY = *T001-WAERS FOREIGN_AMOUNT = REFE1 DATE = SY-DATLO IMPORTING LOCAL_AMOUNT = REFE1 EXCEPTIONS NO_RATE_FOUND = 4.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING LOCAL_CURRENCY = T001-WAERS FOREIGN_CURRENCY = *T001-WAERS FOREIGN_AMOUNT = TMP_KORSB DATE = SY-DATLO IMPORTING LOCAL_AMOUNT = TMP_KORSB EXCEPTIONS NO_RATE_FOUND = 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 MF42BFK0 or its description.