ETXDCH SAP (External tax document: header info) Table details

Dictionary Type: Table
Description: External tax document: header info




ABAP Code to SELECT data from ETXDCH
Related tables to ETXDCH
Access table ETXDCH




Table field list including key, data, relationships and ABAP select examples

ETXDCH is a standard SAP Table which is used to store External tax document: header info data and is available within R/3 SAP systems depending on the version and release level.

The ETXDCH table consists of various fields, each holding specific information or linking keys about External tax document: header info data available in SAP. These include DOCNR (External-tax document number), AWTYP (Reference Transaction), AWREF (Reference Document Number), AWORG (Reference Organizational Units).. 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP ETXDCH table 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
DOCNRExternal-tax document number XTAX_DOCUMENT_NUMBERCHAR12CHAR12
AWTYPReference Transaction AWTYPCHAR5Assigned to domainAWTYP
AWREFReference Document Number AWREFCHAR10ALPHAAWREF
AWORGReference Organizational Units AWORGCHAR10AWORG
AWSYSLogical system of source document AWSYSCHAR10Assigned to domainALPHALOGSYS
DOCSTATUSCurrent status of the external tax document ETXDC_STATUS_CURCHAR10ETXDC_STATUS
DOCSTATUSCHANGEDLast date that the status of the document changed ETXDC_STATUS_CHANGEDDATS8DATE
CREATEDONDate on which the the external tax document was created TAX_CREATEDONDATS8DATUM
CREATEDBYName of person who created the external tax document TAX_CREATEDBYCHAR12USNAM
TIDTransaction ID for updating external tax system TAX_TIDCHAR24CHAR24
GLTAXG/L tax data transferred to external tax document? TAX_GLTAX_ADDEDCHAR1CHAR1
TXDEFDefaulted tax amounts TAX_DEFAULTEDCHAR1CHAR1
DEFAULT_REASONTax Default Reason TAX_DEFAULT_REASONCHAR1TAX_DEFAULTED
INCONInternal consistency check with tax data in G/L failed TAX_INCONS_INTCHAR1CHAR1
EXCONExternal consistency check with tax data recalculated failed TAX_INCONS_EXTCHAR1CHAR1
UFLAGAudit file update indicator (external interface) UPDATE_FLGCHAR1CHAR1
UDATEAudit file update date (external interface) UPDATE_DATDATS8DATUM
USNAMuser who updated external tax document into external system UPDATE_USERCHAR12UNAME
SYST_NAMELogical system using tax interface TAX_LOGSYSCHAR10Assigned to domainALPHALOGSYS
CLIENTClient using tax interface TAX_CLIENTCLNT3Assigned to domainMANDT
COMP_CODECompany code using tax interface TAX_COMP_CODECHAR4Assigned to domainBUKRSBUKH_T001
DOC_NUMBERTax document number TAX_DOC_NUMBERCHAR12CHAR12
CURRENCYDocument currency when calculating taxes TAX_CURRENCYCUKY5Assigned to domainWAERS
CURR_DECNumber of decimal places for currency (characters) CURDECCHARCHAR3CHAR3
TXJCD_L1Length of the Nth Part of the Tax Jurisdiction Code LENGX_TXDNUMC2NUM02
TXJCD_L2Length of the Nth Part of the Tax Jurisdiction Code LENGX_TXDNUMC2NUM02
TXJCD_L3Length of the Nth Part of the Tax Jurisdiction Code LENGX_TXDNUMC2NUM02
TXJCD_L4Length of the Nth Part of the Tax Jurisdiction Code LENGX_TXDNUMC2NUM02
TAX_PER_ITEMTax per Item flag: Tax calculation is done by line item TAX_PER_ITEMCHAR1CHAR1
NR_LINE_ITEMSNumber of lines in external tax document TAX_NR_LINESNUMC6NUM06
GL_CURRENCYCurrency of the taxes stored in G/L (local currency) TAX_GLCURRENCYCUKY5Assigned to domainWAERS
GL_CURR_DECNumber of decimal places for local (G/L) currency GL_CURDECCHARCHAR3CHAR3
REP_DATEPosting date (internal format) EXTREPDATEDATS8DATUM
RATEDECNumber of decimals used in the rate (%) TAX_RATEDECCHARCHAR1CHAR1
XEXTNIndicator: External tax calculation XEXTN_TXPCHAR1Assigned to domainXEXTN
INTERF_VERSIONTax interface version TAX_INT_VERSIONCHAR10TAX_INT_VERSION
TAX_PROCEDUREProcedure (Pricing, Output Control, Acct. Det., Costing,...) KALSM_DCHAR6Assigned to domainKALSM

Key field Non-key field



How do I retrieve data from SAP table ETXDCH using ABAP code

The following ABAP code Example will allow you to do a basic selection on ETXDCH to SELECT all data from the table
DATA: WA_ETXDCH TYPE ETXDCH.

SELECT SINGLE *
FROM ETXDCH
INTO CORRESPONDING FIELDS OF WA_ETXDCH
WHERE...

How to access SAP table ETXDCH

Within an ECC or HANA version of SAP you can also view further information about ETXDCH and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!