SAP ABAP Class CL_HRPAYUS_COURTESY_WH_SWITCH (CL_HRPAYUS_COURTESY_WH_SWITCH)
Hierarchy
☛
SAP_HRCUS (Software Component) Sub component SAP_HRCUS of SAP_HR
⤷
PY-US (Application Component) USA
⤷
PC10 (Package) HR accounting: USA

⤷

⤷

Properties
Class | CL_HRPAYUS_COURTESY_WH_SWITCH | |
Short Description | ||
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | PC10 | HR accounting: USA |
Created | 20120629 | 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_HRPAYUS_COURTESY_WH_SWITCH has no interface implemented.
Friends
Class CL_HRPAYUS_COURTESY_WH_SWITCH has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Private | Type reference (TYPE) | P_99B_HRATTRIBUTE | 'AT_COURTESY_WH' | HR Attribute | 20120705 | |
2 | ![]() |
Instance attribute | Private | Type reference (TYPE) | P_99B_HRATTRIBUTE | 'CL_STATE' | HR Attribute | 20120705 | |
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | MOLGA | '10' | Country Grouping | 20120705 | |
4 | ![]() |
Static Attribute | Protected | Object reference (TYPE REF TO) | CL_HRPAYUS_COURTESY_WH_SWITCH | Courtesy Withholding Switch | 20120705 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Constructor | Constructor | 20120705 |
2 | ![]() |
Static method | Public | Method | Get Instance of CL_HRPAYUS_COURTESY_WH_SWITCH | 20120705 |
3 | ![]() |
Instance method | Public | Method | Verify if courtesy withholding is active for the given state | 20120705 |
4 | ![]() |
Instance method | Public | Method | Read State from Residence Tax Area (T5UTA) | 20120705 |
5 | ![]() |
Instance method | Public | Method | Read State from Tax Authority (T5UTZ) | 20120705 |
Events
Class CL_HRPAYUS_COURTESY_WH_SWITCH has no event.
Types
Class CL_HRPAYUS_COURTESY_WH_SWITCH has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_HRPAYUS_COURTESY_WH_SWITCH has no parameter.
Method CONSTRUCTOR on class CL_HRPAYUS_COURTESY_WH_SWITCH has no exception.
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_HRPAYUS_COURTESY_WH_SWITCH | Courtesy Withholding Switch | 20120705 |
Method GET_INSTANCE on class CL_HRPAYUS_COURTESY_WH_SWITCH has no exception.
Method IS_COURTESY_WH_ENABLED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | DATUM | Date | 20120705 | ||
2 | ![]() |
IV_STATE | Call by reference | Type reference (TYPE) | REGIO | Region (State, Province, County) | 20120705 | ||
3 | ![]() |
RV_IS_ENABLED | Value transfer | Type reference (TYPE) | ABAP_BOOL | Courtesy Wihholding is enabled for state | 20120705 |
Method IS_COURTESY_WH_ENABLED on class CL_HRPAYUS_COURTESY_WH_SWITCH has no exception.
Method READ_STATE_FROM_RES_TAXAR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | DATUM | Date | 20120705 | ||
2 | ![]() |
IV_TAXAR | Call by reference | Type reference (TYPE) | RESAR | Residence tax area | 20120705 | ||
3 | ![]() |
RV_STATE | Value transfer | Type reference (TYPE) | REGIO | Region (State, Province, County) | 20120705 |
Method READ_STATE_FROM_RES_TAXAR on class CL_HRPAYUS_COURTESY_WH_SWITCH has no exception.
Method READ_STATE_FROM_TAXAU Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_TAXAU | Call by reference | Type reference (TYPE) | TAXAT | Tax authority | 20120705 | ||
2 | ![]() |
RV_STATE | Value transfer | Type reference (TYPE) | REGIO | Region (State, Province, County) | 20120705 |
Method READ_STATE_FROM_TAXAU on class CL_HRPAYUS_COURTESY_WH_SWITCH has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in |