SAP ABAP Class CL_HAP_WD_PROCESS (Support Class for Generic Process)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-AP-PM (Application Component) Appraisal, Valuation, and Survey Tool
     PAOC_HAP_DOCUMENT_WD_UI (Package) Appraisal - Web Dynpro User Interface
Properties
Class CL_HAP_WD_PROCESS  
Short Description Support Class for Generic Process    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PAOC_HAP_DOCUMENT_WD_UI   Appraisal - Web Dynpro User Interface 
Created 20100906   SAP 
Last change 20140121   SAP 
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)
Interfaces
Class CL_HAP_WD_PROCESS has no interface implemented.
Friends
Class CL_HAP_WD_PROCESS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_STATUS_ACTIVE Constant Public Type reference (TYPE) CHAR1 '2' Single-Character Indicator 20100920
2 C_STATUS_DONE Constant Public Type reference (TYPE) CHAR1 '1' Single-Character Indicator 20100920
3 C_STATUS_FUTURE Constant Public Type reference (TYPE) CHAR1 '3' Single-Character Indicator 20100920
4 MS_CURRENT_HEADER_STATUS Instance attribute Private Type reference (TYPE) HAP_S_HEADER_STATUS Header Section - Status 20100920
5 MT_CURRENT_PART_APPRAISERS Instance attribute Private Type reference (TYPE) HAP_T_HEADER_PART_APPRAISERS Header Section - Part Appraiser 20100920
6 MT_P5026_EXP Instance attribute Private Type reference (TYPE) HAP_T_P5026_EXP Extension Table Infotype 5026 20100920
7 MT_PHASES Instance attribute Private Type reference (TYPE) HAP_T_PROCESS All Phases of Active Process 20100920
8 MT_PHASE_STATUS Instance attribute Private Type reference (TYPE) TY_T_ITEM_STATUS Status of All Process Phases 20100920
9 MT_PROCESS Instance attribute Private Type reference (TYPE) HAP_T_PROCESS Complete Process Definition (All Processes) 20100920
10 MT_STEPS Instance attribute Private Type reference (TYPE) HAP_T_PROCESS All Steps of Active Phases 20100920
11 MT_STEP_STATUS Instance attribute Private Type reference (TYPE) TY_T_ITEM_STATUS Status of the Process Steps of the Active Phase 20100920
12 MV_ACTIVE_PHASE_IDX Instance attribute Private Type reference (TYPE) SYTABIX Index of Internal Tables 20100920
13 MV_ACTIVE_STEP_IDX Instance attribute Private Type reference (TYPE) SYTABIX Index of Internal Tables 20100920
14 MV_AP_START_DATE Instance attribute Private Type reference (TYPE) HAP_AP_START_DATE Start Date of the Appraisal Period 20130729
15 MV_IS_APPRAISEE Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100920
16 MV_IS_APPRAISER Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100920
17 MV_IS_FURTHER Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100920
18 MV_IS_INITIALIZED Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100920
19 MV_IS_PART_APPRAISER Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100920
20 MV_SHOW_PROCESS Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100920
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_SOURCE_STATUS_REC Instance method Private Method 20121123
2 BUSINESS_CHECK Instance method Public Method 20100920
3 DETERMINE_MY_ROLES Instance method Private Method Determines the Appropriate Role for the User 20100920
4 GET_DEFINITION Instance method Public Method 20100920
5 GET_PHASES Instance method Public Method Returns All Phases and Statuses of the Current Process 20100920
6 GET_STATUS_IN_TARGET_PATH Instance method Private Method Provides List with Status Within Target Status 20130802
7 GET_STATUS_LIST_DONE Instance method Private Method Provides Closed Status List 20130802
8 GET_STEPS Instance method Public Method Returns All Steps and Statuses of the Current Process 20100920
9 IS_PROCESS_VISIBLE Instance method Public Method 20100920
10 IS_RELEVANT_ITEM Instance method Private Method Check If Items Are Relevant for User 20100920
11 READ_PROCESS_CONFIGURATION Instance method Private Method Reads the Process Configuration from the Database 20100920
12 REVALIDATE_ITEM_STATUS Instance method Private Method Determines the Phases/Steps Status New, If Necessary 20100920
13 TRY_INITIALIZE Instance method Public Method 20100920
Events
Class CL_HAP_WD_PROCESS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_S_DOC_STATUS Private See coding 20121123 BEGIN OF TY_S_DOC_STATUS, status TYPE hap_ap_status, status_sub TYPE hap_ap_status_sub, END OF TY_S_DOC_STATUS
2 TY_S_ITEM_STATUS Public See coding 20100920 begin of TY_S_ITEM_STATUS, id type hap_vh_object_id, status type char1, end of TY_S_ITEM_STATUS
3 TY_T_DOC_STATUS Private See coding 20121123 TY_T_DOC_STATUS type sorted table of ty_s_doc_status with non-unique default key
4 TY_T_ITEM_STATUS Public See coding 20100920 TY_T_ITEM_STATUS type standard table of TY_S_ITEM_STATUS
5 TY_V_STATUS Public Type reference (TYPE) CHAR1 Single-Character Indicator 20100920
Method Signatures

Method APPEND_SOURCE_STATUS_REC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SOURCE_STATUS Call by reference Type reference (TYPE) TY_T_DOC_STATUS 20121123
2 Importing IV_TARGET_STATUS Call by reference Type reference (TYPE) HAP_AP_STATUS Beurteilungsstatus 20121123
3 Importing IV_TARGET_STATUS_SUB Call by reference Type reference (TYPE) HAP_AP_STATUS_SUB Beurteilungsteilstatus 20121123

Method APPEND_SOURCE_STATUS_REC on class CL_HAP_WD_PROCESS has no exception.

Method BUSINESS_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT Call by reference Type reference (TYPE) HAP_S_DOCUMENT Beurteilung 20100920
# Exception Resumable Description Created on
1 NO_PHASE 20100920
2 NO_STEP 20100920

Method DETERMINE_MY_ROLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT Call by reference Type reference (TYPE) HAP_S_DOCUMENT Beurteilung 20100920

Method DETERMINE_MY_ROLES on class CL_HAP_WD_PROCESS has no exception.

Method GET_DEFINITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PROCESS Call by reference Type reference (TYPE) HAP_T_PROCESS Process Interface Table 20100920

Method GET_DEFINITION on class CL_HAP_WD_PROCESS has no exception.

Method GET_PHASES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ACTIVE_PHASE Call by reference Type reference (TYPE) HAP_S_PROCESS Process Interface Structure 20100920
2 Exporting ET_PHASES Call by reference Type reference (TYPE) HAP_T_PROCESS Process Interface Table 20100920
3 Exporting ET_PHASES_STATUS Call by reference Type reference (TYPE) TY_T_ITEM_STATUS 20100920
4 Importing IS_DOCUMENT Call by reference Type reference (TYPE) HAP_S_DOCUMENT Beurteilung 20100920

Method GET_PHASES on class CL_HAP_WD_PROCESS has no exception.

Method GET_STATUS_IN_TARGET_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_STATUS_CHECKED Call by reference Type reference (TYPE) TY_T_DOC_STATUS 20130802
2 Changing CT_STATUS_IN_TARGET_PATH Call by reference Type reference (TYPE) TY_T_DOC_STATUS 20130802
3 Exporting EV_STATUS_IS_IN_PATH Value transfer Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20130802
4 Importing IV_CHECK_STATUS Call by reference Type reference (TYPE) HAP_AP_STATUS 1 Beurteilungsstatus 20130802
5 Importing IV_CHECK_STATUS_SUB Call by reference Type reference (TYPE) HAP_AP_STATUS_SUB Beurteilungsteilstatus 20130802
6 Importing IV_TARGET_STATUS Call by reference Type reference (TYPE) HAP_AP_STATUS Beurteilungsstatus 20130802
7 Importing IV_TARGET_STATUS_SUB Call by reference Type reference (TYPE) HAP_AP_STATUS_SUB Beurteilungsteilstatus 20130802

Method GET_STATUS_IN_TARGET_PATH on class CL_HAP_WD_PROCESS has no exception.

Method GET_STATUS_LIST_DONE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_STATUS_DONE Call by reference Type reference (TYPE) TY_T_DOC_STATUS 20130802
2 Importing IV_CHECK_STATUS Call by reference Type reference (TYPE) HAP_AP_STATUS 1 Beurteilungsstatus 20130802
3 Importing IV_CHECK_STATUS_SUB Call by reference Type reference (TYPE) HAP_AP_STATUS_SUB Beurteilungsteilstatus 20130802
4 Importing IV_TARGET_STATUS Call by reference Type reference (TYPE) HAP_AP_STATUS Beurteilungsstatus 20130802
5 Importing IV_TARGET_STATUS_SUB Call by reference Type reference (TYPE) HAP_AP_STATUS_SUB Beurteilungsteilstatus 20130802

Method GET_STATUS_LIST_DONE on class CL_HAP_WD_PROCESS has no exception.

Method GET_STEPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ACTIVE_STEP Call by reference Type reference (TYPE) HAP_S_PROCESS 20100920
2 Exporting ET_STEPS Call by reference Type reference (TYPE) HAP_T_PROCESS Process Interface Table 20100920
3 Exporting ET_STEPS_STATUS Call by reference Type reference (TYPE) TY_T_ITEM_STATUS 20100920
4 Importing IS_DOCUMENT Call by reference Type reference (TYPE) HAP_S_DOCUMENT Beurteilung 20100920

Method GET_STEPS on class CL_HAP_WD_PROCESS has no exception.

Method IS_PROCESS_VISIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_VISIBLE Value transfer Type reference (TYPE) ABAP_BOOL 20100920

Method IS_PROCESS_VISIBLE on class CL_HAP_WD_PROCESS has no exception.

Method IS_RELEVANT_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OWNER Call by reference Type reference (TYPE) HAP_COLUMN_OWNER Spalteneigentümer 20100920
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100920

Method IS_RELEVANT_ITEM on class CL_HAP_WD_PROCESS has no exception.

Method READ_PROCESS_CONFIGURATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RETURN Call by reference Type reference (TYPE) BAPIRET2 Returnparameter 20100920
2 Importing IS_VALIDITY_PERIOD Call by reference Type reference (TYPE) HAP_S_PROCESS_VALIDITY Process Validity Structure 20100920
3 Importing IV_PLVAR Call by reference Type reference (TYPE) HAP_PLAN_VERSION Planvariante 20100920
4 Importing IV_TEMPLATE_ID Call by reference Type reference (TYPE) HAP_TEMPLATE_ID Beurteilungsformular 20100920

Method READ_PROCESS_CONFIGURATION on class CL_HAP_WD_PROCESS has no exception.

Method REVALIDATE_ITEM_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOCUMENT Call by reference Type reference (TYPE) HAP_S_DOCUMENT Beurteilung 20100920

Method REVALIDATE_ITEM_STATUS on class CL_HAP_WD_PROCESS has no exception.

Method TRY_INITIALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RETURN Call by reference Type reference (TYPE) BAPIRET2 Returnparameter 20100920
2 Importing IS_DOCUMENT Call by reference Type reference (TYPE) HAP_S_DOCUMENT Beurteilung 20100920
3 Importing IV_FORCE_INITIALIZATION Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20130729

Method TRY_INITIALIZE on class CL_HAP_WD_PROCESS has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 703