RSORATAB 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 RSORATAB 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: DB02 (Oracle): Tables and Indexes: Detailed Analysis (Report)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GET_DB_ORA_RELEASE CALL FUNCTION 'GET_DB_ORA_RELEASE' IMPORTING ORACLE_RELEASE = ORA_REL.
DB_DBUSER CALL FUNCTION 'DB_DBUSER' IMPORTING DBUSER = DB_USER.
DB02_ORA_SELECT_SEGMENTS call function 'DB02_ORA_SELECT_SEGMENTS' EXPORTING SEG_NAME = SEG_NAME TB_SPACE = TB_SPACE SEG_TYPE = SEG_TYPE KBYTES = KBYTES NR_EXTENTS = EXTENTS with_bitmap = bitmap with_compression = compress TABLES DBA_SEGMENTS = DBA_SEGMENTS73.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = 'Alter Index' "#EC NOTEXT textline1 = 'Alter Index rebuild?' "#EC NOTEXT textline2 = 'Operation will lock table and index!' "#EC NOTEXT IMPORTING answer = answer.
DB02_ORA_TABLE_INDEX_ANALYSIS call function 'DB02_ORA_TABLE_INDEX_ANALYSIS' EXPORTING SEG_NAME = SEG_ROOT PARTITION = SEG_NAME SEG_TYPE = SEG_TYPE ANALYSIS = 'S' TABLES DBA_SEGMENTS = DBA_SEGMENTS73I EXCEPTIONS NO_SELECTION = 1 OTHERS = 2.
DB02_ORA_TABLE_INDEX_ANALYSIS CALL FUNCTION 'DB02_ORA_TABLE_INDEX_ANALYSIS' EXPORTING SEG_NAME = SEG_ROOT PARTITION = SEG_NAME SEG_TYPE = SEG_TYPE ANALYSIS = 'E' TABLES DBA_EXTENTS = DBA_EXTENTS73 EXCEPTIONS NO_SELECTION = 1 OTHERS = 2.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING * defaultoption = e01 TEXTLINE1 = MESG2 TEXTLINE2 = MESG3 TITEL = MESG1 IMPORTING ANSWER = ANSWER.
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING DELANFREP = D JOBNAME = 'DBTABLEANALYSIS' IMPORTING JOBCOUNT = CURRENT_JOB EXCEPTIONS CANT_CREATE_JOB = 01 INVALID_JOB_DATA = 02 JOBNAME_MISSING = 03 OTHERS = 99.
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBCOUNT = CURRENT_JOB JOBNAME = 'DBTABLEANALYSIS' STRTIMMED = 'X' EXCEPTIONS CANT_START_IMMEDIATE = 01 INVALID_STARTDATE = 02 JOBNAME_MISSING = 03 JOB_CLOSE_FAILED = 04 JOB_NOSTEPS = 05 JOB_NOTEX = 06 LOCK_FAILED = 07 OTHERS = 99.
DB02_ORA_TABLE_INDEX_ANALYSIS CALL FUNCTION 'DB02_ORA_TABLE_INDEX_ANALYSIS' EXPORTING SEG_NAME = SEG_ROOT PARTITION = SEG_NAME SEG_TYPE = SEG_TYPE ANALYSIS = 'T' IMPORTING DBA_SEGMENTS_TAB = DBA_SEGMENTS73T DBA_TABLES = DBA_TABLES73 DBSTATTORA1 = DBSTATTORA BLOCK_SIZE = BLOCK_SIZE EXCEPTIONS NO_SELECTION = 1 OTHERS = 2.
DB02_ORA_TABLE_INDEX_ANALYSIS CALL FUNCTION 'DB02_ORA_TABLE_INDEX_ANALYSIS' EXPORTING SEG_NAME = SEG_ROOT PARTITION = SEG_NAME SEG_TYPE = SEG_TYPE ANALYSIS = 'I' IMPORTING DBA_SEGMENTS_TAB = DBA_SEGMENTS73A DBSTATIORA1 = DBSTATIORA INDEX_STATS = INDEX_STAT SINGLE_INDEX = DBA_INDEXES73 BLOCK_SIZE = BLOCK_SIZE EXCEPTIONS NO_SELECTION = 1 OTHERS = 2.
DB02_ORA_TABLE_INDEX_ANALYSIS call function 'DB02_ORA_TABLE_INDEX_ANALYSIS' EXPORTING SEG_NAME = SEG_ROOT PARTITION = SEG_NAME SEG_TYPE = SEG_TYPE ANALYSIS = 'C' TABLES DBA_TAB_COLUMNS = DBA_TAB_COLUMNS73 DD03V_TAB = DD03V_TAB EXCEPTIONS NO_SELECTION = 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.