SAP ABAP Class CL_RSPLS_ENQ_ROOT (Enqueue Using SHM: Data Class)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-PLA (Application Component) Planning
⤷
RSPLS (Package) Planning: General Services
⤷
⤷
Properties
| Class | CL_RSPLS_ENQ_ROOT | |
| Short Description | Enqueue Using SHM: Data Class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSPLS | Planning: General Services |
| Created | 20040514 | 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_RSPLS_ENQ_ROOT has no interface implemented.
Friends
Class CL_RSPLS_ENQ_ROOT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | ENQMODE | 'E' | Lock Mode | 20050203 | ||
| 2 | Constant | Public | Type reference (TYPE) | ENQMODE | 'S' | Lock Mode | 20050203 | ||
| 3 | Constant | Private | Type reference (TYPE) | SEQG3-GNAME | 'RSPLS_S_LOCK' | Name of Lock Structure | 20050203 | ||
| 4 | Constant | Private | Type reference (TYPE) | SEQG3-GNAME | 'RSPLS_S_LOCK_SYNC' | Name of Lock Structure | 20050203 | ||
| 5 | Constant | Private | See coding | Pattern Test | 20050216 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20040623 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | INT4 | Length: Fixed Section of Pattern | 20050216 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | INT4 | Number of Locked Selections, E | 20040514 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | INT4 | Number of Locked Selections, S | 20040514 | |||
| 10 | Static Attribute | Private | Type reference (TYPE) | CHAR1 | Pattern Test (Current) | 20050216 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Indicator: Do not Use Secondary Index | 20080204 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | RSPLS_SYNC_CNT | Counter for Synchronization with Lock Server | 20050902 | |||
| 13 | Static Attribute | Private | Type reference (TYPE) | EQEUNAME | Test Pattern | 20050216 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | TP_TS_SELCHECK | Selection: Table for Checking Intersection, E | 20040514 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | TP_TS_SELCHECK_G | Selection: Table for Individual Check for Intersection, E | 20040514 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | TP_TS_SELCHECK_G | Selection: Table for Individual Check for Intersection, S | 20040514 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | TP_TS_SELCHECK | Selection: Table for Checking Intersection, E | 20040514 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | TP_TS_SELHASH | Assignment: Selection to User | 20040514 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | RSPLS_T_USED_CHAS | Characteristics Used in Selections | 20040514 | |||
| 20 | Constant | Private | Type reference (TYPE) | INT4 | 1000 | Version for Invalidation | 20060926 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Modify Directory of Characteristics Being Used | 20040514 | |
| 2 | Instance method | Private | Method | Check Selection for Intersection with Stored Selections | 20040514 | |
| 3 | Instance method | Public | Constructor | Constructor, Sets InfoProvider | 20040514 | |
| 4 | Instance method | Private | Method | Deletes a Selection | 20040514 | |
| 5 | Instance method | Public | Method | Unlocking a Selection | 20040514 | |
| 6 | Instance method | Public | Method | Locking a Selection | 20040514 | |
| 7 | Instance method | Private | Method | Free, if there are no more active locks | 20040623 | |
| 8 | Instance method | Private | Method | Determine Selection for Lock Collision | 20050510 | |
| 9 | Static method | Private | Method | Initialization: Pattern for User | 20050216 | |
| 10 | Static method | Private | Method | Tests Pattern Registered in init_match | 20050216 | |
| 11 | Static method | Private | Method | Read Lock Records from Lock Server | 20050203 | |
| 12 | Instance method | Public | Method | Read Locks | 20040623 | |
| 13 | Instance method | Private | Method | Does a Separating Characteristic Exist (for All Selections)? | 20040621 | |
| 14 | Instance method | Private | Method | Does a Separating Characteristic Exist (per Selection)? | 20040621 | |
| 15 | Instance method | Private | Method | Sets Locks | 20040514 | |
| 16 | Instance method | Public | Method | Reconcile Lock Records with Lock Server (for Whole InfoProv) | 20040514 | |
| 17 | Instance method | Private | Method | Reconcile Lock Records with Lock Server | 20040514 |
Events
Class CL_RSPLS_ENQ_ROOT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TP_S_MESG | Private | See coding | Messages | 20050203 | BEGIN OF tp_s_mesg,
msgid TYPE symsgid,
msgty TYPE symsgty,
msgno TYPE symsgno,
msgv1 TYPE symsgv,
msgv2 TYPE symsgv,
msgv3 TYPE symsgv,
msgv4 TYPE symsgv,
END OF tp_s_mesg
|
|
| 2 | TP_TS_SELCHECK | Private | See coding | Table for Intersection Check, per Characteristic | 20040806 | tp_ts_selcheck TYPE SORTED TABLE OF rspls_s_selcheck
WITH UNIQUE KEY chanm low high guid
|
|
| 3 | TP_TS_SELCHECK_G | Private | See coding | Table for Intersection Check, per Selection | 20040806 | tp_ts_selcheck_g TYPE SORTED TABLE OF rspls_s_selcheck
WITH UNIQUE KEY guid chanm low high
|
|
| 4 | TP_TS_SELHASH | Private | See coding | Selection: Table for Lock Directory | 20040806 | tp_ts_selhash TYPE SORTED TABLE OF rspls_s_selhash
WITH UNIQUE KEY enq_owner hash enqmode
|
|
| 5 | TP_T_LOCKS | Private | See coding | Locks in Lock-Server Format | 20050203 | tp_t_locks TYPE STANDARD TABLE OF seqg3
|
Method Signatures
Method ADJUST_USED_CHAS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ADD | Call by reference | Type reference (TYPE) | ABAP_BOOL | Flag, Selektionen 'addieren' oder 'abziehen' | 20040514 | |||
| 2 | I_COUNT_SEL_E | Call by reference | Type reference (TYPE) | I | Anzahl Seltabs mit E-Sperren | 20040514 | |||
| 3 | I_COUNT_SEL_S | Call by reference | Type reference (TYPE) | I | Anzahl Seltabs mit S-Sperren | 20040514 | |||
| 4 | I_T_USED_CHAS | Call by reference | Type reference (TYPE) | RSPLS_T_USED_CHAS | In Selektionen verwendete Merkmale | 20040514 |
Method ADJUST_USED_CHAS on class CL_RSPLS_ENQ_ROOT has no exception.
Method CHECK_OVERLAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SET_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | Flag: Selektives Merkmal existiert | 20040514 | |||
| 2 | E_S_MESG | Call by reference | Type reference (TYPE) | TP_S_MESG | Meldungsstruktur | 20040514 | |||
| 3 | E_S_SELHASH | Call by reference | Type reference (TYPE) | RSPLS_S_SELHASH | Enqueue: Struktur für Sperrverzeichnis | 20050510 | |||
| 4 | I_ENQMODE | Call by reference | Type reference (TYPE) | ENQMODE | Sperrmodus | 20040514 | |||
| 5 | I_ENQ_OWNER | Call by reference | Type reference (TYPE) | GUID_22 | Enqueue-Owner | 20040514 | |||
| 6 | I_SINGLE_CHK | Call by reference | Type reference (TYPE) | ABAP_BOOL | SPACE | Selektionen einzeln prüfen | 20040514 | ||
| 7 | I_T_CHASEL | Call by reference | Type reference (TYPE) | RSPLS_T_CHASEL | Selektion für Merkmalswerte | 20040514 |
Method CHECK_OVERLAP on class CL_RSPLS_ENQ_ROOT has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_INFOPROV | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20040623 |
Method CONSTRUCTOR on class CL_RSPLS_ENQ_ROOT has no exception.
Method DELETE_SELECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_SELTEMP | Call by reference | Type reference (TYPE) | RSPLS_T_SELCHECK | Tabelle für Prüfung auf Schnittmenge | 20040514 | |||
| 2 | C_T_USED_CHAS | Call by reference | Type reference (TYPE) | RSPLS_T_USED_CHAS | In Selektionen verwendete Merkmale | 20040514 | |||
| 3 | I_S_SELHASH | Call by reference | Type reference (TYPE) | RSPLS_S_SELHASH | Selekton: Struktur für Sperrverzeichnis | 20040514 | |||
| 4 | I_TEMP | Call by reference | Type reference (TYPE) | ABAP_BOOL | Nur temporär löschen | 20040514 |
Method DELETE_SELECTION on class CL_RSPLS_ENQ_ROOT has no exception.
Method DEQUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ENQMODE | Call by reference | Type reference (TYPE) | ENQMODE | Sperrmodus | 20040514 | |||
| 2 | I_ENQ_OWNER | Call by reference | Type reference (TYPE) | GUID_22 | Enqueue-Owner, GUID | 20040514 | |||
| 3 | I_HASH | Call by reference | Type reference (TYPE) | XSTRING | Hash-Wert (160 Bits) | 20040514 | |||
| 4 | I_SCOPE | Call by reference | Type reference (TYPE) | DDENQSCOPE | '3' | Steuerung des Sperrverhaltens beim Verbuchungsaufruf | 20060926 |
Method DEQUEUE on class CL_RSPLS_ENQ_ROOT has no exception.
Method ENQUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_SELCHECK | Call by reference | Type reference (TYPE) | RSPLS_T_SELCHECK | Enqueue: Tabelle für Prüfung auf Schnittmenge | 20050510 | |||
| 2 | I_ENQMODE | Call by reference | Type reference (TYPE) | ENQMODE | Sperrmodus | 20040514 | |||
| 3 | I_ENQ_OWNER | Call by reference | Type reference (TYPE) | GUID_22 | Enqueue Owner, GUID | 20040514 | |||
| 4 | I_HASH | Call by reference | Type reference (TYPE) | XSTRING | Hash-Wert (160 Bits) | 20040514 | |||
| 5 | I_SCOPE | Call by reference | Type reference (TYPE) | DDENQSCOPE | '3' | Steuerung des Sperrverhaltens beim Verbuchungsaufruf | 20060926 | ||
| 6 | I_S_LOCK_METH | Call by reference | Type reference (TYPE) | RSPLS_LOCK_METHS | Aktive Sperr-Methode | 20050902 | |||
| 7 | I_T_CHAS | Call by reference | Type reference (TYPE) | RSPLS_T_CHAS | Merkmale in Selektion | 20040514 | |||
| 8 | I_T_CHASEL | Call by reference | Type reference (TYPE) | RSPLS_T_CHASEL | Selektion für Merkmalswerte | 20040514 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Sperre | 20040514 |
Method FREE_TABLES Signature
Method FREE_TABLES on class CL_RSPLS_ENQ_ROOT has no parameter.
Method FREE_TABLES on class CL_RSPLS_ENQ_ROOT has no exception.
Method GET_LCK_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_SELCHECK | Call by reference | Type reference (TYPE) | RSPLS_T_SELCHECK | Enqueue: Tabelle für Prüfung auf Schnittmenge | 20050510 | |||
| 2 | I_S_SELHASH | Call by reference | Type reference (TYPE) | RSPLS_S_SELHASH | Enqueue: Struktur für Sperrverzeichnis | 20050510 |
Method GET_LCK_SEL on class CL_RSPLS_ENQ_ROOT has no exception.
Method INIT_MATCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PATTERN | Call by reference | Type reference (TYPE) | EQEUNAME | Benutzername in einem Sperreintrag | 20050216 |
Method INIT_MATCH on class CL_RSPLS_ENQ_ROOT has no exception.
Method MATCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_VALUE | Call by reference | Type reference (TYPE) | EQEUNAME | Benutzername in einem Sperreintrag | 20050216 | |||
| 2 | R_BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050216 |
Method MATCH on class CL_RSPLS_ENQ_ROOT has no exception.
Method READ_ENQUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_NO_LOCKS | Call by reference | Type reference (TYPE) | ABAP_BOOL | Flag, keine Sperren zur Anfrage | 20050203 | |||
| 2 | E_T_LOCKS | Call by reference | Type reference (TYPE) | TP_T_LOCKS | Sperren, im Format des Sperrservers | 20050203 | |||
| 3 | I_GUID | Call by reference | Type reference (TYPE) | RSPLS_LCK_ID | GUID im 'CHAR' Format in Großschreibung | 20050203 | |||
| 4 | I_GUNAME | Call by reference | Type reference (TYPE) | SEQG3-GUNAME | Benutzername in einem Sperreintrag | 20050203 | |||
| 5 | I_INFOPROV | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20050203 | |||
| 6 | I_LOCK_STRUC | Call by reference | Type reference (TYPE) | CHAR1 | 'S' | Sperrstruktur: 'S' für sync 'L' für lock | 20050203 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Sperrserver konnte nicht ausgelesen werden | 20050203 |
Method READ_LOCKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_SELCHECK | Call by reference | Type reference (TYPE) | RSPLS_T_SELCHECK | Enqueue: Tabelle für Prüfung auf Schnittmenge | 20040623 | |||
| 2 | E_T_SELHASH | Call by reference | Type reference (TYPE) | RSPLS_T_SELHASH | Enqueue: Tabelle für Sperrverzeichnis | 20040623 | |||
| 3 | I_UNAME | Call by reference | Type reference (TYPE) | EQEUNAME | Benutzername in einem Sperreintrag | 20040623 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Sperren konnten nicht ausgelesen werden | 20040624 |
Method SEP_CHA_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ENQMODE | Call by reference | Type reference (TYPE) | ENQMODE | Sperrmodus | 20040621 | |||
| 2 | I_ENQ_OWNER | Call by reference | Type reference (TYPE) | GUID_22 | Enqueue Owner | 20040621 | |||
| 3 | I_TS_SELCHECK | Call by reference | Type reference (TYPE) | TP_TS_SELCHECK | Gesperrte Selektionen | 20040621 | |||
| 4 | I_T_CHASEL | Call by reference | Type reference (TYPE) | RSPLS_T_CHASEL | Selektion für Merkmalswerte | 20040621 | |||
| 5 | R_SEL_CHA_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | Flag: Selektives Merkmal existiert | 20040621 |
Method SEP_CHA_EXISTS on class CL_RSPLS_ENQ_ROOT has no exception.
Method SEP_CHA_EXISTS_G Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GUID | Call by reference | Type reference (TYPE) | RSPLS_LCK_ID | GUID zur Selektion | 20040621 | |||
| 2 | I_TS_SELCHECK_G | Call by reference | Type reference (TYPE) | TP_TS_SELCHECK_G | Gesperrte Selektionen | 20040621 | |||
| 3 | I_T_CHASEL | Call by reference | Type reference (TYPE) | RSPLS_T_CHASEL | Selektion für Merkmalswerte | 20040621 | |||
| 4 | R_SEL_CHA_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | Flag: Selektives Merkmal existiert | 20040621 |
Method SEP_CHA_EXISTS_G on class CL_RSPLS_ENQ_ROOT has no exception.
Method SET_LOCKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Rückgabewert, Rückgabewert nach ABAP-Anweisungen | 20040514 | |||
| 2 | E_S_MESG | Call by reference | Type reference (TYPE) | TP_S_MESG | Meldungsstruktur | 20040514 | |||
| 3 | I_ENQMODE | Call by reference | Type reference (TYPE) | ENQMODE | Sperrmodus | 20040514 | |||
| 4 | I_ENQ_OWNER | Call by reference | Type reference (TYPE) | GUID_22 | Enqueue-Owner, GUID | 20040514 | |||
| 5 | I_HASH | Call by reference | Type reference (TYPE) | XSTRING | Hash-Wert (160 Bits) | 20040514 | |||
| 6 | I_SCOPE | Call by reference | Type reference (TYPE) | DDENQSCOPE | Steuerung des Sperrverhaltens beim Verbuchungsaufruf | 20060926 | |||
| 7 | I_T_CHAS | Call by reference | Type reference (TYPE) | RSPLS_T_CHAS | Merkmale in Selektion | 20040514 | |||
| 8 | I_T_CHASEL | Call by reference | Type reference (TYPE) | RSPLS_T_CHASEL | Selektion für Merkmalswerte | 20040514 |
Method SET_LOCKS on class CL_RSPLS_ENQ_ROOT has no exception.
Method SYNC_ALL Signature
Method SYNC_ALL on class CL_RSPLS_ENQ_ROOT has no parameter.
Method SYNC_ALL on class CL_RSPLS_ENQ_ROOT has no exception.
Method SYNC_SELECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_T_LOCKS | Call by reference | Type reference (TYPE) | TP_T_LOCKS | Sperren, im Format des Sperrservers | 20040514 |
Method SYNC_SELECTION on class CL_RSPLS_ENQ_ROOT has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 400 |