SAP ABAP Class CL_LAW2_DAC_TABLE (LAW 2.0 Database Access Class)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-LIM (Application Component) License Measurement
⤷
SLIM3 (Package) License Administration Workbench 2.0
⤷
⤷
Properties
| Class | CL_LAW2_DAC_TABLE | |
| Short Description | LAW 2.0 Database Access Class | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLIM3 | License Administration Workbench 2.0 |
| Created | 20110511 | SAP |
| Last change | 20130531 | 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_LAW2_DAC_TABLE has no interface implemented.
Friends
Class CL_LAW2_DAC_TABLE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | STRING | '''' | 20110616 | |||
| 2 | Constant | Private | Type reference (TYPE) | STRING | 'KEY' | 20110512 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | LAW2_T_DAC_TABLE | LAW 2.0 table type for DB-Updates | 20110516 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20110516 | |||
| 5 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_LAW2_DAC_TABLE | LAW 2.0 Database Access Class | 20110512 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Constructor | 20110512 | ||
| 2 | Instance method | Private | Method | Save the bufer changes to the database | 20110511 | |
| 3 | Static method | Public | Method | Get a data access class instance | 20110511 | |
| 4 | Instance method | Public | Method | Search for database table entries | 20110511 | |
| 5 | Instance method | Public | Method | Read a database table entry via the key | 20110511 | |
| 6 | Instance method | Public | Method | Read a database table via attributes | 20110511 | |
| 7 | Instance method | Public | Method | Read a database table entry via key parts | 20110624 | |
| 8 | Instance method | Public | Method | Return the distinct values for a given fieldname | 20120820 | |
| 9 | Instance method | Public | Method | Write the changes to the database table | 20110511 |
Events
Class CL_LAW2_DAC_TABLE has no event.
Types
Class CL_LAW2_DAC_TABLE has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_LAW2_DAC_TABLE has no parameter.
Method CONSTRUCTOR on class CL_LAW2_DAC_TABLE has no exception.
Method DO_SAVE Signature
Method DO_SAVE on class CL_LAW2_DAC_TABLE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DAC exception class | 20110516 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_DAC_TABLE | Value transfer | Object reference (TYPE REF TO) | CL_LAW2_DAC_TABLE | LAW 2.0 Database Access Class | 20110512 |
Method GET_INSTANCE on class CL_LAW2_DAC_TABLE has no exception.
Method QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | 20110518 | ||||
| 2 | IT_SEL_PARAMS | Call by reference | Type reference (TYPE) | LAW2_T_QUERY_SELPARAM | LAW 2.0 Selection parameter table for the DB query | 20110518 | |||
| 3 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20110530 |
Method QUERY on class CL_LAW2_DAC_TABLE has no exception.
Method READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FAILED_KEY | Call by reference | Type reference (TYPE) | ANY TABLE | Failed Keys | 20110517 | |||
| 2 | ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | Result table | 20110512 | |||
| 3 | IT_KEY | Call by reference | Type reference (TYPE) | ANY TABLE | Table key | 20110517 | |||
| 4 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20110512 |
Method READ on class CL_LAW2_DAC_TABLE has no exception.
Method READ_BY_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | Result table | 20110518 | |||
| 2 | IT_ATTRIBUTES | Call by reference | Type reference (TYPE) | LAW2_T_ATTRIBUTE_VALUE | Attributes | 20110518 | |||
| 3 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20110518 |
Method READ_BY_ATTRIBUTES on class CL_LAW2_DAC_TABLE has no exception.
Method READ_BY_KEY_PARTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FAILED_KEY | Call by reference | Type reference (TYPE) | ANY TABLE | Failed Keys | 20110624 | |||
| 2 | ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | Result table | 20110624 | |||
| 3 | IT_KEY | Call by reference | Type reference (TYPE) | ANY TABLE | Table key | 20110624 | |||
| 4 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20110624 |
Method READ_BY_KEY_PARTS on class CL_LAW2_DAC_TABLE has no exception.
Method READ_DISTINCT_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | Result table | 20120820 | |||
| 2 | IV_DATASETGUID | Call by reference | Type reference (TYPE) | GUID | dataset guid | 20120820 | |||
| 3 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | NAME_FELD | fieldname | 20120820 | |||
| 4 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20120820 |
Method READ_DISTINCT_ATTRIBUTE on class CL_LAW2_DAC_TABLE has no exception.
Method WRITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_CHANGE_DATA | Call by reference | Type reference (TYPE) | LAW2_TS_CHANGE | Buffer Change table type | 20110516 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20111102 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |