Hierarchy
⤷
⤷
Properties
| Class | CL_LAW2_DB_BUFFER | |
| Short Description | LAW 2.0 database buffer 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
Class CL_LAW2_DB_BUFFER has no forward declaration.
Interfaces
Class CL_LAW2_DB_BUFFER has no interface implemented.
Friends
Class CL_LAW2_DB_BUFFER 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 | 'ADMIN' | Group for DB table ADMIN | 20110614 | ||
| 2 | Constant | Private | Type reference (TYPE) | STRING | 'CHDATE' | Admin Change Date | 20110614 | ||
| 3 | Constant | Private | Type reference (TYPE) | STRING | 'CHNAME' | Admin Change Name | 20110614 | ||
| 4 | Constant | Private | Type reference (TYPE) | STRING | 'CHTIME' | Admin Change Time | 20120719 | ||
| 5 | Constant | Private | Type reference (TYPE) | STRING | 'MANDT' | Client field | 20120302 | ||
| 6 | Constant | Private | Type reference (TYPE) | STRING | 'CRDATE' | Admin Create Date | 20110614 | ||
| 7 | Constant | Private | Type reference (TYPE) | STRING | 'CRNAME' | Admin Create Name | 20110614 | ||
| 8 | Constant | Private | Type reference (TYPE) | STRING | 'CRTIME' | Admin Create Time | 20120719 | ||
| 9 | Constant | Private | Type reference (TYPE) | STRING | 'DATASETGUID' | DATASETGUID field name | 20110607 | ||
| 10 | Constant | Private | Type reference (TYPE) | STRING | 'DATASETID' | DATASETID field name | 20110610 | ||
| 11 | Constant | Private | Type reference (TYPE) | STRING | '''' | 20110616 | |||
| 12 | Constant | Private | Type reference (TYPE) | STRING | 'KEY' | Group for DB table key | 20110512 | ||
| 13 | Constant | Private | Type reference (TYPE) | STRING | 'SYSTEMGROUP' | SYSTEMGROUP field name | 20121227 | ||
| 14 | Constant | Private | Type reference (TYPE) | STRING | 'SYSTEMGUID' | SYSTEMGUID field name | 20121227 | ||
| 15 | Constant | Private | Type reference (TYPE) | STRING | 'UISYSTEMID' | System ID field name | 20110621 | ||
| 16 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_LAW2_DAC_TABLE | LAW 2.0 Database Access Class | 20110512 | |||
| 17 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_LAW2_APPL_LOG | LAW Application Log | 20110610 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | LAW2_TS_CHANGE | Buffer Change table type | 20110511 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | TY_TS_TABLE_KEY | Buffer deleted table keys | 20120719 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | LAW2_TS_TABLEKEY_PART | LAW 2.0 Table type which is used for buffering of key parts | 20110530 | |||
| 21 | Instance attribute | Private | See coding | 20120719 | |||||
| 22 | Instance attribute | Private | See coding | 20121227 | |||||
| 23 | Instance attribute | Private | See coding | 20110603 | |||||
| 24 | Instance attribute | Private | See coding | 20110817 | |||||
| 25 | Instance attribute | Private | See coding | 20121227 | |||||
| 26 | Instance attribute | Private | See coding | 20121227 | |||||
| 27 | Instance attribute | Private | See coding | 20121227 | |||||
| 28 | Instance attribute | Private | See coding | 20121227 | |||||
| 29 | Instance attribute | Private | See coding | 20110608 | |||||
| 30 | Instance attribute | Private | See coding | 20121227 | |||||
| 31 | Instance attribute | Private | See coding | 20121227 | |||||
| 32 | Instance attribute | Private | See coding | 20121227 | |||||
| 33 | Instance attribute | Private | See coding | 20111031 | |||||
| 34 | Instance attribute | Private | See coding | 20121227 | |||||
| 35 | Instance attribute | Private | See coding | 20110608 | |||||
| 36 | Instance attribute | Private | See coding | 20111018 | |||||
| 37 | Instance attribute | Private | See coding | 20110511 | |||||
| 38 | Instance attribute | Private | See coding | 20110511 | |||||
| 39 | Instance attribute | Private | See coding | 20110511 | |||||
| 40 | Instance attribute | Private | See coding | 20110525 | |||||
| 41 | Instance attribute | Private | See coding | 20110516 | |||||
| 42 | Instance attribute | Private | See coding | 20110511 | |||||
| 43 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_LAW2_DB_BUFFER | LAW 2.0 database buffer class | 20110512 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check if pending changes exist | 20110607 | |
| 2 | Instance method | Public | Method | Check if there are result users for the given dataset guid | 20120222 | |
| 3 | Instance method | Public | Method | Check if there are result users for the given dataset guid | 20120719 | |
| 4 | Instance method | Private | Constructor | 20110512 | ||
| 5 | Instance method | Public | Method | Delete specific data from the buffer | 20110511 | |
| 6 | Instance method | Public | Method | Delete all buffer tables | 20110530 | |
| 7 | Instance method | Public | Method | Save only the RFC and the corresp. measurement plan changes | 20111107 | |
| 8 | Instance method | Public | Method | Save the buffer changes to the database | 20110511 | |
| 9 | Instance method | Private | Method | Get the DATASET ID from the number range and update buffer | 20110610 | |
| 10 | Instance method | Private | Method | Draw a number from a number range | 20110610 | |
| 11 | Instance method | Private | Method | Fill the admin include before writing changes to the databas | 20110614 | |
| 12 | Instance method | Public | Method | Get the GUID of the dataset which can be changed | 20110607 | |
| 13 | Instance method | Public | Method | Get all LAW 2.0 consolidation group entries | 20121227 | |
| 14 | Instance method | Public | Method | Get all LAW 2.0 consolidation group items(system assignment) | 20121227 | |
| 15 | Instance method | Public | Method | Get all LAW 2.0 datasets | 20110719 | |
| 16 | Instance method | Public | Method | Get all LAW 2.0 engine preselection entries | 20121227 | |
| 17 | Instance method | Public | Method | Get all LAW 2.0 external systems | 20121227 | |
| 18 | Instance method | Public | Method | Get all LAW 2.0 LAW_CONT entries | 20121227 | |
| 19 | Instance method | Public | Method | Get all personal object counter entries for the datasetguid | 20121227 | |
| 20 | Instance method | Public | Method | Get all LAW 2.0 systems | 20110608 | |
| 21 | Instance method | Private | Method | Get the name of the corresponding buffer table | 20110516 | |
| 22 | Instance method | Public | Method | Read distict values from the buffer with key attributes | 20120820 | |
| 23 | Static method | Public | Method | Get a buffer instance | 20110511 | |
| 24 | Instance method | Public | Method | Modify the buffer | 20110511 | |
| 25 | Instance method | Public | Method | Query | 20110511 | |
| 26 | Instance method | Public | Method | Read data from the buffer | 20110511 | |
| 27 | Instance method | Public | Method | Read a DB table via attribute values | 20110518 | |
| 28 | Instance method | Public | Method | Read data from the buffer with key attributes | 20110526 |
Events
Class CL_LAW2_DB_BUFFER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_TABLE_KEY | Private | See coding | 20120719 | BEGIN OF ty_s_table_key,
table TYPE tabname16,
key TYPE xstring,
END OF ty_s_table_key
|
||
| 2 | TY_TS_TABLE_KEY | Private | See coding | 20120719 | ty_ts_table_key TYPE SORTED TABLE OF ty_s_table_key with unique key table key
|
Method Signatures
Method CHECK_PENDING_CHANGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_CHANGES_EXIST | Value transfer | Type reference (TYPE) | XFELD | True if pending changes exist | 20110607 |
Method CHECK_PENDING_CHANGES on class CL_LAW2_DB_BUFFER has no exception.
Method CHECK_USER_EXISTENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATASETGUID | Call by reference | Type reference (TYPE) | GUID | Globally Unique Identifier | 20120222 | |||
| 2 | RV_USER_EXIST | Value transfer | Type reference (TYPE) | XFELD | Checkbox | 20120222 |
Method CHECK_USER_EXISTENCE on class CL_LAW2_DB_BUFFER has no exception.
Method CHECK_USER_EXISTENCE_PER_SYST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SYSTEM | Call by reference | Type reference (TYPE) | LAW2_T_UI_MEASPLAN | Systems to be checked | 20120719 | |||
| 2 | RT_FAILED_SYSTEMS | Value transfer | Type reference (TYPE) | LAW2_T_UI_MEASPLAN | Systems without users | 20120719 |
Method CHECK_USER_EXISTENCE_PER_SYST on class CL_LAW2_DB_BUFFER has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_LAW2_DB_BUFFER has no parameter.
Method CONSTRUCTOR on class CL_LAW2_DB_BUFFER has no exception.
Method DO_CLEANUP Signature
Method DO_CLEANUP on class CL_LAW2_DB_BUFFER has no parameter.
Method DO_CLEANUP on class CL_LAW2_DB_BUFFER has no exception.
Method DO_CLEANUP_ALL Signature
Method DO_CLEANUP_ALL on class CL_LAW2_DB_BUFFER has no parameter.
Method DO_CLEANUP_ALL on class CL_LAW2_DB_BUFFER has no exception.
Method DO_RFC_SAVE Signature
Method DO_RFC_SAVE on class CL_LAW2_DB_BUFFER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 database buffer | 20111107 |
Method DO_SAVE Signature
Method DO_SAVE on class CL_LAW2_DB_BUFFER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 database buffer | 20110610 |
Method DRAW_DATASETID_AND_UPDATE_BUF Signature
Method DRAW_DATASETID_AND_UPDATE_BUF on class CL_LAW2_DB_BUFFER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 database buffer | 20110610 |
Method DRAW_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NUMBER | Call by reference | Type reference (TYPE) | ANY | 20110610 | ||||
| 2 | IV_NUMBER_RANGE_NR | Call by reference | Type reference (TYPE) | NRNR | Number range number | 20110610 | |||
| 3 | IV_RANGE_OBJECT | Call by reference | Type reference (TYPE) | NROBJ | Name of number range object | 20110610 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 database buffer | 20110610 |
Method FILL_ADMIN_INCLUDE Signature
Method FILL_ADMIN_INCLUDE on class CL_LAW2_DB_BUFFER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 database buffer | 20110614 |
Method GET_ACTIVE_DATASET_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DATASETGUID | Value transfer | Type reference (TYPE) | GUID | Dataset GUID | 20110607 |
Method GET_ACTIVE_DATASET_GUID on class CL_LAW2_DB_BUFFER has no exception.
Method GET_ALL_CONSGROUP_ENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CONS_GROUP | Call by reference | Type reference (TYPE) | ANY TABLE | LAW 2.0 Consolidation Group table | 20121227 |
Method GET_ALL_CONSGROUP_ENTRIES on class CL_LAW2_DB_BUFFER has no exception.
Method GET_ALL_CONSGROUP_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CONS_GROUP_SYS | Call by reference | Type reference (TYPE) | ANY TABLE | LAW 2.0 Consolidation Group system assignments | 20121227 |
Method GET_ALL_CONSGROUP_ITEMS on class CL_LAW2_DB_BUFFER has no exception.
Method GET_ALL_DATASETS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATASET | Call by reference | Type reference (TYPE) | ANY TABLE | LAW 2.0 Dataset structure table type | 20110719 |
Method GET_ALL_DATASETS on class CL_LAW2_DB_BUFFER has no exception.
Method GET_ALL_ENGINE_PRESEL_ENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ENGINE_PRESEL | Call by reference | Type reference (TYPE) | ANY TABLE | LAW 2.0 Engine preselection table | 20121227 |
Method GET_ALL_ENGINE_PRESEL_ENTRIES on class CL_LAW2_DB_BUFFER has no exception.
Method GET_ALL_EXT_SYSTEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_EXT_SYSTEM | Value transfer | Type reference (TYPE) | ANY TABLE | LAW 2.0 System structure table type | 20121227 |
Method GET_ALL_EXT_SYSTEMS on class CL_LAW2_DB_BUFFER has no exception.
Method GET_ALL_LAW_CONT_ENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_LAW_CONT | Call by reference | Type reference (TYPE) | ANY TABLE | LAW 2.0 LAW_CONT table | 20121227 |
Method GET_ALL_LAW_CONT_ENTRIES on class CL_LAW2_DB_BUFFER has no exception.
Method GET_ALL_POBJ_COUNT_ENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATASETGUID | Call by reference | Type reference (TYPE) | GUID | Globally Unique Identifier | 20121227 | |||
| 2 | RT_POBJ_COUNT | Value transfer | Type reference (TYPE) | LAW2_T_POBJ_COUNT | Personal object counter table | 20121227 |
Method GET_ALL_POBJ_COUNT_ENTRIES on class CL_LAW2_DB_BUFFER has no exception.
Method GET_ALL_SYSTEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SYSTEM | Value transfer | Type reference (TYPE) | ANY TABLE | LAW 2.0 System structure table type | 20110829 |
Method GET_ALL_SYSTEMS on class CL_LAW2_DB_BUFFER has no exception.
Method GET_BUFFER_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20110516 | |||
| 2 | RV_BUFFER | Value transfer | Type reference (TYPE) | STRING | 20110516 |
Method GET_BUFFER_NAME on class CL_LAW2_DB_BUFFER has no exception.
Method GET_DISTINCT_VALUES 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 | 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 | Fieldnames for the distinct values | 20120820 | |||
| 4 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20120820 |
Method GET_DISTINCT_VALUES on class CL_LAW2_DB_BUFFER has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_BUFFER_REFERENCE | Value transfer | Object reference (TYPE REF TO) | CL_LAW2_DB_BUFFER | LAW 2.0 database buffer class | 20110511 |
Method GET_INSTANCE on class CL_LAW2_DB_BUFFER has no exception.
Method MODIFY 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 Changes | 20110517 | |||
| 2 | IT_MODIFICATION | Call by reference | Type reference (TYPE) | LAW2_T_MODIFICATION | Change table | 20110511 | |||
| 3 | IV_DATASET_DELETION | Call by reference | Type reference (TYPE) | XFELD | ' ' | A entire dataset is deleted -> Disable active dataset check | 20110921 |
Method MODIFY on class CL_LAW2_DB_BUFFER 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 | selection table | 20110530 |
Method QUERY on class CL_LAW2_DB_BUFFER 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 | 20110517 | ||||
| 2 | ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | 20110516 | ||||
| 3 | IT_KEY | Call by reference | Type reference (TYPE) | ANY TABLE | 20110517 | ||||
| 4 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20110516 |
Method READ on class CL_LAW2_DB_BUFFER 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 | 20110518 | ||||
| 2 | IT_ATTRIBUTES | Call by reference | Type reference (TYPE) | LAW2_T_ATTRIBUTE_VALUE | LAW 2.0 Attribute-Value pair table type | 20110518 | |||
| 3 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20110518 |
Method READ_BY_ATTRIBUTES on class CL_LAW2_DB_BUFFER 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_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | 20110526 | ||||
| 2 | IT_KEY | Call by reference | Type reference (TYPE) | ANY TABLE | 20110526 | ||||
| 3 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20110526 |
Method READ_BY_KEY_PARTS on class CL_LAW2_DB_BUFFER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |