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

CKMLW_SET_RUN_STATUS_CLOSED SAP ABAP Report - Complete Reporting Period







CKMLW_SET_RUN_STATUS_CLOSED 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_SET_RUN_STATUS_CLOSED 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_SET_RUN_STATUS_CLOSED. "Basic submit
SUBMIT CKMLW_SET_RUN_STATUS_CLOSED AND RETURN. "Return to original report after report execution complete
SUBMIT CKMLW_SET_RUN_STATUS_CLOSED 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_RUNTYP = D .
Selection Text: P_RUNDAY = D .
Selection Text: P_POPER = D .
Selection Text: P_GJAHR = D .
Selection Text: P_APPL = D .
Title: Complete Reporting Period
Text Symbol: 202 = Reset Completion
Text Symbol: 201 = Complete Run
Text Symbol: 105 = Processing type
Text Symbol: 014 = Select materials
Text Symbol: 013 = Cycle
Text Symbol: 012 = Costing Level
Text Symbol: 011 = Cstg.level
Text Symbol: 010 = Level
Text Symbol: 009 = Materials with errors selected
Text Symbol: 008 = Materials with warnings selected
Text Symbol: 007 = Materials without errors selected
Text Symbol: 006 = No. Mats
Text Symbol: 005 = Materials
Text Symbol: 004 = Number of Materials
Text Symbol: 003 = Last Day of Period
Text Symbol: 002 = Costing Run Profile
Text Symbol: 001 = Processing Options


INCLUDES used within this REPORT CKMLW_SET_RUN_STATUS_CLOSED

INCLUDE RCKMLMV_RUN_BASIC_LISTTOP. "GLOBALE DATEN
INCLUDE RKASMAWF.
INCLUDE SCHEDMAN_EVENTS.
INCLUDE CKMLW_SET_STATUS_SEL_SCREEN.
INCLUDE CKML_RUN_SELSCREEN_PERIOD_EXT. "LAUF, SELEKTIONSBILD
INCLUDE CKML_RUN_SELSCREEN_F4_EVENTS.


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:

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'ABSCHLUSS' p_program = 'CKMLW_SET_RUN_STATUS_CLOSED' TABLES p_exclude = t_excluding.

CKML_RUN_VALAREAS_GET CALL FUNCTION 'CKML_RUN_VALAREAS_GET' EXPORTING i_run_id = s_run_period_data-run_id i_run_type = p_runtyp i_last_day = p_runday IMPORTING et_valareas = lt_bwkey_info[].

CM_F_INITIALIZE CALL FUNCTION 'CM_F_INITIALIZE' EXPORTING aplid = ckru0_co_msg_aplid_run object_id = ckru0_co_msg_objid_run.

CKML_RUN_PERIOD_GET CALL FUNCTION 'CKML_RUN_PERIOD_GET' EXPORTING i_run_id = s_run_period_data-run_id i_run_type = p_runtyp i_last_day = p_runday IMPORTING es_runperiod = s_run_period_data.

ENQUEUE_ECKML_INDX_RUN CALL FUNCTION 'ENQUEUE_ECKML_INDX_RUN' EXPORTING mode_ckml_s_indx_run = 'E' run_id = s_run_period_data-run_id appl = 'RN' _scope = '1'.

ENQUEUE_ECKMLRUNPERIOD CALL FUNCTION 'ENQUEUE_ECKMLRUNPERIOD' EXPORTING run_id = s_run_period_data-run_id _scope = '1' "Sperre bleibt im ONLINE!! EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING * APPEND_SAME_MSG = ' ' arbgb = 'CKMLMV' msgnr = '170' msgty = 'E' msgv1 = g_msgvar "Benutzer, der sperrt EXCEPTIONS mesage_type_not_valid = 1 no_sy_message = 2 OTHERS = 3.

CM_F_COLLECT_MESSAGE CALL FUNCTION 'CM_F_COLLECT_MESSAGE' EXCEPTIONS OTHERS = 1.

CKML_SCHEDMAN_RECORD_OPEN CALL FUNCTION 'CKML_SCHEDMAN_RECORD_OPEN' EXPORTING i_function = 'ML17' i_activity = ckru0_pepaction-n16 i_scma_witem = ls_witem i_repid = h_repid "#EC DOM_EQUAL i_run_id = s_run_period_data-run_id.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING arbgb = 'CKMLW' msgnr = '200' msgty = 'W'.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING arbgb = 'CKMLW' msgnr = '202' msgty = 'I'.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING * APPEND_SAME_MSG = ' ' arbgb = 'CKMLW' msgnr = '201' msgty = 'W'.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING arbgb = 'CKMLW' msgnr = '203' msgty = 'I'.

CKML_SCHEDMAN_RECORD_CLOSE CALL FUNCTION 'CKML_SCHEDMAN_RECORD_CLOSE' EXPORTING i_aplication_status = g_aplstat i_prot_number = g_cmf_nr i_scma_event = ls_scma_event.

DEQUEUE_ECKMLRUNPERIOD CALL FUNCTION 'DEQUEUE_ECKMLRUNPERIOD' EXPORTING run_id = s_run_period_data-run_id _scope = '1'.

DEQUEUE_ECKML_INDX_RUN CALL FUNCTION 'DEQUEUE_ECKML_INDX_RUN' EXPORTING mode_ckml_s_indx_run = 'E' run_id = s_run_period_data-run_id appl = 'RN' _scope = '1'.

CM_F_INFO CALL FUNCTION 'CM_F_INFO' EXPORTING aplid = ckru0_co_msg_aplid_run IMPORTING msg_counter_pro = h_msg_counter_pro.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING arbgb = 'CKMLW' msgnr = '099' msgty = 'E' msgv1 = g_msgvar.

CM_F_DISPLAY_LOG





CALL FUNCTION 'CM_F_DISPLAY_LOG' EXPORTING aplid = ckru0_co_msg_aplid_run skip_info_screen = h_skip_info_screen grid_display = 'X' alv_variant = ckru0_co_msg_alv_variant.



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