SAP Reports / Programs

RMCSS024 SAP ABAP Report - Updating for Work Center Analysis: S024







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


Text pool values


Title: Updating for Work Center Analysis: S024


INCLUDES used within this REPORT RMCSS024

INCLUDE RMCSSU01.
INCLUDE RMCSSU10.


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:

DIMENSION_GET CALL FUNCTION 'DIMENSION_GET' EXPORTING time = 1 IMPORTING dimid = l_dimension EXCEPTIONS dimension_not_found = 01.

UNIT_GET CALL FUNCTION 'UNIT_GET' EXPORTING denominator = 1 dimension = l_dimension numerator = 86400 "Anzahl Sekunden pro Tag IMPORTING unit = con_tag EXCEPTIONS unit_not_found = 01.

DIMENSION_GET CALL FUNCTION 'DIMENSION_GET' EXPORTING time = 1 IMPORTING dimid = l_dimension EXCEPTIONS dimension_not_found = 01.

UNIT_GET CALL FUNCTION 'UNIT_GET' EXPORTING denominator = 1 dimension = l_dimension numerator = 3600 "Anzahl Sekunden pro Stunde IMPORTING unit = con_h EXCEPTIONS unit_not_found = 01.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING date = date1 factory_calendar_id = cal_id IMPORTING * date = date1 factorydate = da_fdate1 EXCEPTIONS correct_option_invalid = 01 date_after_range = 02 date_before_range = 03 date_invalid = 04 factory_calendar_not_found = 05.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING date = date2 factory_calendar_id = cal_id IMPORTING * date = date2 factorydate = da_fdate2 EXCEPTIONS correct_option_invalid = 01 date_after_range = 02 date_before_range = 03 date_invalid = 04 factory_calendar_not_found = 05.

WEEK_GET_FIRST_DAY CALL FUNCTION 'WEEK_GET_FIRST_DAY' EXPORTING week = pa_spwoc_hlp IMPORTING date = pa_sptag-low EXCEPTIONS week_invalid = 01.

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = pa_gjahr_hlp i_periv = int_s024-periv i_poper = pa_poper_hlp IMPORTING e_date = pa_sptag-low EXCEPTIONS input_false = 01 t009_notfound = 02 t009b_notfound = 03.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = pa_gjahr_hlp i_periv = int_s024-periv i_poper = pa_poper_hlp IMPORTING e_date = pa_sptag-high EXCEPTIONS input_false = 01 t009_notfound = 02 t009b_notfound = 03.

CR_WORKSTATION_CHECK CALL FUNCTION 'CR_WORKSTATION_CHECK' EXPORTING arbpl = int_s024-arbpl msgty = 'S' werks = int_s024-werks IMPORTING arbid = rcr01_arbid EXCEPTIONS not_found = 1 OTHERS = 2.

CR_WORKCENTER_READ_CAPACITIES CALL FUNCTION 'CR_WORKCENTER_READ_CAPACITIES' EXPORTING arbid = rcr01_arbid IMPORTING ecrhd = crhd TABLES tcrca = crca EXCEPTIONS not_found = 1.

CR_CAPACITY_AVAILABLE_PERIODS CALL FUNCTION 'CR_CAPACITY_AVAILABLE_PERIODS' TABLES t_avail = pertab EXCEPTIONS hierarchy_not_found = 0 object_not_in_hierarchy = 0 version_without_hierarchy = 0.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = zeu_value no_type_check = 'X' round_sign = ' ' unit_in = zeu_source_unit unit_out = zeu_target_unit IMPORTING output = zeu_value EXCEPTIONS conversion_not_found = 01 division_by_zero = 02 input_invalid = 03 output_invalid = 04 overflow = 05 type_invalid = 06 units_missing = 07 unit_in_not_found = 08 unit_out_not_found = 09.



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