CKML_RUN_DELETE is a standard Executable ABAP Report 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 CKML_RUN_DELETE into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CKMLRUNREORG - Reorganization of Costing Runs
CKMLRUNCUMDEL - Delete costing run cumulation
CKMLRUNDEL - Delete Costing Run (Actual Costing)
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.
Selection Text: P_APPL = D Application
Selection Text: P_GJAHR = D Fiscal Year
Selection Text: P_POPER = D Posting Period
Selection Text: P_RUNDAY = D Last Day of Period
Selection Text: P_RUNTYP = D Costing Run
Title: Delete a Costing Run in Actual Costing
Text Symbol: 001 = Delete Costing Run
Text Symbol: 002 = Do you want to delete the costing run?
INCLUDE RCKMATOP_RUN_SELECTION_APPL.
INCLUDE CKML_RUN_F4_EVENTS_NEW.
No SAP DATABASE tables are accessed within this REPORT code!
GET_R3_EXTENSION_SWITCH CALL FUNCTION 'GET_R3_EXTENSION_SWITCH' EXPORTING I_STRUCTURE_PACKAGE = 'EA-FIN' IMPORTING E_ACTIVE = extension_active * E_EXTENSION_ALIAS = EXCEPTIONS NOT_EXISTING = 1 OBJECT_NOT_EXISTING = 2 NO_EXTENSION_OBJECT = 3 OTHERS = 4.
GET_R3_EXTENSION_SWITCH CALL FUNCTION 'GET_R3_EXTENSION_SWITCH' EXPORTING I_STRUCTURE_PACKAGE = 'EA-FIN' IMPORTING E_ACTIVE = extension_active * E_EXTENSION_ALIAS = EXCEPTIONS NOT_EXISTING = 1 OBJECT_NOT_EXISTING = 2 NO_EXTENSION_OBJECT = 3 OTHERS = 4.
CKML_RUN_PERIOD_GET CALL FUNCTION 'CKML_RUN_PERIOD_GET' EXPORTING i_run_id = f_runperiod-run_id i_run_type = p_runtyp i_last_day = p_runday * I_LANGU = SY-LANGU IMPORTING es_runperiod = f_runperiod.
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING FUNCNAME = 'CKMLW_RUN_IN_CKMLRUNW' EXCEPTIONS FUNCTION_NOT_EXIST = 1 OTHERS = 2.
CKMLW_RUN_IN_CKMLRUNW CALL FUNCTION 'CKMLW_RUN_IN_CKMLRUNW' "#EC EXISTS EXPORTING I_RUN_ID = f_runperiod-run_id IMPORTING E_IN_CKMLRUNW = x_in_runw.
ENQUEUE_ECKMLRUNPERIOD2 CALL FUNCTION 'ENQUEUE_ECKMLRUNPERIOD2' EXPORTING mode_ckmlrunperiod2 = 'E' * MANDT = SY-MANDT run_id = f_runperiod-run_id * X_RUN_ID = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ENQUEUE_ECKMLRUNPERIOD CALL FUNCTION 'ENQUEUE_ECKMLRUNPERIOD' EXPORTING * MODE_CKMLRUNPERIOD = 'E' * MANDT = SY-MANDT run_id = f_runperiod-run_id * X_RUN_ID = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
CKML_RUN_DELETE CALL FUNCTION 'CKML_RUN_DELETE' EXPORTING i_run_id = f_runperiod-run_id.
CKML_RUN_PERIOD_GET CALL FUNCTION 'CKML_RUN_PERIOD_GET' EXPORTING i_run_id = ip_run_id * I_RUN_TYPE = * I_LAST_DAY = * I_LANGU = SY-LANGU * I_POPER = * I_GJAHR = * I_APPL = CKRU0_CO_APPL_ACT IMPORTING es_runperiod = lf_runperiod * EXCEPTIONS * RUN_NOT_EXISTENT = 1 * OTHERS = 2 .
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-001 diagnose_object = 'CKML_RUN_DELETE_CONFIRMATION' text_question = text-002 * TEXT_BUTTON_1 = 'Ja'(001) * ICON_BUTTON_1 = ' ' * TEXT_BUTTON_2 = 'Nein'(002) * ICON_BUTTON_2 = ' ' default_button = '2' * DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = p_answer TABLES parameter = lt_parameters EXCEPTIONS text_not_found = 1 OTHERS = 2.
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING FUNCNAME = 'CKMLAVR_RUN_DELETE' EXCEPTIONS FUNCTION_NOT_EXIST = 1 OTHERS = 2.
CKMLAVR_RUN_DELETE CALL FUNCTION 'CKMLAVR_RUN_DELETE' "#EC EXISTS EXPORTING I_RUN_ID = i_run_id EXCEPTIONS MATERIAL_WITH_CLOSING_ENTRY = 1 INTERNAL_ERROR = 2 OTHERS = 3.
CKML_RUN_DELETE CALL FUNCTION 'CKML_RUN_DELETE' EXPORTING I_RUN_ID = is_runperiod-run_id.
CKML_RUN_SUM_STATUS_SCHREIBEN CALL FUNCTION 'CKML_RUN_SUM_STATUS_SCHREIBEN' EXPORTING I_RUN_ID = i_run_id EXCEPTIONS INTERNAL_ERROR = 1 OTHERS = 2.
CKML_RUN_SUM_STATUS_LESEN CALL FUNCTION 'CKML_RUN_SUM_STATUS_LESEN' EXPORTING I_RUN_ID = i_run_id IMPORTING ET_SUMSTATUS = lt_sumstatus EXCEPTIONS SUMSTATUS_NOT_IN_INDX = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.