SAP ABAP Class CL_GRFN_API_REGULATION (Regulation API)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC (Application Component) Governance, Risk and Compliance
     GRFN_ENTITY_API (Package) GRC Foundation API
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_GRFN_API_BASIS Basis class for GRC API classes 20080625
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_CUSTOMFIELD Interface for Customer Field API 20081028
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_REGULATION Interface of regulation 20080625
4 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_REPORT Get data for reporting engine 20080912
Properties
Class CL_GRFN_API_REGULATION  
Short Description Regulation API    
Super Class CL_GRFN_API_BASIS Basis class for GRC API classes 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRFN_ENTITY_API   GRC Foundation API 
Created 20080625   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 GRFN0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 GRFNM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_GRFN_API_CUSTOMFIELD Interface for Customer Field API 20081028
2 IF_GRFN_API_REGULATION Interface of regulation 20080625
3 IF_GRFN_REPORT Get data for reporting engine 20080912
Friends
# Friend Modeled only Created on Description
1 CL_GRFN_API_SESSION 20080625 Session Management for GRC APIs
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_ERROR Constant Private Type reference (TYPE) SY-MSGTY 'E' Message Type 20080627
2 MC_MESSAGE_CLASS Constant Private Type reference (TYPE) SY-MSGID 'GRFN_ENTITY_API' Reference type 20080627
3 MC_MODEL_CATALOGUE Constant Private Type reference (TYPE) CLASSNAME 'CL_GRFN_MODEL_CATALOGUE' Reference type 20080709
4 MC_MODEL_CLASS Constant Private Type reference (TYPE) CLASSNAME 'CL_GRFN_MODEL_MCF' Reference type 20080627
5 MC_MODEL_SETUP Constant Private Type reference (TYPE) CLASSNAME 'CL_GRPC_MODEL_SETUP' Reference type 20080924
6 MC_WD_MESSAGE_CLASS Constant Private Type reference (TYPE) SY-MSGID 'GRFN_WD' Reference type 20080717
Methods
# Method Level Visibility Method type Description Created on
1 AUTHORIZE_REGULATION Static method Private Method 20101028
2 CHECK_CASE_OBJECTS Static method Private Method Check case objects 20100622
3 CHECK_EACH_ORGUNIT Static method Private Method Check each orgunit 20100622
4 CHECK_LOCAL_OBJECTS Static method Private Method Check local objects 20100622
5 CHECK_REGULATION_ASSIGNMENT Static method Private Method Check regulation assignment for object 20100622
6 CHECK_REG_ASSIGN Static method Private Method Check regulation assignment for object 20130603
7 CHECK_REG_REQ Static method Private Method Check regulation requirement is existed 20100916
8 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20080627
9 CREATE_PROCESS_ASSIGNMENT Instance method Private Method Create the Process assignment 20080709
10 GET Static method Private Method 20080625
11 GET_REGULATION Instance method Public Method 20130529
12 GET_RELATED_OBJECTS Static method Public Method Get related objects of the specified regulations 20111206
13 GET_VALIDITY Static method Public Method Get validity of regulation assignment 20111206
14 HAS_REFERENCE_OBJECTS Static method Public Method Check object has reference objects with the same regulation 20111024
15 INHERIT_REGULATIONS Static method Public Method Regulation inheritance 20100723
16 IS_RETIRE_POSSIBLE Static method Public Method Is retire regulation from current object possible 20100623
17 NORMALIZE_APP_REG Static method Public Method Normalize app component and regulation 20100705
18 PREPARE_ORGUNITS Static method Private Method Prepare the orgunits for retirement 20100623
19 RETIRE_FROM_OBJECT Static method Public Method Retire regulation from current object 20100623
20 RETIRE_FROM_RELATED_OBJECTS Static method Public Method Retire regulations from other related objects 20100623
21 VALIDATE_MOVE Instance method Private Method 20080718
22 VALIDATE_VALIDTO Instance method Private Method Validate the valid to logic 20080717
Events
Class CL_GRFN_API_REGULATION has no event.
Types
Class CL_GRFN_API_REGULATION has no local type.
Method Signatures

Method AUTHORIZE_REGULATION 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 20101028
2 Importing IV_OPERATION Value transfer Type reference (TYPE) GRFN_API_OPERATION_ID The ID of the operation 20101028
3 Importing IV_REGULATION_TO_AUTH Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20101028
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20101028
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20101028

Method CHECK_CASE_OBJECTS 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 20100622
2 Importing IV_IGNORE_ERROR Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20100622
3 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100622
4 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Regulation ID 20100622
5 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100622
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100622

Method CHECK_EACH_ORGUNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ORGUNIT_SKIP Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20111206
2 Changing CT_ORGUNIT_VALID Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20111206
3 Exporting EV_RESULT Call by reference Type reference (TYPE) ABAP_BOOL 20111206
4 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20100622
5 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100622
6 Importing IV_ONLY_CHECK_CHILD Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20100622
7 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100622
8 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Regulation ID 20100622
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100622

Method CHECK_LOCAL_OBJECTS 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 20100622
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100622
3 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Regulation ID 20100622
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100622
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100622

Method CHECK_REGULATION_ASSIGNMENT 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 20100622
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100622
3 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Regulation ID 20100622
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100622
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100622

Method CHECK_REG_ASSIGN 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 20130603
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20130603
3 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Regulation ID 20130603
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20130603
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20130603

Method CHECK_REG_REQ 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 20100916
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100916
3 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Regulation ID 20100916
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100916
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100916

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Value transfer Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20080627
2 Importing IV_OBJECT Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20080627

Method CONSTRUCTOR on class CL_GRFN_API_REGULATION has no exception.

Method CREATE_PROCESS_ASSIGNMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PROCESS Call by reference Type reference (TYPE) GRFN_T_API_REGULAT_SUBPROCESS Objectid tab 20080710
2 Importing IV_REGULATION_ID Value transfer Type reference (TYPE) GRFN_OBJECT_ID Object ID 20080924
3 Importing I_PROCESS Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20080709
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080709

Method GET 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 20080625
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20080625
3 Returning RO_RESULT Value transfer Object reference (TYPE REF TO) CL_GRFN_API_REGULATION Regulation API 20080625
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080625

Method GET_REGULATION Signature

Method GET_REGULATION on class CL_GRFN_API_REGULATION has no parameter.
Method GET_REGULATION on class CL_GRFN_API_REGULATION has no exception.

Method GET_RELATED_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBJECT Call by reference Type reference (TYPE) GRFN_T_API_OBJECT Table of object 20111206
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20111206
3 Importing IT_REGULATION_ID Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20111206
4 Importing IV_FETCH_CONTROLS Call by reference Type reference (TYPE) ABAP_BOOL 20130603
5 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20111206
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20111206

Method GET_VALIDITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VALIDFROM Call by reference Type reference (TYPE) GRFN_BEGDA Start Date 20111206
2 Exporting EV_VALIDTO Call by reference Type reference (TYPE) GRFN_ENDDA End Date 20111206
3 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20111206
4 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20111206
5 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20111206
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20111206

Method HAS_REFERENCE_OBJECTS 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 20111024
2 Importing IT_REGULATION_ID Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20111024
3 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20111024
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20111024

Method HAS_REFERENCE_OBJECTS on class CL_GRFN_API_REGULATION has no exception.

Method INHERIT_REGULATIONS 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 20100723
2 Importing IT_REGULATION_ID Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20100723
3 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100723
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100723
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100723

Method IS_RETIRE_POSSIBLE 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 20100623
2 Importing IT_REGULATION_ID Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20100623
3 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100623
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100623
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100623

Method NORMALIZE_APP_REG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_APP Call by reference Type reference (TYPE) GRFN_APP_COMPONENT Application Component 20100705
2 Exporting EV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100705
3 Importing IV_APP Call by reference Type reference (TYPE) GRFN_APP_COMPONENT Application Component 20100705
4 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100705

Method NORMALIZE_APP_REG on class CL_GRFN_API_REGULATION has no exception.

Method PREPARE_ORGUNITS 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 20100623
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100623
3 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Regulation ID 20100623
4 Returning RT_ORGUNIT Value transfer Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20100623
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100623

Method RETIRE_FROM_OBJECT 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 20100623
2 Importing IT_REGULATION_ID Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20100623
3 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100623
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100623
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100623

Method RETIRE_FROM_RELATED_OBJECTS 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 20100623
2 Importing IT_REGULATION_ID Call by reference Type reference (TYPE) GRFN_T_API_OBJECT_ID Table type of API object ID 20100623
3 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100623
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100623
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100623

Method VALIDATE_MOVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PARENT_VALIDFROM Call by reference Type reference (TYPE) GRFN_BEGDA Start Date 20080718
2 Importing IV_PARENT_VALIDTO Call by reference Type reference (TYPE) GRFN_ENDDA End Date 20080718
3 Importing IV_VALIDFROM Call by reference Type reference (TYPE) GRFN_BEGDA Start Date 20080718
4 Importing IV_VALIDTO Call by reference Type reference (TYPE) GRFN_ENDDA End Date 20080718
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080718

Method VALIDATE_VALIDTO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20080717
2 Importing LO_MODEL_MCF Call by reference Object reference (TYPE REF TO) CL_GRFN_MODEL_MCF Model class for MCF 20080717
3 Importing LV_VALIDTO Call by reference Type reference (TYPE) ENDDA End Date 20080717
4 Returning RV_IS_VALID Value transfer Type reference (TYPE) ABAP_BOOL 20080717
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080717
History
Last changed by/on SAP  20141106 
SAP Release Created in 300