SAP ABAP Class CL_ABAP_MULTI_KEY_TABLE (CL_ABAP_MULTI_KEY_TABLE)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_DYNAMIC_TYPES (Package) Objects for Dynamic Type Generation
⤷
⤷
Properties
| Class | CL_ABAP_MULTI_KEY_TABLE | |
| Short Description | ||
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SABP_DYNAMIC_TYPES | Objects for Dynamic Type Generation |
| Created | 20030926 | SAP |
| Last change | 20040518 | 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_ABAP_MULTI_KEY_TABLE has no interface implemented.
Friends
Class CL_ABAP_MULTI_KEY_TABLE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | KEY_SPEC_TABLE | Key Specification Table | 20030926 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Table reference | 20030926 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Table Type | 20030926 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Specify a Hash Key for the Table | 20030926 | |
| 2 | Instance method | Public | Method | Specify a Sort Key for the Table | 20030926 | |
| 3 | Instance method | Public | Constructor | Constructor | 20030926 | |
| 4 | Static method | Public | Method | CREATE_FROM_LINE | 20030926 | |
| 5 | Static method | Public | Method | CREATE_FROM_TABLE | 20030926 | |
| 6 | Instance method | Public | Method | Insert a Data Record in the Table | 20030926 | |
| 7 | Instance method | Public | Method | Insert Multiple Data Records in the Table | 20030926 |
Events
Class CL_ABAP_MULTI_KEY_TABLE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | KEY_SPEC | Public | See coding | Key Specification | 20030926 | begin of key_spec,
key_table type abap_keydescr_tab,
reader type ref to cl_abap_keyed_tablereader,
end of key_spec
|
|
| 2 | KEY_SPEC_TABLE | Public | See coding | Key Specification Table | 20030930 | key_spec_table type standard table of key_spec with default key
|
Method Signatures
Method ADD_HASHED_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | ABAP_KEYDESCR_TAB | Schlüsseltabelle | 20030926 |
Method ADD_HASHED_KEY on class CL_ABAP_MULTI_KEY_TABLE has no exception.
Method ADD_SORTED_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | ABAP_KEYDESCR_TAB | KEY | 20030926 | |||
| 2 | RESULT | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_SORTED_KEY_TABLEREADER | RESULT | 20030926 | |||
| 3 | UNIQUE | Call by reference | Type reference (TYPE) | ABAP_BOOL | UNIQUE | 20030926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CX_SY_MULTI_KEY_TABLE | 20030926 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LINE_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | LINE_TYPE | 20030926 |
Method CONSTRUCTOR on class CL_ABAP_MULTI_KEY_TABLE has no exception.
Method CREATE_FROM_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LINE | Call by reference | Type reference (TYPE) | ANY | LINE | 20030926 | |||
| 2 | RESULT | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_MULTI_KEY_TABLE | RESULT | 20030926 |
Method CREATE_FROM_LINE on class CL_ABAP_MULTI_KEY_TABLE has no exception.
Method CREATE_FROM_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_MULTI_KEY_TABLE | RESULT | 20030926 | |||
| 2 | TABLE | Call by reference | Type reference (TYPE) | ANY TABLE | TABLE | 20030926 |
Method CREATE_FROM_TABLE on class CL_ABAP_MULTI_KEY_TABLE has no exception.
Method INSERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LINE | Call by reference | Type reference (TYPE) | ANY | LINE | 20030926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CX_SY_DUPLICATE_KEY | 20030926 |
Method INSERT_MULTIPLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TABLE | Call by reference | Type reference (TYPE) | INDEX TABLE | TABLE | 20030926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CX_SY_DUPLICATE_KEY | 20030926 | ||
| 2 | CX_SY_MULTI_KEY_TABLE | 20030926 |
History
| Last changed by/on | SAP | 20040518 |
| SAP Release Created in | 700 |