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 | 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 | Constant | Private | Type reference (TYPE) | EDI_IDOCTP | 'ATT_ABS01' | Basic type | 20121105 | ||
| 2 | Constant | Private | Type reference (TYPE) | EDI_MESTYP | 'ATT_ABS' | Message Type | 20121105 | ||
| 3 | Static Attribute | Private | Type reference (TYPE) | BDI_FOBJ_TAB | Table Type for BDI_FOBJ | 20121105 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | EDIDD_TT | IDoc Data Records | 20121105 | |||
| 5 | Static Attribute | Private | See coding | 20121105 | |||||
| 6 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ALE Configuration Error | 20121105 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check the Distribution Model | 20121105 | |
| 2 | Instance method | Public | Method | Main Processing of Absence data from HCM to WFM | 20121105 | |
| 3 | Instance method | Public | Method | Main Processing of Absence data from Valuation of Time Data | 20121105 | |
| 4 | Instance method | Private | Method | Convertion to ATT_ABS Idoc Format | 20121105 | |
| 5 | Instance method | Private | Method | Create and Send the IDOC ATT_ABS | 20121105 | |
| 6 | Instance method | Private | Method | Processing of the new data (AFTER_IMAGE) | 20121105 | |
| 7 | 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 | 20121105 |
Method PROCESS_ABSENCE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_NEW_P2001 | Call by reference | Type reference (TYPE) | P2001 | HR Time Record: Absences Infotype (2001) | 20121105 | |||
| 2 | IS_OLD_P2001 | Call by reference | Type reference (TYPE) | P2001 | HR Time Record: Absences Infotype (2001) | 20121105 | |||
| 3 | IT_NEW_IMAGE | Call by reference | Type reference (TYPE) | PSOPER_TAB | Table Type for PSOPER Structure | 20121105 | |||
| 4 | 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 | E_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Output Messages for Transaction | 20121105 | |||
| 2 | E_TIME_DATA | Call by reference | Type reference (TYPE) | TIM_BLP_REQUEST_TAB | New and Changed Data | 20121105 | |||
| 3 | I_RECORD | Value transfer | Object reference (TYPE REF TO) | IF_PT_TD_CONTROL | Current Record | 20121105 | |||
| 4 | I_TIME_DATA | Value transfer | Type reference (TYPE) | TIM_BLP_REQUEST_TAB | Current Time Data | 20121105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IS_IMAGE | Call by reference | Type reference (TYPE) | PSOPER | Structure for Changed Infotype Records (Personnel Admin.) | 20121105 | |||
| 2 | IS_P2001 | Call by reference | Type reference (TYPE) | P2001 | HR Time Record: Absences Infotype (2001) | 20121105 | |||
| 3 | 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 | IS_NEW_P2001 | Call by reference | Type reference (TYPE) | P2001 | New Image of the P2001 | 20121105 | |||
| 2 | IT_NEW_IMAGE | Call by reference | Type reference (TYPE) | PSOPER_TAB | Structure for Changed Infotype Records (Personnel Admin.) | 20121105 | |||
| 3 | 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 | IS_OLD_P2001 | Call by reference | Type reference (TYPE) | P2001 | HR Time Record: Absences Infotype (2001) | 20121105 | |||
| 2 | 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 |