SAP Reports / Programs

RSPC_MONITOR SAP ABAP Report - Monitoring of Selected Process Chains (Last Run)







RSPC_MONITOR 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 RSPC_MONITOR into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

RSPCM - Monitor daily process chains


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


Text pool values


Title: Monitoring of Selected Process Chains (Last Run)
Text Symbol: 033 = m
Text Symbol: 034 = s
Text Symbol: 035 = End By
Text Symbol: 036 = Runtime Exceeded for Following Chains:
Text Symbol: 037 = Start Delayed for Following Chains:
Text Symbol: 038 = Add All Chains from a Component
Text Symbol: 039 = With Errors
Text Symbol: 040 = Active
Text Symbol: 041 = Successful
Text Symbol: 042 = Inactive
Text Symbol: 043 = Calculation Error
Text Symbol: 044 = Not Scheduled
Text Symbol: 045 = Irregular Execution
Text Symbol: 046 = Compress Includes
Text Symbol: 047 = Expand Includes
Text Symbol: 048 = Include
Text Symbol: 049 = New
Text Symbol: 050 = Select Include
Text Symbol: 051 = Includes
Text Symbol: 05A = Inserted include (directly/indirectly) contains
Text Symbol: 05B = the current include (recursion)
Text Symbol: 05D = Only use 11 characters,
Text Symbol: 05E = or start name with '.'
Text Symbol: 05G = Include already exists
Text Symbol: 061 = Runtime Too Long
Text Symbol: 062 = Runtime Critical
Text Symbol: 063 = Runtime OK
Text Symbol: 065 = Start Seriously Delayed
Text Symbol: 066 = Start Delayed
Text Symbol: 067 = No Delay
Text Symbol: 032 = H
Text Symbol: 001 = Add chain
Text Symbol: 002 = Status
Text Symbol: 003 = Date
Text Symbol: 004 = Time
Text Symbol: 005 = Chain
Text Symbol: 006 = Name





Text Symbol: 007 = Log ID
Text Symbol: 008 = Error occurred for following chains:
Text Symbol: 009 = Erroneous process chains found
Text Symbol: 010 = Mail sent
Text Symbol: 011 = Unwanted status for following chains:
Text Symbol: 012 = Remove Chain
Text Symbol: 013 = Initial Configuration
Text Symbol: 014 = No chains entered.
Text Symbol: 015 = Should the chains from the non user-specific list be added?
Text Symbol: 016 = Should all chains that do not have a higher-level chain be entered?
Text Symbol: 017 = Yes
Text Symbol: 018 = No
Text Symbol: 019 = Refresh Automatically
Text Symbol: 020 = Refresh status immediately when transaction is called?
Text Symbol: 021 = All Chains (Status Red, Yellow or Green)
Text Symbol: 022 = Only if Status Unclear (Yellow)
Text Symbol: 023 = No Automatic Refresh
Text Symbol: 024 = Difference [%]
Text Symbol: 025 = Average Variation [%]
Text Symbol: 026 = Runtime
Text Symbol: 027 = Delay
Text Symbol: 028 = Next Start
Text Symbol: 029 = Time Monitoring
Text Symbol: 030 = w
Text Symbol: 031 = D


INCLUDES used within this REPORT RSPC_MONITOR

FORM SELECT_INCLUDE USING NEW TYPE RS_BOOL
FORM INCLUDE USING USER TYPE SYUNAME


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:

RSPC_CHAIN_SHOW_ERRORS CALL FUNCTION 'RSPC_CHAIN_SHOW_ERRORS' EXPORTING i_chain = l_s_data-chain i_logid = l_s_data-log EXCEPTIONS no_errors = 1.

RSPC_CHAIN_SHOW_STATISTICS CALL FUNCTION 'RSPC_CHAIN_SHOW_STATISTICS' EXPORTING i_chain = l_s_data-chain i_logid = l_s_data-log.

RSPC_CHAIN_SHOW_DELTA CALL FUNCTION 'RSPC_CHAIN_SHOW_DELTA' EXPORTING i_chain = l_s_data-chain.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = '@69@' text = text-046 IMPORTING result = g_see_native_txt EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = '@68@' text = text-047 IMPORTING result = g_see_native_txt EXCEPTIONS OTHERS = 0.






REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING i_title = text-050 i_tabname = 'L_T_USER' i_screen_start_column = 3 i_screen_start_line = 3 i_screen_end_column = 95 i_screen_end_line = 15 it_excluding = l_t_exclude * I_STRUCTURE_NAME = I_STRUCTURE_NAME it_fieldcat = l_t_fcat IMPORTING es_selfield = l_s_selected e_exit = l_exit TABLES t_outtab = l_t_user EXCEPTIONS OTHERS = 0.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = text-001 IMPORTING returncode = l_ret TABLES fields = l_t_val EXCEPTIONS error_in_fields = 1 OTHERS = 2.

RSO_SELECT_COMPTLOGO CALL FUNCTION 'RSO_SELECT_COMPTLOGO' EXPORTING i_tlogo = 'RSPC' i_with_blank = 'X' IMPORTING e_applnm = l_applnm EXCEPTIONS aborted_by_user = 1 OTHERS = 2.

RSSM_GET_TIME CALL FUNCTION 'RSSM_GET_TIME' EXPORTING i_datum_utc = l_s_data-date i_uzeit_utc = l_s_data-time IMPORTING e_datum_loc = l_s_data-date e_uzeit_loc = l_s_data-time EXCEPTIONS failed = 1 OTHERS = 2.

RSPC_API_CHAIN_GET_STATUS CALL FUNCTION 'RSPC_API_CHAIN_GET_STATUS' EXPORTING i_chain = l_s_data-chain i_logid = l_s_data-log i_dont_update = l_dont_update IMPORTING e_status = l_s_data-status.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_led_red info = text-039 IMPORTING result = l_s_data-icon EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_led_green info = text-041 IMPORTING result = l_s_data-icon EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_list info = text-048 IMPORTING result = l_s_data-icon EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_led_inactive info = text-042 IMPORTING result = l_s_data-icon EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_led_yellow info = text-040 IMPORTING result = l_s_data-icon EXCEPTIONS OTHERS = 0.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = 'Y' stdt_input = l_s_start stdt_opcode = 14 IMPORTING stdt_output = l_s_start EXCEPTIONS OTHERS = 1.

RSSM_PLAN_START_BATCH_JOB CALL FUNCTION 'RSSM_PLAN_START_BATCH_JOB' EXPORTING i_s_startspecs = l_s_start i_reportname = 'RSPC_MONITOR' i_jobname = l_jobname i_rspc_monvari = g_user IMPORTING e_subrc = l_subrc.

BP_JOB_MANAGEMENT CALL FUNCTION 'BP_JOB_MANAGEMENT' EXPORTING jobselect_dialog = 'Y' joblist_opcode = '21' TABLES joblist = l_t_joblist EXCEPTIONS unknown_selection_error = 1 invalid_opcode = 2 invalid_dialog_type = 3 refresh_list_required = 4 empty_list = 5 OTHERS = 6.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-013 text_question = l_text text_button_1 = 'Ja'(017) text_button_2 = 'Nein'(018) display_cancel_button = ' ' IMPORTING answer = l_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

RSPC_GET_CHAIN CALL FUNCTION 'RSPC_GET_CHAIN' EXPORTING i_filter_client = 'X' IMPORTING e_t_chain_ids = l_t_chain EXCEPTIONS aborted_by_user = 1 OTHERS = 2.

POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING cursorline = l_default mark_flag = ' ' mark_max = 1 start_col = 5 start_row = 5 textline1 = text-020 titel = text-019 IMPORTING answer = l_answer TABLES t_spopli = l_t_popli EXCEPTIONS not_enough_answers = 1 too_much_answers = 2 too_much_marks = 3 OTHERS = 4.

RSPC_GET_DEVIATION CALL FUNCTION 'RSPC_GET_DEVIATION' EXPORTING i_chain = p_s_data-chain i_logid = p_s_data-log IMPORTING e_act_deviation_perc = l_act_deviation_perc e_avg_deviation_perc = l_avg_deviation_perc e_act_runtime = l_act_runtime.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_led_red info = text-061 IMPORTING result = p_s_data-devi EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_led_yellow info = text-062 IMPORTING result = p_s_data-devi EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE



CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_led_green info = text-063 IMPORTING result = p_s_data-devi EXCEPTIONS OTHERS = 0.

RSPC_GET_DELAY CALL FUNCTION 'RSPC_GET_DELAY' EXPORTING i_chain = p_s_data-chain i_logid = p_s_data-log IMPORTING e_next_start_date = l_date e_next_start_time = l_time e_act_delay = l_act_delay e_avg_delay = l_avg_delay EXCEPTIONS failed = 1 unregular = 2 unscheduled = 3 scheduling_error = 4 unused = 5 OTHERS = 6.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_incomplete info = text-043 IMPORTING result = p_s_data-delay EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_led_inactive info = text-045 IMPORTING result = p_s_data-delay EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_planning_out info = text-044 IMPORTING result = p_s_data-delay EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_led_inactive info = text-042 IMPORTING result = p_s_data-delay EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_led_red info = text-065 IMPORTING result = p_s_data-delay EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_led_yellow info = text-066 IMPORTING result = p_s_data-delay EXCEPTIONS OTHERS = 0.

RSSM_ICON_CREATE CALL FUNCTION 'RSSM_ICON_CREATE' EXPORTING name = icon_led_green info = text-067 IMPORTING result = p_s_data-delay EXCEPTIONS OTHERS = 0.

RSSM_GET_TIME CALL FUNCTION 'RSSM_GET_TIME' EXPORTING i_datum_utc = l_date i_uzeit_utc = l_time IMPORTING e_datum_loc = l_ldate e_uzeit_loc = l_ltime EXCEPTIONS OTHERS = 0.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING no_value_check = 'X' popup_title = text-050 IMPORTING returncode = l_ret TABLES fields = l_t_fld 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 RSPC_MONITOR or its description.