SAP Reports / Programs

SUBROUTINES_FOR_CKML_RUN SAP ABAP INCLUDE - Generally Available Tools for ML Costing Run







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


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


Text pool values


Title: Generally Available Tools for ML Costing Run


INCLUDES used within this REPORT SUBROUTINES_FOR_CKML_RUN

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:

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'.



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