RSBATCH1 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 RSBATCH1 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Scheduler in batch
Text Symbol: 001 = Request load
Text Symbol: 002 = Error
Text Symbol: 003 = Successful
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RSSM_SLEEP_DEBUG call function 'RSSM_SLEEP_DEBUG' exporting i_seconds = 15 * I_ALWAYS = 'X' .
GET_JOB_RUNTIME_INFO call function 'GET_JOB_RUNTIME_INFO' importing jobcount = l_jobcount jobname = l_jobname exceptions no_runtime_info = 1 others = 2.
RSSM_GET_JOBS call function 'RSSM_GET_JOBS' exporting * i_prefix = rssm_c_batchprefix i_prefix = l_prefix tables e_t_joblist = l_t_joblist exceptions no_jobs_found = 1 others = 2.
ENQUEUE_ERSSDBATCH call function 'ENQUEUE_ERSSDBATCH' exporting _wait = 'X' exceptions foreign_lock = 1 system_failure = 2 others = 3.
RSSM_RSREQDONE_READ call function 'RSSM_RSREQDONE_READ' exporting i_rnr = g_t_rssdbatch-bapirnr importing e_s_rsreqdone = rsreqdone.
DB_COMMIT call function 'DB_COMMIT' exceptions others = 1.
DEQUEUE_ERSSDBATCH call function 'DEQUEUE_ERSSDBATCH' exceptions others = 1.
BP_JOB_DELETE call function 'BP_JOB_DELETE' exporting jobcount = l_t_joblist-jobcount jobname = l_t_joblist-jobname forcedmode = 'X' * commitmode = 'X' exceptions cant_delete_event_entry = 1 cant_delete_job = 2 cant_delete_joblog = 3 cant_delete_steps = 4 cant_delete_time_entry = 5 cant_derelease_successor = 6 cant_enq_predecessor = 7 cant_enq_successor = 8 cant_enq_tbtco_entry = 9 cant_update_predecessor = 10 cant_update_successor = 11 commit_failed = 12 jobcount_missing = 13 jobname_missing = 14 job_does_not_exist = 15 job_is_already_running = 16 no_delete_authority = 17 others = 18.
BP_JOB_DELETE call function 'BP_JOB_DELETE' exporting jobcount = l_t_joblist-jobcount jobname = l_t_joblist-jobname forcedmode = 'X' * commitmode = 'X' exceptions cant_delete_event_entry = 1 cant_delete_job = 2 cant_delete_joblog = 3 cant_delete_steps = 4 cant_delete_time_entry = 5 cant_derelease_successor = 6 cant_enq_predecessor = 7 cant_enq_successor = 8 cant_enq_tbtco_entry = 9 cant_update_predecessor = 10 cant_update_successor = 11 commit_failed = 12 jobcount_missing = 13 jobname_missing = 14 job_does_not_exist = 15 job_is_already_running = 16 no_delete_authority = 17 others = 18.
RSSM_UNIQUE_ID call function 'RSSM_UNIQUE_ID' importing e_uni_idc25 = g_unique_id exceptions others = 0.
RSAR_SYSTEM_VIRTUAL call function 'RSAR_SYSTEM_VIRTUAL' exporting i_logsys = g_t_rsldpio-logsys importing e_logsys = l_master_logsys exceptions logsys_virtual = 1.
RSAR_SYSTEM_VIRTUAL_MATCH call function 'RSAR_SYSTEM_VIRTUAL_MATCH' exporting i_datasource = g_t_rsldpio-oltpsource i_logsys = g_t_rsldpio-logsys exceptions mismatch = 1.
RSAR_SYSTEM_VIRTUAL_MATCH call function 'RSAR_SYSTEM_VIRTUAL_MATCH' exporting i_datasource = g_t_rsldpio-oltpsource i_logsys = g_t_rsldpio-logsys exceptions mismatch = 1.
RSBATCH_INFORM_MANAGER call function 'RSBATCH_INFORM_MANAGER' exporting i_process_type = 'SCHEDULER' i_status = icon_yellow_light i_t_info = l_t_info importing e_batch_id = l_batch_id.
RSBATCH_INFORM_MANAGER call function 'RSBATCH_INFORM_MANAGER' exporting i_process_type = 'SCHEDULER' i_status = l_batch_status i_t_info = l_t_info i_batch_id = l_batch_id.
RSM2_SET_GET_GLOBAL call function 'RSM2_SET_GET_GLOBAL' exporting i_get = rs_c_false i_refresh = rs_c_true.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = l_timestamp.
RSSM_RSMONMESS_READ call function 'RSSM_RSMONMESS_READ' exporting i_rnr = rnr_back tables e_t_rsmonmess = l_t_monmess.
call function 'RSSM_GET_TIME' importing e_timestamps = l_timestamp_utc exceptions others = 1.
RSSM_RSREQDONE_READ call function 'RSSM_RSREQDONE_READ' exporting i_rnr = rnr_back importing e_s_rsreqdone = rsreqdone.
RSSM_GET_REQUEST_STATUS call function 'RSSM_GET_REQUEST_STATUS' exporting i_request = rnr_back * I_STAY_YELLOW = RS_C_FALSE i_no_assistance = rs_c_true i_no_timeout = rs_c_true importing e_techstatus = l_tstatus * E_TECHINFO = * E_QUALSTATUS = * E_QUALINFO = * E_LOCATION = * TABLES * E_T_MESSAGES = * E_T_MSGTAB = * E_T_TEXT = exceptions not_exist = 1 others = 2.
RSSM_RSSELDONE_READ call function 'RSSM_RSSELDONE_READ' exporting i_rnr = rsreqdone-rnr i_single_select = 'X' importing e_s_rsseldone = l_s_rsseldone.
RSSM_RSMONIPTAB_READ call function 'RSSM_RSMONIPTAB_READ' exporting i_rnr = rsreqdone-rnr i_rqstate = '8' i_single_select = 'X' importing e_s_rsmoniptab = l_s_iptab.
RSSM_RSMONMESS_READ call function 'RSSM_RSMONMESS_READ' exporting i_rnr = rsreqdone-rnr tables e_t_rsmonmess = l_t_rsmonmess.
RSSM_RSMONIPTAB_READ call function 'RSSM_RSMONIPTAB_READ' exporting i_rnr = rsreqdone-rnr i_rqstate = '8' i_single_select = 'X' importing e_s_rsmoniptab = l_s_iptab.
RSSM_RSMONMESS_READ call function 'RSSM_RSMONMESS_READ' exporting i_rnr = rsreqdone-rnr tables e_t_rsmonmess = l_t_rsmonmess.
RSSM_RSMONMESS_READ call function 'RSSM_RSMONMESS_READ' exporting i_rnr = rsreqdone-rnr tables e_t_rsmonmess = l_t_rsmonmess.
RSSM_RSMONIPTAB_READ call function 'RSSM_RSMONIPTAB_READ' exporting i_rnr = rsreqdone-rnr i_rqstate = '8' i_single_select = 'X' importing e_s_rsmoniptab = l_s_iptab.
RSSM_RSMONMESS_READ call function 'RSSM_RSMONMESS_READ' exporting i_rnr = rsreqdone-rnr tables e_t_rsmonmess = l_t_rsmonmess.
RSSM_RSSELDONE_READ call function 'RSSM_RSSELDONE_READ' exporting i_rnr = rnr_back i_single_select = 'X' importing e_s_rsseldone = rsseldone.
RSSM_MON_START_2ND_PROCESS call function 'RSSM_MON_START_2ND_PROCESS' starting new task 'BTCH' exporting rnr = rnr_back tstatus = rsreqdone-tstatus source = rsseldone-source oltpsource = rsseldone-oltpsource logsys = rsseldone-logsys typ = rsseldone-rnrtyp gnr = g_gnr group_call = 'X'.
RSSM_SLEEP_DEBUG call function 'RSSM_SLEEP_DEBUG' exporting i_seconds = 60 i_always = 'X'.
RSM2_SET_GET_GLOBAL call function 'RSM2_SET_GET_GLOBAL' exporting i_get = rs_c_false i_refresh = rs_c_true.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = l_timestamp.
RSSM_RSMONMESS_READ call function 'RSSM_RSMONMESS_READ' exporting i_rnr = g_t_log-rnr_back tables e_t_rsmonmess = l_t_rsmonmess.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = l_timestamp_utc exceptions others = 1.
RSSM_RSREQDONE_READ call function 'RSSM_RSREQDONE_READ' exporting i_rnr = g_t_log-rnr_back importing e_s_rsreqdone = rsreqdone.
RSSM_GET_REQUEST_STATUS call function 'RSSM_GET_REQUEST_STATUS' exporting i_request = g_t_log-rnr_back * I_STAY_YELLOW = RS_C_FALSE i_no_assistance = rs_c_true i_no_timeout = rs_c_true importing e_techstatus = l_tstatus * E_TECHINFO = * E_QUALSTATUS = * E_QUALINFO = * E_LOCATION = * TABLES * E_T_MESSAGES = * E_T_MSGTAB = * E_T_TEXT = exceptions not_exist = 1 others = 2.
RSSM_RSMONIPTAB_READ call function 'RSSM_RSMONIPTAB_READ' exporting i_rnr = rsreqdone-rnr i_rqstate = '8' i_single_select = 'X' importing e_s_rsmoniptab = l_s_iptab.
RSSM_RSMONMESS_READ call function 'RSSM_RSMONMESS_READ' exporting i_rnr = rsreqdone-rnr tables e_t_rsmonmess = l_t_rsmonmess.
RSSM_RSMONIPTAB_READ call function 'RSSM_RSMONIPTAB_READ' exporting i_rnr = rsreqdone-rnr i_rqstate = '8' i_single_select = 'X' importing e_s_rsmoniptab = l_s_iptab.
RSSM_RSMONMESS_READ call function 'RSSM_RSMONMESS_READ' exporting i_rnr = rsreqdone-rnr tables e_t_rsmonmess = l_t_rsmonmess.
RSSM_RSMONMESS_READ call function 'RSSM_RSMONMESS_READ' exporting i_rnr = rsreqdone-rnr tables e_t_rsmonmess = l_t_rsmonmess.
RSSM_RSMONIPTAB_READ call function 'RSSM_RSMONIPTAB_READ' exporting i_rnr = rsreqdone-rnr i_rqstate = '8' i_single_select = 'X' importing e_s_rsmoniptab = l_s_iptab.
RSSM_RSMONMESS_READ call function 'RSSM_RSMONMESS_READ' exporting i_rnr = rsreqdone-rnr tables e_t_rsmonmess = l_t_rsmonmess.
RSSM_RSSELDONE_READ call function 'RSSM_RSSELDONE_READ' exporting i_rnr = rnr_back i_single_select = 'X' importing e_s_rsseldone = rsseldone.
RSSM_RSSELDONE_READ call function 'RSSM_RSSELDONE_READ' exporting i_rnr = rnr_back i_single_select = 'X' importing e_s_rsseldone = rsseldone.
RSSM_MON_START_2ND_PROCESS call function 'RSSM_MON_START_2ND_PROCESS' starting new task 'BTCH' exporting rnr = rnr_back tstatus = rsreqdone-tstatus source = rsseldone-source oltpsource = rsseldone-oltpsource logsys = rsseldone-logsys typ = rsseldone-rnrtyp group_call = 'X' gnr = g_gnr.
RSSM_CALL_RSAR_DATA_REQUEST_1 call function 'RSSM_CALL_RSAR_DATA_REQUEST_1' exporting p_logid = g_t_log-logid p_logid_p = g_parent p_source = g_t_rsldpio-source p_typ = g_t_rsldpio-typ p_logsys = g_t_rsldpio-logsys p_oltpsource = g_t_rsldpio-oltpsource p_uname = g_t_rssdbatch-uname p_batch = 'X' g_gnr = g_gnr g_bapirnr = g_bapirnr importing error = ok_code g_rnr = rnr_back tables p_t_rsldpsel = g_t_rsldpsel p_t_rsldpio = g_t_rsldpio p_t_rssdbatch = g_t_rssdbatch exceptions internal_error = 1 others = 2.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_datum_utc = l_date_temp e_uzeit_utc = l_time_temp.
DB_COMMIT call function 'DB_COMMIT'.
BAPI_ISREQUEST_GETSTATUS call function 'BAPI_ISREQUEST_GETSTATUS' exporting requestid = p_rnr importing techstatus = l_tech qualstatus = l_qual return = l_ret.
RSSM_TIMEOUT_DEFAULT call function 'RSSM_TIMEOUT_DEFAULT' exporting i_ipak = p_ipak importing e_timeout = l_timestamp_int.
RSCC_RSADM_ACC * call function 'RSCC_RSADM_ACC' * exporting * fieldname = rssm_c_timeout * action = 'S' * changing * adminvalue = l_value * exceptions * others = 1.
RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_timestamps = p_timestamp importing e_datum_utc = l_datum_utc e_uzeit_utc = l_uzeit_utc exceptions others = 1.
RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_datum_utc = l_datum_utc i_uzeit_utc = l_uzeit_utc importing e_timestamps = p_timestamp.
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 RSBATCH1 or its description.
RSBATCH1 - Scheduler in batch RSBATCH1 - Scheduler in batch RSBAPTEXTS - Text Elements for BI Content User Interface Pattern RSBAPTEXTS - Text Elements for BI Content User Interface Pattern RSB10002 - Enabling Grid Point Extraction for an Export DataSource RSB10002 - Enabling Grid Point Extraction for an Export DataSource