SAP Reports / Programs | Controlling | Product Cost Controlling | Product Cost by Period(CO-PC-OBJ-PER) SAP CO

MKKS0F04 SAP ABAP INCLUDE - Form Routines for Batch Processing







MKKS0F04 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 MKKS0F04 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 MKKS0F04. "Basic submit
SUBMIT MKKS0F04 AND RETURN. "Return to original report after report execution complete
SUBMIT MKKS0F04 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Form Routines for Batch Processing


INCLUDES used within this REPORT MKKS0F04

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_VARIANCES_BATCH_CONFIG_46A CALL FUNCTION 'K_VARIANCES_BATCH_CONFIG_46A' EXPORTING I_USER = JOB_KKS00-USERK CHANGING C_LIST_PARAM = JOB_KKS00C.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING MODE = 'CURRENT' DATA_SET = SAV_PRDSN LAYOUT = CON_PAART LINE_COUNT = CON_LINCT LINE_SIZE = CON_LINSZ LIST_NAME = SAV_PLIST LIST_TEXT = SAV_PRTXT NO_DIALOG = CON_X IMPORTING OUT_ARCHIVE_PARAMETERS = SAV_ARCPA OUT_PARAMETERS = SAV_PRIPA.

K_WERKS_OF_KOKRS CALL FUNCTION 'K_WERKS_OF_KOKRS' EXPORTING KOKRS = JOB_KKS00-KOKRS TABLES ITAB_001K = JOB_T001K ITAB_001W = JOB_T001W EXCEPTIONS NO_ENTRY_IN_T001K = 0 NO_ENTRY_IN_T001W = 0 WRONG_KOKRS_BUKRS = 0 OTHERS = 0.

K_BATCH_REQUEST CALL FUNCTION 'K_BATCH_REQUEST' EXPORTING * In der Routine geaendert...

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING JOBNAME = JOB_JNAME EXCEPTIONS NO_RUNTIME_INFO = 01 OTHERS = 99.

K_BATCH_REQUEST CALL FUNCTION 'K_BATCH_REQUEST' EXPORTING * In der Routine geaendert...

K_OBJECT_SELECTION_CRIT_GET CALL FUNCTION 'K_OBJECT_SELECTION_CRIT_GET' EXPORTING TRANSPARENT = con_x * SHORT_FIELD_NAMES = con_x * IMPORTING * VARIANT = TABLES IT_SELTAB = job_param.



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