SAP ABAP Class CL_GRFN_API_ORGUNIT (Orgunit Entity API class)
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 20080201
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_CUSTOMFIELD Interface for Customer Field API 20080415
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_MD_COMMON Interface for common master data 20100426
4 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_ORGUNIT Interface for orgunit entity APIs 20071214
5 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_ROLE_CONTAINER API role container 20080505
6 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_REPORT Get data for reporting engine 20080807
7 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRRM_API_RISK_COLLECTION API can serve as a risk collection 20120124
Properties
Class CL_GRFN_API_ORGUNIT  
Short Description Orgunit Entity API class    
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 20071214   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 GRFNH Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 GRPC0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 GRRM0 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 20080415
2 IF_GRFN_API_MD_COMMON Interface for common master data 20100426
3 IF_GRFN_API_ORGUNIT Interface for orgunit entity APIs 20071214
4 IF_GRFN_API_ROLE_CONTAINER API role container 20080505
5 IF_GRFN_REPORT Get data for reporting engine 20080807
6 IF_GRRM_API_RISK_COLLECTION API can serve as a risk collection 20120124
Friends
# Friend Modeled only Created on Description
1 CL_GRFN_API_SESSION 20080311 Session Management for GRC APIs
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_CASES_MODEL Constant Public Type reference (TYPE) CLASSNAME 'CL_GRPC_CASES_MODEL' Reference type 20100712
2 MC_ERROR Constant Private Type reference (TYPE) SY-MSGTY 'E' Message type 20080327
3 MC_MESSAGE_CLASS Constant Private Type reference (TYPE) SY-MSGID 'GRFN_ENTITY_API' Message class 20080327
4 MC_MESSAGE_CLASS_PC Constant Private Type reference (TYPE) SY-MSGID 'GRPC_ENTITY_API' Message class 20081203
5 MC_MODEL_CLASS Constant Public Type reference (TYPE) CLASSNAME 'CL_GRFN_MODEL_CATALOGUE' Reference type 20080312
6 MC_USAGE_PRIMARY Constant Public Type reference (TYPE) GRFN_ORG_HIERARCHY_USAGE 'X' Usage of orgunit view in Risk Management 20091127
7 MC_USAGE_SECONDARY Constant Public Type reference (TYPE) GRFN_ORG_HIERARCHY_USAGE 'Y' Obsolete at GRC2010 20091127
8 MT_COUNTRY_REGION Static Attribute Private Type reference (TYPE) YT_COUNTRY_REGION Country and region static buffer 20100331
9 MV_MODEL_CATALOGUE Instance attribute Private Type reference (TYPE) CLASSNAME 'CL_GRFN_MODEL_CATALOGUE' Reference type 20080811
10 MV_MODEL_SETUP Constant Private Type reference (TYPE) CLASSNAME 'CL_GRPC_MODEL_SETUP' Reference type 20080811
Methods
# Method Level Visibility Method type Description Created on
1 AUTHORIZE Static method Public Method Authorize 20100615
2 AUTH_CREATE Static method Private Method Authorize create 20100610
3 AUTH_DELETE Static method Private Method Authorize delete 20100611
4 AUTH_MOVE Static method Private Method Authorize move 20100611
5 AUTH_QUERY Static method Private Method Authorize query 20100610
6 AUTH_RETRIEVE Static method Private Method Authorize retrieve 20100611
7 AUTH_UPDATE Static method Private Method Authorize update 20100611
8 CHECK_CASE_EXISTS Instance method Public Method Check related cases for orgunit 20090220
9 CHECK_PRESENT_STD_HIERARCHY Instance method Public Method Check orgunit in default view 20081202
10 CONSTRUCTOR Instance method Public Constructor Constructor 20080102
11 CREATE Instance method Public Method 20091023
12 CREATE_FROM_BU Static method Public Method Create from business unit - for AC migration only 20100624
13 FILTER_CHILDREN_BY_LEVEL Instance method Private Method Filter out children that out of level 20100302
14 GET Static method Private Method Get instance 20080228
15 GET_COUNTRY_REGION Static method Public Method Translate country and region key value 20100331
16 GET_CUSTOM_HIERARCHY Static method Public Method Obsolete at GRC2010 20080701
17 GET_ORX_BL Static method Public Method Get values for ORX attribute BL 20140203
18 GET_RISK_APPETITE Static method Public Method Get risk appetite 20080516
19 GET_RISK_IMPACT_LEVEL Static method Public Method Get risk impact level 20111012
20 GET_RM_HIERARCHY Static method Public Method Obsolete at GRC2010 20081119
21 QUERY Instance method Public Method 20080724
Events
Class CL_GRFN_API_ORGUNIT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_COUNTRY_REGION Private See coding 20100331 BEGIN OF ys_country_region, land1 TYPE grfn_orgunit_country, " Country Key landx TYPE grfn_title, " Country Name bland TYPE grfn_orgunit_region, " Region Key bezei TYPE grfn_title, " Region Name END OF ys_country_region
2 YT_COUNTRY_REGION Private See coding 20100331 yt_country_region TYPE TABLE OF ys_country_region
Method Signatures

Method AUTHORIZE 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 20100615
2 Importing IV_DATAPART Call by reference Type reference (TYPE) GRFN_DATAPART Data Part for GRC Object Types 20100615
3 Importing IV_NEW_PARENT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100615
4 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100615
5 Importing IV_OLD_PARENT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100615
6 Importing IV_OPERATION Call by reference Type reference (TYPE) GRFN_API_OPERATION_ID IFR Proxy Operation Name 20100615
7 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organization View ID 20100615
8 Importing IV_RAISE_MESSAGE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Raise message or not 20100615
9 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100615
10 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100615
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100615

Method AUTH_CREATE 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 20100610
2 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organization View ID 20100611
3 Importing IV_PARENT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100610
4 Importing IV_RAISE_MESSAGE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Raise message or not 20100612
5 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100610
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100610

Method AUTH_DELETE 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 20100611
2 Importing IV_IGNORE_CORPORATE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Only when update valid to date 20101117
3 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100611
4 Importing IV_RAISE_MESSAGE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Raise message or not 20100612
5 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100611
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100611

Method AUTH_MOVE 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 20100611
2 Importing IV_NEW_PARENT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID New parent ID 20100611
3 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100611
4 Importing IV_OLD_PARENT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Old parent ID 20100611
5 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organization View ID 20100611
6 Importing IV_RAISE_MESSAGE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Raise message or not 20100612
7 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100611
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100611

Method AUTH_QUERY 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 20100610
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100610
3 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organization View ID 20100611
4 Importing IV_RAISE_MESSAGE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Raise message or not 20100612
5 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100610
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100610

Method AUTH_RETRIEVE 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 20100611
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100611
3 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organization View ID 20100611
4 Importing IV_RAISE_MESSAGE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Raise message or not 20100612
5 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100611
6 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100611
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100611

Method AUTH_UPDATE 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 20100611
2 Importing IV_DATAPART Call by reference Type reference (TYPE) GRFN_DATAPART Data Part for GRC Object Types 20100611
3 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100611
4 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organization View ID 20100611
5 Importing IV_RAISE_MESSAGE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Raise message or not 20100612
6 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100611
7 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100611
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100611

Method CHECK_CASE_EXISTS 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 20090220
2 Returning RV_EXISTS Value transfer Type reference (TYPE) GRFN_BOOLEAN Boolean 20090220

Method CHECK_CASE_EXISTS on class CL_GRFN_API_ORGUNIT has no exception.

Method CHECK_PRESENT_STD_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REGULATION_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20081202
2 Returning RV_PRESENT Value transfer Type reference (TYPE) GRFN_BOOLEAN Boolean 20081202
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081202

Method CONSTRUCTOR 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 20080703
2 Importing I_ORGUNIT_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Orgunit data 20080312

Method CONSTRUCTOR on class CL_GRFN_API_ORGUNIT has no exception.

Method CREATE Signature

Method CREATE on class CL_GRFN_API_ORGUNIT has no parameter.
Method CREATE on class CL_GRFN_API_ORGUNIT has no exception.

Method CREATE_FROM_BU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BU_GENERAL Call by reference Type reference (TYPE) GRFN_T_NAME_DESCR Name and Description Table 20100624
2 Importing IT_BU_OWNER Call by reference Type reference (TYPE) GRFN_T_OWNER Table for AC Owner 20100624
3 Importing IV_PARENT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100624
4 Importing IV_VALID_FROM Call by reference Type reference (TYPE) SY-DATUM SY-DATUM The Valid From Date 20100624
5 Returning RV_ORGUNIT_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID The created orgunit ID 20100624
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100624

Method FILTER_CHILDREN_BY_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_FILTERED_ORGUNIT_CHILDREN Call by reference Type reference (TYPE) GRFN_T_ORGUNIT_LIST Table type for the orgunit list structure 20100302
2 Changing CV_LEVEL Call by reference Type reference (TYPE) I 1 20100302
3 Importing IT_ORGUNIT_CHILDREN Call by reference Type reference (TYPE) GRFN_T_ORGUNIT_LIST Table type for the orgunit list structure 20100302
4 Importing IV_HIER_LEVELS Call by reference Type reference (TYPE) GRFN_ORG_HIER_LEVEL Hierarchical Levels to Copy 20100302
5 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_OBJECTID Object ID 20100302

Method FILTER_CHILDREN_BY_LEVEL on class CL_GRFN_API_ORGUNIT has no exception.

Method GET 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 20080311
2 Importing IV_OBJECT_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20080311
3 Returning RO_RESULT Value transfer Object reference (TYPE REF TO) CL_GRFN_API_ORGUNIT Orgunit Entity API class 20080311
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080228

Method GET_COUNTRY_REGION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_COUNTRY_KEY Call by reference Type reference (TYPE) GRFN_ORGUNIT_COUNTRY Country key 20100331
2 Exporting EV_COUNTRY_NAME Call by reference Type reference (TYPE) GRFN_TITLE Country name 20100331
3 Exporting EV_REGION_KEY Call by reference Type reference (TYPE) GRFN_ORGUNIT_REGION Region key 20100331
4 Exporting EV_REGION_NAME Call by reference Type reference (TYPE) GRFN_TITLE Region name 20100331
5 Importing IV_COUNTRY_KEY Call by reference Type reference (TYPE) GRFN_ORGUNIT_COUNTRY Country key 20100331
6 Importing IV_COUNTRY_NAME Call by reference Type reference (TYPE) GRFN_TITLE Country name 20100331
7 Importing IV_REGION_KEY Call by reference Type reference (TYPE) GRFN_ORGUNIT_REGION Region key 20100331
8 Importing IV_REGION_NAME Call by reference Type reference (TYPE) GRFN_TITLE Region name 20100331
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100331

Method GET_CUSTOM_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CUSTOM_HIERARCHY Call by reference Type reference (TYPE) GRFN_T_API_CUST_HIER_VALUESET Table type for Value Set 20080701

Method GET_CUSTOM_HIERARCHY on class CL_GRFN_API_ORGUNIT has no exception.

Method GET_ORX_BL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LIST Call by reference Type reference (TYPE) WDR_CONTEXT_ATTR_VALUE_LIST All Fixed Values of an Attribute with Texts 20140203

Method GET_ORX_BL on class CL_GRFN_API_ORGUNIT has no exception.

Method GET_RISK_APPETITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK_APPETITE Value transfer Type reference (TYPE) GRFN_T_API_VALUESET Table type for Value Set 20080516

Method GET_RISK_APPETITE on class CL_GRFN_API_ORGUNIT has no exception.

Method GET_RISK_IMPACT_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RISK_IMPACT_LEVEL Value transfer Type reference (TYPE) GRFN_T_API_VALUESET Table type for Value Set 20111012

Method GET_RISK_IMPACT_LEVEL on class CL_GRFN_API_ORGUNIT has no exception.

Method GET_RM_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_USAGE Value transfer Type reference (TYPE) GRFN_ORG_HIERARCHY_USAGE Usage of orgunit view in Risk Management 20091127
2 Returning RV_HIERARCHY_TYPE Value transfer Type reference (TYPE) GRFN_ASSIGNMENT_TYPE Assignment Type 20081119

Method GET_RM_HIERARCHY on class CL_GRFN_API_ORGUNIT has no exception.

Method QUERY Signature

Method QUERY on class CL_GRFN_API_ORGUNIT has no parameter.
Method QUERY on class CL_GRFN_API_ORGUNIT has no exception.
History
Last changed by/on SAP  20141106 
SAP Release Created in 300