SAP ABAP Class CL_GRRM_MODEL_ORG_ATTR (Orgunit Attributes Model Class)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-RM (Application Component) GRC Risk Management
     GRRM_ORGUNIT_ATTRIBUTES (Package) Risk Management Specific Orgunit Attributes Model Package
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 20080428
Properties
Class CL_GRRM_MODEL_ORG_ATTR  
Short Description Orgunit Attributes Model Class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRRM_ORGUNIT_ATTRIBUTES   Risk Management Specific Orgunit Attributes Model Package 
Created 20080428   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 GRFNH Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 GRFNM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 GRRMM 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 20080428
Friends
Class CL_GRRM_MODEL_ORG_ATTR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_OBJECTIVE_INFTY Constant Private Type reference (TYPE) INFTY '1854' Infotype 20080505
2 MC_THRESHOLD_INFTY Constant Private Type reference (TYPE) INFTY '1855' Infotype 20080429
3 MC_UOM_INFTY Constant Private Type reference (TYPE) INFTY '1856' Infotype 20080602
4 MS_DATES Instance attribute Private Type reference (TYPE) GRFN_S_TF_DATES Timeframe details 20080428
5 MS_PARENT Instance attribute Private Type reference (TYPE) YS_PARENT 20080429
6 MT_IMPACT_LEVELS Instance attribute Private Type reference (TYPE) GRFN_T_API_VALUESET Table type for Value Set 20080707
7 MT_LOCKED_OBJECT Instance attribute Private Type reference (TYPE) YT_LOCK_OBJECTS 20080429
8 MT_OBJECTIVE_BUFFER Instance attribute Private Type reference (TYPE) GRRM_T_OBJECTIVE_BUFFER Objective Buffer table 20080430
9 MT_ORG_OBJ_RELAT Instance attribute Private Type reference (TYPE) GRFN_T_RELAT_DATA table type for relation data 20080702
10 MT_THRESHOLD_BUFFER Instance attribute Private Type reference (TYPE) YT_THRESHOLD_BUFFER 20080429
11 MT_UOM_BUFFER Instance attribute Private Type reference (TYPE) YT_UOM_BUFFER 20080602
12 MV_LANG Instance attribute Private Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20080428
Methods
# Method Level Visibility Method type Description Created on
1 CANCEL Instance method Public Method Cancel all the canges made to the Model 20080604
2 CONSTRUCTOR Instance method Public Constructor Constructor 20080428
3 CORRECT_VALIDITY Instance method Private Method Adjust the validity of the object 20080429
4 CREATE_ORG_THRESHOLDS Instance method Public Method Create the thresholds for the particular Orgunit 20080428
5 CREATE_ORG_UOM Instance method Public Method Create the unit of measure for the particular Orgunit 20080530
6 DELETE_ORG_UOM Instance method Public Method delete unit of measure. 20080605
7 ENTITY_DEQUEUE Instance method Public Method Unlock all the locked entities 20080429
8 ENTITY_ENQUEUE Instance method Public Method Lock a particular entity object 20080429
9 ENTITY_LOCKED Instance method Public Method Check if the object is locked 20080429
10 FILL_THRESHOLD_DATA Instance method Private Method Fill the threshold changed data into the change buffer 20080429
11 FILL_UOM_CREATE_DATA Instance method Private Method fill UOM changed data into change buffer . 20080603
12 FILL_UOM_DATA Instance method Private Method fill UOM changed data into change buffer . 20080605
13 FILL_UOM_DELETE_DATA Instance method Private Method fill UOM changed data into change buffer . 20080603
14 FILL_UOM_UPDATE_DATA Instance method Private Method fill UOM changed data into change buffer . 20080603
15 GET_IMPACT_LEVELS Instance method Private Method Get the list of the impact levels in the system. 20080707
16 RAISE_ERROR Instance method Private Method Raise the error 20080428
17 READ_INCIDENT_LOSS_ATTRIBUTE Instance method Public Method Read the incident and loss atrribute for the Orgunit 20081121
18 READ_ORG_THRESHOLDS Instance method Public Method Read the thresholds for the particular Orgunit 20080428
19 READ_ORG_UOM Instance method Public Method Read the unit of measure for the particular Orgunit 20080530
20 REFRESH_BUFFERS Instance method Private Method Refresh the buffers after the SAVE operation 20080429
21 SET_INCIDENT_LOSS_ATTRIBUTE Static method Public Method Set the Incident Attributes for all the corporate nodes 20090303
22 THRESHOLD_EXISTS Instance method Public Method Check if the thresholds already exist or not 20080429
23 UPDATE_ORG_THRESHOLDS Instance method Public Method Update the thresholds for the particular Orgunit 20080428
24 UPDATE_ORG_UOM Instance method Public Method Update the unit of measure for the particular Orgunit 20080530
25 VALIDATE_THRESHOLDS Instance method Private Method Validate the Thresholds to be displayed correctly 20080508
26 VALIDATE_UOM Instance method Private Method Validate the UOMs to be displayed correctly 20080716
Events
Class CL_GRRM_MODEL_ORG_ATTR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_LOCK_OBJECTS Public See coding 20080429 BEGIN OF ys_lock_objects, objtype TYPE grfn_objtype, objid TYPE grfn_objectid, END OF ys_lock_objects
2 YS_PARENT Public See coding 20080429 BEGIN OF ys_parent, orgunit_id TYPE grfn_objectid, title TYPE grfn_title, valid_from TYPE datum, valid_to TYPE datum, END OF ys_parent
3 YS_THRESHOLD_BUFFER Public See coding 20080429 BEGIN OF ys_threshold_buffer, orgunit_id TYPE grfn_objectid, command TYPE grfn_command, thresholds TYPE grrm_t_orgunit_thresholds, END OF ys_threshold_buffer
4 YS_UOM_BUFFER Public See coding 20080602 BEGIN OF ys_uom_buffer, orgunit_id TYPE grfn_objectid, command TYPE grfn_command, unit_of_measure TYPE grrm_s_orgunit_uom, END OF ys_uom_buffer
5 YT_LOCK_OBJECTS Public See coding 20080429 yt_lock_objects TYPE SORTED TABLE OF ys_lock_objects WITH UNIQUE DEFAULT KEY
6 YT_THRESHOLD_BUFFER Public See coding 20080429 yt_threshold_buffer TYPE SORTED TABLE OF ys_threshold_buffer WITH UNIQUE KEY orgunit_id
7 YT_UOM_BUFFER Public See coding 20080602 yt_uom_buffer TYPE SORTED TABLE OF ys_uom_buffer WITH UNIQUE KEY orgunit_id unit_of_measure-uom_id
Method Signatures

Method CANCEL Signature

Method CANCEL on class CL_GRRM_MODEL_ORG_ATTR has no parameter.
Method CANCEL on class CL_GRRM_MODEL_ORG_ATTR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGUAGE Value transfer Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20080428
2 Importing IV_TF_YEAR Value transfer Type reference (TYPE) GRFN_TF_YEAR Timeframe Year 20080428
3 Importing IV_TIMEFRAME Value transfer Type reference (TYPE) GRFN_TIMEFRAME Timeframe 20080428

Method CONSTRUCTOR on class CL_GRRM_MODEL_ORG_ATTR has no exception.

Method CORRECT_VALIDITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VALIDFROM Value transfer Type reference (TYPE) GRFN_VALIDFROM Date 20080429
2 Exporting EV_VALIDTO Value transfer Type reference (TYPE) GRFN_VALIDTO Date 20080429
3 Importing IO_ORG_MODEL Call by reference Object reference (TYPE REF TO) CL_GRFN_MODEL_CATALOGUE communicate with entities 20100329
4 Importing IV_PARENT Value transfer Type reference (TYPE) GRFN_OBJECTID 20080429
5 Importing IV_VALIDFROM Value transfer Type reference (TYPE) GRFN_VALIDFROM Date 20080429
6 Importing IV_VALIDTO Value transfer Type reference (TYPE) GRFN_VALIDTO Date 20080429
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080429

Method CREATE_ORG_THRESHOLDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ORG_MODEL Call by reference Object reference (TYPE REF TO) CL_GRFN_MODEL_CATALOGUE communicate with entities 20100329
2 Importing IT_ORG_THRESHOLD Value transfer Type reference (TYPE) GRRM_T_ORGUNIT_THRESHOLDS Table type for orgunit thresholds 20080429
3 Importing IV_ORGUNIT_ID Value transfer Type reference (TYPE) GRFN_OBJECTID Object ID 20080429
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080429

Method CREATE_ORG_UOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ORG_MODEL Call by reference Object reference (TYPE REF TO) CL_GRFN_MODEL_CATALOGUE communicate with entities 20100329
2 Importing IT_ORG_UOM Call by reference Type reference (TYPE) GRRM_T_ORGUNIT_UOM Table type for unit of measure 20080602
3 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_OBJECTID Object ID 20080602
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080602

Method DELETE_ORG_UOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_UOM_DATA Call by reference Type reference (TYPE) GRRM_S_ORGUNIT_UOM Unit of measure model structure 20080605
2 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_OBJECTID Object ID 20080605
3 Returning RV_UOM_ID Value transfer Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20080605
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080605

Method ENTITY_DEQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OBJID Value transfer Type reference (TYPE) GRFN_OBJECTID Object ID 20080429
2 Importing I_OBJTYPE Value transfer Type reference (TYPE) GRFN_OBJTYPE Object Type 20080429
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080429

Method ENTITY_ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_LOCKED Value transfer Type reference (TYPE) ABAP_BOOL 20080429
2 Importing I_OBJID Call by reference Type reference (TYPE) GRFN_OBJECTID Object ID 20080429
3 Importing I_OBJTYPE Call by reference Type reference (TYPE) GRFN_OBJTYPE Object Type 20080429
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080429

Method ENTITY_LOCKED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_LOCKED Call by reference Type reference (TYPE) ABAP_BOOL 20080429
2 Importing I_OBJID Call by reference Type reference (TYPE) GRFN_OBJECTID Object ID 20080429
3 Importing I_OBJTYPE Call by reference Type reference (TYPE) GRFN_OBJTYPE Object Type 20080429

Method ENTITY_LOCKED on class CL_GRRM_MODEL_ORG_ATTR has no exception.

Method FILL_THRESHOLD_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBJECT_DATA Value transfer Type reference (TYPE) GRFN_T_OBJECT_DATA Table Type Object Data 20080429
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080429

Method FILL_UOM_CREATE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_OBJECT_DATA Call by reference Type reference (TYPE) GRFN_T_OBJECT_DATA Table Type Object Data 20080605
2 Importing IS_UOM_BUFFER Call by reference Type reference (TYPE) YS_UOM_BUFFER 20080605
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080603

Method FILL_UOM_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBJECT_DATA Call by reference Type reference (TYPE) GRFN_T_OBJECT_DATA Table Type Object Data 20080605
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080605

Method FILL_UOM_DELETE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_OBJECT_DATA Call by reference Type reference (TYPE) GRFN_T_OBJECT_DATA Table Type Object Data 20080605
2 Importing IS_UOM_BUFFER Call by reference Type reference (TYPE) YS_UOM_BUFFER 20080605
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080605

Method FILL_UOM_UPDATE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_OBJECT_DATA Call by reference Type reference (TYPE) GRFN_T_OBJECT_DATA Table Type Object Data 20080605
2 Importing IS_UOM_BUFFER Call by reference Type reference (TYPE) YS_UOM_BUFFER 20080605
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080603

Method GET_IMPACT_LEVELS Signature

Method GET_IMPACT_LEVELS on class CL_GRRM_MODEL_ORG_ATTR has no parameter.
Method GET_IMPACT_LEVELS on class CL_GRRM_MODEL_ORG_ATTR has no exception.

Method RAISE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NO Call by reference Type reference (TYPE) SY-MSGNO Message Number 20080428
2 Importing PAR1 Call by reference Type reference (TYPE) SY-MSGV1 Message Variable 20080428
3 Importing PAR2 Call by reference Type reference (TYPE) SY-MSGV2 Message Variable 20080428
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080428

Method READ_INCIDENT_LOSS_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ATTRIBUTE_LIST Call by reference Type reference (TYPE) GRRM_T_INCIDENT_LOSS_ATTR Table of Incident and Loss Attributes 20081121
2 Importing IO_ORG_MODEL Call by reference Object reference (TYPE REF TO) CL_GRFN_MODEL_CATALOGUE communicate with entities 20100329
3 Importing IV_ASSIGNMENT_TYPE Value transfer Type reference (TYPE) GRFN_ASSIGNMENT_TYPE Assignment Type 20081209
4 Importing IV_ORGUNIT_ID Value transfer Type reference (TYPE) GRFN_OBJECTID Object ID 20081121
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081121

Method READ_ORG_THRESHOLDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ORG_THRESHOLDS Value transfer Type reference (TYPE) GRRM_T_ORGUNIT_THRESHOLDS Table type for orgunit thresholds 20080428
2 Importing IO_ORG_MODEL Value transfer Object reference (TYPE REF TO) CL_GRFN_MODEL_CATALOGUE Orgunit model 20100329
3 Importing IV_ORGUNIT_ID Value transfer Type reference (TYPE) GRFN_OBJECTID Object ID 20080428
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080428

Method READ_ORG_UOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ORG_UOM Call by reference Type reference (TYPE) GRRM_T_ORGUNIT_UOM Table type for unit of measure 20080602
2 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_OBJECTID Object ID 20080602
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080602

Method REFRESH_BUFFERS Signature

Method REFRESH_BUFFERS on class CL_GRRM_MODEL_ORG_ATTR has no parameter.
Method REFRESH_BUFFERS on class CL_GRRM_MODEL_ORG_ATTR has no exception.

Method SET_INCIDENT_LOSS_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_INCIDENT_ATTR Call by reference Type reference (TYPE) GRRM_T_INCIDENT_LOSS_ATTR Table of Incident and Loss Attributes 20090303
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090303

Method THRESHOLD_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORGUNIT_ID Value transfer Type reference (TYPE) GRFN_OBJECTID Object ID 20080429
2 Returning RV_EXISTS Value transfer Type reference (TYPE) GRFN_BOOLEAN Boolean 20080429

Method THRESHOLD_EXISTS on class CL_GRRM_MODEL_ORG_ATTR has no exception.

Method UPDATE_ORG_THRESHOLDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ORG_THRESHOLD Value transfer Type reference (TYPE) GRRM_T_ORGUNIT_THRESHOLDS Table type for orgunit thresholds 20080429
2 Importing IV_ORGUNIT_ID Value transfer Type reference (TYPE) GRFN_OBJECTID Object ID 20080429
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080429

Method UPDATE_ORG_UOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ORG_UOM Call by reference Type reference (TYPE) GRRM_T_ORGUNIT_UOM Table type for orgunit unit of measure 20080605
2 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_OBJECTID Object ID 20080605
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080605

Method VALIDATE_THRESHOLDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ORG_THRESHOLDS Call by reference Type reference (TYPE) GRRM_T_ORGUNIT_THRESHOLDS Table type for orgunit thresholds 20080508
2 Importing IO_ORG_MODEL Call by reference Object reference (TYPE REF TO) CL_GRFN_MODEL_CATALOGUE communicate with entities 20100329
3 Importing IT_ORG_THRESHOLDS Call by reference Type reference (TYPE) GRRM_T_ORGUNIT_THRESHOLDS Table type for orgunit thresholds 20080508
4 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_OBJECTID Object ID 20100329
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100329

Method VALIDATE_UOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_UOM_LIST Call by reference Type reference (TYPE) GRRM_T_ORGUNIT_UOM Table type for unit of measure 20080716
2 Importing IT_UOM_LIST Call by reference Type reference (TYPE) GRRM_T_ORGUNIT_UOM Table type for unit of measure 20080716

Method VALIDATE_UOM on class CL_GRRM_MODEL_ORG_ATTR has no exception.
History
Last changed by/on SAP  20141106 
SAP Release Created in 300