SAP ABAP Class CL_HRPADBR_ACTION (Class that encapsulates a personnel action infotype record)
Hierarchy
☛
SAP_HRCBR (Software Component) Sub component SAP_HRCBR of SAP_HR
⤷
PA-PA-BR (Application Component) Brazil
⤷
PB37 (Package) HR master data: Brazil
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_HRPADBR_INFOTYPE | Interface for classes that encapsulate the infotype | 20120604 |
Properties
| Class | CL_HRPADBR_ACTION | |
| Short Description | Class that encapsulates a personnel action infotype record | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PB37 | HR master data: Brazil |
| Created | 20120412 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_HRPADBR_ACTION has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_HRPADBR_INFOTYPE | Interface for classes that encapsulate the infotype | 20120604 |
Friends
Class CL_HRPADBR_ACTION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_HRPADBR_EMPLOYEE | Class to encapsulate an employee (pernr) | 20120604 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | P0000 | HR master record infotype 0000 (personnel actions) | 20120604 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | T7BRT0 | Legal rights associated with employee situation | 20120604 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | T7BRSA | Movement code for FGTS withdrawal | 20120604 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | T7BRSB | Exclusion of movement code for FGTS withdrawal | 20120604 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | MGTXT | Denomination of reason for personnel action | 20120604 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20120604 | |
| 2 | Instance method | Public | Method | Returns the absence reason code (T7BRT0) | 20120727 | |
| 3 | Instance method | Public | Method | Returns the absence reason text (T7BRT0) | 20120727 | |
| 4 | Instance method | Public | Method | Returns the FGTS movement code (T7BRSA/T7BRSB) | 20120604 | |
| 5 | Instance method | Public | Method | Reads the legal rights of personnel action (table T7BRT0) | 20120604 | |
| 6 | Instance method | Public | Method | Reads the personnel action reason (table T530T) | 20120604 | |
| 7 | Instance method | Protected | Method | Reads table T7BRSA | 20120604 | |
| 8 | Instance method | Protected | Method | Reads table T7BRSB | 20120604 |
Events
Class CL_HRPADBR_ACTION has no event.
Types
Class CL_HRPADBR_ACTION has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EMPLOYEE | Call by reference | Object reference (TYPE REF TO) | CL_HRPADBR_EMPLOYEE | Class to encapsulate an employee (pernr) | 20120604 | |||
| 2 | IS_INFOTYPE | Call by reference | Type reference (TYPE) | PRELP | HR master data buffer | 20120604 |
Method CONSTRUCTOR on class CL_HRPADBR_ACTION has no exception.
Method GET_DISMISSAL_REASON_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_RSNHN | Value transfer | Type reference (TYPE) | PBR_HMN_FIRE_REASON | Reason for absence | 20120727 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception generated when a record is not found in a table | 20120727 |
Method GET_DISMISSAL_REASON_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_TEXT | Value transfer | Type reference (TYPE) | VAL_TEXT | Short text for fixed values | 20120727 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception generated when a record is not found in a table | 20120727 |
Method GET_FGTS_MOVEMENT_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_SFGTS | Value transfer | Type reference (TYPE) | HRPAYBR_SAQUE_FGTS | Movement code for FGTS withdrawal | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception generated when a record is not found in a table | 20120604 |
Method GET_LEGAL_RIGHTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_LEGAL_RIGHTS | Value transfer | Type reference (TYPE) | T7BRT0 | Legal rights associated with employee situation | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception generated when a record is not found in a table | 20120604 |
Method GET_REASON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_REASON | Value transfer | Type reference (TYPE) | MGTXT | Denomination of reason for personnel action | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception generated when a record is not found in a table | 20120604 |
Method READ_T7BRSA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SAQUE | Call by reference | Type reference (TYPE) | PBR_SAQUE | Reference code for FGTS withdrawal | 20120604 | |||
| 2 | RS_T7BRSA | Value transfer | Type reference (TYPE) | T7BRSA | Movement code for FGTS withdrawal | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception generated when a record is not found in a table | 20120604 |
Method READ_T7BRSB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SAQUE | Call by reference | Type reference (TYPE) | PBR_SAQUE | Reference code for FGTS withdrawal | 20120604 | |||
| 2 | RS_T7BRSB | Value transfer | Type reference (TYPE) | T7BRSB | Exclusion of movement code for FGTS withdrawal | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception generated when a record is not found in a table | 20120604 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |