Hierarchy
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_ORA_ACTION_CONTROLLER | ORA: Abstract Action Controller | 20060308 |
Properties
| Class | CL_ORA_ACTION_AWR_REPORT | |
| Short Description | ORA: AWR Report Generation | |
| Super Class | CL_ORA_ACTION_CONTROLLER | ORA: Abstract Action Controller |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_DBMON_ORA_COCKPIT | Database Monitor for Oracle in Cockpit Framework |
| Created | 20060206 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ORA_ACTION_AWR_REPORT has no interface implemented.
Friends
Class CL_ORA_ACTION_AWR_REPORT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | ADBC / SQL connection | 20060206 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_CUSTOM_CONTAINER | Container for editor (display) or HTML viewer | 20060206 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_TEXTEDIT | Text editor (display mode) | 20060206 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_HTML_VIEWER | HTML Viewer | 20060206 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | I | 4 | Identifier for ADDM report | 20060215 | ||
| 6 | Instance attribute | Private | Type reference (TYPE) | I | 5 | Identifier for ASH report | 20061023 | ||
| 7 | Instance attribute | Private | Type reference (TYPE) | I | 2 | Identifier for AWR Difference report | 20060224 | ||
| 8 | Instance attribute | Private | Type reference (TYPE) | I | 1 | Identifier for AWR report | 20060209 | ||
| 9 | Instance attribute | Private | Type reference (TYPE) | I | 3 | Identifier for AWR SQL report | 20060209 | ||
| 10 | Instance attribute | Public | Type reference (TYPE) | STRING | ' |
Path to download html-file | 20090428 | ||
| 11 | Instance attribute | Private | Attribute reference (LIKE) | 20100810 | |||||
| 12 | Instance attribute | Public | Type reference (TYPE) | ORA_AWR_ASH_REPORT | Data to be displayed (table with text strings) | 20060206 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Call popup for html download | 20090428 | |
| 2 | Instance method | Public | Method | Check if browser is active | 20060209 | |
| 3 | Instance method | Public | Method | Check and set selection values (Snapshot IDs) | 20060207 | |
| 4 | Instance method | Private | Method | check SQL ID for existence | 20060210 | |
| 5 | Instance method | Private | Method | create an ADBC connection for current (remote) system ID | 20060206 | |
| 6 | Instance method | Private | Method | Downlad html data to local file | 20090428 | |
| 7 | Instance method | Private | Method | Get default value for parameter DBIO_EXPECTED | 20060224 | |
| 8 | Instance method | Private | Method | Get DB ID of connected database | 20060207 | |
| 9 | Instance method | Private | Method | Get currently selected instance ID | 20060207 | |
| 10 | Instance method | Private | Method | Get minimum and maximum SNAP IDs | 20100702 | |
| 11 | Instance method | Private | Method | Get currently selected remote system name | 20060207 | |
| 12 | Instance method | Private | Method | Display a specific report as web page | 20060209 | |
| 13 | Instance method | Private | Method | Display a specific report as text in an editor | 20060209 | |
| 14 | Instance method | Private | Method | Display online documentation for this monitor | 20060315 | |
| 15 | Instance method | Private | Method | Read report data into view_data | 20060209 | |
| 16 | Instance method | Private | Method | Read ADDM report data into view_data | 20060215 | |
| 17 | Instance method | Private | Method | Read the time stamp for a given snapshot ID | 20060209 | |
| 18 | Instance method | Private | Method | Clean NULL-Bytes in a given report data line | 20060208 | |
| 19 | Instance method | Public | Method | Copy data from popup screen 4311 to attributes | 20090428 | |
| 20 | Instance method | Private | Method | Set default values for SNAPIDs | 20100702 | |
| 21 | Instance method | Private | Method | Switch to english if necessary | 20060222 | |
| 22 | Instance method | Public | Method | Input help for snapshot ID | 20060207 | |
| 23 | Instance method | Public | Method | Input help for SQL ID | 20060209 |
Events
Class CL_ORA_ACTION_AWR_REPORT has no event.
Types
Class CL_ORA_ACTION_AWR_REPORT has no local type.
Method Signatures
Method CALL_DOWNLOAD_POPUP Signature
Method CALL_DOWNLOAD_POPUP on class CL_ORA_ACTION_AWR_REPORT has no parameter.
Method CALL_DOWNLOAD_POPUP on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method CHECK_BROWSER_IS_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_BROWSER_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | Flag: Browser is active | 20060209 |
Method CHECK_BROWSER_IS_ACTIVE on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method CHECK_SELECT_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATE_FROM | Call by reference | Type reference (TYPE) | ORA_HIST_BEG_INT_T | Oracle mon: Time at the beginning of the snapshot interval | 20061024 | |||
| 2 | I_DATE_TO | Call by reference | Type reference (TYPE) | ORA_HIST_END_INT_T | Oracle mon.: Time at the end of the snapshot interval | 20061024 | |||
| 3 | I_DBIO_EXPECTED | Call by reference | Type reference (TYPE) | ORA_DBIO_EXPECTED | DBIO_EXPECTED (avg. time to read block) | 20060224 | |||
| 4 | I_SNAPID_FROM | Call by reference | Type reference (TYPE) | ORA_HIST_SNAPID_FROM | From oracle snapshot ID (dba_hist_snapshot) | 20060207 | |||
| 5 | I_SNAPID_FROM2 | Call by reference | Type reference (TYPE) | ORA_HIST_SNAPID_FROM2 | ID of 2n "begin snapshot" (dba_hist_snapshot) | 20060224 | |||
| 6 | I_SNAPID_TO | Call by reference | Type reference (TYPE) | ORA_HIST_SNAPID_TO | To oracle snapshot ID (dba_hist_snapshot) | 20060207 | |||
| 7 | I_SNAPID_TO2 | Call by reference | Type reference (TYPE) | ORA_HIST_SNAPID_TO2 | ID of 2nd "end snapshot" (dba_hist_snapshot) | 20060224 | |||
| 8 | I_SQLID | Call by reference | Type reference (TYPE) | ORA_SQL_ID | SQL ID | 20060209 |
Method CHECK_SELECT_VALUES on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method CHECK_SQLID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SQLID | Call by reference | Type reference (TYPE) | ORA_SQL_ID | Oracle SQL ID that has to be checked | 20060210 | |||
| 2 | R_SUBRC | Value transfer | Type reference (TYPE) | SYSUBRC | Return code, <> 0 if not existing | 20060210 |
Method CHECK_SQLID on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method CREATE_ADBC_CONNECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NEW_CONNECTION_NAME | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a new database connection | 20060207 | |||
| 2 | I_OLD_CONNECTION | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Old ADBC database connection | 20060207 | |||
| 3 | R_CONNECTION | Value transfer | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | ADBC database connection | 20060207 |
Method CREATE_ADBC_CONNECTION on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method DOWNLOAD_AS_HTML Signature
Method DOWNLOAD_AS_HTML on class CL_ORA_ACTION_AWR_REPORT has no parameter.
Method DOWNLOAD_AS_HTML on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method GET_DBIO_EXPECTED_DEFAULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ADBC_CONNECTION | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | ADBC / SQL connection | 20060224 | |||
| 2 | R_DBIO_EXPECTED | Value transfer | Type reference (TYPE) | ORA_DBIO_EXPECTED | Default value for DBIO_EXPECTED (Avg. time to read DB block) | 20060224 |
Method GET_DBIO_EXPECTED_DEFAULT on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method GET_DB_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DBID | Call by reference | Type reference (TYPE) | ORA_DBID | Oracle monitoring: database id | 20060207 | |||
| 2 | E_DBNAME | Call by reference | Type reference (TYPE) | ORA_NAME_DB | Oracle monitoring: database name | 20060207 |
Method GET_DB_ID on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method GET_INST_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_INST_ID | Value transfer | Type reference (TYPE) | ORA_INST_ID | Currently selected instance ID | 20060207 |
Method GET_INST_ID on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method GET_MINMAX_SNAPID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_DATE_FROM | Value transfer | Type reference (TYPE) | ORA_SAMPLE_TIME | Oracle monitoring: Sample timestamp | 20130122 | |||
| 2 | P_DATE_TO | Value transfer | Type reference (TYPE) | ORA_SAMPLE_TIME | Oracle monitoring: Sample timestamp | 20130122 | |||
| 3 | P_MAX_SNAPID | Value transfer | Type reference (TYPE) | ORA_HIST_SNAPID | Oracle snapshot ID (dba_hist_snapshot) | 20100702 | |||
| 4 | P_MIN_SNAPID | Value transfer | Type reference (TYPE) | ORA_HIST_SNAPID | Oracle snapshot ID (dba_hist_snapshot) | 20100702 | |||
| 5 | P_REMSYS | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20100702 |
Method GET_MINMAX_SNAPID on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method GET_REMOTE_SYSTEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_REMOTE_SYSTEM | Value transfer | Type reference (TYPE) | DBCON_NAME | Currently selected remote system | 20060207 |
Method GET_REMOTE_SYSTEM on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method OKCODE_DISPLAY_HTML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_REPORT_TYPE | Call by reference | Type reference (TYPE) | I | Identifier for the report type that has to be displayed | 20060209 |
Method OKCODE_DISPLAY_HTML on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method OKCODE_DISPLAY_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_REPORT_TYPE | Call by reference | Type reference (TYPE) | I | Identifier for the report type that has to be displayed | 20060209 |
Method OKCODE_DISPLAY_TEXT on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method OKCODE_MONITOR_DOCU Signature
Method OKCODE_MONITOR_DOCU on class CL_ORA_ACTION_AWR_REPORT has no parameter.
Method OKCODE_MONITOR_DOCU on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method READ_REPORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AS_TEXT | Call by reference | Type reference (TYPE) | XFELD | Flag: Read as text or HTML ('X' for text) | 20060209 | |||
| 2 | I_REPORT_TYPE | Call by reference | Type reference (TYPE) | I | Identifier for the report type that has to be read | 20060209 |
Method READ_REPORT on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method READ_REPORT_ADDM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AS_TEXT | Call by reference | Type reference (TYPE) | XFELD | Flag: Read as text or HTML ('X' for text) | 20060215 |
Method READ_REPORT_ADDM on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method READ_SNAPSHOT_TIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | B_TIMESTAMP | Call by reference | Type reference (TYPE) | ORA_HIST_BEG_INT_T | Timestamp for the snapshot (YYYY-MM-DD HH:MM:SS) | 20061030 | |||
| 2 | E_TIMESTAMP | Call by reference | Type reference (TYPE) | ORA_HIST_END_INT_T | Timestamp for the snapshot (YYYY-MM-DD HH:MM:SS) | 20060209 | |||
| 3 | I_SNAPID | Call by reference | Type reference (TYPE) | ORA_HIST_SNAPID | Oracle snapshot ID (dba_hist_snapshot) | 20060209 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Snapshot ID not found in the database | 20060209 |
Method REPAIR_REPORT_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_REPLINE | Call by reference | Type reference (TYPE) | ORA_S_STRING | report line that has to be repaired | 20060208 | |||
| 2 | R_REPLINE | Value transfer | Type reference (TYPE) | ORA_S_STRING | repaired report line | 20060208 |
Method REPAIR_REPORT_LINE on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method SET_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_PATH | Call by reference | Type reference (TYPE) | STRING | Path to download html file | 20090428 |
Method SET_DATA on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method SET_DEFAULT_SNAPIDS Signature
Method SET_DEFAULT_SNAPIDS on class CL_ORA_ACTION_AWR_REPORT has no parameter.
Method SET_DEFAULT_SNAPIDS on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method SWITCH_TO_ENGLISH Signature
Method SWITCH_TO_ENGLISH on class CL_ORA_ACTION_AWR_REPORT has no parameter.
Method SWITCH_TO_ENGLISH on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method VALUE_HELP_SNAPSHOT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DYNPFIELD | Call by reference | Type reference (TYPE) | DYNFNAM | ABAP dynpro field name | 20060207 | |||
| 2 | DYNPFIELD2 | Call by reference | Type reference (TYPE) | DYNFNAM | ABAP dynpro field for date | 20061026 | |||
| 3 | DYNPNR | Call by reference | Type reference (TYPE) | SYDYNNR | ABAP dynpro number | 20060207 | |||
| 4 | DYNPPROG | Call by reference | Type reference (TYPE) | SYREPID | ABAP dynpro's program name | 20060207 |
Method VALUE_HELP_SNAPSHOT_ID on class CL_ORA_ACTION_AWR_REPORT has no exception.
Method VALUE_HELP_SQLID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DYNPFIELD | Call by reference | Type reference (TYPE) | DYNFNAM | ABAP dynpro field name | 20060209 | |||
| 2 | DYNPNR | Call by reference | Type reference (TYPE) | SYDYNNR | ABAP dynpro number | 20060209 | |||
| 3 | DYNPPROG | Call by reference | Type reference (TYPE) | SYREPID | ABAP dynpro's program name | 20060209 |
Method VALUE_HELP_SQLID on class CL_ORA_ACTION_AWR_REPORT has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 710 |