SAP ABAP Interface IF_GRFN_API_ORGUNIT (Interface for orgunit entity APIs)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC (Application Component) Governance, Risk and Compliance
     GRFN_ENTITY_API (Package) GRC Foundation API
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  CL_GRFN_API_ORGUNIT Orgunit Entity API class 20071214
Properties
Interface IF_GRFN_API_ORGUNIT  
Short Description Interface for orgunit entity APIs    
General Data
Package GRFN_ENTITY_API   GRC Foundation API 
Created 20071207   SAP 
Last changed 20141106    
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 CL_GRFN_ORGUNIT_VIEW Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_GRFN_API_REGULATION Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_GRFN_API_BASIS Basis interface for the GRC API 20080201
Friends
Interface IF_GRFN_API_ORGUNIT has no friend.
Attributes
Interface IF_GRFN_API_ORGUNIT has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 CHILDREN Instance method Public Method Return the children for a particular orgunit 20080703
2 CHILDREN_ALL_VIEWS Instance method Public Method Return children of an orgunit for all org views 20081125
3 COPY_VIEW Instance method Public Method Copy a corporate and its children to another org view 20100301
4 CREATE Static method Public Method Create a new orgunit 20071207
5 DELETE Instance method Public Method Delete the orgunit. 20071207
6 GET_CORPORATES Static method Public Method Get all corporates 20100330
7 GET_EXTENSION Instance method Public Method 20091022
8 GET_VIEWS Instance method Public Method Get relevant orgunit views 20100713
9 IS_CORPORATE Static method Public Method Is corporate in the specified org view 20100415
10 IS_EXISTED Instance method Public Method Is existed in view 20100525
11 MOVE Instance method Public Method Cut and paste the orgunit data 20080220
12 PARENT Instance method Public Method Return the parent of the orgunit 20080912
13 QUERY Static method Public Method Used for retrieving the list of org units 20071207
14 QUERY_ALL Static method Public Method Used for retrieving the list of org units from all views 20100707
15 RETRIEVE Instance method Public Method Retrieve the orgunit data 20071207
16 SEARCH Static method Public Method Search by pattern or range 20100715
17 SET_VIEWS Instance method Public Method Set relevant orgunit views 20100713
18 UPDATE Instance method Public Method Update the orgunit 20071207
19 UPDATE_SCOPE Instance method Public Method Update the orgunit scoping information 20130604
Events
Interface IF_GRFN_API_ORGUNIT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_DATA Public See coding 20130107 BEGIN OF s_data, id TYPE grfn_api_object_id, name TYPE grfn_name, descr TYPE grfn_text, * validfrom TYPE grfn_begda, * validto TYPE grfn_endda, ou_reg_specific TYPE grpc_reg_spec_data_flag, ou_sprovider TYPE grfn_shared_service, ou_rts_ec_test TYPE grfn_elc_retest, ou_rts_ec_ass TYPE grfn_elc_reass, ou_val_ec_rem TYPE grfn_val_rem_plan, ou_val_ec_test TYPE grfn_val_elc_test, ou_val_ec_ass TYPE grfn_val_elc_ass, ou_cost_per_cnt TYPE grfn_cost_per_control_api, ou_currency TYPE grfn_currency, ou_olsp TYPE grfn_olsp, ou_signoff TYPE grfn_sign_off, ou_aod TYPE grfn_deficiency_analysis, ou_in_scope TYPE grfn_in_scope, ou_country TYPE grfn_orgunit_country, ou_region TYPE grfn_orgunit_region, ou_parent TYPE s_parent, END OF s_data
2 S_PARENT Public See coding 20130107 BEGIN OF s_parent, ou_parent_id TYPE grfn_api_object_id, ou_orgunit_view TYPE grfn_org_view_id, END OF s_parent
3 T_DATA Public See coding 20130107 t_data TYPE STANDARD TABLE OF s_data WITH DEFAULT KEY
Method Signatures

Method CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ORGUNIT_CHILDREN Call by reference Type reference (TYPE) GRFN_T_API_ORGUNIT_LIST Table type for orgunit list 20080703
2 Importing IV_ASSIGNMENT_TYPE Value transfer Type reference (TYPE) GRFN_ASSIGNMENT_TYPE Assignment Type 20081121
3 Importing IV_EXPANDED Value transfer Type reference (TYPE) GRFN_BOOLEAN Boolean 20080703
4 Importing IV_IGNORE_AUTH_CHECK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20100920
5 Importing IV_REGULATION_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20080912
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080703

Method CHILDREN_ALL_VIEWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ORGUNIT_CHILDREN Call by reference Type reference (TYPE) GRFN_T_API_ORGUNIT_LIST Table type for orgunit list 20081125
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081125

Method COPY_VIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HIER_LEVELS Call by reference Type reference (TYPE) GRFN_ORG_HIER_LEVEL CL_GRFN_ORGUNIT_VIEW=>GC_HIER_LEVELS-ALL Hierarchical Levels to Copy 20100301
2 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID IF_GRFN_API_REGULATION=>GC_CROSS_APPLICATION Regulation ID for auth check only 20100301
3 Importing IV_SOURCE_VIEW_ID Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Source Organiztion View ID 20100301
4 Importing IV_TARGET_VIEW_ID Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Target Organiztion View ID 20100301
5 Returning RV_RESULT Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100301
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100301

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Interface for orgunit entity APIs 20080313
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20080618
3 Importing IS_ORGUNIT_DATA Call by reference Type reference (TYPE) GRFN_S_API_ORGUNIT_DATA Orgunit data 20071214
4 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organiztion View ID 20100316
5 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20081201
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080214

Method DELETE 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 20081201
2 Importing I_DELETE_SUBNODES Call by reference Type reference (TYPE) GRFN_BOOLEAN XFELD 20080103
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080214

Method GET_CORPORATES 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 20100330
2 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organiztion View ID 20100330
3 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Regulation ID 20100330
4 Returning RT_CORPORATE Value transfer Type reference (TYPE) GRFN_T_API_ORGUNIT_LIST Table type for orgunit list 20100330
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100330

Method GET_EXTENSION Signature

Method GET_EXTENSION on Interface IF_GRFN_API_ORGUNIT has no parameter.
Method GET_EXTENSION on Interface IF_GRFN_API_ORGUNIT has no exception.

Method GET_VIEWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_ORGUNIT_VIEW Value transfer Type reference (TYPE) GRFN_T_API_ORG_VIEW_RELAT Table Type for Orgunit View Relation 20100713
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100713

Method IS_CORPORATE 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 20100415
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100415
3 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organiztion View ID 20100415
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100415

Method IS_CORPORATE on Interface IF_GRFN_API_ORGUNIT has no exception.

Method IS_EXISTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organiztion View ID 20100525
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100525
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100525

Method MOVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORGUNIT_VIEW Value transfer Type reference (TYPE) GRFN_ORG_VIEW_ID Organiztion View ID 20100316
2 Importing IV_REGULATION_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20081201
3 Importing I_PARENT_ORGUNIT Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Orgunit data 20080220
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080220

Method PARENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORGUNIT_VIEW Value transfer Type reference (TYPE) GRFN_ORG_VIEW_ID Organiztion View ID 20100316
2 Importing IV_REGULATION_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20080912
3 Importing IV_REG_DEPEND Value transfer Type reference (TYPE) ABAP_BOOL Obsolete at GRC2010 20100415
4 Returning RV_PARENT Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20080912
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080912

Method QUERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ORGUNIT_LIST Call by reference Type reference (TYPE) GRFN_T_API_ORGUNIT_LIST Table type for the orgunit list structure 20071207
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20080618
3 Importing IV_HIERARCHY_TYPE Call by reference Type reference (TYPE) GRFN_ASSIGNMENT_TYPE Assignment Type 20080717
4 Importing IV_INTEGRATION_MODE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Is Integration Mode 20101018
5 Importing IV_OBJECTIVE_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20091029
6 Importing IV_PATTERN Call by reference Type reference (TYPE) GRFN_API_SEARCH_PATTERN Data element for the Search Pattern in the API 20080724
7 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20080822
8 Importing IV_REGULATION_SPECIFIC Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Filter by regulation 20100624
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080214

Method QUERY_ALL 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 20100707
2 Importing IV_INTEGRATION_MODE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20101018
3 Importing IV_PATTERN Call by reference Type reference (TYPE) GRFN_API_SEARCH_PATTERN Data element for the Search Pattern in the API 20100707
4 Returning RT_ORGUNIT_LIST Value transfer Type reference (TYPE) GRFN_T_API_ORGUNIT_LIST Table type for the orgunit list structure 20100707
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100707

Method RETRIEVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ORGUNIT_DATA Call by reference Type reference (TYPE) GRFN_S_API_ORGUNIT_DATA Orgunit data 20071214
2 Exporting ES_ORGUNIT_DATA_PC Call by reference Type reference (TYPE) GRFN_S_API_ORGUNIT_DATA_PC FN-PC - Orgunit data 20080425
3 Exporting ES_ORGUNIT_DATA_RM Call by reference Type reference (TYPE) GRFN_S_API_ORGUNIT_DATA_RM FN-RM - Orgunit data 20080425
4 Exporting ET_ACTIVITIES Call by reference Type reference (TYPE) GRFN_T_API_ORGUNIT_LOCAL_OBJ Orgunit Local Object List 20081211
5 Exporting ET_INCIDENTS Call by reference Type reference (TYPE) GRFN_T_API_ORGUNIT_LOCAL_OBJ Orgunit Local Object List 20081215
6 Exporting ET_KRI_BUSIRULE Call by reference Type reference (TYPE) GRFN_T_API_ORGUNIT_LOCAL_OBJ Orgunit Local Object List 20081215
7 Exporting ET_KRI_INSTANCE Call by reference Type reference (TYPE) GRFN_T_API_ORGUNIT_LOCAL_OBJ Orgunit Local Object List 20081215
8 Exporting ET_OPPORTUNITIES Call by reference Type reference (TYPE) GRFN_T_API_ORGUNIT_LOCAL_OBJ Orgunit Local Object List 20081211
9 Exporting ET_RESPONSES Call by reference Type reference (TYPE) GRFN_T_API_ORGUNIT_LOCAL_OBJ Orgunit Local Object List 20081215
10 Exporting ET_RISKS Call by reference Type reference (TYPE) GRFN_T_API_ORGUNIT_LOCAL_OBJ Orgunit Local Object List 20081211
11 Importing IV_EDITABLE Value transfer Type reference (TYPE) GRFN_BOOLEAN Boolean 20080718
12 Importing IV_ORGUNIT_VIEW Value transfer Type reference (TYPE) GRFN_ORG_VIEW_ID Organiztion View ID 20100317
13 Importing IV_REGULATION_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20081126
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080214

Method SEARCH 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 20100715
2 Importing IT_SEARCH_RANGE Call by reference Type reference (TYPE) GRFN_T_OBJECT_RANGE Object Range Table 20100715
3 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organization View ID 20100715
4 Importing IV_SEARCH_PATTERN Call by reference Type reference (TYPE) GRFN_API_SEARCH_PATTERN Search Pattern 20100715
5 Returning RT_ORGUNIT_LIST Value transfer Type reference (TYPE) GRFN_T_API_ORGUNIT_LIST Table type for orgunit list 20100715
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100715

Method SET_VIEWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_T_API_ORG_VIEW_RELAT Table Type for Orgunit View Relation 20100713
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100713

Method UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ORGUNIT_DATA Call by reference Type reference (TYPE) GRFN_S_API_ORGUNIT_DATA Orgunit data 20071214
2 Importing IS_ORGUNIT_DATA_PC Call by reference Type reference (TYPE) GRFN_S_API_ORGUNIT_DATA_PC FN-PC - Orgunit data 20080425
3 Importing IS_ORGUNIT_DATA_RM Call by reference Type reference (TYPE) GRFN_S_API_ORGUNIT_DATA_RM FN-RM - Orgunit data 20080425
4 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organiztion View ID 20100317
5 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20081126
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080214

Method UPDATE_SCOPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ORGUNIT_DATA Call by reference Type reference (TYPE) GRFN_S_API_ORGUNIT_DATA Orgunit data 20130604
2 Importing IS_ORGUNIT_DATA_PC Call by reference Type reference (TYPE) GRFN_S_API_ORGUNIT_DATA_PC FN-PC - Orgunit data 20130604
3 Importing IS_ORGUNIT_DATA_RM Call by reference Type reference (TYPE) GRFN_S_API_ORGUNIT_DATA_RM FN-RM - Orgunit data 20130604
4 Importing IV_ORGUNIT_VIEW Call by reference Type reference (TYPE) GRFN_ORG_VIEW_ID Organiztion View ID 20130604
5 Importing IV_REGULATION_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20130604
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20130704
History
Last changed by/on SAP  20141106 
SAP Release Created in 300