RSBDC_REORG 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 RSBDC_REORG 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: ALLTIME = Unlimited
Selection Text: DAYS = Day
Selection Text: FROM_DAT = Date/Time From
Selection Text: FROM_TIM = Beginning time
Selection Text: INTERVAL = Interval
Selection Text: MAPPE = Session name
Selection Text: MAPPEN = Processed sessions
Selection Text: MAPPRO = Processed sessions and logs
Selection Text: MONTH = Month
Selection Text: PERIOD = Days
Selection Text: PROTOKOL = Logs
Selection Text: TO_DAT = Date/Time To
Selection Text: TO_TIM = Time to
Selection Text: WEEK = Week
Title: Batch Input: Reorganize Sessions and Logs
Text Symbol: 062 = Transactions
Text Symbol: 061 = COMMIT WORK to
Text Symbol: 060 = Technical Settings
Text Symbol: 053 = Deleted logs
Text Symbol: 052 = Deleted sessions
Text Symbol: 051 = Reorganization statistics:
Text Symbol: 048 = Status
Text Symbol: 044 = (deletes logs lacking sessions)
Text Symbol: 001 = Time
Text Symbol: 002 = Log not found
Text Symbol: 003 = Session
Text Symbol: 004 = TemSe error
Text Symbol: 006 = Date
Text Symbol: 011 = Batch input: Reorganize sessions and logs
Text Symbol: 012 = Reorganize sessions and logs with
Text Symbol: 013 = Session name
Text Symbol: 014 = (generic or fully specified)
Text Symbol: 015 = Time limit
Text Symbol: 016 = Older than
Text Symbol: 017 = Days
Text Symbol: 018 = Interval
Text Symbol: 019 = Older than one week
Text Symbol: 020 = Older than one month
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HELP_OBJECT_SHOW call function 'HELP_OBJECT_SHOW' exporting dokclass = 'TX' doklangu = sy-langu dokname = 'BDC_RSBDCREO' doktitle = text-011 tables links = links.
HELP_OBJECT_SHOW call function 'HELP_OBJECT_SHOW' exporting dokclass = 'TX' doklangu = sy-langu dokname = 'BDC_RSBDCREO' doktitle = text-011 tables links = links.
HELP_OBJECT_SHOW call function 'HELP_OBJECT_SHOW' exporting dokclass = 'TX' doklangu = sy-langu dokname = 'BDC_RSBDCREO' doktitle = text-011 tables links = links.
BDC_PROTOCOL_SELECT CALL FUNCTION 'BDC_PROTOCOL_SELECT' EXPORTING NAME = '###' 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 GROUPSEL = mappe EXCEPTIONS INVALID_DATA = 1 OTHERS = 2.
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 = '###' 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 GROUPSEL = mappe 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.
RSBDC_REORG - Batch Input: Reorganize Sessions and Logs RSBDC_REORG - Batch Input: Reorganize Sessions and Logs RSBDC_PROTOCOL - Batch Input: Session Logs RSBDC_PROTOCOL - Batch Input: Session Logs RSBDC_ARCHREAD - Program for Sequential Batch Input Archive Read Using ADK RSBDC_ARCHREAD - Program for Sequential Batch Input Archive Read Using ADK