SAP ABAP Class /TDAG/RCSCL_KEY_BUFFER (Buffer for storing primary keys in transactions)
Hierarchy
☛
TDAGBCA (Software Component) TechniData Basic Components
⤷
EHS (Application Component) Environment, Health and Safety
⤷
/TDAG/RCS (Package) REACH Compliance - General

⤷

⤷

Properties
Class | /TDAG/RCSCL_KEY_BUFFER | |
Short Description | Buffer for storing primary keys in transactions | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /TDAG/RCS | REACH Compliance - General |
Created | 20090624 | SAP |
Last change | 20141109 | 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 /TDAG/RCSCL_KEY_BUFFER has no interface implemented.
Friends
Class /TDAG/RCSCL_KEY_BUFFER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | /TDAG/RCSCL_KEY_BUFFER | Singleton instance | 20090624 | ||
2 | ![]() |
Instance attribute | Private | Type reference (TYPE) | LTY_BUFFER | Buffer table type | 20090624 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090624 |
2 | ![]() |
Instance method | Private | Method | clears the buffer table | 20090624 |
3 | ![]() |
Static method | Public | Method | Clears the buffer table | 20090630 |
4 | ![]() |
Instance method | Private | Method | Returns true (X) if the suplied table-key pair exists | 20090624 |
5 | ![]() |
Static method | Public | Method | Returns true (X) if the suplied table-key pair exists | 20090624 |
6 | ![]() |
Instance method | Public | Event handling method | Event handler for 'end of transaction' event | 20090624 |
7 | ![]() |
Instance method | Private | Method | Sets a new table-key pair in the buffer | 20090624 |
8 | ![]() |
Static method | Public | Method | Sets a new table-key pair in the buffer | 20090624 |
Events
Class /TDAG/RCSCL_KEY_BUFFER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | LSY_BUFFER_ENTRY | Private | See coding | Line of buffer table | 20090624 | BEGIN OF LSY_BUFFER_ENTRY,
tabname TYPE lvy_tablename,
tabkey TYPE lvy_key.
TYPES: END OF LSY_BUFFER_ENTRY
|
|
2 | LTY_BUFFER | Private | See coding | Buffer table type | 20090624 | LTY_BUFFER type HASHED TABLE OF LSY_BUFFER_ENTRY
WITH UNIQUE KEY tabname tabkey
|
|
3 | LVY_KEY | Public | Type reference (TYPE) | TXT255 | Database key | 20090624 | |
4 | LVY_TABLENAME | Public | Type reference (TYPE) | TABNAME | Table Name | 20090624 | |
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /TDAG/RCSCL_KEY_BUFFER has no parameter.
Method CLASS_CONSTRUCTOR on class /TDAG/RCSCL_KEY_BUFFER has no exception.
Method CLEAR Signature
Method CLEAR on class /TDAG/RCSCL_KEY_BUFFER has no parameter.
Method CLEAR on class /TDAG/RCSCL_KEY_BUFFER has no exception.
Method CLEAR_BUFFER Signature
Method CLEAR_BUFFER on class /TDAG/RCSCL_KEY_BUFFER has no parameter.
Method CLEAR_BUFFER on class /TDAG/RCSCL_KEY_BUFFER has no exception.
Method EXISTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_FLG_EXISTS | Value transfer | Type reference (TYPE) | BOOLE | Boolean variable | 20090624 | ||
2 | ![]() |
IV_KEY | Call by reference | Type reference (TYPE) | LVY_KEY | Database key | 20090624 | ||
3 | ![]() |
IV_TABNAME | Call by reference | Type reference (TYPE) | LVY_TABLENAME | Table Name | 20090624 |
Method EXISTS on class /TDAG/RCSCL_KEY_BUFFER has no exception.
Method GET_TABLE_KEY_EXISTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_FLG_EXISTS | Value transfer | Type reference (TYPE) | BOOLE | Boolean variable | 20090624 | ||
2 | ![]() |
IV_KEY | Call by reference | Type reference (TYPE) | LVY_KEY | Database key | 20090624 | ||
3 | ![]() |
IV_TABNAME | Call by reference | Type reference (TYPE) | LVY_TABLENAME | Table Name | 20090624 |
Method GET_TABLE_KEY_EXISTS on class /TDAG/RCSCL_KEY_BUFFER has no exception.
Method HANDLE_COMMIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
KIND | Call by reference | Attribute reference (LIKE) | 20090624 |
Method HANDLE_COMMIT on class /TDAG/RCSCL_KEY_BUFFER has no exception.
Method SET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_KEY | Call by reference | Type reference (TYPE) | LVY_KEY | Database key | 20090624 | ||
2 | ![]() |
IV_TABNAME | Call by reference | Type reference (TYPE) | LVY_TABLENAME | Table Name | 20090624 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
An entry with the same table and key is already buffered | 20090624 | |
2 | ![]() |
At least one of the necesary parameters is missing | 20090624 |
Method SET_TABLE_KEY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_KEY | Call by reference | Type reference (TYPE) | LVY_KEY | Database key | 20090624 | ||
2 | ![]() |
IV_TABNAME | Call by reference | Type reference (TYPE) | LVY_TABLENAME | Table Name | 20090624 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
An entry with the same table and key is already buffered | 20090624 | |
2 | ![]() |
At least one of the necesary parameters is missing | 20090624 |
History
Last changed by/on | SAP | 20141109 |
SAP Release Created in | 110_600 |