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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Instance attribute | Private | Type reference (TYPE) | GRAC_S_SOD_FUNC | SOD Function Action | 20090907 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | GRAC_S_SOD_FUNC | SOD Function Action | 20100511 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | GRAC_T_SOD_FUNC_PRM | Change log permission buffer | 20101203 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | YT_FUNCTID_LOCKED | Locked Function IDs | 20100217 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | GRACM_T_FUNC_ACT_BUFFER | 20090907 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | GRACM_T_FUNC_ACT_EXT_BUFFER | 20110124 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | GRAC_T_SOD_FUNC_ACT_EXT | Function Action Extensions | 20110119 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | GRAC_T_SOD_FUNC_ACT | SOD Function Action | 20100511 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | GRACM_T_FUNC_BUFFER | SOD Function buffer | 20090903 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | GRACM_T_FUNC_PRM_BUFFER | 20090907 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | GRACM_T_FUNC_PRM_EXT_BUFFER | 20110124 | ||||
| 12 | Instance attribute | Private | Type reference (TYPE) | GRAC_T_SOD_FUNC_PRM_EXT | SOD Function Permission for Extended Objects | 20110119 | |||
| 13 | 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 | Static method | Public | Method | Check existance of Action | 20100623 | |
| 2 | Static method | Public | Method | Validation Method for Existance check of a Function ID. | 20091113 | |
| 3 | Static method | Public | Method | Check existance of Permission | 20100623 | |
| 4 | Instance method | Public | Method | Create Funtion into Model Buffer | 20090829 | |
| 5 | Instance method | Public | Method | Mark function for deletion in Model Buffer | 20090829 | |
| 6 | Instance method | Public | Method | UnLock Function ID | 20100217 | |
| 7 | Instance method | Public | Method | Lock Function ID | 20100217 | |
| 8 | Static method | Public | Method | Generate Function Permission Extn table data. | 20100812 | |
| 9 | Static method | Public | Method | Generate Function Permission Extn table data for ext objects | 20100812 | |
| 10 | Instance method | Private | Method | Generate Function Permission Exten data. | 20100616 | |
| 11 | Instance method | Public | Method | Get a Function based on the ID | 20090829 | |
| 12 | Static method | Public | Method | Get list of Functions | 20090829 | |
| 13 | Static method | Public | Method | Get list of Functions Filtered | 20091111 | |
| 14 | Instance method | Private | Method | Raise Error | 20100217 | |
| 15 | Instance method | Private | Method | Save Actions to databse, doing insert, update and delete | 20090831 | |
| 16 | Instance method | Private | Method | Save Permissions to database like insert, update and delete | 20090831 | |
| 17 | Static method | Public | Method | Search Functions by Action/Permission | 20100630 | |
| 18 | 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 | IS_FUNC_ACTION | Call by reference | Type reference (TYPE) | GRAC_S_API_SOD_FUNC_ACT | SOD Function Action | 20100623 | |||
| 2 | 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 | IV_FUNCTID | Call by reference | Type reference (TYPE) | GRAC_FUNCT_ID | Function Id | 20091113 | |||
| 2 | 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 | ET_FUNC_PERMISSION | Call by reference | Type reference (TYPE) | GRAC_T_API_SOD_FUNC_PRM | SOD Function Permission | 20100706 | |||
| 2 | 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 | 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 | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20091008 | |||
| 2 | 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 | IV_FUNCTID | Call by reference | Type reference (TYPE) | GRAC_FUNCT_ID | 20100217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100217 |
Method ENQUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_LOCKED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100217 | ||||
| 2 | IV_FUNCTID | Call by reference | Type reference (TYPE) | GRAC_FUNCT_ID | 20100217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ET_FUNC_PRM | Call by reference | Type reference (TYPE) | GRAC_T_SOD_FUNC_PRM | SOD Function Permission | 20100813 | |||
| 2 | ET_FUNC_PRMEXTN | Call by reference | Type reference (TYPE) | GRAC_T_SOD_FUNC_PRMEXTN | SOD Function Permission Extention | 20100813 | |||
| 3 | IT_FUNC_PRM | Call by reference | Type reference (TYPE) | GRAC_T_SOD_FUNC_PRM | SOD Function Permission | 20100812 | |||
| 4 | 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 | ET_FUNC_PRM | Call by reference | Type reference (TYPE) | GRAC_T_SOD_FUNC_PRM_EXT | SOD Function Permission for Extended Objects | 20100813 | |||
| 2 | ET_FUNC_PRMEXTN | Call by reference | Type reference (TYPE) | GRAC_T_SOD_FUNC_PRMEXTN_EXT | SOD Function Permission Extention for Extended Objects | 20100813 | |||
| 3 | IT_FUNC_PRM | Call by reference | Type reference (TYPE) | GRAC_T_SOD_FUNC_PRM_EXT | SOD Function Permission | 20100812 | |||
| 4 | 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 | IT_FUNC_PRM | Call by reference | Type reference (TYPE) | GRAC_T_SOD_FUNC_PRM | SOD Function Permission | 20100616 | |||
| 2 | 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 | ES_FUNC | Call by reference | Type reference (TYPE) | GRAC_S_SOD_FUNC | SOD Function | 20090903 | |||
| 2 | ET_FUNC_ACT_LIST | Call by reference | Type reference (TYPE) | GRAC_T_SOD_FUNC_ACT | SOD Function Action | 20090903 | |||
| 3 | ET_FUNC_PRM_LIST | Call by reference | Type reference (TYPE) | GRAC_T_SOD_FUNC_PRM | SOD Function Permission | 20090903 | |||
| 4 | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIS | 20090903 | |||
| 5 | IV_FUNCTID | Call by reference | Type reference (TYPE) | GRAC_FUNCT_ID | Function Id | 20090903 | |||
| 6 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | LANGU | Language Key | 20090903 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ET_FUNC_LIST | Call by reference | Type reference (TYPE) | GRAC_T_API_SOD_FUNC | SOD Function | 20090905 | |||
| 2 | IT_FUNCTIONS_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_RLI_FUNC_RANGE | Function Range table for filtering output | 20091111 | |||
| 3 | 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 | ET_FUNC_LIST | Call by reference | Type reference (TYPE) | GRAC_T_API_SOD_FUNC | SOD Function | 20091111 | |||
| 2 | IT_BZPRC_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_RLI_BZPRC_RANGE | Business Process Range table. | 20100213 | |||
| 3 | IT_FUNC_DESC_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_DESCN_RANGE | Description Range Table | 20091111 | |||
| 4 | IT_FUNC_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_RLI_FUNC_RANGE | Function Range table for filtering output | 20091111 | |||
| 5 | IT_SCOPE_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_RLI_SCOPE_RANGE | Risk Analysis Scope Range Table. | 20100213 | |||
| 6 | IT_UPDATEBY_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_SOD_UPDUSER_RANGE | update user range | 20100213 | |||
| 7 | IT_UPDTIME_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_SOD_UPDTIME_RANGE | update time range | 20100213 | |||
| 8 | 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 | IV_NUM | Value transfer | Type reference (TYPE) | SYMSGNO | 20100217 | ||||
| 2 | IV_PAR1 | Value transfer | Type reference (TYPE) | SYMSGV | 20100217 | ||||
| 3 | IV_PAR2 | Value transfer | Type reference (TYPE) | SYMSGV | 20100217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100217 |
Method SAVE_ACTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | ET_FUNC_LIST | Call by reference | Type reference (TYPE) | GRAC_T_API_SOD_FUNC | SOD Function | 20100630 | |||
| 2 | IT_ACTION_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_SOD_OBJECT_RANGE | 20100630 | ||||
| 3 | IT_ACTION_STAT_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_SOD_STATUS_RANGE | 20100630 | ||||
| 4 | IT_BZPRC_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_RLI_BZPRC_RANGE | Business Process Range table. | 20100630 | |||
| 5 | IT_FUNC_DESC_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_DESCN_RANGE | Description Range Table | 20100630 | |||
| 6 | IT_FUNC_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_RLI_FUNC_RANGE | Function Range table for filtering output | 20100630 | |||
| 7 | IT_RESOURCEEXTN_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_SOD_RESOURCE_EXTN_RANGE | 20100630 | ||||
| 8 | IT_RESOURCE_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_SOD_OBJECT_RANGE | 20100630 | ||||
| 9 | IT_RESOURCE_STAT_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_SOD_STATUS_RANGE | 20100630 | ||||
| 10 | IT_SCOPE_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_RLI_SCOPE_RANGE | Risk Analysis Scope Range Table. | 20100630 | |||
| 11 | IT_UPDATEBY_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_SOD_UPDUSER_RANGE | update user range | 20100630 | |||
| 12 | IT_UPDTIME_FILTER | Call by reference | Type reference (TYPE) | GRAC_T_SOD_UPDTIME_RANGE | update time range | 20100630 | |||
| 13 | 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 | IS_FUNC | Call by reference | Type reference (TYPE) | GRAC_S_SOD_FUNC | SOD Function Action | 20090907 | |||
| 2 | IT_FUNC_ACT | Call by reference | Type reference (TYPE) | GRAC_T_SOD_FUNC_ACT | SOD Function Action | 20090907 | |||
| 3 | IT_FUNC_PRM | Call by reference | Type reference (TYPE) | GRAC_T_SOD_FUNC_PRM | SOD Function Permission | 20090907 | |||
| 4 | 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 |