SAP ABAP Class CL_GRFN_MODEL_POLICY (API model for policy & policy group)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC (Application Component) Governance, Risk and Compliance
     GRFN_POLICY (Package) GRC Policy Management
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_CUSTOMFIELD_MODEL Model extension to handle the custom fields 20100115
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_MODEL Interface for handling of GRC API models 20100115
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_MODEL_STATUS Enable to retrieve MCF information for object from model 20100430
Properties
Class CL_GRFN_MODEL_POLICY  
Short Description API model for policy & policy group    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRFN_POLICY   GRC Policy Management 
Created 20100108   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 GRPCS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_GRFN_API_CUSTOMFIELD_MODEL Model extension to handle the custom fields 20100115
2 IF_GRFN_API_MODEL Interface for handling of GRC API models 20100115
3 IF_GRFN_MODEL_STATUS Enable to retrieve MCF information for object from model 20100430
Friends
Class CL_GRFN_MODEL_POLICY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_CLASS_NAME Constant Public Type reference (TYPE) CLASSNAME 'CL_GRFN_MODEL_POLICY' Reference type 20100615
2 MO_CDF_MODEL Instance attribute Private Object reference (TYPE REF TO) CL_GRFN_UTIL_CDF_MODEL CDF Model utility class 20100430
3 MS_DATE_INTERVAL Instance attribute Private Type reference (TYPE) GRFN_S_DATE_INTERVAL PC Compatibility: Date and Timeframe 20100121
4 MT_POLICYGRP_REF Instance attribute Private Type reference (TYPE) GRFN_T_POLICYGRP_INSTANCE Policy Group Instance Table 20100108
5 MT_POLICY_REF Instance attribute Private Type reference (TYPE) GRFN_T_POLICY_INSTANCE Policy Instance Table 20100108
6 MV_DATE_FROM Instance attribute Private Type reference (TYPE) BEGDATUM Start Date 20100111
7 MV_DATE_TO Instance attribute Private Type reference (TYPE) ENDDATUM End Date 20100111
8 MV_TF_YEAR Instance attribute Private Type reference (TYPE) GRFN_TF_YEAR Timeframe Year 20100115
9 MV_TIMEFRAME Instance attribute Private Type reference (TYPE) GRFN_TIMEFRAME Timeframe 20100111
10 _INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_GRFN_MODEL_POLICY API model for policy & policy group 20100115
Methods
# Method Level Visibility Method type Description Created on
1 BUFFER_PLCGRP_OBJECT Instance method Private Method 20100111
2 BUFFER_PLC_OBJECT Instance method Private Method 20100111
3 CHECK_LOCALIZE Instance method Public Method 20100303
4 CONSTRUCTOR Instance method Public Constructor 20100115
5 COPY_CDF Instance method Private Method Copy custom fields 20100929
6 COPY_POLICY Instance method Public Method 20100317
7 CREATE_POLICY Instance method Public Method 20100108
8 CREATE_POLICYGRP Instance method Public Method 20100108
9 CREATE_VERSION Instance method Public Method Create new version 20100210
10 GET_ACTIVITY_LIST Instance method Public Method get all available activities for a policy 20100108
11 GET_APPROVAL_QANSWERS Instance method Public Method Get approval answers 20100526
12 GET_APPROVAL_RESULTS Instance method Public Method 20100628
13 GET_DEFAULT_APPROVERS Instance method Public Method 20100409
14 GET_LOCALIZE_INFO Instance method Public Method 20100324
15 GET_PLCGRP_INSTANCE Instance method Private Method 20100111
16 GET_PLC_INSTANCE Instance method Private Method 20100111
17 GET_POLICY_OWNERS Instance method Public Method get owner list 20111115
18 GET_STATUS Instance method Public Method get status of the policy 20100108
19 GET_USER_TYPE Instance method Public Method 20100303
20 LOCALIZE_POLICY Instance method Public Method 20100209
21 MARK_PLCGRP_CHANGED Instance method Private Method 20100302
22 MARK_POLICY_CHANGED Instance method Private Method 20100302
23 QUERY_POLICY Instance method Public Method query policy data 20100108
24 QUERY_POLICYGRP Instance method Public Method 20100108
25 QUERY_POLICY_IN_SCOPE Instance method Public Method query policy data 20100129
26 QUERY_POLICY_VERSIONS Instance method Public Method query versions for a policy 20100108
27 RETRIEVE_POLICY Instance method Public Method 20100108
28 RETRIEVE_POLICYGRP Instance method Public Method 20100108
29 SET_ACTIVITY Instance method Public Method handle an action from user 20100108
30 UPDATE_POLICY Instance method Public Method 20100108
31 UPDATE_POLICYGRP Instance method Public Method 20100108
Events
Class CL_GRFN_MODEL_POLICY has no event.
Types
Class CL_GRFN_MODEL_POLICY has no local type.
Method Signatures

Method BUFFER_PLCGRP_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PLCGRP Call by reference Object reference (TYPE REF TO) CL_GRFN_POLICYGRP Policy group model class in policy management 20100111

Method BUFFER_PLCGRP_OBJECT on class CL_GRFN_MODEL_POLICY has no exception.

Method BUFFER_PLC_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_POLICY Call by reference Object reference (TYPE REF TO) CL_GRFN_POLICY Policy object model class in policy management 20100111

Method BUFFER_PLC_OBJECT on class CL_GRFN_MODEL_POLICY has no exception.

Method CHECK_LOCALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100303
2 Importing IV_POLICY_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100303
3 Returning RV_CAN_LOCALIZE Value transfer Type reference (TYPE) GRFN_BOOLEAN Boolean 20100303
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100303

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TF_YEAR Call by reference Type reference (TYPE) GRFN_TF_YEAR Timeframe Year 20100115
2 Importing IV_TIMEFRAME Call by reference Type reference (TYPE) GRFN_TIMEFRAME Timeframe 20100115

Method CONSTRUCTOR on class CL_GRFN_MODEL_POLICY has no exception.

Method COPY_CDF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NEW_PLC_ID Value transfer Type reference (TYPE) GRFN_POLICY_ID Policy ID 20100929
2 Importing IV_OLD_PLC_ID Value transfer Type reference (TYPE) GRFN_POLICY_ID Policy ID 20100929

Method COPY_CDF on class CL_GRFN_MODEL_POLICY has no exception.

Method COPY_POLICY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_POLICY_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100317
2 Exporting EV_POLICY_VER_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100317
3 Importing IS_DATE_INTERVAL Call by reference Type reference (TYPE) GRFN_S_DATE_INTERVAL PC Compatibility: Date and Timeframe 20100317
4 Importing IV_POLICY_VER_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100317
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100924

Method CREATE_POLICY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_POLICY_ID Call by reference Type reference (TYPE) GRFN_GUID Object ID 20100108
2 Exporting EV_POLICY_VER_ID Call by reference Type reference (TYPE) GRFN_GUID Object ID 20100108
3 Importing IV_PARENT_ID Call by reference Type reference (TYPE) GRFN_OBJECT_ID Object ID 20100630
4 Importing IV_POLICY_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100208
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100108

Method CREATE_POLICYGRP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_OBJECT_ID Value transfer Type reference (TYPE) GRFN_GUID Object ID 20100108
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100111

Method CREATE_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_POLICY_VER_ID Call by reference Type reference (TYPE) GRFN_GUID Object ID 20100210
2 Importing IV_POLICY_ID Call by reference Type reference (TYPE) GRFN_GUID Object ID 20100210
3 Importing IV_POLICY_VER_ID Call by reference Type reference (TYPE) GRFN_GUID Object ID 20100210
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100303

Method GET_ACTIVITY_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EDITABLE Value transfer Type reference (TYPE) GRFN_BOOLEAN Indicator 20110728
2 Importing IV_FROM_INBOX Value transfer Type reference (TYPE) GRFN_BOOLEAN Indicator 20100929
3 Importing IV_POLICY_ID Value transfer Type reference (TYPE) GRFN_GUID Object ID 20100108
4 Returning RT_ACTIVITY Value transfer Type reference (TYPE) GRFN_T_ACTIVITY_FOR_STATUS Texts for Business Transactions 20100111
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100112

Method GET_APPROVAL_QANSWERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RESPONSE_LINK_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100526
2 Importing IV_MAIN_USER Call by reference Type reference (TYPE) UNAME User Name 20100526
3 Importing IV_POLICY_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100526
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100526

Method GET_APPROVAL_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_APPR_RSLT Call by reference Type reference (TYPE) GRFN_T_POLICY_APP_RESULT Approval result 20100628
2 Importing IV_POLICY_ID Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100628
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100628

Method GET_DEFAULT_APPROVERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ROLE_USER_TABLE Call by reference Type reference (TYPE) GRFN_T_ROLE_LIST Recipients defined by user name 20100419
2 Exporting ET_USER Call by reference Type reference (TYPE) SPERS_ULST User names table 20100716
3 Importing IT_SCOPE_OBJ Call by reference Type reference (TYPE) GRFN_T_API_POLICY_SCOPE policy scope 20100513
4 Importing IV_POLICY_ID Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100409
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100409

Method GET_LOCALIZE_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LOCALIZE Call by reference Type reference (TYPE) GRFN_BOOLEAN Boolean 20100324
2 Exporting EV_LOCALIZED_ORGUNIT Call by reference Type reference (TYPE) GRFN_OBJECTID Object ID 20100324
3 Exporting EV_LOCALIZED_POLICY Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100324
4 Importing IV_POLICY_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100324
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100324

Method GET_PLCGRP_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PLCGRP_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100111
2 Returning RO_INSTANCE Value transfer Object reference (TYPE REF TO) CL_GRFN_POLICYGRP Policy group model class in policy management 20100111
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100111

Method GET_PLC_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_POLICYVER_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100125
2 Returning RO_INSTANCE Value transfer Object reference (TYPE REF TO) CL_GRFN_POLICY Policy object model class in policy management 20100111
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100111

Method GET_POLICY_OWNERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_POLICY_ID Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20111115
2 Returning RT_OWNER Value transfer Type reference (TYPE) SPERS_ULST User names table 20111115
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20111115

Method GET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_STATUS Value transfer Type reference (TYPE) J_ISTAT System status 20100122
2 Exporting EV_STATUS_T Value transfer Type reference (TYPE) GRFN_POLICY_STATUS System status 20100122
3 Importing IV_POLICY_ID Value transfer Type reference (TYPE) GRFN_GUID Object ID 20100108
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100111

Method GET_USER_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_APPROVER Value transfer Type reference (TYPE) GRFN_BOOLEAN Boolean 20100303
2 Exporting EV_IS_OWNER Value transfer Type reference (TYPE) GRFN_BOOLEAN Boolean 20100303
3 Exporting EV_IS_REVIEWER Value transfer Type reference (TYPE) GRFN_BOOLEAN Boolean 20100303
4 Exporting EV_MAIN_USER Value transfer Type reference (TYPE) UNAME Changed by 20100303
5 Importing IV_POLICYVER_ID Value transfer Type reference (TYPE) GRFN_POLICY_ID Policy ID 20100303
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100303

Method LOCALIZE_POLICY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_POLICY_ID Call by reference Type reference (TYPE) GRFN_GUID Object ID 20100209
2 Exporting EV_POLICY_VER_ID Call by reference Type reference (TYPE) GRFN_GUID Object ID 20100209
3 Importing IS_DATE_INTERVAL Call by reference Type reference (TYPE) GRFN_S_DATE_INTERVAL PC Compatibility: Date and Timeframe 20100209
4 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100209
5 Importing IV_POLICY_VER_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100209

Method MARK_PLCGRP_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PLCGRP_ID Value transfer Type reference (TYPE) GRFN_POLICYGRP_ID Policy ID 20100302

Method MARK_PLCGRP_CHANGED on class CL_GRFN_MODEL_POLICY has no exception.

Method MARK_POLICY_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_POLICYVER_ID Value transfer Type reference (TYPE) GRFN_POLICY_ID Policy ID 20100302

Method MARK_POLICY_CHANGED on class CL_GRFN_MODEL_POLICY has no exception.

Method QUERY_POLICY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_POLICY Call by reference Type reference (TYPE) GRFN_T_POLICY policy list 20100108
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100111

Method QUERY_POLICYGRP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_POLICY_GROUP Call by reference Type reference (TYPE) GRFN_T_POLICY_GROUP table type of policy group 20100108
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100108

Method QUERY_POLICY_IN_SCOPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_POLICY Call by reference Type reference (TYPE) GRFN_T_POLICY_LIST_IN_SCOPE policy list 20100129
2 Importing IV_OBJECT Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100129
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100129

Method QUERY_POLICY_VERSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_POLICY_VERSION Call by reference Type reference (TYPE) GRFN_T_POLICY policy list 20100108
2 Importing IV_POLICY_ID Call by reference Type reference (TYPE) GRFN_GUID Object ID 20100108
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100111

Method RETRIEVE_POLICY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_POLICY Call by reference Type reference (TYPE) GRFN_S_POLICY policy data 20100108
2 Exporting ET_COMMENT Call by reference Type reference (TYPE) GRFN_T_POLICY_COMMENT Policy comments 20100112
3 Exporting ET_RCPT Call by reference Type reference (TYPE) GRFN_T_POLICY_RECIPIENT User names table 20100112
4 Exporting ET_SCOPE_OBJECT Call by reference Type reference (TYPE) GRFN_T_POLICY_SCOPE Table type of API object ID 20100112
5 Exporting ET_SOURCE Call by reference Type reference (TYPE) GRFN_T_POLICY_SOURCE Policy Recipient Table 20100108
6 Importing IS_REQUEST_FIELDS Value transfer Type reference (TYPE) GRFN_S_POLICY_REQUEST_FIELDS For Policy Model Update 20100302
7 Importing IV_EDITABLE Value transfer Type reference (TYPE) GRFN_BOOLEAN ' ' Boolean 20100113
8 Importing IV_POLICY_ID Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100108
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100111

Method RETRIEVE_POLICYGRP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_POLICY_GROUP Call by reference Type reference (TYPE) GRFN_S_POLICY_GROUP policy group 20100108
2 Importing IV_EDITABLE Value transfer Type reference (TYPE) GRFN_BOOLEAN ' ' Boolean 20100113
3 Importing IV_POLICYGRP_ID Value transfer Type reference (TYPE) GRFN_GUID Object ID 20100108
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100111

Method SET_ACTIVITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTIVITY Call by reference Type reference (TYPE) J_VORGANG Business Transaction 20100108
2 Importing IV_POLICY_ID Call by reference Type reference (TYPE) GRFN_GUID Object ID 20100108
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100111

Method UPDATE_POLICY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_POLICY Call by reference Type reference (TYPE) GRFN_S_POLICY policy data 20100108
2 Importing IS_UPDATE_FIELD Call by reference Type reference (TYPE) GRFN_S_POLICY_UPDATE_FIELD For Policy Model Update 20100128
3 Importing IT_COMMENT Call by reference Type reference (TYPE) GRFN_T_POLICY_COMMENT policy role 20100127
4 Importing IT_RCPT Call by reference Type reference (TYPE) GRFN_T_POLICY_RECIPIENT User names table 20100112
5 Importing IT_SCOPE_OBJECT Call by reference Type reference (TYPE) GRFN_T_POLICY_SCOPE Table type of API object ID 20100108
6 Importing IT_SOURCE Call by reference Type reference (TYPE) GRFN_T_POLICY_SOURCE policy role 20100108
7 Importing IV_POLICY_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100112
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100111

Method UPDATE_POLICYGRP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_POLICY_GROUP Call by reference Type reference (TYPE) GRFN_S_POLICY_GROUP policy group 20100108
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100111
History
Last changed by/on SAP  20141106 
SAP Release Created in 600