READ_TAB_WHT_CALCULATION SAP Method WHT: Returns an Entry for WHT Calculation Table
Below is documentation, parameters and attributes of ABAP Method READ_TAB_WHT_CALCULATION within SAP class IF_HRPAYCH_PYF_CUST_HANDLER. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_HRPAYCH_PYF_CUST_HANDLER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method READ_TAB_WHT_CALCULATION can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ_TAB_WHT_CALCULATION
.Name | Type | Data Type | Description | Default Value |
IV_CANTO | Importing | TYPE P02_CQKAN | Tax canton | |
IV_ENDDA | Importing | TYPE ENDDA | End of Validity Period | |
IV_QSTPF | Importing | TYPE P02_QSTPF | Withholding Tax Liability | |
IV_STVER | Importing | TYPE P02_CQTAV | WhT tax table version | |
RS_TAX_CALCULATION | Returning | TYPE T5C2D | Withholding Tax Bases |
Exceptions of Method READ_TAB_WHT_CALCULATION
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_HRPAYCH_PYF_CUST_HANDLER.
DATA: lv_IV_CANTO TYPE P02_CQKAN,
lv_IV_ENDDA TYPE ENDDA,
lv_IV_QSTPF TYPE P02_QSTPF,
lv_IV_STVER TYPE P02_CQTAV,
lv_RS_TAX_CALCULATION TYPE T5C2D,
lv_other TYPE c.
CALL METHOD lo_class=>READ_TAB_WHT_CALCULATION(
EXPORTING
IV_CANTO = lv_IV_CANTO
IV_ENDDA = lv_IV_ENDDA
IV_QSTPF = lv_IV_QSTPF
IV_STVER = lv_IV_STVER
RECEIVING
RS_TAX_CALCULATION = lv_RS_TAX_CALCULATION )
"Alternate coding for Method Call with returning parameter
lv_RS_TAX_CALCULATION = lo_class=>READ_TAB_WHT_CALCULATION(
EXPORTING
IV_CANTO = lv_IV_CANTO
IV_ENDDA = lv_IV_ENDDA
IV_QSTPF = lv_IV_QSTPF
IV_STVER = lv_IV_STVER ).
Links to Related Class(s)
IF_HRPAY...Full list of available SAP object classes
Search for further information about these or an SAP related objects