RSBDCREO is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report does the following: Deletes (sucessfully) processed sessions still in the system and their logs...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RSBDCREO 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.
Selection Text: MAPPEN = Processed sessions
Selection Text: PERIOD = or older than (days)
Selection Text: PROTOKOL = Logs
Selection Text: TO-DAT = to (date)
Selection Text: TO-TIM = (time)
Selection Text: MAPPE = Session name
Selection Text: FROM-DAT = Period from (date)
Selection Text: FROM-TIM = (time)
Title: Batch Input: Reorganize Sessions and Logs
Text Symbol: 052 = Deleted sessions
Text Symbol: 053 = Deleted logs
Text Symbol: 006 = Date
Text Symbol: 004 = TemSe error
Text Symbol: 003 = Session
Text Symbol: 002 = Log not found
Text Symbol: 001 = Time
Text Symbol: 030 = Processed session deleted
Text Symbol: 051 = Reorganization statistics:
Text Symbol: 050 = Processed sessions
Text Symbol: 048 = Status
Text Symbol: 043 = Logs
Text Symbol: 031 = Log deleted
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BDC_PROTOCOL_SELECT CALL FUNCTION 'BDC_PROTOCOL_SELECT' EXPORTING NAME = mappe CLIENT = SY-MANDT DATE_FROM = date_from DATE_TO = date_to TIME_FROM = time_from TIME_TO = time_to * STATUS = '*' * SESSION_USER = '*' TABLES APQLTAB = apqltab EXCEPTIONS INVALID_DATA = 1 OTHERS = 2.
BDC_TEMSE_REMOVE * CALL FUNCTION 'BDC_TEMSE_REMOVE' * EXPORTING * TEMSE_CLIENT = apqltab-MANDANT * TEMSE_ID = apqltab-TEMSEID * EXCEPTIONS * OTHERS = 20.
BDC_PROTOCOL_DELETE CALL FUNCTION 'BDC_PROTOCOL_DELETE' EXPORTING TEMSE_ID = apqltab-TEMSEID TEMSE_CLIENT = apqltab-MANDANT EXCEPTIONS NOT_FOUND = 1 TEMSE_ERROR = 2 OTHERS = 3.
BDC_OBJECT_SELECT CALL FUNCTION 'BDC_OBJECT_SELECT' EXPORTING NAME = mappe DATATYPE = 'BDC' CLIENT = SY-MANDT DATE_FROM = date_from DATE_TO = date_to TIME_FROM = time_from TIME_TO = time_to QSTATE = 'F' * SESSION_CREATOR = '*' TABLES APQITAB = apqitab EXCEPTIONS INVALID_DATATYPE = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSBDCREO - Batch Input: Reorganize Sessions and Logs RSBDCREO - Batch Input: Reorganize Sessions and Logs RSBDCREC - Generate Batch Input Program From Recording RSBDCREC - Generate Batch Input Program From Recording RSBDCOS0 - Execute OS Command (Logged in SYSLOG and Trace Files) RSBDCOS0 - Execute OS Command (Logged in SYSLOG and Trace Files)