SAP ABAP Class CL_GRPC_AS_RESTART_ASSIST (Assistance for Ad Hoc Start of Assessments/Tests)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-SPC (Application Component) Process Controls
     GRPC_ASSESSMENT_ISSUE_PLAN (Package) Assessment/Issue/Remediation Plan
Properties
Class CL_GRPC_AS_RESTART_ASSIST  
Short Description Assistance for Ad Hoc Start of Assessments/Tests    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRPC_ASSESSMENT_ISSUE_PLAN   Assessment/Issue/Remediation Plan 
Created 20080702   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 GRPCH Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_GRPC_AS_RESTART_ASSIST has no interface implemented.
Friends
Class CL_GRPC_AS_RESTART_ASSIST has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_RESTART_ACTION_N Constant Public Type reference (TYPE) GRPC_RESTART_ACTION 'W' New Workflow 20080702
2 GC_RESTART_ACTION_NN Constant Public Type reference (TYPE) GRPC_RESTART_ACTION 'C' New Case; New Workflow 20080702
3 GC_RESTART_ACTION_NONE Constant Public Type reference (TYPE) GRPC_RESTART_ACTION SPACE None 20080702
4 MB_INTERNAL_LOG_HANDLE Instance attribute Private Type reference (TYPE) ABAP_BOOL 20080702
5 MO_CLOSING_INFO Instance attribute Private Object reference (TYPE REF TO) IF_GRPC_CLS_DISPLAY Closing: Display Information 20080702
6 MS_DATE_INTERVAL Instance attribute Public Type reference (TYPE) GRPC_S_DATE_INTERVAL Date of the Assessment or of the Test 20080702
7 MS_HRORG Instance attribute Public Type reference (TYPE) HROBJECT Org. unit 20080702
8 MTH_ENTRY Instance attribute Private See coding 20080702
9 MT_MESSAGE_STRUCT Instance attribute Public Type reference (TYPE) SWR_MSGTAB Workflow Interfaces: Message Structure 20080702
10 M_APPTYPE Instance attribute Private Type reference (TYPE) GRFN_APPTYPE Application Type 20080702
11 M_CASE_CATEGORY Instance attribute Private Type reference (TYPE) SCMG_CATEGORY Category 20080702
12 M_CASE_TYPE Instance attribute Private Type reference (TYPE) SCMGCASE_TYPE Case Type 20080702
13 M_LOG_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL Application Log Handle 20080702
14 M_REGULATION Instance attribute Private Type reference (TYPE) GRFN_OBJECT_ID Object ID 20101220
15 STS_STATUS_TEXT Static Attribute Private Type reference (TYPE) GRPC_TS_STATUS System Status and Text 20080702
16 ST_WI_STATUS_FINISHED Static Attribute Private Type reference (TYPE) SWWTWISTAT Workflow: Table With Status 20080702
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20080702
2 CLOSE_LOG Instance method Private Method Close Log at End of Activation 20080702
3 CONSTRUCTOR Instance method Public Constructor Constructor 20080702
4 CREATE_CASE Instance method Private Method Create Assessment 20080702
5 FILL_LIST_WITH_CASE_ATTR Instance method Private Method Fill List Entry with Case Attributes 20080702
6 FILL_LIST_WITH_HR_ATTR Instance method Private Method Fill List Entry with HR Object Attributes 20080702
7 FILL_LIST_WITH_WF_ATTR Instance method Private Method Fill List Entry with Work Item Attributes 20080702
8 GET_ENTRY Instance method Public Method Get Entry for UI 20080702
9 GET_RESTART_ACTION Instance method Private Method Get Restart Action for an HR Object 20080702
10 IS_CASE_FINISHED Instance method Private Method Check if the Case is Finished Already 20080702
11 IS_WORKITEM_FINISHED Instance method Private Method Check if the Work Item is Finished Already 20080702
12 OPEN_LOG Instance method Private Method Open Log at the Beginning of Activation 20080702
13 RESTART Instance method Private Method Start Workflows for Objects Internally 20080702
14 SELECT_FROM_DB Instance method Private Method Select HR Objects, Cases, Workflows 20080702
15 SELECT_HR_OBJECT Instance method Private Method Select HR Objects According to Task 20080702
16 START_SELECTIVE_WF_BY_STRU Instance method Public Method Start Workflows for Objects Selected by Structure 20080702
Events
Class CL_GRPC_AS_RESTART_ASSIST has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_RUNNING_CASE Private See coding 20080702
2 TY_RUNNING_WORKITEM Private See coding 20080702
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_GRPC_AS_RESTART_ASSIST has no parameter.
Method CLASS_CONSTRUCTOR on class CL_GRPC_AS_RESTART_ASSIST has no exception.

Method CLOSE_LOG Signature

Method CLOSE_LOG on class CL_GRPC_AS_RESTART_ASSIST has no parameter.
Method CLOSE_LOG on class CL_GRPC_AS_RESTART_ASSIST has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPTYPE Value transfer Type reference (TYPE) GRFN_APPTYPE Application Type 20080702
2 Importing I_ORGUNIT Value transfer Type reference (TYPE) OBJEKTID Object ID 20080702
3 Importing I_REGULATION Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20101220
4 Importing I_TF_YEAR Value transfer Type reference (TYPE) GRPC_YEAR Year 20080702
5 Importing I_TIMEFRAME Value transfer Type reference (TYPE) GRPC_TIMEFRAME Timeframe 20080702
# Exception Resumable Description Created on
1 CX_GRPC_CASE 20080702
2 CX_GRPC_CLOSING 20080702

Method CREATE_CASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IB_CREATE_NEW Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Require to Create a New Assessment 20080702
2 Importing IS_DATE_INTERVAL Call by reference Type reference (TYPE) GRPC_S_DATE_INTERVAL Date of the Assessment or of the Test 20080702
3 Importing IS_HROBJECT Call by reference Type reference (TYPE) HROBJECT Object 20080702
4 Importing IS_HRORG Call by reference Type reference (TYPE) HROBJECT Object 20080702
5 Importing I_CASE_TITLE Call by reference Type reference (TYPE) SCMG_CASE_TITLE Case Header 20080702
6 Importing I_REGULATION Call by reference Type reference (TYPE) GRFN_OBJECT_ID Object ID 20101220
7 Returning RO_CASE Value transfer Object reference (TYPE REF TO) IF_GRPC_CASE SOA: Case 20080702
# Exception Resumable Description Created on
1 CX_GRPC_CASE PC: Case 20080702

Method FILL_LIST_WITH_CASE_ATTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ENTRY Call by reference Type reference (TYPE) GRPC_S_AS_RESTART1 20080702
2 Importing IS_HROBJECT Call by reference Type reference (TYPE) HROBJECT Object 20080702

Method FILL_LIST_WITH_CASE_ATTR on class CL_GRPC_AS_RESTART_ASSIST has no exception.

Method FILL_LIST_WITH_HR_ATTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ENTRY Call by reference Type reference (TYPE) GRPC_S_AS_RESTART Restart Assessment 20080702
2 Importing IS_HR_DATA Call by reference Type reference (TYPE) GRPCH_S_HY_STRUC 20080702

Method FILL_LIST_WITH_HR_ATTR on class CL_GRPC_AS_RESTART_ASSIST has no exception.

Method FILL_LIST_WITH_WF_ATTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ENTRY Call by reference Type reference (TYPE) GRPC_S_AS_RESTART2 20080702
2 Importing IS_ENTRY Call by reference Type reference (TYPE) GRPC_S_AS_RESTART Restart Assessment 20080702

Method FILL_LIST_WITH_WF_ATTR on class CL_GRPC_AS_RESTART_ASSIST has no exception.

Method GET_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ENTRY Call by reference Type reference (TYPE) GRPC_T_AS_RESTART Restart Assessment 20080702
2 Importing IX_REFRESH Call by reference Type reference (TYPE) ABAP_BOOL SPACE 20080702

Method GET_ENTRY on class CL_GRPC_AS_RESTART_ASSIST has no exception.

Method GET_RESTART_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ENTRY Call by reference Type reference (TYPE) GRPC_S_AS_RESTART 20080702
2 Returning R_ACTION Value transfer Type reference (TYPE) GRPC_RESTART_ACTION How to Restart Workflows for an HR Object 20080702

Method GET_RESTART_ACTION on class CL_GRPC_AS_RESTART_ASSIST has no exception.

Method IS_CASE_FINISHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_STATUS Call by reference Type reference (TYPE) J_ISTAT System Status 20080702
2 Returning R_FLAG Value transfer Type reference (TYPE) ABAP_BOOL 20080702

Method IS_CASE_FINISHED on class CL_GRPC_AS_RESTART_ASSIST has no exception.

Method IS_WORKITEM_FINISHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_STATUS Call by reference Type reference (TYPE) SWW_WISTAT Processing Status of a Work Item 20080702
2 Returning R_FLAG Value transfer Type reference (TYPE) ABAP_BOOL 20080702

Method IS_WORKITEM_FINISHED on class CL_GRPC_AS_RESTART_ASSIST has no exception.

Method OPEN_LOG Signature

Method OPEN_LOG on class CL_GRPC_AS_RESTART_ASSIST has no parameter.
Method OPEN_LOG on class CL_GRPC_AS_RESTART_ASSIST has no exception.

Method RESTART Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CASE_CREATED Call by reference Type reference (TYPE) GRPC_T_CASE Case 20080702
2 Exporting ET_CASE_RESTARTED Call by reference Type reference (TYPE) GRPC_T_CASE Case 20080702
3 Importing IT_OBJECT Call by reference Type reference (TYPE) HROBJECT_TAB 20080702
4 Importing I_DATE_BEGIN Call by reference Type reference (TYPE) SWW_LSD Latest Start Date for Work Item 20090610
5 Importing I_DATE_END Call by reference Type reference (TYPE) SWW_LED Latest End Date for Work Item 20080702
6 Importing I_REGULATION Call by reference Type reference (TYPE) GRFN_OBJECT_ID Object ID 20101220

Method RESTART on class CL_GRPC_AS_RESTART_ASSIST has no exception.

Method SELECT_FROM_DB Signature

Method SELECT_FROM_DB on class CL_GRPC_AS_RESTART_ASSIST has no parameter.
# Exception Resumable Description Created on
1 CX_GRPC_CASE 20080702

Method SELECT_HR_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EXCEPTION Call by reference Type reference (TYPE) GRPC_T_CX_ROOT Table of Business Exceptions 20080702
# Exception Resumable Description Created on
1 CX_GRPC_CASE 20080702

Method START_SELECTIVE_WF_BY_STRU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CASE_CREATED Call by reference Type reference (TYPE) GRPC_T_CASE Case 20080702
2 Exporting ET_CASE_RESTARTED Call by reference Type reference (TYPE) GRPC_T_CASE Case 20080702
3 Importing IT_OBJECT Call by reference Type reference (TYPE) HROBJECT_TAB 20080702
4 Importing I_DATE_BEGIN Call by reference Type reference (TYPE) SWW_LSD Requested End Date for Work Item 20090610
5 Importing I_DATE_END Call by reference Type reference (TYPE) SWW_LED Latest End Date for Work Item 20080702

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