SAP ABAP Class CL_CI_PROVIDE_DDIC_INDEX (Code Inspector: Repository Information (Index Fields))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-ATF (Application Component) ABAP Test Frameworks ( ATC, CheckMan, Code Inspector)
⤷
S_CODE_INSPECTOR (Package) ABAP Source Code Analysis
⤷
⤷
Properties
| Class | CL_CI_PROVIDE_DDIC_INDEX | |
| Short Description | Code Inspector: Repository Information (Index Fields) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_CODE_INSPECTOR | ABAP Source Code Analysis |
| Created | 20010226 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_CI_PROVIDE_DDIC_INDEX has no forward declaration.
Interfaces
Class CL_CI_PROVIDE_DDIC_INDEX has no interface implemented.
Friends
Class CL_CI_PROVIDE_DDIC_INDEX has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | DD03L-AS4LOCAL | 'A' | 20020604 | |||
| 2 | Constant | Private | Type reference (TYPE) | DD03L-AS4VERS | '0000' | 20020604 | |||
| 3 | Constant | Private | Type reference (TYPE) | SY-TABIX | 1000 | 20020604 | |||
| 4 | Constant | Private | Type reference (TYPE) | INDEXID | '---' | DOCD - Data Element for the Index Name | 20021113 | ||
| 5 | Constant | Private | Type reference (TYPE) | MCPOS | '0001' | Position 1 in Repeating Group | 20020604 | ||
| 6 | Constant | Private | Type reference (TYPE) | TABCLASS | 'VIEW' | Table Category | 20020604 | ||
| 7 | Static Attribute | Private | Type reference (TYPE) | SCIT_IDXUQE | Code Inspector: Unique Flag of an Index | 20021113 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | SY-TABIX | Internal Tables, Current Row Index | 20021113 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | SY-TABIX | Internal Tables, Current Row Index | 20021113 | |||
| 10 | Static Attribute | Private | See coding | 20010226 | |||||
| 11 | Static Attribute | Private | Type reference (TYPE) | SY-TABIX | 20020819 | ||||
| 12 | Static Attribute | Private | Type reference (TYPE) | SY-TABIX | Internal Tables, Current Row Index | 20020819 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Returns Indexes and Type of a Table | 20010226 | |
| 2 | Static method | Private | Method | Gets secondary indexes | 20130513 | |
| 3 | Static method | Private | Method | Handling of DB Views | 20020604 | |
| 4 | Static method | Public | Method | Are the secondary indexes of a table unique? | 20021113 | |
| 5 | Static method | Private | Method | Merge Primary and Secondary Indexes | 20020604 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | NO_RECORD_FOUND | Instance Event (0) |
Public (2) |
20010226 |
Types
Class CL_CI_PROVIDE_DDIC_INDEX has no local type.
Method Signatures
Method GET_INDICES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_BYPASSING_BUFFER | Call by reference | Type reference (TYPE) | C | 20010226 | ||||
| 2 | P_DFIES | Call by reference | Type reference (TYPE) | DDFIELDS | DD: Feldliste | 20030213 | |||
| 3 | P_REFRESH_BUFFER | Call by reference | Type reference (TYPE) | C | 20010226 | ||||
| 4 | P_RESULT | Call by reference | Type reference (TYPE) | SCIR_TIDX | Code Inspector: Tabelle und Struktur für Indizes | 20010226 | |||
| 5 | P_TABNAME | Call by reference | Type reference (TYPE) | DD09L-TABNAME | Tabellenname | 20010226 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Tabelle nicht gefunden | 20010226 |
Method GET_SECONDARY_INDICES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INDICES | Call by reference | Type reference (TYPE) | SCIT_IDX | Code Inspector: Tabelle und Struktur für Indizes | 20130513 | |||
| 2 | P_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20130513 |
Method GET_SECONDARY_INDICES on class CL_CI_PROVIDE_DDIC_INDEX has no exception.
Method HANDLE_VIEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_RESULT | Call by reference | Type reference (TYPE) | SCIR_TIDX | Code Inspector: Struktur für Indizes | 20020604 | |||
| 2 | P_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20020604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Tabelle nicht gefunden | 20020604 |
Method INDEXES_UNIQUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_BYPASSING_BUFFER | Call by reference | Type reference (TYPE) | SYCHAR01 | '' | CHAR01-Datenelement fuer SYST | 20021113 | ||
| 2 | P_IDX_UNIQUE | Call by reference | Type reference (TYPE) | SCIT_IDXUQE | Code Inspector: Uniqueflag eines Index | 20030827 | |||
| 3 | P_REFRESH_BUFFER | Call by reference | Type reference (TYPE) | SYCHAR01 | '' | CHAR01-Datenelement fuer SYST | 20021113 | ||
| 4 | P_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20021113 |
Method INDEXES_UNIQUE on class CL_CI_PROVIDE_DDIC_INDEX has no exception.
Method MIX_INDICES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_DFIES | Call by reference | Type reference (TYPE) | DDFIELDS | DD: Feldliste | 20020604 | |||
| 2 | P_RESULT | Call by reference | Type reference (TYPE) | SCIR_TIDX | Code Inspector: Tabelle und Struktur für Indizes | 20020604 | |||
| 3 | P_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20020604 | |||
| 4 | P_TABPOS | Call by reference | Type reference (TYPE) | MCPOS | '0001' | Position Tabelle in View | 20020604 | ||
| 5 | P_X030L | Call by reference | Type reference (TYPE) | X030L | Nametabheader, Datenbankstruktur DDNTT | 20020604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Tabelle nicht gefunden | 20020604 |
Event Signatures
Event NO_RECORD_FOUND Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_TABNAME | Exporting | Value transfer | Type reference (TYPE) | DD17S-SQLTAB | Tabellenname | 20020820 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 610 |