SAP ABAP Class CL_BUP_LOCKING_SHARED (BP: Shared Lock Management for Business Partners)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BP (Application Component) Business Partner Foundation
⤷
S_BUPA_IPI (Package) SAP Business Partner: Internal Programming Interface (Basis)
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_BUP_CONST | Business Partner: Constants Generally Used | 20081114 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_BUP_RELT_CONST | BPR: Constants for Relationship Segments | 20081117 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CMD_APPLLOG_CONST | Reuse Constants of Application Logs | 20081114 |
Properties
| Class | CL_BUP_LOCKING_SHARED | |
| Short Description | BP: Shared Lock Management for Business Partners | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_BUPA_IPI | SAP Business Partner: Internal Programming Interface (Basis) |
| Created | 20081114 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_BUP_CONST | Business Partner: Constants Generally Used | 20081114 | ||
| 2 | IF_BUP_RELT_CONST | BPR: Constants for Relationship Segments | 20081117 | ||
| 3 | IF_CMD_APPLLOG_CONST | Reuse Constants of Application Logs | 20081114 |
Friends
Class CL_BUP_LOCKING_SHARED has no friend class.
Attributes
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20081114 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20081114 | |
| 3 | Static method | Public | Method | Return Instance of Lock Management for Shared Locks | 20081114 | |
| 4 | Instance method | Public | Method | Return Buffer of Lock Management for Shared Locks | 20081119 | |
| 5 | Instance method | Public | Method | Return Buffer of Lock Management for Shared Locks for User | 20081210 | |
| 6 | Instance method | Public | Method | Check Key (Incl. Use) for Set Shared Lock | 20081119 | |
| 7 | Instance method | Public | Method | Set Shared Locks and Buffer Use / Authorization Check | 20081119 | |
| 8 | Instance method | Public | Method | Set Shared Locks and Buffer Use / Authorization Check (READ) | 20081119 | |
| 9 | Instance method | Private | Method | Writing Messages to Application Log | 20081117 | |
| 10 | Instance method | Private | Event handling method | Replace Temp. PARTNERIDs (Event Handler BP_ID_CHANGED) | 20090108 | |
| 11 | Instance method | Private | Event handling method | Event Handler for PARTNER_UNLOCKED | 20081210 | |
| 12 | Instance method | Public | Method | Initialize Lock Buffer | 20081114 | |
| 13 | Instance method | Public | Method | Release All Buffered Shared Locks | 20081119 | |
| 14 | Instance method | Public | Method | Release Shared Locks Including Use | 20081114 | |
| 15 | Instance method | Public | Method | Adjust Uses of Shared Locks | 20090112 |
Events
Class CL_BUP_LOCKING_SHARED has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_UPD_LOCK_USAGES_SHARED | Public | See coding | 20090112 | BEGIN OF ty_upd_lock_usages_shared,
partner TYPE bu_partner,
lock_mode TYPE enqmode,
upd_usages TYPE ty_upd_lock_usage_shared_t,
END OF ty_upd_lock_usages_shared
|
||
| 2 | TY_UPD_LOCK_USAGES_SHARED_T | Public | See coding | 20090112 | ty_upd_lock_usages_shared_t TYPE SORTED TABLE OF ty_upd_lock_usages_shared
WITH UNIQUE KEY partner
|
||
| 3 | TY_UPD_LOCK_USAGE_SHARED | Public | See coding | 20090112 | BEGIN OF ty_upd_lock_usage_shared,
usage_old TYPE bup_s_part_lock_shared_usage,
usage_new TYPE bup_s_part_lock_shared_usage,
END OF ty_upd_lock_usage_shared
|
||
| 4 | TY_UPD_LOCK_USAGE_SHARED_T | Public | See coding | 20090112 | ty_upd_lock_usage_shared_t TYPE SORTED TABLE OF ty_upd_lock_usage_shared
WITH UNIQUE KEY usage_old
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_BUP_LOCKING_SHARED has no parameter.
Method CLASS_CONSTRUCTOR on class CL_BUP_LOCKING_SHARED has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_BUP_LOCKING_SHARED has no parameter.
Method CONSTRUCTOR on class CL_BUP_LOCKING_SHARED has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_BUP_LOCKING_SHARED | GP: Verwaltung von Lesesperren zu Geschäftspartnern | 20081114 |
Method GET_INSTANCE on class CL_BUP_LOCKING_SHARED has no exception.
Method GET_SHARED_LOCK_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PARTNER_LOCKS_SHARED | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED | GP: Status der Lesesperren zum Geschäftspartner | 20081119 |
Method GET_SHARED_LOCK_BUFFER on class CL_BUP_LOCKING_SHARED has no exception.
Method GET_SHARED_LOCK_BUFFER_BY_OWNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PARTNER_LOCKS_SHARED | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED | GP: Status der Lesesperren zum Geschäftspartner (per Verw.) | 20081210 | |||
| 2 | IV_LOCK_OWNER | Call by reference | Type reference (TYPE) | BUP_PART_LOCK_SHARED_OWNER | GP: Verwender einer Lesesperren zum Geschäftspartner | 20081210 |
Method GET_SHARED_LOCK_BUFFER_BY_OWNR on class CL_BUP_LOCKING_SHARED has no exception.
Method IS_LOCKED_SHARED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PARTNER_KEYS_NOLOCK | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Partner (inkl. Verwender) ohne existierende Lesesperre | 20081119 | |||
| 2 | ET_PARTNER_LOCKS_SHARED | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED | Partner mit Lesesperre (inkl. Sperrstatus und Verwender) | 20081119 | |||
| 3 | IR_MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | CL_CMD_APPLLOG | Anwendungsprotokoll | 20081119 | |||
| 4 | IT_PARTNER_KEYS | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Auf Lesesperren zu prüfende Partner (inkl. Verwender) | 20081119 |
Method IS_LOCKED_SHARED on class CL_BUP_LOCKING_SHARED has no exception.
Method LOCK_SHARED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FAILED | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Partner (inkl. Verwender) mit Fehlern (aggregierte Tabelle) | 20081119 | |||
| 2 | ET_FAILED_AUTHORITY | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Partner (inkl. Verwender) mit Fehlern (Berechtigungsprüfung) | 20081119 | |||
| 3 | ET_FAILED_EXISTENCE | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Nicht existierende Partner (inkl. Verwender) | 20081119 | |||
| 4 | ET_FAILED_LOCK | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Partner (inkl. Verwender), die nicht gesperrt werden konnten | 20081119 | |||
| 5 | ET_SUCCEEDED | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Gesperrte und geprüfte Partner (inkl. Verwender) | 20081119 | |||
| 6 | IR_MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | CL_CMD_APPLLOG | Anwendungsprotokoll | 20081119 | |||
| 7 | IT_PARTNER_KEYS | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Zu sperrende Partner (inkl. Verwender) | 20081119 |
Method LOCK_SHARED on class CL_BUP_LOCKING_SHARED has no exception.
Method LOCK_SHARED_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FAILED | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Partner (inkl. Verwender) mit Fehlern (exklusive Sperrfehl.) | 20081119 | |||
| 2 | ET_FAILED_AUTHORITY | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Partner (inkl. Verwender) mit Fehlern (Berechtigungsprüfung) | 20081209 | |||
| 3 | ET_FAILED_EXISTENCE | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Nicht existierende Partner (inkl. Verwender) | 20081209 | |||
| 4 | ET_FAILED_LOCK | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Partner (inkl. Verwender), die nicht gesperrt werden konnten | 20081119 | |||
| 5 | ET_SUCCEEDED | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Gesperrte (falls nötig) und geprüfte Partner (inkl. Verw.) | 20081209 | |||
| 6 | IR_MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | CL_CMD_APPLLOG | Anwendungsprotokoll | 20081119 | |||
| 7 | IT_PARTNER_KEYS | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Zu sperrende Partner (inkl. Verwender) | 20081119 | |||
| 8 | IV_AUTHORITY_CHECK | Call by reference | Type reference (TYPE) | BOOLE_D | 'X' | Berechtigungsprüfung durchführen | 20081119 | ||
| 9 | IV_EDIT_MODE | Call by reference | Type reference (TYPE) | BUP_EDIT_MODE | Editiermodus | 20081119 |
Method LOCK_SHARED_READ on class CL_BUP_LOCKING_SHARED has no exception.
Method MESSAGES_WRITE_COMPLEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | CL_CMD_APPLLOG | Anwendungsprotokoll | 20081117 | |||
| 2 | IS_MSGADD | Call by reference | Type reference (TYPE) | CMD_S_MSGADD | Zusatzparameter für Nachrichten | 20081117 | |||
| 3 | IS_MSGVSRC | Call by reference | Type reference (TYPE) | CMD_S_MSGVSRC | Struktur für die Herkunft von Nachrichtenvariablen | 20081117 | |||
| 4 | IS_OBJINFO | Call by reference | Type reference (TYPE) | CMD_S_OBJINFO | Objektinformationen zu Nachrichten | 20081117 |
Method MESSAGES_WRITE_COMPLEX on class CL_BUP_LOCKING_SHARED has no exception.
Method ON_BP_ID_CHANGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CHANGED_KEYS | Call by reference | Attribute reference (LIKE) | 20090108 | |||||
| 2 | EV_IS_FINALIZE | Call by reference | Attribute reference (LIKE) | 20090108 |
Method ON_BP_ID_CHANGED on class CL_BUP_LOCKING_SHARED has no exception.
Method ON_PARTNER_UNLOCKED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PARTNER | Call by reference | Attribute reference (LIKE) | 20081210 |
Method ON_PARTNER_UNLOCKED on class CL_BUP_LOCKING_SHARED has no exception.
Method REFRESH_BUFFER Signature
Method REFRESH_BUFFER on class CL_BUP_LOCKING_SHARED has no parameter.
Method REFRESH_BUFFER on class CL_BUP_LOCKING_SHARED has no exception.
Method UNLOCK_ALL_SHARED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | CL_CMD_APPLLOG | Anwendungsprotokoll | 20081119 |
Method UNLOCK_ALL_SHARED on class CL_BUP_LOCKING_SHARED has no exception.
Method UNLOCK_SHARED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FAILED_KEYS | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Nicht entsperrte Partner (Leseperre existiert nicht) | 20081114 | |||
| 2 | IR_MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | CL_CMD_APPLLOG | Anwendungsprotokoll | 20081114 | |||
| 3 | IT_PARTNER_KEYS | Call by reference | Type reference (TYPE) | BUP_TS_PARTNER_LOCK_SHARED_KEY | Zu entsperrende Partner | 20081114 | |||
| 4 | IV_IGNORE_USAGES | Call by reference | Type reference (TYPE) | BOOLE_D | ' ' | Andere Verwendungen der Sperre ignorieren | 20081114 |
Method UNLOCK_SHARED on class CL_BUP_LOCKING_SHARED has no exception.
Method UPDATE_LOCK_USAGES_SHARED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FAILED | Call by reference | Type reference (TYPE) | TY_UPD_LOCK_USAGES_SHARED_T | Anpassung der Sperrverwendung nicht möglich | 20090112 | |||
| 2 | IT_UPD_USAGES | Call by reference | Type reference (TYPE) | TY_UPD_LOCK_USAGES_SHARED_T | Anzupassende Sperrverwendungen | 20090112 |
Method UPDATE_LOCK_USAGES_SHARED on class CL_BUP_LOCKING_SHARED has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 720 |