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 ABAP 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 CV_DRAFT_MODE Constant Public Type reference (TYPE) PSHLP_MODE_DE 'D' Mode 20110107
2 CV_EDIT_MODE Constant Public Type reference (TYPE) PSHLP_MODE_DE 'X' Mode 20110107
3 CV_ENQ_FAILED Constant Public Type reference (TYPE) BOOLEAN '-' Boolean Variable (X=True, -=False, Space=Unknown) 20110114
4 CV_ENQ_SUCCESS Constant Public Type reference (TYPE) BOOLEAN 'X' 20110114
5 CV_NO_ENQ Constant Public Type reference (TYPE) BOOLEAN '' Boolean Variable (X=True, -=False, Space=Unknown) 20110114
6 CV_READ_MODE Constant Public Type reference (TYPE) PSHLP_MODE_DE 'R' Mode 20110107
7 CV_SHARED_MODE Constant Public Type reference (TYPE) PSHLP_MODE_DE 'S' Mode 20110107
8 OT_NTWK_LOCKS Instance attribute Private Type reference (TYPE) PSHLP_NTWK_LOCK_TT Network lock table 20110216
9 OV_ENQ_FLAG Instance attribute Private Type reference (TYPE) BOOLEAN 'X' -> Enqueued, '-' -> Enqueue Failed '' Not yet enqueued 20100801
10 OV_MODE Instance attribute Private Type reference (TYPE) PSHLP_MODE_DE 20110107
11 SR_LOCK_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_PS_LOCK PSHLP: Locking 20100717
Methods
# Method Level Visibility Method type Description Created on
1 DEQUEUE_MULTI_LOCK Instance method Public Method dequeue multi locks 20110307
2 ENQUEUE Instance method Public Method Enqueue Object 20100722
3 ENQUEUE_NTWK Instance method Private Method Enqueue the Network 20100717
4 ENQUEUE_NTWK_HEADER Instance method Public Method Enqueue Network Header 20110216
5 ENQUEUE_PROFILE Instance method Public Method Check if object is enqueued ? 20101230
6 ENQUEUE_PROJ Instance method Private Method Enqueue the Poject 20100717
7 ENQUEUE_WBS Instance method Private Method Enqueue the WBS 20100717
8 GET_FLAG Instance method Public Method Get enqueue flag 20110114
9 GET_INSTANCE Static method Public Method Get the instance of this class 20100717
10 GET_MODE Instance method Public Method Get Mode 20110107
11 GET_NTWK_ALL_LOCK Instance method Public Method get enqueued network 20110216
12 GET_NTWK_HEADER_LOCK Instance method Public Method get enqueued network header 20110216
13 GET_NTWK_LOCK Instance method Public Method get enqueued network 20110216
14 INITIALIZE Instance method Public Method initializes 20101007
15 MULTI_LOCK Instance method Public Method Enqueue the network dependent objects 20110218
16 SET_MODE 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 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20110307
2 Importing 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 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100722
2 Exporting EV_ENQUEUE_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100722
3 Importing 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 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100717
2 Exporting EV_ENQUEUE_FAILED Call by reference Type reference (TYPE) BOOLE_D 20100719
3 Importing IV_AUFNR Call by reference Type reference (TYPE) AUFNR Order Number 20100717
4 Importing 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 Exporting ET_FAILED_AUFNR Call by reference Type reference (TYPE) TT_OBJ_NUM PSHLP: Aufnr table type 20110216
2 Importing IT_OBJNR Call by reference Type reference (TYPE) TT_OBJ_NUM PSHLP: Aufnr table type 20110218
3 Importing 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 Exporting EV_ENQUEUE_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20101230
2 Importing IV_AUFNR Call by reference Type reference (TYPE) AUFNR Order Number 20101230
3 Importing IV_CHECK_ROOT Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Check Root Object 20101230
4 Importing 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 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100717
2 Exporting EV_ENQUEUE_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100719
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20100717
4 Importing 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 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100717
2 Exporting EV_ENQUEUE_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100719
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20100717
4 Importing 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 Returning 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 Returning 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 Returning 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 Returning EV_ALL_LOCK Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110216
2 Importing 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 Returning EV_HEADER_LOCK Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110216
2 Importing 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 Exporting EV_ALL_LOCK Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110216
2 Exporting EV_HEADER_LOCK Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110216
3 Importing 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 Exporting ET_LOCKED_OBJECTS Call by reference Type reference (TYPE) PSHLP_NTWK_KEY_TT Network keys 20110218
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20110218
3 Importing 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 Importing 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