SUBROUTINES_FOR_CKML_RUN 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 SUBROUTINES_FOR_CKML_RUN 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.
Title: Generally Available Tools for ML Costing Run
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'CKMLRUNPERIOD' * FIELDNAME = ' ' * LANGU = SY-LANGU * LFIELDNAME = ' ' * ALL_TYPES = ' ' * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = TABLES dfies_tab = t_dfies EXCEPTIONS not_found = 0 * internal_error = 2 * OTHERS = 3 .
CKML_RUN_PERIOD_GET CALL FUNCTION 'CKML_RUN_PERIOD_GET' EXPORTING i_run_id = p_run_id i_run_type = p_run_type i_last_day = p_last_day * I_LANGU = SY-LANGU * I_POPER = * I_GJAHR = IMPORTING es_runperiod = lf_runperiod * EXCEPTIONS * run_not_existent = 1 * OTHERS = 2 .
CKML_RUN_PEP_SUBRECORD_CLOSE * CALL FUNCTION 'CKML_RUN_PEP_SUBRECORD_CLOSE' * EXPORTING * i_pflis = ip_pflis * i_aplstat = ip_aplstat * i_objects = ip_objects ** I_APLID = ** I_OBJECT_ID = ** I_NR = ** EXCEPTIONS ** wrong_pflid = 1 ** OTHERS = 2 * .
SUSR_AUTHORITY_CHECK_S_TCODE CALL FUNCTION 'SUSR_AUTHORITY_CHECK_S_TCODE' EXPORTING tcode = ip_tcode IMPORTING rc = l_subrc * EXCEPTIONS * OTHERS = 1 .
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'CKMLRUNPERIOD' fieldname = ip_ref_fieldname * searchhelp = 'CKML_RUN_PERIOD' * SHLPPARAM = ' ' dynpprog = ip_repid dynpnr = '1000' dynprofield = ip_fieldname * STEPL = 0 * VALUE = ' ' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' callback_program = l_repid callback_form = 'RUN_F4_CALLBACK' * TABLES * RETURN_TAB = * EXCEPTIONS * FIELD_NOT_FOUND = 1 * NO_HELP_FOR_FIELD = 2 * INCONSISTENT_HELP = 3 * NO_VALUES_FOUND = 4 * OTHERS = 5 .
CKML_RUN_SHIFTED_GJAHR_DETECT CALL FUNCTION 'CKML_RUN_SHIFTED_GJAHR_DETECT' IMPORTING e_xshifted = l_xshifted.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'CKMLRUNPERIOD' fieldname = ip_ref_fieldname * searchhelp = 'CKML_RUN_PERIOD' * SHLPPARAM = ' ' dynpprog = ip_repid dynpnr = '1000' dynprofield = ip_fieldname * STEPL = 0 * VALUE = ' ' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' callback_program = l_repid callback_form = 'RUN_F4_CALLBACK_WITH_APPL' * TABLES * RETURN_TAB = * EXCEPTIONS * FIELD_NOT_FOUND = 1 * NO_HELP_FOR_FIELD = 2 * INCONSISTENT_HELP = 3 * NO_VALUES_FOUND = 4 * OTHERS = 5 .
CKML_RUN_SHIFTED_GJAHR_DETECT CALL FUNCTION 'CKML_RUN_SHIFTED_GJAHR_DETECT' IMPORTING e_xshifted = l_xshifted.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'CKMLRUNPERIOD' fieldname = ip_ref_fieldname searchhelp = 'CKMLAVR_RUN_PERIOD' dynpprog = ip_repid dynpnr = '1000' dynprofield = ip_fieldname callback_program = l_repid callback_form = 'RUN_F4_CALLBACK'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SUBROUTINES_FOR_CKML_RUN - Generally Available Tools for ML Costing Run SUBROUTINES_FOR_CKML_RUN - Generally Available Tools for ML Costing Run SUBROUTINES_EX_TOP - Include SUBROUTINES_EX_TOP SUBROUTINES_CKML_RUN_FOR_PEP - Routines for Calling Up Using Period Monitor SUBROUTINES_CKML_RUN_FOR_PEP - Routines for Calling Up Using Period Monitor SUBROUTINES_CKML_RUN_ADMIN - Help Routines for Displaying and Creating ML Costing Run