MKEC6F05 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 MKEC6F05 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BAPI_COMPANYCODE_GET_PERIOD CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD' EXPORTING COMPANYCODEID = P_BUKRS POSTING_DATE = SY-DATUM IMPORTING FISCAL_YEAR = P_RYEAR FISCAL_PERIOD = P_POPER RETURN = L_RETURN1.
BAPI_COMPANYCODE_GETDETAIL CALL FUNCTION 'BAPI_COMPANYCODE_GETDETAIL' EXPORTING COMPANYCODEID = P_BUKRS IMPORTING COMPANYCODE_DETAIL = L_CC_DETAIL * COMPANYCODE_ADDRESS = RETURN = L_RETURN .
G_POSTING_DATE_OF_YEAR_GET CALL FUNCTION 'G_POSTING_DATE_OF_YEAR_GET' EXPORTING VARIANT = L_CC_DETAIL-FY_VARIANT YEAR = P_RYEAR IMPORTING * FROM_DATE = LAST_NORMAL_PERIOD = L_POPER * TO_DATE = * FIRST_NORMAL_PERIOD = EXCEPTIONS VARIANT_NOT_DEFINED = 1 YEAR_NOT_DEFINED = 2 OTHERS = 3 .
DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = SY-DATUM * I_MONMIT = 00 I_PERIV = P_FISCAL_YEAR_VARIANT IMPORTING E_BUPER = L_ACTUAL_PERIOD E_GJAHR = L_ACTUAL_YEAR EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4 .
COPCA_APPL_LOG_READ CALL FUNCTION 'COPCA_APPL_LOG_READ' EXPORTING SUBOBJECT = P_SUBOBJECT ALTCODE = P_ALTCODE ALPROG = P_ALPROG ALTEXT = ALTEXT IMPORTING NUMBER = P_NUMBER TABLES LOG = LOG.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.