SAP Reports / Programs | Enterprise Controlling | Profit Center Accounting(EC-PCA) SAP EC

MKEC6F05 SAP ABAP INCLUDE - documentation and ABAP source code







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


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

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:

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.



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