SAP ABAP Class CL_HRPAYBR_ABSENCE (Class that encapsulates an absence infotype record)
Hierarchy
☛
SAP_HRCBR (Software Component) Sub component SAP_HRCBR of SAP_HR
⤷ PY-BR (Application Component) Brazil
⤷ PC37 (Package) HR settlement: Brazil
⤷ PY-BR (Application Component) Brazil
⤷ PC37 (Package) HR settlement: Brazil
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_HRPAYBR_INFOTYPE | Interface for classes that encapsulate the infotype | 20120215 |
Properties
Class | CL_HRPAYBR_ABSENCE | |
Short Description | Class that encapsulates an absence infotype record | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | PC37 | HR settlement: Brazil |
Created | 20111223 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_HRPAYBR_ABSENCE has no forward declaration.
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_HRPAYBR_INFOTYPE | Interface for classes that encapsulate the infotype | 20120215 |
Friends
Class CL_HRPAYBR_ABSENCE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MO_EMPLOYEE | Instance attribute | Private | Object reference (TYPE REF TO) | CL_HRPAYBR_EMPLOYEE | Class that encapsulates the employee details | 20120215 | ||
2 | MS_ABSENCE | Instance attribute | Private | Type reference (TYPE) | P2001 | Personnel time recording: infotype 2001 (absences) | 20120215 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20120215 |
2 | GET_ABSENCE_TYPE | Instance method | Public | Method | Returns the absence type (leave, maternity leave, etc). | 20120215 |
3 | GET_INFOTYPE | Instance method | Public | Method | 20120215 |
Events
Class CL_HRPAYBR_ABSENCE has no event.
Types
Class CL_HRPAYBR_ABSENCE has no local type.
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_EMPLOYEE | Call by reference | Object reference (TYPE REF TO) | CL_HRPAYBR_EMPLOYEE | Class that encapsulates the employee details | 20120215 | ||
2 | Importing | IS_ABSENCE | Call by reference | Type reference (TYPE) | P2001 | Personnel time recording: infotype 2001 (absences) | 20120215 | ||
3 | Importing | IS_INFOTYPE | Call by reference | Type reference (TYPE) | PRELP | HR master data buffer | 20120215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HRPAYBR_INFTY_NOT_FOUND | HR: master data, data shortage | 20120215 | |
2 | CX_HRPAYBR_UNBOUND | 20120215 |
Method GET_ABSENCE_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_ABSENCE_TYPE | Value transfer | Type reference (TYPE) | PBR_TIPOA | Absence types grouping | 20120215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HRPAYBR_INFTY_NOT_FOUND | Infotypes not found | 20120215 | |
2 | CX_HRPAYBR_INVALID_ABS_TYPE | Exception class for invalid absence types | 20120215 |
Method GET_INFOTYPE Signature
Method GET_INFOTYPE on class CL_HRPAYBR_ABSENCE has no parameter.
Method GET_INFOTYPE on class CL_HRPAYBR_ABSENCE has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in |