CKML_DELETE_PROTOCOLS 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_DELETE_PROTOCOLS into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CKMLPROT - Delete Logs
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_YEAR2 = D Fiscal Year
Selection Text: P_YEAR1 = D Fiscal Year
Selection Text: P_PER2 = D Posting Period
Selection Text: P_PER1 = D Posting Period
Selection Text: P_DAY2 = D Last Day of Period
Selection Text: P_DAY1 = D Last Day of Period
Selection Text: P_DATE2 = D Date
Selection Text: P_DATE1 = D Date
Text Symbol: 009 = Number of Logs:
Text Symbol: 008 = Delete All Material Ledger Logs
Text Symbol: 007 = No Logs Found
Text Symbol: 006 = The following logs were deleted:
Text Symbol: 005 = The following logs will be deleted:
Text Symbol: 004 = Delete Costing Run Logs
Text Symbol: 003 = To
Text Symbol: 002 = From
Text Symbol: 001 = Test Run
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CKML_RUN_SHIFTED_GJAHR_DETECT CALL FUNCTION 'CKML_RUN_SHIFTED_GJAHR_DETECT' IMPORTING e_xshifted = g_xshifted.
CKML_SM_RECORDS_FOR_RUN_GET CALL FUNCTION 'CKML_SM_RECORDS_FOR_RUN_GET' EXPORTING i_run_id = ls_runperiod-run_id i_force_refresh = 'X' is_runperiod = ls_runperiod IMPORTING et_schedman_entries = lt_sm_aux TABLES et_schedman_main = lt_sm_main.
KPEP_ARCHIVE_MONI_DATA CALL FUNCTION 'KPEP_ARCHIVE_MONI_DATA' EXPORTING i_delete_all = space i_testrun = space i_result_list = space TABLES lt_smmain = gt_smmain.
CM_F_DELETE_LOG_ON_DB CALL FUNCTION 'CM_F_DELETE_LOG_ON_DB' EXPORTING APLID = ls_protid-aplid CMF_NR = ls_protid-nr.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.