SAP ABAP Class CL_LAW2_DB_BUFFER (LAW 2.0 database buffer 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_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 MC_ADMIN_GROUP Constant Private Type reference (TYPE) STRING 'ADMIN' Group for DB table ADMIN 20110614
2 MC_CHDATE Constant Private Type reference (TYPE) STRING 'CHDATE' Admin Change Date 20110614
3 MC_CHNAME Constant Private Type reference (TYPE) STRING 'CHNAME' Admin Change Name 20110614
4 MC_CHTIME Constant Private Type reference (TYPE) STRING 'CHTIME' Admin Change Time 20120719
5 MC_CLIENT Constant Private Type reference (TYPE) STRING 'MANDT' Client field 20120302
6 MC_CRDATE Constant Private Type reference (TYPE) STRING 'CRDATE' Admin Create Date 20110614
7 MC_CRNAME Constant Private Type reference (TYPE) STRING 'CRNAME' Admin Create Name 20110614
8 MC_CRTIME Constant Private Type reference (TYPE) STRING 'CRTIME' Admin Create Time 20120719
9 MC_DATASETGUID Constant Private Type reference (TYPE) STRING 'DATASETGUID' DATASETGUID field name 20110607
10 MC_DATASETID Constant Private Type reference (TYPE) STRING 'DATASETID' DATASETID field name 20110610
11 MC_HOCHSTRICH Constant Private Type reference (TYPE) STRING '''' 20110616
12 MC_KEY_GROUP Constant Private Type reference (TYPE) STRING 'KEY' Group for DB table key 20110512
13 MC_SYSTEMGROUP Constant Private Type reference (TYPE) STRING 'SYSTEMGROUP' SYSTEMGROUP field name 20121227
14 MC_SYSTEMGUID Constant Private Type reference (TYPE) STRING 'SYSTEMGUID' SYSTEMGUID field name 20121227
15 MC_SYSTEMID Constant Private Type reference (TYPE) STRING 'UISYSTEMID' System ID field name 20110621
16 MO_DAC_TABLE Instance attribute Private Object reference (TYPE REF TO) CL_LAW2_DAC_TABLE LAW 2.0 Database Access Class 20110512
17 MO_PROTOCOL Instance attribute Private Object reference (TYPE REF TO) CL_LAW2_APPL_LOG LAW Application Log 20110610
18 MT_CHANGE Instance attribute Private Type reference (TYPE) LAW2_TS_CHANGE Buffer Change table type 20110511
19 MT_DELETE_BUFFER Instance attribute Private Type reference (TYPE) TY_TS_TABLE_KEY Buffer deleted table keys 20120719
20 MT_KEY_PART_BUFFER 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 MT_LAW2D_ATTACHMENT Instance attribute Private See coding 20120719
22 MT_LAW2D_CONT Instance attribute Private See coding 20121227
23 MT_LAW2D_DATASET Instance attribute Private See coding 20110603
24 MT_LAW2D_ENGINE Instance attribute Private See coding 20110817
25 MT_LAW2D_ENG_PRESEL Instance attribute Private See coding 20121227
26 MT_LAW2D_EXT_SYSTEM Instance attribute Private See coding 20121227
27 MT_LAW2D_GROUP Instance attribute Private See coding 20121227
28 MT_LAW2D_GROUP_SYS Instance attribute Private See coding 20121227
29 MT_LAW2D_MEASPLAN Instance attribute Private See coding 20110608
30 MT_LAW2D_NMP Instance attribute Private See coding 20121227
31 MT_LAW2D_NMP_UNIT Instance attribute Private See coding 20121227
32 MT_LAW2D_POBJ_COUNT Instance attribute Private See coding 20121227
33 MT_LAW2D_RFCACTION Instance attribute Private See coding 20111031
34 MT_LAW2D_RFCACT_PSH Instance attribute Private See coding 20121227
35 MT_LAW2D_SYSTEM Instance attribute Private See coding 20110608
36 MT_LAW2D_USERCONS Instance attribute Private See coding 20111018
37 MT_LAW2D_USMM_COMP Instance attribute Private See coding 20110511
38 MT_LAW2D_USMM_PART Instance attribute Private See coding 20110511
39 MT_LAW2D_USMM_PERS Instance attribute Private See coding 20110511
40 MT_LAW2D_USMM_POBJ Instance attribute Private See coding 20110525
41 MT_LAW2D_USMM_RSLT Instance attribute Private See coding 20110516
42 MT_LAW2D_USMM_SYST Instance attribute Private See coding 20110511
43 SO_BUFFER_INSTANCE 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 CHECK_PENDING_CHANGES Instance method Public Method Check if pending changes exist 20110607
2 CHECK_USER_EXISTENCE Instance method Public Method Check if there are result users for the given dataset guid 20120222
3 CHECK_USER_EXISTENCE_PER_SYST Instance method Public Method Check if there are result users for the given dataset guid 20120719
4 CONSTRUCTOR Instance method Private Constructor 20110512
5 DO_CLEANUP Instance method Public Method Delete specific data from the buffer 20110511
6 DO_CLEANUP_ALL Instance method Public Method Delete all buffer tables 20110530
7 DO_RFC_SAVE Instance method Public Method Save only the RFC and the corresp. measurement plan changes 20111107
8 DO_SAVE Instance method Public Method Save the buffer changes to the database 20110511
9 DRAW_DATASETID_AND_UPDATE_BUF Instance method Private Method Get the DATASET ID from the number range and update buffer 20110610
10 DRAW_NUMBER Instance method Private Method Draw a number from a number range 20110610
11 FILL_ADMIN_INCLUDE Instance method Private Method Fill the admin include before writing changes to the databas 20110614
12 GET_ACTIVE_DATASET_GUID Instance method Public Method Get the GUID of the dataset which can be changed 20110607
13 GET_ALL_CONSGROUP_ENTRIES Instance method Public Method Get all LAW 2.0 consolidation group entries 20121227
14 GET_ALL_CONSGROUP_ITEMS Instance method Public Method Get all LAW 2.0 consolidation group items(system assignment) 20121227
15 GET_ALL_DATASETS Instance method Public Method Get all LAW 2.0 datasets 20110719
16 GET_ALL_ENGINE_PRESEL_ENTRIES Instance method Public Method Get all LAW 2.0 engine preselection entries 20121227
17 GET_ALL_EXT_SYSTEMS Instance method Public Method Get all LAW 2.0 external systems 20121227
18 GET_ALL_LAW_CONT_ENTRIES Instance method Public Method Get all LAW 2.0 LAW_CONT entries 20121227
19 GET_ALL_POBJ_COUNT_ENTRIES Instance method Public Method Get all personal object counter entries for the datasetguid 20121227
20 GET_ALL_SYSTEMS Instance method Public Method Get all LAW 2.0 systems 20110608
21 GET_BUFFER_NAME Instance method Private Method Get the name of the corresponding buffer table 20110516
22 GET_DISTINCT_VALUES Instance method Public Method Read distict values from the buffer with key attributes 20120820
23 GET_INSTANCE Static method Public Method Get a buffer instance 20110511
24 MODIFY Instance method Public Method Modify the buffer 20110511
25 QUERY Instance method Public Method Query 20110511
26 READ Instance method Public Method Read data from the buffer 20110511
27 READ_BY_ATTRIBUTES Instance method Public Method Read a DB table via attribute values 20110518
28 READ_BY_KEY_PARTS 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 Returning 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 Importing IV_DATASETGUID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20120222
2 Returning 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 Importing IT_SYSTEM Call by reference Type reference (TYPE) LAW2_T_UI_MEASPLAN Systems to be checked 20120719
2 Returning 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 CX_LAW2_DB_BUFFER 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 CX_LAW2_DB_BUFFER 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 CX_LAW2_DB_BUFFER 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 Exporting EV_NUMBER Call by reference Type reference (TYPE) ANY 20110610
2 Importing IV_NUMBER_RANGE_NR Call by reference Type reference (TYPE) NRNR Number range number 20110610
3 Importing IV_RANGE_OBJECT Call by reference Type reference (TYPE) NROBJ Name of number range object 20110610
# Exception Resumable Description Created on
1 CX_LAW2_DB_BUFFER 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 CX_LAW2_DB_BUFFER 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 Returning 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 Exporting 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 Exporting 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 Exporting 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 Exporting 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 Exporting 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 Exporting 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 Importing IV_DATASETGUID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20121227
2 Returning 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 Exporting 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 Importing IV_TABLE Call by reference Type reference (TYPE) TABNAME16 Table name, 16 characters 20110516
2 Returning 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 Exporting ET_RESULT Call by reference Type reference (TYPE) ANY 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 Fieldnames for the distinct values 20120820
4 Importing 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 Returning 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 Exporting ET_FAILED_KEY Call by reference Type reference (TYPE) ANY TABLE Failed Changes 20110517
2 Importing IT_MODIFICATION Call by reference Type reference (TYPE) LAW2_T_MODIFICATION Change table 20110511
3 Importing 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 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 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 Exporting ET_FAILED_KEY Call by reference Type reference (TYPE) ANY TABLE 20110517
2 Exporting ET_RESULT Call by reference Type reference (TYPE) ANY TABLE 20110516
3 Importing IT_KEY Call by reference Type reference (TYPE) ANY TABLE 20110517
4 Importing 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 Exporting ET_RESULT Call by reference Type reference (TYPE) ANY TABLE 20110518
2 Importing IT_ATTRIBUTES Call by reference Type reference (TYPE) LAW2_T_ATTRIBUTE_VALUE LAW 2.0 Attribute-Value pair table type 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_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 Exporting ET_RESULT Call by reference Type reference (TYPE) ANY TABLE 20110526
2 Importing IT_KEY Call by reference Type reference (TYPE) ANY TABLE 20110526
3 Importing 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