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

MKEC4F07 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

K_PROCESSES_SELECT_PAR CALL FUNCTION 'K_PROCESSES_SELECT_PAR' EXPORTING KOKRS = PRO_KOKRS DATE_FROM = SEL_DATE "WK 46a DATE_TO = HELP_DATE "WK 46a TABNAME = 'CBPRV' TABLES IT_COSEL = T_COSEL IT_RESULT = T_RESULT EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2.

K_PROCESSES_SELECT_PAR CALL FUNCTION 'K_PROCESSES_SELECT_PAR' EXPORTING KOKRS = PRO_KOKRS DATE_FROM = SEL_DATE "WK 46a DATE_TO = HELP_DATE "WK 46a TABNAME = 'CBPRV' TABLES IT_COSEL = T_COSEL IT_RESULT = T_RESULT EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = L_CALLBACK I_CALLBACK_USER_COMMAND = 'GP_USER_COMMAND' is_layout = gs_layout "WK 46a IT_FIELDCAT = GT_FIELDCAT I_SAVE = 'A' IS_VARIANT = GS_VARIANT IT_EVENTS = GT_EVENT I_TABNAME_HEADER = 'T_HEADER' I_TABNAME_ITEM = 'T_RESULT' IS_KEYINFO = GS_KEYINFO TABLES T_OUTTAB_HEADER = T_HEADER T_OUTTAB_ITEM = T_RESULT.

K_PROCESSES_SELECT_PAR CALL FUNCTION 'K_PROCESSES_SELECT_PAR' EXPORTING KOKRS = PRO_KOKRS DATE_FROM = SY-DATUM TABNAME = 'CBPRV' TABLES IT_COSEL = T_COSEL IT_RESULT = T_RESULT EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_BUFFER_ACTIVE = 'X' " WK - note 318150 I_CALLBACK_PROGRAM = L_CALLBACK I_CALLBACK_USER_COMMAND = 'GP_USER_COMMAND' is_layout = gs_layout IT_FIELDCAT = GT_FIELDCAT I_SAVE = 'A' IS_VARIANT = GS_VARIANT IT_EVENTS = GT_EVENT TABLES T_OUTTAB = T_RESULT.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = 'CP02' EXCEPTIONS OK = 1 NOT_OK = 2 OTHERS = 3.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = 'CP03' EXCEPTIONS OK = 1 NOT_OK = 2 OTHERS = 3.

K_PROCESSES_SELECT_PAR CALL FUNCTION 'K_PROCESSES_SELECT_PAR' EXPORTING KOKRS = T_RESULT-KOKRS DATE_FROM = SY-DATUM TABNAME = 'CBPRV' BYPASSING_BUFFER = 'X' TABLES IT_COSEL = LT_COSEL IT_RESULT = CHECK_RESULT EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2.

K_PROCESSES_SELECT_PAR CALL FUNCTION 'K_PROCESSES_SELECT_PAR' EXPORTING KOKRS = PRO_KOKRS DATE_FROM = SY-DATUM TABNAME = 'CBPRV' TABLES IT_COSEL = T_COSEL IT_RESULT = T_RESULT EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = L_CALLBACK I_CALLBACK_USER_COMMAND = 'GP_USER_COMMAND' is_layout = gs_layout "WK 46a IT_FIELDCAT = GT_FIELDCAT I_SAVE = 'A' IS_VARIANT = GS_VARIANT IT_EVENTS = GT_EVENT I_TABNAME_HEADER = 'T_HEADER' I_TABNAME_ITEM = 'T_RESULT' IS_KEYINFO = GS_KEYINFO TABLES T_OUTTAB_HEADER = T_HEADER T_OUTTAB_ITEM = T_RESULT.



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