SAP ABAP Class CL_HRPADBR_DOCUMENT_VALIDATOR (Class for validation of documents of Brazilian employees)
Hierarchy
☛
SAP_HRCBR (Software Component) Sub component SAP_HRCBR of SAP_HR
⤷
PA-PA-BR (Application Component) Brazil
⤷
PB37 (Package) HR master data: Brazil
⤷
⤷
Properties
| Class | CL_HRPADBR_DOCUMENT_VALIDATOR | |
| Short Description | Class for validation of documents of Brazilian employees | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PB37 | HR master data: Brazil |
| Created | 20120404 | 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_HRPADBR_DOCUMENT_VALIDATOR has no interface implemented.
Friends
Class CL_HRPADBR_DOCUMENT_VALIDATOR has no friend class.
Attributes
Class CL_HRPADBR_DOCUMENT_VALIDATOR has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Checks validity of definitive HNC number | 20120405 | |
| 2 | Instance method | Public | Method | Checks validity of Live Birth Certificate number | 20120430 | |
| 3 | Instance method | Public | Method | Checks validity of Health National Card number | 20120430 | |
| 4 | Instance method | Private | Method | Checks validity of provisional HNC number | 20120405 |
Events
Class CL_HRPADBR_DOCUMENT_VALIDATOR has no event.
Types
Class CL_HRPADBR_DOCUMENT_VALIDATOR has no local type.
Method Signatures
Method IS_DEFINITIVE_NHC_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NHC | Call by reference | Type reference (TYPE) | CHAR15 | Field of length 15 | 20120405 | |||
| 2 | RV_VALIDITY | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120405 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System exception while converting into a number | 20120529 |
Method IS_LIVE_BIRTH_NR_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LBC | Call by reference | Type reference (TYPE) | CHAR15 | Character 15 | 20120430 | |||
| 2 | RV_VALIDITY | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120430 |
Method IS_LIVE_BIRTH_NR_VALID on class CL_HRPADBR_DOCUMENT_VALIDATOR has no exception.
Method IS_NATL_HEALTH_NR_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NHC | Call by reference | Type reference (TYPE) | CHAR15 | Field of length 16 | 20120430 | |||
| 2 | RV_VALIDITY | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120430 |
Method IS_NATL_HEALTH_NR_VALID on class CL_HRPADBR_DOCUMENT_VALIDATOR has no exception.
Method IS_PROVISORY_NHC_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NHC | Call by reference | Type reference (TYPE) | CHAR15 | Character 15 | 20120405 | |||
| 2 | RV_VALIDITY | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120405 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System exception while converting into a number | 20120529 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |