SAP ABAP Class CL_GRFN_PROCESS_UTIL (Utility for process workflow)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC (Application Component) Governance, Risk and Compliance
     GRFN_WORKFLOW (Package) GRC Workflow Inbox and feeder classes
Properties
Class CL_GRFN_PROCESS_UTIL  
Short Description Utility for process workflow    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRFN_WORKFLOW   GRC Workflow Inbox and feeder classes 
Created 20100118   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GRFN_PROCESS_UTIL has no forward declaration.
Interfaces
Class CL_GRFN_PROCESS_UTIL has no interface implemented.
Friends
Class CL_GRFN_PROCESS_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CV_CATID Constant Public Type reference (TYPE) SIBFCATID 'CL' Category of Objects in Persistent Object References 20100118
2 CV_OTYPE Constant Public Type reference (TYPE) OTYPE 'US' Object Type 20100118
3 CV_USAGE_SURVEY Constant Public Type reference (TYPE) GRFN_WF_USAGE 'SVY' Identify the WF BO class usage for the entity 20100422
4 MT_TASK_NAME_CONFIG Static Attribute Private Type reference (TYPE) GRFN_T_WFTASKNAME Table type for configurable task name configuration 20110124
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_CONFIGURABLE Static method Public Method Check the task is configurable for not 20110124
2 GET_AGENT_BY_OBJECT Static method Public Method Get workflow agent by object id (only for one task) 20111020
3 GET_APIID_BY_TYPEID Static method Public Method Get API object id by workflow typeid 20100630
4 GET_APIID_BY_WF Static method Public Method Get API object id by workflow item 20100630
5 GET_CASE Static method Public Method 20100118
6 GET_CASE_STATUS Static method Public Method 20100118
7 GET_CONFIG_TASK_NAME Static method Public Method Get Configurated Task Name 20110124
8 GET_CONFIG_TASK_NAMEKEY Static method Public Method Get Configurated Task Name Key 20110124
9 GET_PROCESS Static method Public Method Get process business object reference 20100119
10 GET_STATUS Static method Public Method 20100118
11 GET_TEXT_FROM_REPOSITORY Static method Public Method Get Text 20110121
12 GET_WF_AGENT Static method Public Method Get workflow current processor (including sub items) 20100618
13 GET_WF_BY_OBJECT Static method Public Method Get process (sub)workflow instance id by object id 20100618
14 GET_WF_ID Static method Public Method Get process workflow instance id 20100611
15 GET_WORKITEM_BY_OBJECT Static method Public Method Get process workflow item id by object id 20101019
Events
Class CL_GRFN_PROCESS_UTIL has no event.
Types
Class CL_GRFN_PROCESS_UTIL has no local type.
Method Signatures

Method CHECK_CONFIGURABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CASE_TYPE Call by reference Type reference (TYPE) SCMGCASE_TYPE Case Type 20110124
2 Importing IV_CATEGORY Call by reference Type reference (TYPE) SCMG_CATEGORY Category 20110124
3 Importing IV_ID Call by reference Type reference (TYPE) GRFN_SEQNR Sequence 20110124
4 Importing IV_ISCAPA Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110124
5 Importing IV_REPEAT Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110124
6 Importing IV_STATUS Call by reference Type reference (TYPE) J_ISTAT System status 20110124
7 Importing IV_TASK_NAME Call by reference Type reference (TYPE) SWW_TASK Task ID 20110124
8 Returning RV_CONFIGURABLE Value transfer Type reference (TYPE) GRFN_BOOLEAN Indicator 20110124

Method CHECK_CONFIGURABLE on class CL_GRFN_PROCESS_UTIL has no exception.

Method GET_AGENT_BY_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RECIPIENT Call by reference Type reference (TYPE) SWRTAGENT Result of Role Resolution (Table Type) 20111020
2 Importing IV_ENTITY Value transfer Type reference (TYPE) GRFN_API_ENTITY_ID Entity ID 20111020
3 Importing IV_OBJECT_ID Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20111020
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20111020

Method GET_APIID_BY_TYPEID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100630
2 Importing IV_TYPEID Call by reference Type reference (TYPE) SWRSIBFTI WAPI: Type of Object in Persistent Object Reference 20100630
3 Returning RV_API_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20100630

Method GET_APIID_BY_TYPEID on class CL_GRFN_PROCESS_UTIL has no exception.

Method GET_APIID_BY_WF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_WORKITEM Value transfer Type reference (TYPE) SWW_WIID Work item ID 20100630
2 Returning RV_OBJECT_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20101015

Method GET_APIID_BY_WF on class CL_GRFN_PROCESS_UTIL has no exception.

Method GET_CASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJ_ID Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100118
2 Returning RS_CASE Value transfer Type reference (TYPE) SCMG_T_CASE_ATTR Case Attributes 20100118

Method GET_CASE on class CL_GRFN_PROCESS_UTIL has no exception.

Method GET_CASE_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CASE Call by reference Type reference (TYPE) SCMG_T_CASE_ATTR Case Attributes 20100118
2 Exporting ES_STATUS Call by reference Type reference (TYPE) GRFN_S_STATUS Case status 20100118
3 Importing IV_OBJ_ID Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100118
# Exception Resumable Description Created on
1 CX_GRFN_STATUS status management 20100119

Method GET_CONFIG_TASK_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_VARIATE Call by reference Type reference (TYPE) GRFN_S_VARIATE Variate for Task Name 20110124
2 Importing IV_CASE_TYPE Call by reference Type reference (TYPE) SCMGCASE_TYPE Case Type 20110124
3 Importing IV_CATEGORY Call by reference Type reference (TYPE) SCMG_CATEGORY Category 20110124
4 Importing IV_ID Call by reference Type reference (TYPE) GRFN_SEQNR Sequence 20110124
5 Importing IV_ISCAPA Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110124
6 Importing IV_REPEAT Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110124
7 Importing IV_STATUS Call by reference Type reference (TYPE) J_ISTAT System status 20110124
8 Importing IV_TASK_NAME Call by reference Type reference (TYPE) SWW_TASK Task ID 20110124
9 Returning RV_NAME Value transfer Type reference (TYPE) STRING 20110124

Method GET_CONFIG_TASK_NAME on class CL_GRFN_PROCESS_UTIL has no exception.

Method GET_CONFIG_TASK_NAMEKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CASE_TYPE Call by reference Type reference (TYPE) SCMGCASE_TYPE Case Type 20110124
2 Importing IV_CATEGORY Call by reference Type reference (TYPE) SCMG_CATEGORY Category 20110124
3 Importing IV_ID Call by reference Type reference (TYPE) GRFN_SEQNR Sequence 20110124
4 Importing IV_ISCAPA Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110124
5 Importing IV_REPEAT Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110124
6 Importing IV_STATUS Call by reference Type reference (TYPE) J_ISTAT System status 20110124
7 Importing IV_TASK_NAME Call by reference Type reference (TYPE) SWW_TASK Task ID 20110124
8 Returning RV_NAME_KEY Value transfer Type reference (TYPE) GRFN_TASK_NAME Task Name: NA+MESSAGE_CLASS+NUMBER 20110124

Method GET_CONFIG_TASK_NAMEKEY on class CL_GRFN_PROCESS_UTIL has no exception.

Method GET_PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENTITY Value transfer Type reference (TYPE) GRFN_API_ENTITY_ID Entity ID 20100119
2 Importing IV_OBJ_ID Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20100119
3 Importing IV_USAGE Value transfer Type reference (TYPE) GRFN_WF_USAGE 'SLF' Identify the WF BO class usage for the entity 20100422
4 Returning RO_PROCESS Value transfer Object reference (TYPE REF TO) IF_GRFN_WF_PROCESS Interface for Entity Workflow Business Objects 20100119

Method GET_PROCESS on class CL_GRFN_PROCESS_UTIL has no exception.

Method GET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJNR Value transfer Type reference (TYPE) CRMT_OBJECT_GUID GUID of a CRM Order Object 20100118
2 Returning RS_STATUS Value transfer Type reference (TYPE) GRFN_S_STATUS Status 20100118
# Exception Resumable Description Created on
1 CX_GRFN_STATUS status management 20100119

Method GET_TEXT_FROM_REPOSITORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME_KEY Value transfer Type reference (TYPE) GRFN_TASK_NAME Task Name: NA+MESSAGE_CLASS+NUMBER 20110124
2 Importing I_VARIATE Value transfer Type reference (TYPE) GRFN_S_VARIATE Title/Short Name 20110124
3 Returning R_TEXT Value transfer Type reference (TYPE) STRING 20110121

Method GET_TEXT_FROM_REPOSITORY on class CL_GRFN_PROCESS_UTIL has no exception.

Method GET_WF_AGENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RECIPIENT Call by reference Type reference (TYPE) SWRTAGENT Result of Role Resolution (Table Type) 20100618
2 Importing IV_WI_ID Value transfer Type reference (TYPE) SWW_WIID Work item ID 20100618
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20100618

Method GET_WF_BY_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENTITY Value transfer Type reference (TYPE) GRFN_API_ENTITY_ID Entity ID 20100618
2 Importing IV_OBJECT_ID Value transfer Type reference (TYPE) GRFN_GUID Object ID 20100618
3 Returning RV_WI_ID Value transfer Type reference (TYPE) SWW_WIID Work item ID 20101019

Method GET_WF_BY_OBJECT on class CL_GRFN_PROCESS_UTIL has no exception.

Method GET_WF_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WORKLIST Call by reference Type reference (TYPE) SWRTWIHDR Work Item Structure 20100611
2 Importing IV_CATID Value transfer Type reference (TYPE) SIBFCATID 'CL' Category of Objects in Persistent Object References 20100611
3 Importing IV_INSTID Value transfer Type reference (TYPE) SIBFBORIID 20100611
4 Importing IV_ONLY_TOP_LEVEL Value transfer Type reference (TYPE) GRFN_BOOLEAN 'X' Indicator 20101019
5 Importing IV_TYPEID Value transfer Type reference (TYPE) SIBFTYPEID 20100611

Method GET_WF_ID on class CL_GRFN_PROCESS_UTIL has no exception.

Method GET_WORKITEM_BY_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENTITY Value transfer Type reference (TYPE) GRFN_API_ENTITY_ID Entity ID 20101019
2 Importing IV_OBJECT_ID Value transfer Type reference (TYPE) GRFN_GUID Object ID 20101019
3 Returning RV_WI_ID Value transfer Type reference (TYPE) SWW_WIID Work item ID 20101019

Method GET_WORKITEM_BY_OBJECT on class CL_GRFN_PROCESS_UTIL has no exception.
History
Last changed by/on SAP  20141106 
SAP Release Created in 600