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
⤷ 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 | ABAP | 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 | MC_HR_ATTR_AT_COUWH | Instance attribute | Private | Type reference (TYPE) | P_99B_HRATTRIBUTE | 'AT_COURTESY_WH' | HR Attribute | 20120705 | |
2 | MC_HR_ATTR_CLASS_STATE | Instance attribute | Private | Type reference (TYPE) | P_99B_HRATTRIBUTE | 'CL_STATE' | HR Attribute | 20120705 | |
3 | MC_MOLGA | Instance attribute | Private | Type reference (TYPE) | MOLGA | '10' | Country Grouping | 20120705 | |
4 | MO_INSTANCE | 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 | CONSTRUCTOR | Instance method | Private | Constructor | Constructor | 20120705 |
2 | GET_INSTANCE | Static method | Public | Method | Get Instance of CL_HRPAYUS_COURTESY_WH_SWITCH | 20120705 |
3 | IS_COURTESY_WH_ENABLED | Instance method | Public | Method | Verify if courtesy withholding is active for the given state | 20120705 |
4 | READ_STATE_FROM_RES_TAXAR | Instance method | Public | Method | Read State from Residence Tax Area (T5UTA) | 20120705 |
5 | READ_STATE_FROM_TAXAU | 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 | Returning | 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 | Importing | IV_DATE | Call by reference | Type reference (TYPE) | DATUM | Date | 20120705 | ||
2 | Importing | IV_STATE | Call by reference | Type reference (TYPE) | REGIO | Region (State, Province, County) | 20120705 | ||
3 | Returning | 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 | Importing | IV_DATE | Call by reference | Type reference (TYPE) | DATUM | Date | 20120705 | ||
2 | Importing | IV_TAXAR | Call by reference | Type reference (TYPE) | RESAR | Residence tax area | 20120705 | ||
3 | Returning | 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 | Importing | IV_TAXAU | Call by reference | Type reference (TYPE) | TAXAT | Tax authority | 20120705 | ||
2 | Returning | 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 |