CHECK_TAX_DATA SAP Method Country-specific check of tax data
Below is documentation, parameters and attributes of ABAP Method CHECK_TAX_DATA within SAP class SRV_TAXES_COUNTRY. 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 SRV_TAXES_COUNTRY 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 CHECK_TAX_DATA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_TAX_DATA
.| Name | Type | Data Type | Description | Default Value |
| IS_COMSRV | Importing | TYPE COMSRV | Interface: MM External Services Management | |
| IS_EKKO | Importing | TYPE EKKO | Purchasing Document Header | |
| IS_EKPO | Importing | TYPE EKPO | Purchasing Document Item | |
| IS_ESLL | Importing | TYPE ESLL | Lines of Service Package | |
| IV_KALSM | Importing | TYPE KALSM_D | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | |
| P_CHECK_FIELD | Importing | TYPE CHAR30 | 30 Characters |
Exceptions of Method CHECK_TAX_DATA
INVALID_TAX_CODE - Tax code is not valid for servicesExample ABAP coding
DATA: lo_class TYPE REF TO SRV_TAXES_COUNTRY.
DATA: lv_IS_COMSRV TYPE COMSRV,
lv_IS_EKKO TYPE EKKO,
lv_IS_EKPO TYPE EKPO,
lv_IS_ESLL TYPE ESLL,
lv_IV_KALSM TYPE KALSM_D,
lv_P_CHECK_FIELD TYPE CHAR30,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK_TAX_DATA(
EXPORTING
IS_COMSRV = lv_IS_COMSRV
IS_EKKO = lv_IS_EKKO
IS_EKPO = lv_IS_EKPO
IS_ESLL = lv_IS_ESLL
IV_KALSM = lv_IV_KALSM
P_CHECK_FIELD = lv_P_CHECK_FIELD ).
Links to Related Class(s)
SRV_TAXE...Full list of available SAP object classes
Search for further information about these or an SAP related objects