SAP ABAP Class CL_PS_LOCK (PSHLP: Locking)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
PS-ST (Application Component) Structures
⤷
PSB_API (Package) PS API Package
⤷
⤷
Properties
| Class | CL_PS_LOCK | |
| Short Description | PSHLP: Locking | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PSB_API | PS API Package |
| Created | 20100717 | 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) |
Interfaces
Class CL_PS_LOCK has no interface implemented.
Friends
Class CL_PS_LOCK has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | PSHLP_MODE_DE | 'D' | Mode | 20110107 | ||
| 2 | Constant | Public | Type reference (TYPE) | PSHLP_MODE_DE | 'X' | Mode | 20110107 | ||
| 3 | Constant | Public | Type reference (TYPE) | BOOLEAN | '-' | Boolean Variable (X=True, -=False, Space=Unknown) | 20110114 | ||
| 4 | Constant | Public | Type reference (TYPE) | BOOLEAN | 'X' | 20110114 | |||
| 5 | Constant | Public | Type reference (TYPE) | BOOLEAN | '' | Boolean Variable (X=True, -=False, Space=Unknown) | 20110114 | ||
| 6 | Constant | Public | Type reference (TYPE) | PSHLP_MODE_DE | 'R' | Mode | 20110107 | ||
| 7 | Constant | Public | Type reference (TYPE) | PSHLP_MODE_DE | 'S' | Mode | 20110107 | ||
| 8 | Instance attribute | Private | Type reference (TYPE) | PSHLP_NTWK_LOCK_TT | Network lock table | 20110216 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | 'X' -> Enqueued, '-' -> Enqueue Failed '' Not yet enqueued | 20100801 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | PSHLP_MODE_DE | 20110107 | ||||
| 11 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_PS_LOCK | PSHLP: Locking | 20100717 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | dequeue multi locks | 20110307 | |
| 2 | Instance method | Public | Method | Enqueue Object | 20100722 | |
| 3 | Instance method | Private | Method | Enqueue the Network | 20100717 | |
| 4 | Instance method | Public | Method | Enqueue Network Header | 20110216 | |
| 5 | Instance method | Public | Method | Check if object is enqueued ? | 20101230 | |
| 6 | Instance method | Private | Method | Enqueue the Poject | 20100717 | |
| 7 | Instance method | Private | Method | Enqueue the WBS | 20100717 | |
| 8 | Instance method | Public | Method | Get enqueue flag | 20110114 | |
| 9 | Static method | Public | Method | Get the instance of this class | 20100717 | |
| 10 | Instance method | Public | Method | Get Mode | 20110107 | |
| 11 | Instance method | Public | Method | get enqueued network | 20110216 | |
| 12 | Instance method | Public | Method | get enqueued network header | 20110216 | |
| 13 | Instance method | Public | Method | get enqueued network | 20110216 | |
| 14 | Instance method | Public | Method | initializes | 20101007 | |
| 15 | Instance method | Public | Method | Enqueue the network dependent objects | 20110218 | |
| 16 | Instance method | Public | Method | Set Mode | 20110107 |
Events
Class CL_PS_LOCK has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_POSID | Private | See coding | 20110218 | BEGIN OF ts_posid ,
posid TYPE ps_posid,
END OF ts_posid
|
||
| 2 | TS_POSNR | Private | See coding | 20110218 | BEGIN OF ts_posnr ,
pspnr TYPE ps_posnr,
END OF ts_posnr
|
||
| 3 | TT_POSID | Private | See coding | 20110218 | tt_posid TYPE STANDARD TABLE OF ts_posid
|
||
| 4 | TT_POSNR | Private | See coding | 20110218 | tt_posnr TYPE STANDARD TABLE OF ts_posnr
|
Method Signatures
Method DEQUEUE_MULTI_LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20110307 | |||
| 2 | IT_CAUFVD | Call by reference | Type reference (TYPE) | PSHLP_CAUFVBT_TT | Network Buffer | 20110307 |
Method DEQUEUE_MULTI_LOCK on class CL_PS_LOCK has no exception.
Method ENQUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100722 | |||
| 2 | EV_ENQUEUE_FAILED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100722 | |||
| 3 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20100722 |
Method ENQUEUE on class CL_PS_LOCK has no exception.
Method ENQUEUE_NTWK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100717 | |||
| 2 | EV_ENQUEUE_FAILED | Call by reference | Type reference (TYPE) | BOOLE_D | 20100719 | ||||
| 3 | IV_AUFNR | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20100717 | |||
| 4 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20100717 |
Method ENQUEUE_NTWK on class CL_PS_LOCK has no exception.
Method ENQUEUE_NTWK_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FAILED_AUFNR | Call by reference | Type reference (TYPE) | TT_OBJ_NUM | PSHLP: Aufnr table type | 20110216 | |||
| 2 | IT_OBJNR | Call by reference | Type reference (TYPE) | TT_OBJ_NUM | PSHLP: Aufnr table type | 20110218 | |||
| 3 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20110218 |
Method ENQUEUE_NTWK_HEADER on class CL_PS_LOCK has no exception.
Method ENQUEUE_PROFILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ENQUEUE_FAILED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20101230 | |||
| 2 | IV_AUFNR | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20101230 | |||
| 3 | IV_CHECK_ROOT | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | Check Root Object | 20101230 | ||
| 4 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20101230 |
Method ENQUEUE_PROFILE on class CL_PS_LOCK has no exception.
Method ENQUEUE_PROJ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100717 | |||
| 2 | EV_ENQUEUE_FAILED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100719 | |||
| 3 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20100717 | |||
| 4 | IV_PSPID | Call by reference | Type reference (TYPE) | PS_PSPID | Project definition | 20100717 |
Method ENQUEUE_PROJ on class CL_PS_LOCK has no exception.
Method ENQUEUE_WBS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100717 | |||
| 2 | EV_ENQUEUE_FAILED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100719 | |||
| 3 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20100717 | |||
| 4 | IV_POSID | Call by reference | Type reference (TYPE) | PS_POSID | Work Breakdown Structure Element (WBS Element) | 20100717 |
Method ENQUEUE_WBS on class CL_PS_LOCK has no exception.
Method GET_FLAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ENQUEUE | Value transfer | Type reference (TYPE) | BOOLEAN | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20110114 |
Method GET_FLAG on class CL_PS_LOCK has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_LOCK_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_PS_LOCK | PSHLP: Locking | 20100717 |
Method GET_INSTANCE on class CL_PS_LOCK has no exception.
Method GET_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MODE | Value transfer | Type reference (TYPE) | PSHLP_MODE_DE | 20110107 |
Method GET_MODE on class CL_PS_LOCK has no exception.
Method GET_NTWK_ALL_LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ALL_LOCK | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20110216 | |||
| 2 | IV_AUFNR | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20110216 |
Method GET_NTWK_ALL_LOCK on class CL_PS_LOCK has no exception.
Method GET_NTWK_HEADER_LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_HEADER_LOCK | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20110216 | |||
| 2 | IV_AUFNR | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20110216 |
Method GET_NTWK_HEADER_LOCK on class CL_PS_LOCK has no exception.
Method GET_NTWK_LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ALL_LOCK | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20110216 | |||
| 2 | EV_HEADER_LOCK | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20110216 | |||
| 3 | IV_AUFNR | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20110216 |
Method GET_NTWK_LOCK on class CL_PS_LOCK has no exception.
Method INITIALIZE Signature
Method INITIALIZE on class CL_PS_LOCK has no parameter.
Method INITIALIZE on class CL_PS_LOCK has no exception.
Method MULTI_LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_LOCKED_OBJECTS | Call by reference | Type reference (TYPE) | PSHLP_NTWK_KEY_TT | Network keys | 20110218 | |||
| 2 | ET_MESSAGE | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20110218 | |||
| 3 | IT_CAUFVD | Call by reference | Type reference (TYPE) | PSHLP_CAUFVBT_TT | Network Buffer | 20110218 |
Method MULTI_LOCK on class CL_PS_LOCK has no exception.
Method SET_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MODE | Call by reference | Type reference (TYPE) | PSHLP_MODE_DE | 20110107 |
Method SET_MODE on class CL_PS_LOCK has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 606 |