SAP Reports / Programs | Controlling | Product Cost Controlling | Alternative Valuation Run(CO-PC-ACT-AVR) SAP CO

CKMLW_SCHEDULE SAP ABAP Report - Schedule Runs for Actual Costing for Reporting Periods







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


Text pool values


Selection Text: P_FIRST = On First Day of Next Rep. Per.
Selection Text: P_LAST = On Last Day of Reporting Per.
Selection Text: P_RUNTYP = First Run of the Period
Selection Text: P_TIME = Start Time
Selection Text: S_TASKL = Task List
Selection Text: S_WORKFL = Workflow
Selection Text: P_APPL = D .
Selection Text: P_GJAHR = D .
Selection Text: P_POPER = D .
Selection Text: P_RUNDAY = D .
Title: Schedule Runs for Actual Costing for Reporting Periods
Text Symbol: 001 = Run Selection
Text Symbol: 002 = Start Date and Start Time
Text Symbol: 003 = Workflow


INCLUDES used within this REPORT CKMLW_SCHEDULE

INCLUDE RCKMATOP_RUN_SELECTION_APPL.
INCLUDE CKMLW_SCHEDULE_SELSCR_PER_EXT.
INCLUDE CKMLW_SCHEDULE_SELSCR_F4_EVT.


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:

CKMLW_RUNW_SINGLE_READ CALL FUNCTION 'CKMLW_RUNW_SINGLE_READ' EXPORTING i_run_id = f_runperiod-run_id IMPORTING e_ckmlrunw = f_ckmlrunw.

CKMLW_RUNW_SINGLE_READ CALL FUNCTION 'CKMLW_RUNW_SINGLE_READ' EXPORTING i_run_id = f_ckmlrunw-ref_runid IMPORTING e_ckmlrunw = f_ckmlrunwf.

CKML_RUN_PERIOD_GET CALL FUNCTION 'CKML_RUN_PERIOD_GET' EXPORTING i_run_id = f_ckmlrunwf-run_id IMPORTING es_runperiod = f_runperiod.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = f_log IMPORTING e_log_handle = loghandle EXCEPTIONS OTHERS = 0.

SCMA_TASKLIST_SCHEDULE CALL FUNCTION 'SCMA_TASKLIST_SCHEDULE' EXPORTING i_tasklist = s_taskl-low * I_NODE_ID = * I_TASKGROUP_NUMBER = * I_TASK_NUMBER = * I_SCMA_REPORT = * I_SCMA_VARIANT = i_scma_sequence = workflow * I_OCCURRENCE = 1 * I_GROUP_ONLY = * I_ALL_TASKLIST_TASKS = * I_ALL_TASKGROUP_TASKS = i_immediate_start = '' i_start_date = f_ckmlrunw-pdate i_start_time = p_time * i_released = * I_TEXT = * I_SCMA_TRANSACTION = * I_NEW_VARIANT = * I_EXTERN_CALL = * I_EXTERN_CALLER_ID = * I_EXTERN_RFCDEST_S = * I_EXTERN_RFCDEST_C = * I_EXTERN_USER = * I_EXTERN_RFCDIA_C = * I_EXTERN_RFCDIA_S = TABLES it_tvarv = t_tvarv * ET_TASKS_SCHEDULED = * ET_TASKS_NOT_SCHEDULED = * IT_PARAMETER = * IT_SELOPT = * ET_SCMATREED = EXCEPTIONS tasklist_not_found = 1 taskgroup_not_found = 2 task_not_found = 3 task_not_schedulable = 4 task_not_scheduled = 5 report_not_found = 6 variant_not_found = 7 sequence_not_found = 8 scheduled_time_invalid = 9 transaction_not_found = 10 submit_cancelled = 11 OTHERS = 12.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = f_msg EXCEPTIONS OTHERS = 0.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = f_msg EXCEPTIONS OTHERS = 0.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = f_msg EXCEPTIONS OTHERS = 0.

BAL_DSP_PROFILE_DETLEVEL_GET CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' IMPORTING e_s_display_profile = f_profile EXCEPTIONS OTHERS = 0.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = f_profile EXCEPTIONS OTHERS = 0.



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