SAP Reports / Programs | SAP Business Information Warehouse | Warehouse Management | Data Staging(BW-WHM-DST) SAP BW

RSBATCH_DEL_MSG_PARM_DTPTEMP SAP ABAP Report - Delete Old Messages, Parameters and Temp. DTP Data







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


Text pool values


Title: Delete Old Messages, Parameters and Temp. DTP Data


INCLUDES used within this REPORT RSBATCH_DEL_MSG_PARM_DTPTEMP

No INCLUDES are used within this REPORT code!


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:

RSSM_SLEEP_DEBUG call function 'RSSM_SLEEP_DEBUG' exporting i_seconds = 15 * I_ALWAYS = ' ' * I_DEBUG_STATUS_GET = ' ' * IMPORTING * E_DEBUG_ON = .

ENQUEUE_ERSBATCHDELDATA call function 'ENQUEUE_ERSBATCHDELDATA' exporting mode_rsbatchdeldata = 'E' * JOBNAME = _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.

RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = l_ts_now.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_timestamps = l_low importing e_datum_utc = l_date1.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_datum_utc = l_date1 i_uzeit_utc = '000000' importing e_timestamps = l_low.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_datum_utc = l_date1 i_uzeit_utc = '000000' importing e_timestamps = l_low1.

DB_COMMIT call function 'DB_COMMIT'.

DB_COMMIT call function 'DB_COMMIT'.

DB_COMMIT call function 'DB_COMMIT'.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_timestamps = l_ts_high_check importing e_datum_utc = l_date e_uzeit_utc = l_time.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_datum_utc = l_date i_uzeit_utc = '000000' importing e_timestamps = l_ts_high_check.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_timestamps = l_s_del-last_chk_ts importing e_datum_utc = l_date e_uzeit_utc = l_time.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_datum_utc = l_date i_uzeit_utc = '000000' importing e_timestamps = l_s_del-last_chk_ts.

DB_COMMIT call function 'DB_COMMIT'.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_timestamps = l_ts_high_check importing e_datum_utc = l_date_high e_uzeit_utc = l_time_high.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_datum_utc = l_date_high i_uzeit_utc = l_time_high importing e_timestamps = l_ts_high_check.

RSBATCH_SHOW_BATCHJOBS call function 'RSBATCH_SHOW_BATCHJOBS' exporting i_ts_low = l_ts_low_check i_ts_high = l_ts_high_check i_no_dialog = 'X' importing e_t_jobs = l_t_jobs.

RSSM_GET_TIME





call function 'RSSM_GET_TIME' exporting i_datum_utc = l_date i_uzeit_utc = '000000' importing e_timestamps = l_ts_low.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_datum_loc = l_date i_uzeit_loc = l_time importing e_timestamps = l_ts_msg_high.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_datum_loc = l_date i_uzeit_loc = l_time importing e_timestamps = l_ts_par_high.

DB_COMMIT call function 'DB_COMMIT'.

DB_COMMIT call function 'DB_COMMIT'.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_timestamps = l_ts_low importing e_datum_utc = l_date e_uzeit_utc = l_time.

RSSM_GET_TIME call function 'RSSM_GET_TIME' exporting i_datum_utc = l_date i_uzeit_utc = '000000' importing e_timestamps = l_ts_low.

DB_COMMIT call function 'DB_COMMIT'.

RSBATCH_CHECK_PROCESS call function 'RSBATCH_CHECK_PROCESS' exporting i_batch_id = l_t_header-batch_id * I_WAIT = 'X' importing * E_T_RETURN = * E_T_MSG = e_status = l_status * E_S_CTRL = * E_CHANGED = * E_S_HEADER = exceptions id_not_exist = 1 foreign_lock = 2 others = 3.

ENQUEUE_ERSBATCHCTRL call function 'ENQUEUE_ERSBATCHCTRL' exporting mode_rsbatchctrl = 'E' batch_id = l_t_header-batch_id _scope = '3' _wait = 'X' exceptions foreign_lock = 1 system_failure = 2 others = 3.

DB_COMMIT call function 'DB_COMMIT'.

DEQUEUE_ERSBATCHCTRL call function 'DEQUEUE_ERSBATCHCTRL' exporting mode_rsbatchctrl = 'E' batch_id = l_t_header-batch_id _synchron = 'X'.

DB_COMMIT call function 'DB_COMMIT'.

DEQUEUE_ERSBATCHDELDATA call function 'DEQUEUE_ERSBATCHDELDATA' exporting mode_rsbatchdeldata = 'E' * JOBNAME = * _SCOPE = '3' _synchron = 'X' * _COLLECT = ' ' .

RSDU_ANALYZE_TABLE call function 'RSDU_ANALYZE_TABLE' exporting i_tablnm = 'RSBATCHDATA' i_percentage = 100.

SEO_IMPLEMENTG_EXISTENCE_CHECK call function 'SEO_IMPLEMENTG_EXISTENCE_CHECK' exporting impkey = l_s_impkey exceptions class_not_existing = 1 not_specified = 2 not_existing = 3 is_inheritance = 4 is_comprising = 5 inconsistent = 6 others = 7.



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