SAP ABAP Class CL_HRPAYBR_BRANCH (Class for branch)
Hierarchy
☛
SAP_HRCBR (Software Component) Sub component SAP_HRCBR of SAP_HR
⤷
PY-BR (Application Component) Brazil
⤷
PC37 (Package) HR settlement: Brazil
⤷
⤷
Properties
| Class | CL_HRPAYBR_BRANCH | |
| Short Description | Class for branch | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PC37 | HR settlement: Brazil |
| Created | 20120210 | 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_HRPAYBR_BRANCH has no interface implemented.
Friends
Class CL_HRPAYBR_BRANCH has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | ADDR1_VAL | Return structure for address | 20120604 | |||
| 2 | Static Attribute | Protected | Type reference (TYPE) | PBRGO_T_BRANCH | Table with branches already read | 20120604 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | BEGDA | Valid from date | 20120604 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | J_1BBRANC_ | Business place | 20120604 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | BTRTL | Personnel subarea | 20120604 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | PBR_CEI | SRS Specific Register of Social Insurance Body | 20120604 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | PBR_ECONI | Economic activity | 20120604 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | J_1BCGC | Code CGC | 20120604 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | PBR_NUM_CNPJ | Registration number in the CNPJ | 20120604 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | PBR_OBRA | Construction site code | 20120604 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | BUKRS | Company code | 20120604 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | CHAR0241 | Character 241 | 20120604 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | ENDDA | Valid to date | 20120604 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | PBR_GCAGE | GREU guide | 20120604 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | NAME1 | Name | 20120604 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | PBR_CNAME | Name of construction site | 20120604 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Generates log? | 20120604 | |||
| 18 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Cache control | 20120604 | |||
| 19 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Cache control | 20120604 | |||
| 20 | Instance attribute | Protected | Type reference (TYPE) | PERSA | Personnel area | 20120604 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Constructor | CONSTRUCTOR | 20120604 | |
| 2 | Instance method | Public | Method | Returns the branch city - address | 20120604 | |
| 3 | Instance method | Public | Method | Returns the branch district - address | 20120604 | |
| 4 | Instance method | Public | Method | Returns the branch building floor - address supplement | 20120604 | |
| 5 | Instance method | Public | Method | Returns the branch number - address | 20120604 | |
| 6 | Instance method | Public | Method | Returns address, apartment or room no. - address supplement | 20120604 | |
| 7 | Instance method | Public | Method | Returns the branch state - address | 20120604 | |
| 8 | Instance method | Public | Method | Returns the branch street - address | 20120604 | |
| 9 | Instance method | Public | Method | Returns the branch ZIP code - address | 20120604 | |
| 10 | Instance method | Public | Method | Returns personnel subarea | 20120604 | |
| 11 | Instance method | Public | Method | Returns the branch SRS | 20120604 | |
| 12 | Instance method | Public | Method | Returns the branch CNAE | 20120604 | |
| 13 | Instance method | Public | Method | Returns the CGC branch | 20120604 | |
| 14 | Instance method | Public | Method | Returns the site CNPJ | 20120604 | |
| 15 | Instance method | Public | Method | Returns the e-mail | 20120604 | |
| 16 | Instance method | Public | Method | Returns the branch GREU guide | 20120604 | |
| 17 | Static method | Public | Method | Returns the branch instance | 20120604 | |
| 18 | Instance method | Public | Method | Returns the branch name | 20120604 | |
| 19 | Instance method | Public | Method | Returns the construction site name | 20120604 | |
| 20 | Instance method | Public | Method | Returns personnel area | 20120604 | |
| 21 | Instance method | Protected | Method | Returns the branch CNAE code | 20120604 | |
| 22 | Instance method | Protected | Method | DB reading class attribute maintenance | 20120604 | |
| 23 | Instance method | Protected | Method | Returns the branch detailed information | 20120604 | |
| 24 | Instance method | Protected | Method | Returns the branch identification fields | 20120604 |
Events
Class CL_HRPAYBR_BRANCH has no event.
Types
Class CL_HRPAYBR_BRANCH has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | 20120604 | ||||
| 2 | IV_BTRTL | Call by reference | Type reference (TYPE) | BTRTL | 20120604 | ||||
| 3 | IV_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | 20120604 | ||||
| 4 | IV_PROT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120604 | ||||
| 5 | IV_WERKS | Call by reference | Type reference (TYPE) | PERSA | 20120604 |
Method CONSTRUCTOR on class CL_HRPAYBR_BRANCH has no exception.
Method GET_ADDRESS_CITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ADDR_CITY | Value transfer | Type reference (TYPE) | AD_CITY1 | Local | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_ADDRESS_DISTRICT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ADDR_DISTRICT | Value transfer | Type reference (TYPE) | AD_CITY2 | District | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_ADDRESS_FLOOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ADDR_FLOOR | Value transfer | Type reference (TYPE) | AD_FLOOR | Building floor | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_ADDRESS_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ADDR_NUMBER | Value transfer | Type reference (TYPE) | AD_HSNM1 | No. | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_ADDRESS_ROOMNUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ADDR_ROOMNUMBER | Value transfer | Type reference (TYPE) | AD_ROOMNUM | Address, apartment or room number | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_ADDRESS_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ADDR_STATE | Value transfer | Type reference (TYPE) | REGIO | Region (country, state, province, county) | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_ADDRESS_STREET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ADDR_STREET | Value transfer | Type reference (TYPE) | AD_STREET | Street | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_ADDRESS_ZIP_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ADDR_ZIP_CODE | Value transfer | Type reference (TYPE) | POST_CODE | Postal code | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_BTRTL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_BTRTL | Value transfer | Type reference (TYPE) | BTRTL | Personnel subarea | 20120604 |
Method GET_BTRTL on class CL_HRPAYBR_BRANCH has no exception.
Method GET_CEI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_CEI | Value transfer | Type reference (TYPE) | PBR_CEI | SRS Specific Register of Social Insurance Body | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_CNAE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_CNAE | Value transfer | Type reference (TYPE) | PBR_ECONI | Economic activity | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for branch | 20120604 | ||
| 2 | Exception generated when a record is not found in a table | 20120604 |
Method GET_CNPJ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_CNPJ | Value transfer | Type reference (TYPE) | J_1BCGC | Code CGC | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for branch | 20120604 |
Method GET_CNPJ_OBRA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_CNPJ_OBRA | Value transfer | Type reference (TYPE) | PBR_NUM_CNPJ | Registration number in the CNPJ | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_EMAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_EMAIL | Value transfer | Type reference (TYPE) | CHAR0241 | Character 241 | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_GUIA_CAGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_GUIA_CAGED | Value transfer | Type reference (TYPE) | PBR_GCAGE | GREU guide | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Valid from date | 20120604 | |||
| 2 | IV_BTRTL | Call by reference | Type reference (TYPE) | BTRTL | Personnel subarea | 20120604 | |||
| 3 | IV_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | Valid to date | 20120604 | |||
| 4 | IV_PROT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120604 | |||
| 5 | IV_WERKS | Call by reference | Type reference (TYPE) | PERSA | Personnel area | 20120604 | |||
| 6 | RO_BRANCH | Value transfer | Object reference (TYPE REF TO) | CL_HRPAYBR_BRANCH | Class for branch | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for branch | 20120604 |
Method GET_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_NAME | Value transfer | Type reference (TYPE) | NAME1 | Name | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_NAME_OBRA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_NAME_OBRA | Value transfer | Type reference (TYPE) | PBR_CNAME | Name of construction site | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120604 |
Method GET_WERKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_WERKS | Value transfer | Type reference (TYPE) | PERSA | Personnel area | 20120604 |
Method GET_WERKS on class CL_HRPAYBR_BRANCH has no exception.
Method READ_BRANCH_CNAE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CNAE | Call by reference | Type reference (TYPE) | PBR_ECONI | Economic activity | 20120604 | |||
| 2 | IV_BRANCH | Call by reference | Type reference (TYPE) | J_1BBRANC_ | Business place | 20120604 | |||
| 3 | IV_COMPANY_CODE | Call by reference | Type reference (TYPE) | BUKRS | Company code | 20120604 | |||
| 4 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Type field DATS | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for branch | 20120604 | ||
| 2 | Exception generated when a record is not found in a table | 20120604 |
Method READ_BRANCH_DATA Signature
Method READ_BRANCH_DATA on class CL_HRPAYBR_BRANCH has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for branch | 20120604 |
Method READ_BRANCH_DETAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_COMP_ADDR | Call by reference | Type reference (TYPE) | ADDR1_VAL | Return structure for address | 20120604 | |||
| 2 | EV_CEI | Call by reference | Type reference (TYPE) | PBR_CEI | SRS Specific Register of Social Insurance Body | 20120604 | |||
| 3 | EV_CNPJ | Call by reference | Type reference (TYPE) | J_1BCGC | Code CGC | 20120604 | |||
| 4 | EV_CNPJ_OBRA | Call by reference | Type reference (TYPE) | PBR_NUM_CNPJ | Registration number in the CNPJ | 20120604 | |||
| 5 | EV_COMP_NAME | Call by reference | Type reference (TYPE) | NAME1 | Name | 20120604 | |||
| 6 | EV_EMAIL | Call by reference | Type reference (TYPE) | CHAR0241 | Character 241 | 20120604 | |||
| 7 | EV_GCAGE | Call by reference | Type reference (TYPE) | PBR_GCAGE | GREU guide | 20120604 | |||
| 8 | EV_NAME_OBRA | Call by reference | Type reference (TYPE) | PBR_CNAME | Name of construction site | 20120604 | |||
| 9 | IV_BRANCH | Call by reference | Type reference (TYPE) | J_1BBRANC_ | Business place | 20120604 | |||
| 10 | IV_COMPANY_CODE | Call by reference | Type reference (TYPE) | BUKRS | Company code | 20120604 | |||
| 11 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Type field DATS | 20120604 | |||
| 12 | IV_OBRA | Call by reference | Type reference (TYPE) | PBR_OBRA | Construction site code | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for branch | 20120604 |
Method READ_BRANCH_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_BRANCH | Call by reference | Type reference (TYPE) | J_1BBRANC_ | Business place | 20120604 | |||
| 2 | EV_COMPANY_CODE | Call by reference | Type reference (TYPE) | BUKRS | Company code | 20120604 | |||
| 3 | EV_OBRA | Call by reference | Type reference (TYPE) | PBR_OBRA | Construction site code | 20120604 | |||
| 4 | IV_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | '19000101' | Valid from date | 20120604 | ||
| 5 | IV_BTRTL | Call by reference | Type reference (TYPE) | BTRTL | Personnel subarea | 20120604 | |||
| 6 | IV_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | Valid to date | 20120604 | ||
| 7 | IV_PROT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120604 | |||
| 8 | IV_WERKS | Call by reference | Type reference (TYPE) | PERSA | Personnel area | 20120604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for branch | 20120604 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |