TTX_TAXES SAP (Tax calculation (external tax interface)) Structure details
Description: Tax calculation (external tax interface)
Structure field list including key, data, relationships and ABAP select examples
TTX_TAXES is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Tax calculation (external tax interface)" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_TTX_TAXES TYPE TTX_TAXES.
The TTX_TAXES table consists of various fields, each holding specific information or linking keys about Tax calculation (external tax interface) data available in SAP. These include ID_TAX_EXT (Indicator: External tax calculation), TXJCD_ST (Jurisdiction code 'Ship-to'), TXJCD_SF (Jurisdiction code 'Ship-from'), TXJCD_SO (Tax jurisdiction code (sales organization (curr. not used))).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP TTX_TAXES structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
PROCEDURE | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | KALSM_D | CHAR | 6 | Assigned to domain | KALSM | |||
ID_TAX_EXT | Indicator: External tax calculation | XEXTN_TXP | CHAR | 1 | Assigned to domain | XEXTN | |||
TXJCD_ST | Jurisdiction code 'Ship-to' | TXJCD_ST | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
TXJCD_SF | Jurisdiction code 'Ship-from' | TXJCD_SF | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
TXJCD_SO | Tax jurisdiction code (sales organization (curr. not used)) | TXJCD_SO | CHAR | 15 | Assigned to domain | TXJCD | |||
PLANT | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
DATUM | Date | DATUM | DATS | 8 | DATUM | ||||
QUANTITY | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
UNIT | Sales unit | VRKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
AMOUNT | Condition base value | KAWRT | CURR | 15(2) | WERTV8 | ||||
FREIGHT | Condition base value | KAWRT | CURR | 15(2) | WERTV8 | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
TAXPCT1 | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
TAXAMT1 | Condition value | KWERT | CURR | 13(2) | WERTV7 | ||||
TAXPCT2 | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
TAXAMT2 | Condition value | KWERT | CURR | 13(2) | WERTV7 | ||||
TAXPCT3 | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
TAXAMT3 | Condition value | KWERT | CURR | 13(2) | WERTV7 | ||||
TAXPCT4 | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
TAXAMT4 | Condition value | KWERT | CURR | 13(2) | WERTV7 | ||||
TAXPCT5 | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
TAXAMT5 | Condition value | KWERT | CURR | 13(2) | WERTV7 | ||||
TAXPCT6 | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
TAXAMT6 | Condition value | KWERT | CURR | 13(2) | WERTV7 | ||||
CREDITIND | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
DOC_NUMBER | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
PROD_CODE | SAP internal product code (external interface) | PROCD_TTXP | CHAR | 10 | CHAR10 |
Key field | Non-key field |
How do I retrieve data from SAP structure TTX_TAXES using ABAP code?
As TTX_TAXES is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on TTX_TAXES as there is no data to select.How to access SAP table TTX_TAXES
Within an ECC or HANA version of SAP you can also view further information about TTX_TAXES and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects