RSBATCH_EXECUTE_PROZESS 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 RSBATCH_EXECUTE_PROZESS 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: Execute Batch Process
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 = 10 * I_ALWAYS = ' ' * I_DEBUG_STATUS_GET = ' ' * IMPORTING * E_DEBUG_ON = .
RSBATCH_DEBUG_WAIT call function 'RSBATCH_DEBUG_WAIT' exporting i_process_type = l_s_header-process_type i_t_values = l_t_values i_process_variant = l_s_header-pc_variant i_process_step = 'GENERIC'.
ENQUEUE_ERSBATCHCTRL call function 'ENQUEUE_ERSBATCHCTRL' exporting mode_rsbatchctrl = 'E' batch_id = id _scope = '3' _wait = 'X' exceptions foreign_lock = 1 system_failure = 2 others = 3.
GET_JOB_RUNTIME_INFO call function 'GET_JOB_RUNTIME_INFO' importing jobcount = l_jobcount jobname = l_jobname exceptions no_runtime_info = 1 others = 2.
TH_GET_OWN_WP_NO call function 'TH_GET_OWN_WP_NO' importing subrc = l_subrc wp_index = l_wp_no_th wp_pid = l_wp_pid.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = l_s_par-ts_last.
ENQUEUE_ERSBATCHCTRL_PAR call function 'ENQUEUE_ERSBATCHCTRL_PAR' exporting mode_rsbatchctrl_par = 'E' batch_id = id batch_process = l_s_par-batch_process _scope = '3'.
DB_COMMIT call function 'DB_COMMIT'.
DEQUEUE_ERSBATCHCTRL call function 'DEQUEUE_ERSBATCHCTRL' exporting mode_rsbatchctrl = 'E' batch_id = id * BATCH_PROCESS = * _SCOPE = '3' _synchron = 'X'.
RSSM_SLEEP_DEBUG * call function 'RSSM_SLEEP_DEBUG' * exporting * i_seconds = 10 * i_always = 'X'.
ENQUEUE_ERSBATCHCTRL_PAR call function 'ENQUEUE_ERSBATCHCTRL_PAR' exporting mode_rsbatchctrl_par = 'V' batch_id = l_t_par-batch_id batch_process = l_t_par-batch_process _scope = '3' exceptions foreign_lock = 1 system_failure = 2 others = 3.
RSBATCH_START_PROCESS call function 'RSBATCH_START_PROCESS' exporting i_process_type = l_s_header-process_type i_pc_variant = l_s_header-pc_variant i_batch_id = id i_batch_process = rsbtc_c_highnumber i_parameter = l_parameter i_hold_par_procs = 'X'.
ENQUEUE_ERSBATCHCTRL call function 'ENQUEUE_ERSBATCHCTRL' exporting mode_rsbatchctrl = 'E' batch_id = id batch_process = l_s_ctrl-batch_process _scope = '3' _wait = 'X' * _COLLECT = ' ' exceptions foreign_lock = 1 system_failure = 2 others = 3.
RSSM_SLEEP_DEBUG call function 'RSSM_SLEEP_DEBUG' exporting i_seconds = 1 i_always = 'X'.
RSSM_SLEEP_DEBUG * call function 'RSSM_SLEEP_DEBUG' * exporting * i_seconds = 10 * i_always = 'X'.
DEQUEUE_ERSBATCHCTRL call function 'DEQUEUE_ERSBATCHCTRL' exporting mode_rsbatchctrl = 'E' batch_id = id batch_process = l_s_ctrl-batch_process * BATCH_PROCESS = * _SCOPE = '3' _synchron = 'X'.
TH_SERVER_LIST call function 'TH_SERVER_LIST' tables list = l_t_server exceptions no_server_list = 1 others = 2.
GET_JOB_RUNTIME_INFO call function 'GET_JOB_RUNTIME_INFO' importing jobcount = l_s_ctrl-jobcount jobname = l_s_ctrl-jobname exceptions no_runtime_info = 1 others = 2.
call function 'RSSM_GET_TIME' importing e_timestamps = l_s_ctrl-ts_start.
DB_COMMIT call function 'DB_COMMIT'.
DEQUEUE_ERSBATCHCTRL call function 'DEQUEUE_ERSBATCHCTRL' exporting mode_rsbatchctrl = 'E' batch_id = l_s_ctrl-batch_id batch_process = l_s_ctrl-batch_process * BATCH_PROCESS = * _SCOPE = '3' _synchron = 'X'.
RSSM_SLEEP_DEBUG call function 'RSSM_SLEEP_DEBUG' exporting i_seconds = 1 i_always = 'X'.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = l_ts_now.
RSSM_SUBSTRACT_TIMESTAMPS call function 'RSSM_SUBSTRACT_TIMESTAMPS' exporting timestamp1 = l_ts_now timestamp2 = l_s_ctrl-ts_last importing secs = l_secs days = l_days.
RSBATCH_CHECK_PROCESS call function 'RSBATCH_CHECK_PROCESS' exporting i_batch_id = id i_wait = 'X' importing e_status = l_status.
RSBATCH_EXECUTE_PROCESS call function 'RSBATCH_EXECUTE_PROCESS' exporting id = id process = l_process.
ENQUEUE_ERSBATCHCTRL call function 'ENQUEUE_ERSBATCHCTRL' exporting mode_rsbatchctrl = 'E' batch_id = id batch_process = l_process_par _scope = '3' _wait = 'X' exceptions foreign_lock = 1 system_failure = 2 others = 3.
RSSM_SLEEP_DEBUG call function 'RSSM_SLEEP_DEBUG' exporting i_seconds = 1 i_always = 'X'.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = l_s_par-ts_last.
DB_COMMIT call function 'DB_COMMIT'.
DEQUEUE_ERSBATCHCTRL call function 'DEQUEUE_ERSBATCHCTRL' exporting mode_rsbatchctrl = 'E' batch_id = id batch_process = l_process_par _synchron = 'X'.
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 RSBATCH_EXECUTE_PROZESS or its description.
RSBATCH_EXECUTE_PROZESS - Execute Batch Process RSBATCH_EXECUTE_PROZESS - Execute Batch Process RSBATCH_DIALOG - Control of Batch/Search Log Functions RSBATCH_DIALOG - Control of Batch/Search Log Functions RSBATCH_DEL_MSG_PARM_DTPTEMP - Delete Old Messages, Parameters and Temp. DTP Data RSBATCH_DEL_MSG_PARM_DTPTEMP - Delete Old Messages, Parameters and Temp. DTP Data