SAP ABAP Class CL_WFM_ABSENCE_FROM_HCM (WFM Integration of Absences from HCM)
Hierarchy
EA-HRRXX (Software Component) Sub component EA-HRRXX of EA-HR
   PA-PA-XX-ET (Application Component) External personnel administration
     PAOC_PAD_RETAIL (Package) Retail Interface for Master Data
Properties
Class CL_WFM_ABSENCE_FROM_HCM  
Short Description WFM Integration of Absences from HCM    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PAOC_PAD_RETAIL   Retail Interface for Master Data 
Created 20121001   SAP 
Last change 20130531   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_WFM_ABSENCE_FROM_HCM has no interface implemented.
Friends
Class CL_WFM_ABSENCE_FROM_HCM has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_BASIC_TYPE Constant Private Type reference (TYPE) EDI_IDOCTP 'ATT_ABS01' Basic type 20121105
2 C_MESS_TYPE Constant Private Type reference (TYPE) EDI_MESTYP 'ATT_ABS' Message Type 20121105
3 GT_FILTER_VALUES Static Attribute Private Type reference (TYPE) BDI_FOBJ_TAB Table Type for BDI_FOBJ 20121105
4 GT_IDOC_DATA Instance attribute Private Type reference (TYPE) EDIDD_TT IDoc Data Records 20121105
5 GT_RECEIVER Static Attribute Private See coding 20121105
6 GV_ALE_CONFIG_ERROR Static Attribute Private Type reference (TYPE) ABAP_BOOL ALE Configuration Error 20121105
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_DISTR_MODEL Static method Public Method Check the Distribution Model 20121105
2 PROCESS_ABSENCE_DATA Instance method Public Method Main Processing of Absence data from HCM to WFM 20121105
3 PROCESS_TIME_DATA Instance method Public Method Main Processing of Absence data from Valuation of Time Data 20121105
4 _CONVERT_TO_IDOC_FORMAT Instance method Private Method Convertion to ATT_ABS Idoc Format 20121105
5 _CREATE_AND_SEND_IDOC Instance method Private Method Create and Send the IDOC ATT_ABS 20121105
6 _PROCESS_AFTER_IMAGE Instance method Private Method Processing of the new data (AFTER_IMAGE) 20121105
7 _PROCESS_BEFORE_IMAGE Instance method Private Method Processing of the original data (BEFORE_IMAGE) 20121105
Events
Class CL_WFM_ABSENCE_FROM_HCM has no event.
Types
Class CL_WFM_ABSENCE_FROM_HCM has no local type.
Method Signatures

Method CHECK_DISTR_MODEL Signature

Method CHECK_DISTR_MODEL on class CL_WFM_ABSENCE_FROM_HCM has no parameter.
# Exception Resumable Description Created on
1 ERROR_WITH_MESSAGE 20121105

Method PROCESS_ABSENCE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NEW_P2001 Call by reference Type reference (TYPE) P2001 HR Time Record: Absences Infotype (2001) 20121105
2 Importing IS_OLD_P2001 Call by reference Type reference (TYPE) P2001 HR Time Record: Absences Infotype (2001) 20121105
3 Importing IT_NEW_IMAGE Call by reference Type reference (TYPE) PSOPER_TAB Table Type for PSOPER Structure 20121105
4 Importing IT_OLD_IMAGE Call by reference Type reference (TYPE) PSOPER_TAB Table Type for PSOPER Structure 20121105

Method PROCESS_ABSENCE_DATA on class CL_WFM_ABSENCE_FROM_HCM has no exception.

Method PROCESS_TIME_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Output Messages for Transaction 20121105
2 Exporting E_TIME_DATA Call by reference Type reference (TYPE) TIM_BLP_REQUEST_TAB New and Changed Data 20121105
3 Importing I_RECORD Value transfer Object reference (TYPE REF TO) IF_PT_TD_CONTROL Current Record 20121105
4 Importing I_TIME_DATA Value transfer Type reference (TYPE) TIM_BLP_REQUEST_TAB Current Time Data 20121105
# Exception Resumable Description Created on
1 ACTUAL_RECORD_MISSING Record To Be Processed Is Missing 20121105

Method _CONVERT_TO_IDOC_FORMAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_IMAGE Call by reference Type reference (TYPE) PSOPER Structure for Changed Infotype Records (Personnel Admin.) 20121105
2 Importing IS_P2001 Call by reference Type reference (TYPE) P2001 HR Time Record: Absences Infotype (2001) 20121105
3 Importing IV_OLD_IMAGE Call by reference Type reference (TYPE) ABAP_BOOL '' Is the Record a Before Image (Default = No) 20121105

Method _CONVERT_TO_IDOC_FORMAT on class CL_WFM_ABSENCE_FROM_HCM has no exception.

Method _CREATE_AND_SEND_IDOC Signature

Method _CREATE_AND_SEND_IDOC on class CL_WFM_ABSENCE_FROM_HCM has no parameter.
Method _CREATE_AND_SEND_IDOC on class CL_WFM_ABSENCE_FROM_HCM has no exception.

Method _PROCESS_AFTER_IMAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NEW_P2001 Call by reference Type reference (TYPE) P2001 New Image of the P2001 20121105
2 Importing IT_NEW_IMAGE Call by reference Type reference (TYPE) PSOPER_TAB Structure for Changed Infotype Records (Personnel Admin.) 20121105
3 Importing IT_OLD_IMAGE Call by reference Type reference (TYPE) PSOPER_TAB Table Type for PSOPER Structure 20121105

Method _PROCESS_AFTER_IMAGE on class CL_WFM_ABSENCE_FROM_HCM has no exception.

Method _PROCESS_BEFORE_IMAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_OLD_P2001 Call by reference Type reference (TYPE) P2001 HR Time Record: Absences Infotype (2001) 20121105
2 Importing IT_OLD_IMAGE Call by reference Type reference (TYPE) PSOPER_TAB Table Type for Changed Infotype Records (PA) 20121105

Method _PROCESS_BEFORE_IMAGE on class CL_WFM_ABSENCE_FROM_HCM has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in