SAP ABAP Class CL_PS_ACL (Class for ACL)
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_ACL  
Short Description Class for ACL    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PSB_API   PS API Package 
Created 20100614   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_ACL has no interface implemented.
Friends
Class CL_PS_ACL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CV_ACL_ADMIN Static Attribute Private Type reference (TYPE) I '4' ACL AdminAuth 20100618
2 CV_ACL_NOAUTH Static Attribute Private Type reference (TYPE) I '1' ACL No Auth 20100618
3 CV_ACL_ORG Static Attribute Private Type reference (TYPE) I '3' ACL Organization Auth 20100618
4 CV_ACL_READ Static Attribute Private Type reference (TYPE) I '2' ACL Read Auth 20100618
5 CV_ACL_USER Static Attribute Private Type reference (TYPE) I '1' ACL User Auth 20100618
6 CV_ACL_USERGROUP Static Attribute Private Type reference (TYPE) I '2' ACL User Group Auth 20100618
7 CV_ACL_WRITE Static Attribute Private Type reference (TYPE) I '3' ACL Write Auth 20100618
8 CV_ACTION_CHANGE Static Attribute Private Type reference (TYPE) C 'M' Modify 20100622
9 CV_ACTION_CREATE Static Attribute Private Type reference (TYPE) C 'I' Insert 20100622
10 CV_AUTH_GROUP Static Attribute Private Type reference (TYPE) STRING 'Authorization Group' 20101201
11 CV_AUTH_HOLDER Static Attribute Private Type reference (TYPE) STRING 'Authorization Holder' 20101201
12 CV_AUTH_TYPE Static Attribute Private Type reference (TYPE) STRING 'Authorization Type' 20101201
13 CV_MESSAGE_CLASS_ACL Static Attribute Private Type reference (TYPE) STRING 'CNACL_MSG_CL' Message Class for ACL 20100618
14 CV_MESSAGE_CLASS_API Static Attribute Private Type reference (TYPE) STRING 'PSB_API_MSGCL' Message Class for ACL 20100618
15 OT_ORG Static Attribute Private See coding 20100911
16 OT_ORGANIZATIONS Static Attribute Private See coding 20101231
17 OT_USERS Static Attribute Private See coding 20101231
18 OT_USER_GROUP Static Attribute Private See coding 20100911
19 OT_USER_GRPS Static Attribute Private See coding 20101231
20 SR_ACL_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_PS_ACL Instance for CL_PS_ACL 20100614
21 SS_CHANGE_FLAGS Static Attribute Private Type reference (TYPE) TS_CHANGE_FLAG Contains the change flags for Project and Network 20100621
22 ST_ACL_BUFF Static Attribute Private Type reference (TYPE) PSHLP_ACL_OUTPUT_TT PSHLP : ACL Output Structure for Buffers 20100726
Methods
# Method Level Visibility Method type Description Created on
1 ADD_AUTH Instance method Public Method Adds a row of ACL 20100618
2 CHANGE_AUTH Instance method Public Method Changes the ACL 20100618
3 CHECK_AUTH_OBJ Instance method Private Method Checks the validity of the input parameters 20100618
4 CHECK_AUTH_OBJ_PREFILL Instance method Private Method Fills the description for ACL record 20100909
5 CHECK_BEFORE_SAVE Instance method Public Method Finds the changed data 20100614
6 CLEAN_UP Instance method Public Method Cleans up the buffers 20100825
7 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20100709
8 DELETE_AUTH Instance method Public Method Delete ACL 20100618
9 DELETE_INHERITENCE Instance method Private Method Deletes the inherited ACL of this record 20100621
10 DETERMINE_ACCESS Instance method Private Method Determines if the current user has authorizations 20101126
11 DETERMINE_AUTHORIZATION Instance method Public Method OBSOLETE 20100922
12 DETERMINE_AUTHORIZATION_DB Instance method Public Method Determines authorization from DB 20100929
13 DETERMINE_INHRT_EXISTENCE Instance method Private Method Obsolete 20100810
14 FILL_ACT_BUFFER Instance method Private Method Fills Activity Buffers 20100915
15 FILL_NTWK_BUFFER Instance method Private Method Fills Network Buffers 20100915
16 FILL_PROJ_WBS_BUFFER Instance method Private Method Fills Project and WBS buffers 20100911
17 GET_GLOBAL_BUFFER Instance method Public Method Get the global buffer data 20100614
18 GET_GLOBAL_BUFFER_METADATA Instance method Public Method Get the global buffer metadata 20100708
19 GET_INSTANCE Static method Public Method Generates instance of the class 20100614
20 GET_PROFILES Instance method Public Method Gets Screen Profile for the node type : ACL 20100714
21 INHERIT_ACL Instance method Private Method Inherits the ACL for all the child records of an object 20100621
22 INITIALIZE Instance method Public Method Initializes the buffers 20100901
23 PERFORM_ACL_CHECKS Instance method Private Method Performs checks related to ACL 20100618
24 PREFILL_DATA Instance method Public Method Prefills the gloabl buffers directly 20100909
25 PREPARE_DATA Instance method Private Method Prepares the data for inserting ACL rows 20100621
26 READ_ALL Instance method Public Method Reads all the ACLs 20100614
27 READ_LOCAL Instance method Public Method Reads the local ACL 20100614
28 RESOLVE_KEYS Instance method Private Method Resolves the keys based on the object 20100617
29 RETRIEVE_CHILD_NODE Instance method Private Method Retreives the child node for this object number 20100618
30 RETRIEVE_GLOBAL_DATA Instance method Private Method Retreives the global buffers 20100622
31 RETRIEVE_NAMES Instance method Private Method Retueives the names (IDs) for all Objects 20100803
32 SAVE Instance method Public Method Saves the ACL 20100621
33 SET_DATA Instance method Public Method Set the global buffer data 20110301
34 SET_GLOBAL_BUFFER Instance method Public Method Set the global buffer data 20100614
Events
Class CL_PS_ACL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_CHANGE_FLAG Private See coding 20100621 BEGIN OF ts_change_flag, change_proj_wbs TYPE boole_d, change_network TYPE boole_d, END OF ts_change_flag
2 TS_FLAG Private See coding 20100910 BEGIN OF ts_flag. INCLUDE TYPE psacl_flags_tab. TYPES: display TYPE boole_d, change TYPE boole_d, act TYPE ps_acttype_dele, sel_flag TYPE char1, active TYPE char1. TYPES: END OF ts_flag
3 TS_ORGANIZATIONS Private See coding 20101231 BEGIN OF ts_organizations, org TYPE hrobjid, orgname TYPE short_d, END OF ts_organizations
4 TS_USER_DATA Private See coding 20101231 BEGIN OF ts_user_data, user TYPE xubname, user_name TYPE ad_namtext, END OF ts_user_data
5 TS_USER_GROUP Private See coding 20101231 BEGIN OF ts_user_group. INCLUDE TYPE usgroups. TYPES: END OF ts_user_group
6 TT_FLAG Private See coding 20100910 tt_flag TYPE SORTED TABLE OF ts_flag WITH UNIQUE KEY objnr
Method Signatures

Method ADD_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ACL Call by reference Type reference (TYPE) PSHLP_ACL_OUTPUT_TT PSHLP : Table type for ACL Output 20101102
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100618

Method ADD_AUTH on class CL_PS_ACL has no exception.

Method CHANGE_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ACL Call by reference Type reference (TYPE) PSHLP_ACL_OUTPUT_TT PSHLP : Structure for ACL Output 20101102
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100618

Method CHANGE_AUTH on class CL_PS_ACL has no exception.

Method CHECK_AUTH_OBJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ACL Call by reference Type reference (TYPE) PSHLP_ACL_OUTPUT_ST PSHLP : Output Structure for ACL 20100717
2 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLE_D More than one input filled 20100618
3 Exporting EV_ERROR_INP Call by reference Type reference (TYPE) BOOLE_D Input provided is wrong 20100618

Method CHECK_AUTH_OBJ on class CL_PS_ACL has no exception.

Method CHECK_AUTH_OBJ_PREFILL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ACL Call by reference Type reference (TYPE) PSHLP_ACL_OUTPUT_ST PSHLP : Output Structure for ACL 20100909

Method CHECK_AUTH_OBJ_PREFILL on class CL_PS_ACL has no exception.

Method CHECK_BEFORE_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_SAVE Value transfer Type reference (TYPE) PSHLP_SAVE_ST Structure to track the type of change at SAVE 20100816

Method CHECK_BEFORE_SAVE on class CL_PS_ACL has no exception.

Method CLEAN_UP Signature

Method CLEAN_UP on class CL_PS_ACL has no parameter.
Method CLEAN_UP on class CL_PS_ACL has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_PS_ACL has no parameter.
Method CONSTRUCTOR on class CL_PS_ACL has no exception.

Method DELETE_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ACL Call by reference Type reference (TYPE) PSHLP_ACL_OUTPUT_ST PSHLP : Structure for ACL Output 20100717
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100618

Method DELETE_AUTH on class CL_PS_ACL has no exception.

Method DELETE_INHERITENCE 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 20100621
2 Importing IS_ACL Call by reference Type reference (TYPE) PSHLP_ACL_OUTPUT_ST PSHLP : Output Structure for ACL 20100621

Method DELETE_INHERITENCE on class CL_PS_ACL has no exception.

Method DETERMINE_ACCESS Signature

Method DETERMINE_ACCESS on class CL_PS_ACL has no parameter.
Method DETERMINE_ACCESS on class CL_PS_ACL has no exception.

Method DETERMINE_AUTHORIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBJNR Call by reference Type reference (TYPE) TT_OBJ_NUM Table Type : Object Number 20100922
2 Importing IT_OBJNR Call by reference Type reference (TYPE) TT_OBJ_NUM Table Type : Object Number 20100922
3 Importing IV_AUTH_TYPE Call by reference Type reference (TYPE) PS_ACTTYPE_DELE 4 PS ACL Authorization Type 20100929

Method DETERMINE_AUTHORIZATION on class CL_PS_ACL has no exception.

Method DETERMINE_AUTHORIZATION_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ACL Call by reference Type reference (TYPE) PSHLP_ACL_OBJ_AUTH_TT Table ACL Object List 20100929
2 Exporting ET_OBJNR Call by reference Type reference (TYPE) TT_OBJ_NUM Table Type : Object Number 20100929
3 Exporting ET_OBJNR_NO_AUTH Call by reference Type reference (TYPE) TT_OBJ_NUM Table Type : Object Number 20101018
4 Importing IT_OBJNR Call by reference Type reference (TYPE) TT_OBJ_NUM Table Type : Object Number 20100929
5 Importing IV_AUTH_TYPE Call by reference Type reference (TYPE) PS_ACTTYPE_DELE 4 PS ACL Authorization Type 20100929

Method DETERMINE_AUTHORIZATION_DB on class CL_PS_ACL has no exception.

Method DETERMINE_INHRT_EXISTENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_INHERITENCE Call by reference Type reference (TYPE) BOOLE_D 'X' -> Indicates that inheritence is available 20100811
2 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20100811

Method DETERMINE_INHRT_EXISTENCE on class CL_PS_ACL has no exception.

Method FILL_ACT_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ACTIVITY_KEYS Call by reference Type reference (TYPE) PSHLP_ACTY_KEY_TT PSHLP: Activity Keys 20100921

Method FILL_ACT_BUFFER on class CL_PS_ACL has no exception.

Method FILL_NTWK_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FLAG Call by reference Type reference (TYPE) TT_FLAG 20100915
2 Importing IT_OBJNR Call by reference Type reference (TYPE) TT_OBJ_NUM Table Type : Object Number 20100915

Method FILL_NTWK_BUFFER on class CL_PS_ACL has no exception.

Method FILL_PROJ_WBS_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FLAG Call by reference Type reference (TYPE) TS_FLAG 20100911
2 Importing IT_OBJNR Call by reference Type reference (TYPE) TT_OBJ_NUM Table Type : Object Number 20100911

Method FILL_PROJ_WBS_BUFFER on class CL_PS_ACL has no exception.

Method GET_GLOBAL_BUFFER 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 20100623
2 Exporting ET_NODE_DATA_1 Call by reference Type reference (TYPE) INDEX TABLE Contains ACL data in the Output format 20100623
3 Exporting ET_NODE_DATA_2 Call by reference Type reference (TYPE) INDEX TABLE Contains ACL Deletion data 20100624
4 Exporting ET_NODE_DATA_3 Call by reference Type reference (TYPE) INDEX TABLE Contains ACL Flags data 20100624

Method GET_GLOBAL_BUFFER on class CL_PS_ACL has no exception.

Method GET_GLOBAL_BUFFER_METADATA 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 20100708
2 Exporting ET_METADATA Call by reference Type reference (TYPE) PSHLP_TABLE_METADATA_TT Internal Table Details of the PS global buffers 20100708

Method GET_GLOBAL_BUFFER_METADATA on class CL_PS_ACL has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_INSTANCE Value transfer Object reference (TYPE REF TO) CL_PS_ACL Returns the ACL class instance 20100614

Method GET_INSTANCE on class CL_PS_ACL has no exception.

Method GET_PROFILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_NODE_PROFILES Call by reference Type reference (TYPE) PSHLP_PROFILES_TT PSHLP PROFILE 20100714
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100714
3 Importing IS_NODE_DATA Call by reference Type reference (TYPE) PSHLP_ACL_OUTPUT_ST PSHLP : Structure for ACL Output 20100714
4 Importing IS_NODE_INFO Call by reference Type reference (TYPE) PSHLP_UI_SUBNODE_DEF_ST PSHLP SUB NODE Definition 20100714

Method GET_PROFILES on class CL_PS_ACL has no exception.

Method INHERIT_ACL 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 20101202
2 Importing IS_ACL Call by reference Type reference (TYPE) PSHLP_ACL_OUTPUT_ST PSHLP : Output Structure for ACL 20100621

Method INHERIT_ACL on class CL_PS_ACL has no exception.

Method INITIALIZE Signature

Method INITIALIZE on class CL_PS_ACL has no parameter.
Method INITIALIZE on class CL_PS_ACL has no exception.

Method PERFORM_ACL_CHECKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ACL Call by reference Type reference (TYPE) PSHLP_ACL_OUTPUT_ST PSHLP : Structure for ACL Output 20100717
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100618

Method PERFORM_ACL_CHECKS on class CL_PS_ACL has no exception.

Method PREFILL_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ACTIVITY_KEYS Call by reference Type reference (TYPE) PSHLP_ACTY_KEY_TT PSHLP: Activity Keys 20100921
2 Importing IT_OBJNR Call by reference Type reference (TYPE) TT_OBJ_NUM Table Type : Object Number 20100909

Method PREFILL_DATA on class CL_PS_ACL has no exception.

Method PREPARE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ACL Call by reference Type reference (TYPE) ACL_AUTH_ALV_ST Structure for Handling the ALV to display ACL in PS 20100621
2 Exporting EV_DATA_CHG Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110204
3 Importing IS_ACL Call by reference Type reference (TYPE) PSHLP_ACL_OUTPUT_ST PSHLP : Output Structure for ACL 20100621

Method PREPARE_DATA on class CL_PS_ACL has no exception.

Method READ_ALL 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 20100614
2 Exporting ET_PSACL_TAB Call by reference Type reference (TYPE) PSHLP_ACL_OUTPUT_TT ACL output table 20100709
3 Importing IT_PSACL_TAB Call by reference Type reference (TYPE) PSHLP_ACL_TT ACL output table 20100709

Method READ_ALL on class CL_PS_ACL has no exception.

Method READ_LOCAL 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 20100614
2 Exporting ET_PSACL_TAB Call by reference Type reference (TYPE) PSHLP_ACL_OUTPUT_TT ACL output table 20100614
3 Importing IT_PSACL_TAB Call by reference Type reference (TYPE) PSHLP_ACL_TT ACL output table 20100709

Method READ_LOCAL on class CL_PS_ACL has no exception.

Method RESOLVE_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DATA Call by reference Type reference (TYPE) ANY 20100617
2 Exporting EV_ACTIVE Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110517
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100617
4 Importing IV_OBJTYP Call by reference Type reference (TYPE) IONR-OBART Object type, projects 20100617

Method RESOLVE_KEYS on class CL_PS_ACL has no exception.

Method RETRIEVE_CHILD_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHILD_NODES Call by reference Type reference (TYPE) PSHLP_HIER_TAB_TYP Table type for PS hierarchy 20100618
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100618
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100618

Method RETRIEVE_CHILD_NODE on class CL_PS_ACL has no exception.

Method RETRIEVE_GLOBAL_DATA 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 20100622
2 Importing IV_OBJ_NUM Call by reference Type reference (TYPE) J_OBJNR Object Number 20100715

Method RETRIEVE_GLOBAL_DATA on class CL_PS_ACL has no exception.

Method RETRIEVE_NAMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ID Call by reference Type reference (TYPE) ANY Name of the object 20100803
2 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20100803

Method RETRIEVE_NAMES on class CL_PS_ACL has no exception.

Method SAVE 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 20100621
2 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100621

Method SAVE on class CL_PS_ACL has no exception.

Method SET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_NODE_DATA_1 Call by reference Type reference (TYPE) INDEX TABLE Contains the ACL information in the output format 20110301
2 Importing IT_NODE_DATA_2 Call by reference Type reference (TYPE) INDEX TABLE Contains the ACL deletion information 20110301
3 Importing IT_NODE_DATA_3 Call by reference Type reference (TYPE) INDEX TABLE Contains the ACL flag information 20110301

Method SET_DATA on class CL_PS_ACL has no exception.

Method SET_GLOBAL_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_NODE_DATA_1 Call by reference Type reference (TYPE) INDEX TABLE Contains the ACL information in the output format 20100623
2 Importing IT_NODE_DATA_2 Call by reference Type reference (TYPE) INDEX TABLE Contains the ACL deletion information 20100624
3 Importing IT_NODE_DATA_3 Call by reference Type reference (TYPE) INDEX TABLE Contains the ACL flag information 20100624

Method SET_GLOBAL_BUFFER on class CL_PS_ACL has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606