SAP ABAP Class CL_GRAC_MODEL_SOD_FUNCTION (Model Class for Function)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-AC (Application Component) Access Control
     GRAC_SOD (Package) Access Control GRC SoD Rules and etc.
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_MODEL Interface for handling of GRC API models 20090829
Properties
Class CL_GRAC_MODEL_SOD_FUNCTION  
Short Description Model Class for Function    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRAC_SOD   Access Control GRC SoD Rules and etc. 
Created 20090829   SAP 
Last change 20141106    
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)
2 GRACM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_GRFN_API_MODEL Interface for handling of GRC API models 20090829
Friends
Class CL_GRAC_MODEL_SOD_FUNCTION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MS_FUNC_BUFFER Instance attribute Private Type reference (TYPE) GRAC_S_SOD_FUNC SOD Function Action 20090907
2 MS_FUNC_HDR_OLD Instance attribute Private Type reference (TYPE) GRAC_S_SOD_FUNC SOD Function Action 20100511
3 MT_CHNG_LOG_PRM_BUFFER Instance attribute Private Type reference (TYPE) GRAC_T_SOD_FUNC_PRM Change log permission buffer 20101203
4 MT_FUNCTID_LOCKED Instance attribute Private Type reference (TYPE) YT_FUNCTID_LOCKED Locked Function IDs 20100217
5 MT_FUNC_ACT_BUFFER Instance attribute Private Type reference (TYPE) GRACM_T_FUNC_ACT_BUFFER 20090907
6 MT_FUNC_ACT_EXT_BUFFER Instance attribute Private Type reference (TYPE) GRACM_T_FUNC_ACT_EXT_BUFFER 20110124
7 MT_FUNC_ACT_EXT_OLD Instance attribute Private Type reference (TYPE) GRAC_T_SOD_FUNC_ACT_EXT Function Action Extensions 20110119
8 MT_FUNC_ACT_OLD Instance attribute Private Type reference (TYPE) GRAC_T_SOD_FUNC_ACT SOD Function Action 20100511
9 MT_FUNC_BUFFER Instance attribute Private Type reference (TYPE) GRACM_T_FUNC_BUFFER SOD Function buffer 20090903
10 MT_FUNC_PRM_BUFFER Instance attribute Private Type reference (TYPE) GRACM_T_FUNC_PRM_BUFFER 20090907
11 MT_FUNC_PRM_EXT_BUFFER Instance attribute Private Type reference (TYPE) GRACM_T_FUNC_PRM_EXT_BUFFER 20110124
12 MT_FUNC_PRM_EXT_OLD Instance attribute Private Type reference (TYPE) GRAC_T_SOD_FUNC_PRM_EXT SOD Function Permission for Extended Objects 20110119
13 MT_FUNC_PRM_OLD Instance attribute Private Type reference (TYPE) GRAC_T_SOD_FUNC_PRM SOD Function Permission 20100511
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ACTION_EXIST Static method Public Method Check existance of Action 20100623
2 CHECK_FUNCTION_EXIST Static method Public Method Validation Method for Existance check of a Function ID. 20091113
3 CHECK_PERMISSION_EXIST Static method Public Method Check existance of Permission 20100623
4 CREATE_FUNCTION Instance method Public Method Create Funtion into Model Buffer 20090829
5 DELETE_FUNCTION Instance method Public Method Mark function for deletion in Model Buffer 20090829
6 DEQUEUE Instance method Public Method UnLock Function ID 20100217
7 ENQUEUE Instance method Public Method Lock Function ID 20100217
8 GENERATE_FUNCPERM_EXTN Static method Public Method Generate Function Permission Extn table data. 20100812
9 GENERATE_FUNCPERM_EXTN_EXT Static method Public Method Generate Function Permission Extn table data for ext objects 20100812
10 GENERATE_FUNC_PRM_EXTN_OLD Instance method Private Method Generate Function Permission Exten data. 20100616
11 GET_FUNCTION Instance method Public Method Get a Function based on the ID 20090829
12 GET_FUNCTION_LIST Static method Public Method Get list of Functions 20090829
13 GET_FUNCTION_LIST_FILTERED Static method Public Method Get list of Functions Filtered 20091111
14 RAISE_ERROR Instance method Private Method Raise Error 20100217
15 SAVE_ACTIONS Instance method Private Method Save Actions to databse, doing insert, update and delete 20090831
16 SAVE_PERMISSIONS Instance method Private Method Save Permissions to database like insert, update and delete 20090831
17 SEARCH_FUNCTIONS_EXTENDED Static method Public Method Search Functions by Action/Permission 20100630
18 UPDATE_FUNCTION Instance method Public Method Update function into Model Buffer 20090829
Events
Class CL_GRAC_MODEL_SOD_FUNCTION has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_FUNCTID_LOCKED Private See coding 20100217 BEGIN OF ys_functid_locked, functid TYPE grac_funct_id, END OF ys_functid_locked
2 YT_FUNCTID_LOCKED Private See coding 20100217 yt_functid_locked TYPE SORTED TABLE OF ys_functid_locked WITH UNIQUE KEY functid
Method Signatures

Method CHECK_ACTION_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FUNC_ACTION Call by reference Type reference (TYPE) GRAC_S_API_SOD_FUNC_ACT SOD Function Action 20100623
2 Returning RV_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL ABAP/4 language-internal type declarations 20100623

Method CHECK_ACTION_EXIST on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method CHECK_FUNCTION_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FUNCTID Call by reference Type reference (TYPE) GRAC_FUNCT_ID Function Id 20091113
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20091113

Method CHECK_FUNCTION_EXIST on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method CHECK_PERMISSION_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FUNC_PERMISSION Call by reference Type reference (TYPE) GRAC_T_API_SOD_FUNC_PRM SOD Function Permission 20100706
2 Importing IS_FUNC_PERMISSION Call by reference Type reference (TYPE) GRAC_S_API_SOD_FUNC_PRM SOD Function Permission 20100623

Method CHECK_PERMISSION_EXIST on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method CREATE_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DATA Call by reference Type reference (TYPE) GRAC_S_RULESET_DATA Rule Set Data 20090829

Method CREATE_FUNCTION on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method DELETE_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20091008
2 Importing IV_FUNC_ID Call by reference Type reference (TYPE) GRAC_FUNCT_ID Function Id 20091008

Method DELETE_FUNCTION on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method DEQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FUNCTID Call by reference Type reference (TYPE) GRAC_FUNCT_ID 20100217
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION 20100217

Method ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LOCKED Call by reference Type reference (TYPE) ABAP_BOOL 20100217
2 Importing IV_FUNCTID Call by reference Type reference (TYPE) GRAC_FUNCT_ID 20100217
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100217

Method GENERATE_FUNCPERM_EXTN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FUNC_PRM Call by reference Type reference (TYPE) GRAC_T_SOD_FUNC_PRM SOD Function Permission 20100813
2 Exporting ET_FUNC_PRMEXTN Call by reference Type reference (TYPE) GRAC_T_SOD_FUNC_PRMEXTN SOD Function Permission Extention 20100813
3 Importing IT_FUNC_PRM Call by reference Type reference (TYPE) GRAC_T_SOD_FUNC_PRM SOD Function Permission 20100812
4 Importing IV_FUNCTIONID Call by reference Type reference (TYPE) GRAC_FUNCT_ID Function Id 20100812

Method GENERATE_FUNCPERM_EXTN on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method GENERATE_FUNCPERM_EXTN_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FUNC_PRM Call by reference Type reference (TYPE) GRAC_T_SOD_FUNC_PRM_EXT SOD Function Permission for Extended Objects 20100813
2 Exporting ET_FUNC_PRMEXTN Call by reference Type reference (TYPE) GRAC_T_SOD_FUNC_PRMEXTN_EXT SOD Function Permission Extention for Extended Objects 20100813
3 Importing IT_FUNC_PRM Call by reference Type reference (TYPE) GRAC_T_SOD_FUNC_PRM_EXT SOD Function Permission 20100812
4 Importing IV_FUNCTIONID Call by reference Type reference (TYPE) GRAC_FUNCT_ID Function Id 20100812

Method GENERATE_FUNCPERM_EXTN_EXT on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method GENERATE_FUNC_PRM_EXTN_OLD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FUNC_PRM Call by reference Type reference (TYPE) GRAC_T_SOD_FUNC_PRM SOD Function Permission 20100616
2 Importing IV_FUNC_ID Call by reference Type reference (TYPE) GRAC_FUNCT_ID Function Id 20100616

Method GENERATE_FUNC_PRM_EXTN_OLD on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method GET_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_FUNC Call by reference Type reference (TYPE) GRAC_S_SOD_FUNC SOD Function 20090903
2 Exporting ET_FUNC_ACT_LIST Call by reference Type reference (TYPE) GRAC_T_SOD_FUNC_ACT SOD Function Action 20090903
3 Exporting ET_FUNC_PRM_LIST Call by reference Type reference (TYPE) GRAC_T_SOD_FUNC_PRM SOD Function Permission 20090903
4 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIS 20090903
5 Importing IV_FUNCTID Call by reference Type reference (TYPE) GRAC_FUNCT_ID Function Id 20090903
6 Importing IV_LANGUAGE Call by reference Type reference (TYPE) LANGU Language Key 20090903
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090829

Method GET_FUNCTION_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FUNC_LIST Call by reference Type reference (TYPE) GRAC_T_API_SOD_FUNC SOD Function 20090905
2 Importing IT_FUNCTIONS_FILTER Call by reference Type reference (TYPE) GRAC_T_RLI_FUNC_RANGE Function Range table for filtering output 20091111
3 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20090829

Method GET_FUNCTION_LIST on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method GET_FUNCTION_LIST_FILTERED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FUNC_LIST Call by reference Type reference (TYPE) GRAC_T_API_SOD_FUNC SOD Function 20091111
2 Importing IT_BZPRC_FILTER Call by reference Type reference (TYPE) GRAC_T_RLI_BZPRC_RANGE Business Process Range table. 20100213
3 Importing IT_FUNC_DESC_FILTER Call by reference Type reference (TYPE) GRAC_T_DESCN_RANGE Description Range Table 20091111
4 Importing IT_FUNC_FILTER Call by reference Type reference (TYPE) GRAC_T_RLI_FUNC_RANGE Function Range table for filtering output 20091111
5 Importing IT_SCOPE_FILTER Call by reference Type reference (TYPE) GRAC_T_RLI_SCOPE_RANGE Risk Analysis Scope Range Table. 20100213
6 Importing IT_UPDATEBY_FILTER Call by reference Type reference (TYPE) GRAC_T_SOD_UPDUSER_RANGE update user range 20100213
7 Importing IT_UPDTIME_FILTER Call by reference Type reference (TYPE) GRAC_T_SOD_UPDTIME_RANGE update time range 20100213
8 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20091111

Method GET_FUNCTION_LIST_FILTERED on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method RAISE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NUM Value transfer Type reference (TYPE) SYMSGNO 20100217
2 Importing IV_PAR1 Value transfer Type reference (TYPE) SYMSGV 20100217
3 Importing IV_PAR2 Value transfer Type reference (TYPE) SYMSGV 20100217
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION 20100217

Method SAVE_ACTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FUNCTIONID Call by reference Type reference (TYPE) GRAC_FUNCT_ID Function Translation Id 20090831

Method SAVE_ACTIONS on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method SAVE_PERMISSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FUNCTIONID Call by reference Type reference (TYPE) GRAC_FUNCT_ID Function Translation Id 20090831

Method SAVE_PERMISSIONS on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method SEARCH_FUNCTIONS_EXTENDED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FUNC_LIST Call by reference Type reference (TYPE) GRAC_T_API_SOD_FUNC SOD Function 20100630
2 Importing IT_ACTION_FILTER Call by reference Type reference (TYPE) GRAC_T_SOD_OBJECT_RANGE 20100630
3 Importing IT_ACTION_STAT_FILTER Call by reference Type reference (TYPE) GRAC_T_SOD_STATUS_RANGE 20100630
4 Importing IT_BZPRC_FILTER Call by reference Type reference (TYPE) GRAC_T_RLI_BZPRC_RANGE Business Process Range table. 20100630
5 Importing IT_FUNC_DESC_FILTER Call by reference Type reference (TYPE) GRAC_T_DESCN_RANGE Description Range Table 20100630
6 Importing IT_FUNC_FILTER Call by reference Type reference (TYPE) GRAC_T_RLI_FUNC_RANGE Function Range table for filtering output 20100630
7 Importing IT_RESOURCEEXTN_FILTER Call by reference Type reference (TYPE) GRAC_T_SOD_RESOURCE_EXTN_RANGE 20100630
8 Importing IT_RESOURCE_FILTER Call by reference Type reference (TYPE) GRAC_T_SOD_OBJECT_RANGE 20100630
9 Importing IT_RESOURCE_STAT_FILTER Call by reference Type reference (TYPE) GRAC_T_SOD_STATUS_RANGE 20100630
10 Importing IT_SCOPE_FILTER Call by reference Type reference (TYPE) GRAC_T_RLI_SCOPE_RANGE Risk Analysis Scope Range Table. 20100630
11 Importing IT_UPDATEBY_FILTER Call by reference Type reference (TYPE) GRAC_T_SOD_UPDUSER_RANGE update user range 20100630
12 Importing IT_UPDTIME_FILTER Call by reference Type reference (TYPE) GRAC_T_SOD_UPDTIME_RANGE update time range 20100630
13 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20100630

Method SEARCH_FUNCTIONS_EXTENDED on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.

Method UPDATE_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FUNC Call by reference Type reference (TYPE) GRAC_S_SOD_FUNC SOD Function Action 20090907
2 Importing IT_FUNC_ACT Call by reference Type reference (TYPE) GRAC_T_SOD_FUNC_ACT SOD Function Action 20090907
3 Importing IT_FUNC_PRM Call by reference Type reference (TYPE) GRAC_T_SOD_FUNC_PRM SOD Function Permission 20090907
4 Importing IV_CREATE_MODE Call by reference Type reference (TYPE) BOOLEAN 20090907

Method UPDATE_FUNCTION on class CL_GRAC_MODEL_SOD_FUNCTION has no exception.
History
Last changed by/on SAP  20141106 
SAP Release Created in 600