TXW_FI_HD SAP (FI Document header) Structure details

Dictionary Type: Structure
Description: FI Document header




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




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

TXW_FI_HD 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 "FI Document header" 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_TXW_FI_HD TYPE TXW_FI_HD.

The TXW_FI_HD table consists of various fields, each holding specific information or linking keys about FI Document header data available in SAP. These include BUKRS (Company Code), BELNR (Accounting Document Number), GJAHR (Fiscal Year), MONAT (Fiscal Period).. 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 TXW_FI_HD 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
MANDTClient MANDTCLNT3T000MANDT
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
MONATFiscal Period MONATNUMC2MONAT
BLARTDocument Type BLARTCHAR2T003BLARTBAR
BUDATPosting Date in the Document BUDATDATS8DATUM
BLDATDocument Date in Document BLDATDATS8DATUM
BVORGNumber of Cross-Company Code Posting Transaction BVORGCHAR16BVORG
WWERTTranslation Date WWERT_DDATS8DATUM
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
BKTXTDocument Header Text BKTXTCHAR25TEXT25
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
KURSFExchange rate TXW_KURSFCHAR12CHAR12
GLVORBusiness Transaction GLVORCHAR4CHAR4
HWAE2Currency Key of Second Local Currency HWAE2CUKY5Assigned to domainWAERS
HWAE3Currency Key of Third Local Currency HWAE3CUKY5Assigned to domainWAERS
DBBLGRecurring Entry Document Number DBBLGCHAR10ALPHABELNR
DOKIDDocument Name in the Archive System DOKID_BKPFCHAR40CHAR40
HWAERLocal Currency HWAERCUKY5Assigned to domainWAERS
KZWRSCurrency Key for the Group Currency KZWRSCUKY5Assigned to domainWAERS
KZKRSGroup currency exchange rate TXW_KZKRSCHAR12CHAR12
STBLGReverse Document Number STBLGCHAR10ALPHABELNR
STJAHReverse document fiscal year STJAHNUMC4GJAHRGJAHR
USNAMUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
XRUEBIndicator: Document is posted to a previous period XRUEBCHAR1XFELD
AWORGReference Organizational Units AWORGCHAR10AWORG
AWREFReference Document Number AWREFCHAR10ALPHAAWREF
AWSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
AWTYPReference Transaction AWTYPCHAR5Assigned to domainAWTYP
AWKEYReference Key AWKEYCHAR20AWKEY
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
TCODETransaction Code TCODECHAR20Assigned to domainTCODETCD
RLDNRLedger in General Ledger Accounting FAGL_RLDNRCHAR2Assigned to domainALPHARLDNRGLN_FLEXFAGL_RLDNR
LDGRPLedger Group FAGL_LDGRPCHAR4Assigned to domainFAGL_LDGRPGLDGRP_FLEX
BSTATDocument Status BSTAT_DCHAR1BSTAT
LEDGERLedger in General Ledger Accounting FAGL_RLDNRCHAR2Assigned to domainALPHARLDNRGLN_FLEXFAGL_RLDNR
VATDATETax Reporting Date VATDATEDATS8DATUM
XMWSTCalculate tax automatically XMWSTCHAR1XFELDXTX

Key field Non-key field



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

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

How to access SAP table TXW_FI_HD

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