SAP ABAP Class CL_GRAC_ACREQ_SHMA (Acess Request Shared Memory area)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-AC (Application Component) Access Control
     GRAC_ODATA (Package) Access Control GRC Data Provider for oData services and etc.
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SHM_AREA Shared Memory: General Area Handle 20131006
Properties
Class CL_GRAC_ACREQ_SHMA  
Short Description Acess Request Shared Memory area    
Super Class CL_SHM_AREA Shared Memory: General Area Handle 
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status S  System Program 
Category 45  Area Class (Shared Objects) 
Package GRAC_ODATA   Access Control GRC Data Provider for oData services and etc. 
Created 20131006   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GRAC_ACREQ_SHMA has no forward declaration.
Interfaces
Class CL_GRAC_ACREQ_SHMA has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_SHM_AREA 20131016 Shared Memory: General Area Handle
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 AREA_NAME Constant Public Type reference (TYPE) SHM_AREA_NAME 'CL_GRAC_ACREQ_SHMA' Name of an Area Class 20131006
2 ROOT Instance attribute Public Object reference (TYPE REF TO) CL_GRAC_ACREQ_ROOT SHM: Model of a Data Class 20131006
3 _CLIENT_DEPENDENT Constant Private Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20131006
4 _LIFE_CONTEXT Constant Private Type reference (TYPE) SHM_LIFE_CONTEXT CL_SHM_AREA=>LIFE_CONTEXT_APPSERVER Lifetime of an Area (Constants in CL_SHM_AREA) 20131006
5 _TRACE_ACTIVE Static Attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE (Internal) Flag: Trace Active? 20131006
6 _TRACE_SERVICE Static Attribute Private Object reference (TYPE REF TO) IF_SHM_TRACE (Internal) Reference to Trace Class 20131006
7 _TRANSACTIONAL Constant Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20131006
8 _VERSION_ Constant Private Type reference (TYPE) I 21 (internal) 20131006
Methods
# Method Level Visibility Method type Description Created on
1 ATTACH_FOR_READ Static method Public Method Request a Read Lock 20131006
2 ATTACH_FOR_UPDATE Static method Public Method Request a Change Lock 20131006
3 ATTACH_FOR_WRITE Static method Public Method Request a Write Lock 20131006
4 BUILD Static method Public Method Direct Call of Area Constructor 20131006
5 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20131006
6 DETACH_AREA Static method Public Method Release all locks on all instances 20131006
7 FREE_AREA Static method Public Method Delete all instances 20131006
8 FREE_INSTANCE Static method Public Method Deletion of an Instance 20131006
9 GET_GENERATOR_VERSION Static method Public Method Query Generator Version 20131006
10 GET_INSTANCE_INFOS Static method Public Method Returns the names of all instances 20131006
11 INVALIDATE_AREA Static method Public Method Active versions of all instances will be set to obsolete 20131006
12 INVALIDATE_INSTANCE Static method Public Method Active version of one instance will be set to obsolete 20131006
13 SET_ROOT Instance method Public Method Sets Root Objects 20131006
Events
Class CL_GRAC_ACREQ_SHMA has no event.
Types
Class CL_GRAC_ACREQ_SHMA has no local type.
Method Signatures

Method ATTACH_FOR_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning HANDLE Value transfer Object reference (TYPE REF TO) CL_GRAC_ACREQ_SHMA SHM: Model of an Area Class 20131006
2 Importing INST_NAME Call by reference Type reference (TYPE) SHM_INST_NAME CL_SHM_AREA=>DEFAULT_INSTANCE Name of a Shared Object Instance of an Area 20131006
# Exception Resumable Description Created on
1 CX_SHM_CHANGE_LOCK_ACTIVE A Change Lock Is Already Active 20131006
2 CX_SHM_EXCLUSIVE_LOCK_ACTIVE Instance Already Locked 20131006
3 CX_SHM_INCONSISTENT Different Definitions Between Program and Area 20131006
4 CX_SHM_NO_ACTIVE_VERSION No active version exists for an attach 20131006
5 CX_SHM_PARAMETER_ERROR Incorrect parameter transferred 20131006
6 CX_SHM_READ_LOCK_ACTIVE Request for a Second Read Lock 20131006

Method ATTACH_FOR_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTACH_MODE Call by reference Type reference (TYPE) SHM_ATTACH_MODE CL_SHM_AREA=>ATTACH_MODE_DEFAULT Mode of ATTACH (Constants in CL_SHM_AREA) 20131006
2 Returning HANDLE Value transfer Object reference (TYPE REF TO) CL_GRAC_ACREQ_SHMA SHM: Model of an Area Class 20131006
3 Importing INST_NAME Call by reference Type reference (TYPE) SHM_INST_NAME CL_SHM_AREA=>DEFAULT_INSTANCE Name of a Shared Object Instance of an Area 20131006
4 Importing WAIT_TIME Call by reference Type reference (TYPE) I 0 Maximum Wait Time (in Milliseconds) 20131006
# Exception Resumable Description Created on
1 CX_SHM_CHANGE_LOCK_ACTIVE A write lock is already active 20131006
2 CX_SHM_EXCLUSIVE_LOCK_ACTIVE Instance Already Locked 20131006
3 CX_SHM_INCONSISTENT Different Definitions Between Program and Area 20131006
4 CX_SHM_NO_ACTIVE_VERSION No active version exists for an attach 20131006
5 CX_SHM_PARAMETER_ERROR Passed Parameter Has Incorrect Value 20131006
6 CX_SHM_PENDING_LOCK_REMOVED Shared Objects: Waiting Lock Was Deleted 20131006
7 CX_SHM_VERSION_LIMIT_EXCEEDED No Additional Versions Available 20131006

Method ATTACH_FOR_WRITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTACH_MODE Call by reference Type reference (TYPE) SHM_ATTACH_MODE CL_SHM_AREA=>ATTACH_MODE_DEFAULT Mode of ATTACH (Constants in CL_SHM_AREA) 20131006
2 Returning HANDLE Value transfer Object reference (TYPE REF TO) CL_GRAC_ACREQ_SHMA SHM: Model of an Area Class 20131006
3 Importing INST_NAME Call by reference Type reference (TYPE) SHM_INST_NAME CL_SHM_AREA=>DEFAULT_INSTANCE Name of a Shared Object Instance of an Area 20131006
4 Importing WAIT_TIME Call by reference Type reference (TYPE) I 0 Maximum Wait Time (in Milliseconds) 20131006
# Exception Resumable Description Created on
1 CX_SHM_CHANGE_LOCK_ACTIVE A write lock is already active 20131006
2 CX_SHM_EXCLUSIVE_LOCK_ACTIVE Instance Already Locked 20131006
3 CX_SHM_PARAMETER_ERROR Passed Parameter Has Incorrect Value 20131006
4 CX_SHM_PENDING_LOCK_REMOVED Shared Objects: Waiting Lock Was Deleted 20131006
5 CX_SHM_VERSION_LIMIT_EXCEEDED No Additional Versions Available 20131006

Method BUILD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INST_NAME Call by reference Type reference (TYPE) SHM_INST_NAME CL_SHM_AREA=>DEFAULT_INSTANCE Name of a Shared Object Instance of an Area 20131006
# Exception Resumable Description Created on
1 CX_SHMA_INCONSISTENT SHM Administration: Inconsistent Attribute Combination 20131006
2 CX_SHMA_NOT_CONFIGURED SHM Administration: Area Property Is Not Configured 20131006
3 CX_SHM_BUILD_FAILED Constructor Run Failed 20131006

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_GRAC_ACREQ_SHMA has no parameter.
Method CLASS_CONSTRUCTOR on class CL_GRAC_ACREQ_SHMA has no exception.

Method DETACH_AREA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLIENT Call by reference Type reference (TYPE) SHM_CLIENT 20131016
2 Returning RC Value transfer Type reference (TYPE) SHM_RC Detach Return Value (Constants in CL_SHM_AREA) 20131006

Method DETACH_AREA on class CL_GRAC_ACREQ_SHMA has no exception.

Method FREE_AREA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLIENT Call by reference Type reference (TYPE) SHM_CLIENT 20131016
2 Returning RC Value transfer Type reference (TYPE) SHM_RC Return Value (Constants in CL_SHM_AREA) 20131006
3 Importing TERMINATE_CHANGER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Writing processes will be ended 20131006
# Exception Resumable Description Created on
1 CX_SHM_PARAMETER_ERROR Incorrect parameter transferred 20131006

Method FREE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLIENT Call by reference Type reference (TYPE) SHM_CLIENT 20131016
2 Importing INST_NAME Call by reference Type reference (TYPE) SHM_INST_NAME CL_SHM_AREA=>DEFAULT_INSTANCE Name of a Shared Object Instance of an Area 20131006
3 Returning RC Value transfer Type reference (TYPE) SHM_RC Return Value (Constants in CL_SHM_AREA) 20131006
4 Importing TERMINATE_CHANGER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Writing processes will be ended 20131006
# Exception Resumable Description Created on
1 CX_SHM_PARAMETER_ERROR Incorrect parameter transferred 20131006

Method GET_GENERATOR_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning GENERATOR_VERSION Value transfer Type reference (TYPE) I 20131006

Method GET_GENERATOR_VERSION on class CL_GRAC_ACREQ_SHMA has no exception.

Method GET_INSTANCE_INFOS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLIENT Call by reference Type reference (TYPE) SHM_CLIENT 20131016
2 Returning INFOS Value transfer Type reference (TYPE) SHM_INST_INFOS Overview of all Instances of an SHM Area 20131006
3 Importing INST_NAME Call by reference Type reference (TYPE) SHM_INST_NAME Name of a Shared Object Instance in an Area 20131006

Method GET_INSTANCE_INFOS on class CL_GRAC_ACREQ_SHMA has no exception.

Method INVALIDATE_AREA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLIENT Call by reference Type reference (TYPE) SHM_CLIENT 20131016
2 Returning RC Value transfer Type reference (TYPE) SHM_RC Detach Return Value (Constants in CL_SHM_AREA) 20131006
3 Importing TERMINATE_CHANGER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Active writing processes will be ended 20131006
# Exception Resumable Description Created on
1 CX_SHM_PARAMETER_ERROR Incorrect parameter transferred 20131006

Method INVALIDATE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLIENT Call by reference Type reference (TYPE) SHM_CLIENT 20131016
2 Importing INST_NAME Call by reference Type reference (TYPE) SHM_INST_NAME CL_SHM_AREA=>DEFAULT_INSTANCE Name of a Shared Object Instance of an Area 20131006
3 Returning RC Value transfer Type reference (TYPE) SHM_RC Detach Return Value (Constants in CL_SHM_AREA) 20131006
4 Importing TERMINATE_CHANGER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Active writing processes will be ended 20131006
# Exception Resumable Description Created on
1 CX_SHM_PARAMETER_ERROR Incorrect parameter transferred 20131006

Method SET_ROOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ROOT Call by reference Object reference (TYPE REF TO) CL_GRAC_ACREQ_ROOT Root object 20131006
# Exception Resumable Description Created on
1 CX_SHM_INITIAL_REFERENCE Initial Reference Passed 20131006
2 CX_SHM_WRONG_HANDLE Incorrect Handle 20131006
History
Last changed by/on SAP  20141106 
SAP Release Created in V1100