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
⤷ 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 | ABAP | 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 | MC_HOCHSTRICH | Constant | Private | Type reference (TYPE) | STRING | '''' | 20110616 | ||
2 | MC_KEY_GROUP | Constant | Private | Type reference (TYPE) | STRING | 'KEY' | 20110512 | ||
3 | MT_DB_TABLE | Instance attribute | Private | Type reference (TYPE) | LAW2_T_DAC_TABLE | LAW 2.0 table type for DB-Updates | 20110516 | ||
4 | MV_SYNCHRON | Instance attribute | Private | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20110516 | ||
5 | SO_DAC_INSTANCE | 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 | CONSTRUCTOR | Instance method | Private | Constructor | 20110512 | |
2 | DO_SAVE | Instance method | Private | Method | Save the bufer changes to the database | 20110511 |
3 | GET_INSTANCE | Static method | Public | Method | Get a data access class instance | 20110511 |
4 | QUERY | Instance method | Public | Method | Search for database table entries | 20110511 |
5 | READ | Instance method | Public | Method | Read a database table entry via the key | 20110511 |
6 | READ_BY_ATTRIBUTES | Instance method | Public | Method | Read a database table via attributes | 20110511 |
7 | READ_BY_KEY_PARTS | Instance method | Public | Method | Read a database table entry via key parts | 20110624 |
8 | READ_DISTINCT_ATTRIBUTE | Instance method | Public | Method | Return the distinct values for a given fieldname | 20120820 |
9 | WRITE | 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 | CX_LAW2_DAC | DAC exception class | 20110516 |
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | 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 | Exporting | ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | 20110518 | |||
2 | Importing | 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 | Importing | 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 | Exporting | ET_FAILED_KEY | Call by reference | Type reference (TYPE) | ANY TABLE | Failed Keys | 20110517 | ||
2 | Exporting | ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | Result table | 20110512 | ||
3 | Importing | IT_KEY | Call by reference | Type reference (TYPE) | ANY TABLE | Table key | 20110517 | ||
4 | Importing | 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 | Exporting | ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | Result table | 20110518 | ||
2 | Importing | IT_ATTRIBUTES | Call by reference | Type reference (TYPE) | LAW2_T_ATTRIBUTE_VALUE | Attributes | 20110518 | ||
3 | Importing | 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 | Exporting | ET_FAILED_KEY | Call by reference | Type reference (TYPE) | ANY TABLE | Failed Keys | 20110624 | ||
2 | Exporting | ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | Result table | 20110624 | ||
3 | Importing | IT_KEY | Call by reference | Type reference (TYPE) | ANY TABLE | Table key | 20110624 | ||
4 | Importing | 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 | Exporting | ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | Result table | 20120820 | ||
2 | Importing | IV_DATASETGUID | Call by reference | Type reference (TYPE) | GUID | dataset guid | 20120820 | ||
3 | Importing | IV_FIELDNAME | Call by reference | Type reference (TYPE) | NAME_FELD | fieldname | 20120820 | ||
4 | Importing | 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 | Importing | IT_CHANGE_DATA | Call by reference | Type reference (TYPE) | LAW2_TS_CHANGE | Buffer Change table type | 20110516 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_LAW2_DB_BUFFER | 20111102 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 732 |