SAP ABAP Class CL_GRAC_MODEL_ORG_RULES (Model Class for SOD Org, Rules)
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 | 20091026 |
Properties
| Class | CL_GRAC_MODEL_ORG_RULES | |
| Short Description | Model Class for SOD Org, Rules | |
| 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 | 20091026 | 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) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_GRFN_API_MODEL | Interface for handling of GRC API models | 20091026 |
Friends
Class CL_GRAC_MODEL_ORG_RULES 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) | GRACORGRULET | Organization Rule Header | 20100428 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | GRACORGRULEHDR | Organization Rule Header | 20100428 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | YT_ORGRULE_BUFFER | OrgRule Data table | 20091027 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | GRAC_T_API_ORGRULEID | OrgruleID | 20091218 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | YT_ORGRULE_LOCKED | 20091106 | ||||
| 6 | Instance attribute | Private | See coding | SOD OrgRule Values | 20100428 | ||||
| 7 | Instance attribute | Private | See coding | 20110722 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check if the orgrule exists | 20110329 | |
| 2 | Instance method | Public | Method | Delete OrgRule | 20091112 | |
| 3 | Instance method | Public | Method | Unlock OrgRule | 20091106 | |
| 4 | Instance method | Public | Method | Lock OrgRule | 20091106 | |
| 5 | Instance method | Public | Method | Get the list of Org Rules | 20091112 | |
| 6 | Instance method | Public | Method | Get the details of a Org.Rule | 20091026 | |
| 7 | Instance method | Public | Method | Get the list of header Org Rules | 20091217 | |
| 8 | Instance method | Public | Method | Get the parent org rule | 20100326 | |
| 9 | Instance method | Private | Method | Raise Error message | 20100805 | |
| 10 | Instance method | Public | Method | Set the details for a Org.Rule | 20091027 |
Events
Class CL_GRAC_MODEL_ORG_RULES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_ORGRULE_BUFFER | Private | See coding | 20091027 | begin of ys_orgrule_buffer,
command type grfn_command,
attr type GRAC_S_ORGRULE_HDR_ATT,
orglevelvalues type grac_t_orgrule_values,
orgrulesystems TYPE GRAC_T_SOD_SYSORGRULE,
END OF ys_orgrule_buffer
|
||
| 2 | YS_ORGRULE_LOCKED | Private | See coding | 20091106 | BEGIN OF ys_orgrule_locked,
orgruleid TYPE grac_org_rule_id,
END OF ys_orgrule_locked
|
||
| 3 | YT_ORGRULE_BUFFER | Private | See coding | 20091027 | yt_orgrule_buffer TYPE SORTED TABLE OF ys_orgrule_buffer with UNIQUE key attr-orgruleid
|
||
| 4 | YT_ORGRULE_LOCKED | Private | See coding | 20091106 | yt_orgrule_locked TYPE SORTED TABLE OF ys_orgrule_locked WITH UNIQUE KEY orgruleid
|
Method Signatures
Method CHECK_ORGRULE_EXIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ORGRULEID | Call by reference | Type reference (TYPE) | GRAC_ORGRULE_ID | Orgrule Id | 20110329 | |||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110329 |
Method CHECK_ORGRULE_EXIST on class CL_GRAC_MODEL_ORG_RULES has no exception.
Method DELETE_ORGRULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ORGRULEID | Call by reference | Type reference (TYPE) | GRAC_ORG_RULE_ID | Organization Rule id | 20091112 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091112 |
Method DEQUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ORGRULEID | Call by reference | Type reference (TYPE) | GRAC_ORG_RULE_ID | Organization Rule id | 20091106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091106 |
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 | 20091106 | ||||
| 2 | IV_ORGRULEID | Call by reference | Type reference (TYPE) | GRAC_ORG_RULE_ID | Organization Rule id | 20091106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100805 |
Method GET_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ORGRULES | Call by reference | Type reference (TYPE) | GRAC_T_API_ORGRULE | OrgRule Table | 20091113 | |||
| 2 | ET_ORGRULE_SYSTEMS | Call by reference | Type reference (TYPE) | GRAC_T_SOD_SYSORGRULE | SOD Org Rule systems | 20110716 | |||
| 3 | IV_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Language Key of Current Text Environment | 20091112 | ||
| 4 | I_SELCRIT_VALUES | Call by reference | Type reference (TYPE) | RSPARAMS_TT | rsparams Table | 20131218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20140130 |
Method GET_ORGRULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ORGRULE_ATT | Call by reference | Type reference (TYPE) | GRAC_S_ORGRULE_ATT | OrgRule Details | 20091027 | |||
| 2 | ET_ORGRULE_SYSTEMS | Call by reference | Type reference (TYPE) | GRAC_T_SOD_SYSORGRULE | Orgrule System for OVS | 20110707 | |||
| 3 | ET_ORGRULE_VALUES | Call by reference | Type reference (TYPE) | GRAC_T_ORGRULE_VALUES | SOD OrgRule Values | 20091111 | |||
| 4 | IV_ORGRULEID | Call by reference | Type reference (TYPE) | GRAC_ORG_RULE_ID | Organization Rule id | 20091027 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091027 |
Method GET_ORGRULE_HDR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_API_ORGRULE | Call by reference | Type reference (TYPE) | GRAC_T_API_ORGRULE | Orgrule Details | 20091217 | |||
| 2 | IV_ORGRULEID | Call by reference | Type reference (TYPE) | GRAC_ORG_RULE_ID | Organization Rule id | 20100320 |
Method GET_ORGRULE_HDR on class CL_GRAC_MODEL_ORG_RULES has no exception.
Method GET_PARENT_ORGRULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_IS_PARENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Orgrule Details | 20100326 | |||
| 2 | IV_ORGRULEID | Call by reference | Type reference (TYPE) | GRAC_ORG_RULE_ID | Organization Rule id | 20100326 |
Method GET_PARENT_ORGRULE on class CL_GRAC_MODEL_ORG_RULES 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 | Message Number | 20100805 | |||
| 2 | IV_PAR1 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20100805 | |||
| 3 | IV_PAR2 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20100805 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100805 |
Method SET_ORGRULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ORGRULE_ATT | Call by reference | Type reference (TYPE) | GRAC_S_ORGRULE_ATT | OrgRule Details | 20091027 | |||
| 2 | IT_ORGRULE_SYSTEMS | Call by reference | Type reference (TYPE) | GRAC_T_SOD_SYSORGRULE | SOD Org Rule systems | 20110707 | |||
| 3 | IT_ORGRULE_VALUES | Call by reference | Type reference (TYPE) | GRAC_T_ORGRULE_VALUES | SOD OrgRule Values | 20091111 | |||
| 4 | IV_COMMAND | Call by reference | Type reference (TYPE) | GRFN_COMMAND | Operation | 20091027 |
Method SET_ORGRULE on class CL_GRAC_MODEL_ORG_RULES has no exception.
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 600 |