TAX_HEADER_DETAIL SAP (Detail header information external tax document) Structure details

Dictionary Type: Structure
Description: Detail header information external tax document




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




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

TAX_HEADER_DETAIL 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 "Detail header information external tax document" 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_TAX_HEADER_DETAIL TYPE TAX_HEADER_DETAIL.

The TAX_HEADER_DETAIL table consists of various fields, each holding specific information or linking keys about Detail header information external tax document data available in SAP. These include REF_DOC_KEY (), 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP TAX_HEADER_DETAIL 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
DOCNRExternal-tax document number XTAX_DOCUMENT_NUMBERCHAR12CHAR12
REF_DOC_KEY 0
AWTYPReference Transaction AWTYPCHAR5AWTYP
AWREFReference Document Number AWREFCHAR10ALPHAAWREF
AWORGReference Organizational Units AWORGCHAR10AWORG
AWSYSLogical system of source document AWSYSCHAR10ALPHALOGSYS
DOCSTATUS_INFO 0
DOCSTATUSCurrent status of the external tax document ETXDC_STATUS_CURCHAR10ETXDC_STATUS
DOCSTATUSCHANGEDLast date that the status of the document changed ETXDC_STATUS_CHANGEDDATS8DATE
UPDATE_INFO 0
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
HEADER_INFO 0
SYST_NAMELogical system using tax interface TAX_LOGSYSCHAR10ALPHALOGSYS
CLIENTClient using tax interface TAX_CLIENTCLNT3MANDT
COMP_CODECompany code using tax interface TAX_COMP_CODECHAR4BUKRSBUKH_T001
DOC_NUMBERTax document number TAX_DOC_NUMBERCHAR12CHAR12
CURRENCYDocument currency when calculating taxes TAX_CURRENCYCUKY5WAERS
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_GLCURRENCYCUKY5WAERS
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_TXPCHAR1XEXTN
INTERF_VERSIONTax interface version TAX_INT_VERSIONCHAR10TAX_INT_VERSION
TAX_PROCEDUREProcedure (Pricing, Output Control, Acct. Det., Costing,...) KALSM_DCHAR6KALSM

Key field Non-key field



How do I retrieve data from SAP structure TAX_HEADER_DETAIL using ABAP code?

As TAX_HEADER_DETAIL 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 TAX_HEADER_DETAIL as there is no data to select.

How to access SAP table TAX_HEADER_DETAIL

Within an ECC or HANA version of SAP you can also view further information about TAX_HEADER_DETAIL 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!