Hierarchy
⤷
⤷
Properties
| Class | CNV_00001_OPT_DATA_PROVIDER | |
| Short Description | Optimization data provider | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CNV_BASIS | Conversion: Basis functions |
| Created | 20100209 | SAP |
| Last change | 20141030 | |
| 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 CNV_00001_OPT_DATA_PROVIDER has no interface implemented.
Friends
Class CNV_00001_OPT_DATA_PROVIDER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | STATUS_IND | 'ACTIVE' | Index Status | 20100209 | ||
| 2 | Instance attribute | Protected | Type reference (TYPE) | AS4FLAG | Whether contents of CNVCONTROL were already loaded | 20100211 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | AS4FLAG | Whether contents of CNVINDEX were already loaded | 20100211 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | CNV_00001_CONTROL_STT | Sorted table of CNVCONTROL | 20100211 | |||
| 5 | Constant | Public | Type reference (TYPE) | TABNAME | '_DEFAULT' | Default value for CNVCONTROL | 20100211 | ||
| 6 | Constant | Protected | Type reference (TYPE) | SYDBSYS | 'MSSQL' | Database system - MSSQL | 20100225 | ||
| 7 | Constant | Protected | Type reference (TYPE) | SYDBSYS | 'ORACLE' | Database system - ORACLE | 20100209 | ||
| 8 | Constant | Protected | Type reference (TYPE) | CNV_00001_PARAMS-PARAMNAME | 'CNV_DROP_INDEX_&1' | Character field of length 40 | 20100211 | ||
| 9 | Instance attribute | Protected | Type reference (TYPE) | CNV_00001_FIELDS_STT | List of fields | 20100209 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | AS4FLAG | Whether tables were already loaded | 20100209 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | CNV_00001_INDEX_STT | List of indexes | 20100209 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | AS4FLAG | Whether indexes were already loaded | 20100209 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | CNV_00001_INDEX_DATA_STT | List of index data | 20100226 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | CNV_00001_TAB_SCENARIO_HTT | List of table scenarios | 20100209 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | AS4FLAG | Whether jobs were already loaded | 20100209 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | CNV_00001_DBTABLEJOB_STT | Job list | 20100311 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | CNV_00001_INDEX_DATA_TT | List of indices to display | 20100209 | |||
| 18 | Constant | Protected | Type reference (TYPE) | STATUS_IND | 'NOT_ACTIVE' | Index Status | 20100209 | ||
| 19 | Instance attribute | Protected | Type reference (TYPE) | TY_T_DBA_SEGMENT | Oracle DBA segments | 20100209 | |||
| 20 | Instance attribute | Protected | Type reference (TYPE) | CNVPACK | Conversion: Conversion packages | 20100209 | |||
| 21 | Instance attribute | Protected | Type reference (TYPE) | CNV_PACK | Conversion: Conversion package number | 20100209 | |||
| 22 | Constant | Protected | Type reference (TYPE) | CNV_00001_PARAMS-PARAMNAME | 'CNV_RECR_INDEX_&1' | Character field of length 40 | 20100211 | ||
| 23 | Constant | Protected | Type reference (TYPE) | SYSAPRL | '700' | System release 7.00 | 20100225 | ||
| 24 | Constant | Protected | Type reference (TYPE) | SYSAPRL | '710' | System release 7.10 | 20100225 | ||
| 25 | Constant | Protected | Type reference (TYPE) | SYSAPRL | '720' | System release 7.20 | 20100225 | ||
| 26 | Instance attribute | Protected | Type reference (TYPE) | CNV_00001_TABLES_STT | List of tables | 20100209 | |||
| 27 | Instance attribute | Protected | Type reference (TYPE) | AS4FLAG | Whether tables were already loaded | 20100209 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Adds lock parameter | 20100211 | |
| 2 | Instance method | Protected | Method | Checks sizes of the tablespaces | 20100210 | |
| 3 | Instance method | Public | Method | Confirms save process for indexes | 20100211 | |
| 4 | Instance method | Public | Constructor | Creates a data provider | 20100209 | |
| 5 | Instance method | Public | Method | Returns CNVCONTROL entries | 20100311 | |
| 6 | Instance method | Protected | Method | Returns DB owner user | 20100209 | |
| 7 | Instance method | Public | Method | Returns tabnames for given dbtable from CNVJOBPROFILE | 20100311 | |
| 8 | Instance method | Protected | Method | Returns some index data | 20100209 | |
| 9 | Instance method | Public | Method | Returns an index list | 20100209 | |
| 10 | Instance method | Public | Method | Returns the number of parallelly running processes | 20100211 | |
| 11 | Instance method | Public | Method | Returns package id | 20100209 | |
| 12 | Instance method | Protected | Method | Returns all possible index names | 20100225 | |
| 13 | Instance method | Public | Method | Returns whether additional index data is available | 20100210 | |
| 14 | Instance method | Protected | Method | Returns whether selection is partitioned for a given table | 20100211 | |
| 15 | Instance method | Protected | Method | Loads contents of CNVCONTROL | 20100211 | |
| 16 | Instance method | Protected | Method | Loads contents of CNVINDEX | 20100211 | |
| 17 | Instance method | Protected | Method | Loads index data | 20100209 | |
| 18 | Instance method | Protected | Method | Loads jobs data | 20100209 | |
| 19 | Instance method | Protected | Method | Loads table data | 20100209 | |
| 20 | Instance method | Protected | Method | Obtains index sizes for MSSQL | 20100225 | |
| 21 | Instance method | Protected | Method | Returns talbe with dba segments for oracle databases | 20100209 | |
| 22 | Instance method | Protected | Method | Removes lock parameter | 20100211 | |
| 23 | Instance method | Public | Method | Saves entries of CNVCONTROL | 20100311 | |
| 24 | Instance method | Public | Method | Saves number of processes | 20100211 | |
| 25 | Instance method | Public | Method | (De)selects index for dropping | 20100211 | |
| 26 | Instance method | Protected | Method | Tries to fill index data for a given index name | 20100210 | |
| 27 | Instance method | Protected | Method | Updates the list from CNVJOBPROFILE and CNVINDEX | 20100211 |
Events
Class CNV_00001_OPT_DATA_PROVIDER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_DBA_SEGMENT | Protected | See coding | TY_DBA_SEGMENT | 20100209 | |
|
| 2 | TY_T_DBA_SEGMENT | Protected | See coding | TY_T_DBA_SEGMENT | 20100209 | |
Method Signatures
Method ADD_LOCK_PARAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARAMNAME | Call by reference | Type reference (TYPE) | CNV_00001_PARAMS-PARAMNAME | Character field of length 40 | 20100211 | |||
| 2 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table name | 20100211 |
Method ADD_LOCK_PARAM on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method CHECK_TABLESPACES Signature
Method CHECK_TABLESPACES on class CNV_00001_OPT_DATA_PROVIDER has no parameter.
Method CHECK_TABLESPACES on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method CONFIRM_INDEX_SAVE Signature
Method CONFIRM_INDEX_SAVE on class CNV_00001_OPT_DATA_PROVIDER has no parameter.
Method CONFIRM_INDEX_SAVE on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PACKID | Call by reference | Type reference (TYPE) | CNV_PACK | Conversion: Conversion package number | 20100209 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Package not found in the system | 20100209 |
Method GET_CONTROL_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | CNV_00001_CONTROL_STT | Sorted table of CNVCONTROL | 20100311 |
Method GET_CONTROL_DATA on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method GET_DB_OWNER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OWNER | Value transfer | Type reference (TYPE) | CHAR10 | DB Owner | 20100209 |
Method GET_DB_OWNER on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method GET_ENTRIES_FOR_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENTRIES | Call by reference | Type reference (TYPE) | TTTABNAME | Number of Tables | 20100311 | |||
| 2 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table name | 20100311 |
Method GET_ENTRIES_FOR_TABLE on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method GET_INDEX_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DBINDEX | Call by reference | Type reference (TYPE) | DBINDEX_D | Database index | 20100209 | |||
| 2 | INDEXNAME | Call by reference | Type reference (TYPE) | INDEXID | Unique index ID within a table | 20100209 | |||
| 3 | SIZE | Call by reference | Type reference (TYPE) | CNV_INDEX_SIZE | Size of an index in KByte | 20100209 | |||
| 4 | TABLESPACE | Call by reference | Type reference (TYPE) | ORATSPNAME | Tablespace name for ORACLE | 20100209 | |||
| 5 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table name | 20100209 |
Method GET_INDEX_DATA on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method GET_INDEX_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LIST | Call by reference | Type reference (TYPE) | CNV_00001_INDEX_DATA_TT | List of index data | 20100209 |
Method GET_INDEX_LIST on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method GET_NUM_PROCESSES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | CNV_PMAX | Conversion: maximum number of simultaneous programs | 20100211 |
Method GET_NUM_PROCESSES on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method GET_PACKID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PACKID | Value transfer | Type reference (TYPE) | CNV_PACK | Conversion: Conversion package number | 20100209 |
Method GET_PACKID on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method GET_POSSIBLE_INDEX_NAMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DBINDEXES | Value transfer | Type reference (TYPE) | CNV_00001_DBINDEX_TT | Database indexes | 20100225 | |||
| 2 | DBINDEXNAME | Value transfer | Type reference (TYPE) | DBINDEX_D | Database index | 20100225 | |||
| 3 | INDEXNAME | Value transfer | Type reference (TYPE) | INDEXID | Unique index ID within a table | 20100225 | |||
| 4 | TABNAME | Value transfer | Type reference (TYPE) | TABNAME | Table name | 20100225 |
Method GET_POSSIBLE_INDEX_NAMES on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method IS_INDEX_DATA_AVAILABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RES | Value transfer | Type reference (TYPE) | AS4FLAG | Flag (X or blank) | 20100210 |
Method IS_INDEX_DATA_AVAILABLE on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method IS_SELECTION_PARTITIONED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RES | Value transfer | Type reference (TYPE) | AS4FLAG | Flag (X or blank) | 20100211 | |||
| 2 | SCENARIO | Call by reference | Type reference (TYPE) | CNV_SZENARIO | Generator scenario | 20100211 | |||
| 3 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table name | 20100211 |
Method IS_SELECTION_PARTITIONED on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method LOAD_CNVCONTROL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FORCE | Call by reference | Type reference (TYPE) | AS4FLAG | SPACE | whether to force load | 20100211 |
Method LOAD_CNVCONTROL on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method LOAD_CNVINDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FORCE | Call by reference | Type reference (TYPE) | AS4FLAG | SPACE | whether to force load | 20100211 |
Method LOAD_CNVINDEX on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method LOAD_INDEXES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FORCE | Value transfer | Type reference (TYPE) | AS4FLAG | SPACE | whether to force load | 20100209 |
Method LOAD_INDEXES on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method LOAD_JOBS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FORCE | Call by reference | Type reference (TYPE) | AS4FLAG | SPACE | whether to force load | 20100209 |
Method LOAD_JOBS on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method LOAD_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FORCE | Call by reference | Type reference (TYPE) | AS4FLAG | SPACE | whether to force load | 20100209 |
Method LOAD_TABLES on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method MSSQL_GET_INDEX_SIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DBINDEX | Call by reference | Type reference (TYPE) | DBINDEX_D | Database index | 20100225 | |||
| 2 | SIZE | Call by reference | Type reference (TYPE) | CNV_INDEX_SIZE | Size of an index in KByte | 20100225 | |||
| 3 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table name | 20100225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Failed to obtain index size | 20100225 | ||
| 2 | Release not supported | 20100225 |
Method ORACLE_GET_DBA_SEGMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SEGMENTS | Call by reference | Type reference (TYPE) | TY_T_DBA_SEGMENT | DBA segments | 20100209 |
Method ORACLE_GET_DBA_SEGMENTS on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method REMOVE_LOCK_PARAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARAMNAME | Call by reference | Type reference (TYPE) | CNV_00001_PARAMS-PARAMNAME | Character field of length 40 | 20100211 | |||
| 2 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table name | 20100211 |
Method REMOVE_LOCK_PARAM on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method SAVE_CONTROL_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | CNV_00001_CONTROL_TT | Standard table of CNVCONTROL | 20100311 |
Method SAVE_CONTROL_DATA on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method SAVE_NUM_PROCESSES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROC_NUM | Call by reference | Type reference (TYPE) | CNV_PMAX | Conversion: maximum number of simultaneous programs | 20100211 |
Method SAVE_NUM_PROCESSES on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method SELECT_INDEX_FOR_DROP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHANGED | Value transfer | Type reference (TYPE) | AS4FLAG | Whether something has changed in DB | 20100211 | |||
| 2 | DBINDEX | Call by reference | Type reference (TYPE) | DBINDEX_D | Database index | 20100211 | |||
| 3 | INDEXNAME | Call by reference | Type reference (TYPE) | INDEXID | Unique index ID within a table | 20100211 | |||
| 4 | INDEXSIZE | Call by reference | Type reference (TYPE) | CNV_INDEX_SIZE | Size of an index in KByte | 20100211 | |||
| 5 | RES | Value transfer | Type reference (TYPE) | AS4FLAG | Result | 20100211 | |||
| 6 | SELECTED | Call by reference | Type reference (TYPE) | AS4FLAG | Flag (X or blank) | 20100211 | |||
| 7 | STATUS | Call by reference | Type reference (TYPE) | STATUS_IND | Index Status | 20100211 | |||
| 8 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table name | 20100211 | |||
| 9 | TABSPACE | Call by reference | Type reference (TYPE) | ORATSPNAME | Tablespace name for ORACLE | 20100211 |
Method SELECT_INDEX_FOR_DROP on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method TRY_FILL_INDEX_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DBINDEX | Call by reference | Type reference (TYPE) | DBINDEX_D | Database index | 20100210 | |||
| 2 | INDEXNAME | Call by reference | Type reference (TYPE) | ANY | Unique index ID within a table | 20100210 | |||
| 3 | SIZE | Call by reference | Type reference (TYPE) | CNV_INDEX_SIZE | Size of an index in KByte | 20100210 | |||
| 4 | SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Result | 20100210 | |||
| 5 | TABLESPACE | Call by reference | Type reference (TYPE) | ORATSPNAME | Tablespace name for ORACLE | 20100210 |
Method TRY_FILL_INDEX_DATA on class CNV_00001_OPT_DATA_PROVIDER has no exception.
Method UPDATE_JOBS_AND_INDEXES Signature
Method UPDATE_JOBS_AND_INDEXES on class CNV_00001_OPT_DATA_PROVIDER has no parameter.
Method UPDATE_JOBS_AND_INDEXES on class CNV_00001_OPT_DATA_PROVIDER has no exception.
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 2006_1_46C |