SAP Reports / Programs | Basis Components | ABAP Runtime Environment | UI Services, Screen, Batch Input(BC-ABA-SC) SAP BC

RSBDC_REORG SAP ABAP Report - Batch Input: Reorganize Sessions and Logs







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


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


Text pool values


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





Text Symbol: 021 = Unlimited
Text Symbol: 030 = Processed session deleted
Text Symbol: 031 = Log deleted
Text Symbol: 040 = Delete selection
Text Symbol: 041 = Processed sessions and logs
Text Symbol: 042 = Processed sessions
Text Symbol: 043 = Logs


INCLUDES used within this REPORT RSBDC_REORG

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:

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.



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