FIN_UI_DOC_HEADER SAP (FI Document Header) Structure details

Dictionary Type: Structure
Description: FI Document Header




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




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

FIN_UI_DOC_HEADER 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_FIN_UI_DOC_HEADER TYPE FIN_UI_DOC_HEADER.

The FIN_UI_DOC_HEADER table consists of various fields, each holding specific information or linking keys about FI Document Header data available in SAP. These include DOC_STATE (Document Status for Accounting Document), BUKRS (Company Code), BELNR (Accounting Document Number), GJAHR (Fiscal Year).. 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 FIN_UI_DOC_HEADER 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
OBJECT_KEYObject Key CRMT_BSP_OBJECTKEYCHAR100
DOC_STATEDocument Status for Accounting Document FAGL_DOCUMENT_STATE_UICHAR1CHAR1
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
GJAHRFiscal Year FAGL_GJAHR_UICHAR4GJAHRFAGL_GJAHR_UIGJR
BLARTDocument Type BLARTCHAR2Assigned to domainBLARTBAR
BLDATDocument Date in Document BLDATDATS8DATUM
BUDATPosting Date in the Document BUDATDATS8DATUM
MONATFiscal Period FAGL_MONAT_UICHAR2FAGL_MONAT_UI
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
CPUTMTime of Entry CPUTMTIMS6UZEIT
AEDATDate of the Last Document Change by Transaction AEDAT_BKPFDATS8DATUM
UPDDTDate of the Last Document Update UPDDTDATS8DATUM
WWERTTranslation Date WWERT_DDATS8DATUM
USNAMUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
TCODETransaction Code TCODECHAR20Assigned to domainTCODETCD
BVORGNumber of Cross-Company Code Posting Transaction BVORGCHAR16BVORG
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
DBBLGRecurring Entry Document Number DBBLGCHAR10ALPHABELNR
STBLGReverse Document Number STBLGCHAR10ALPHABELNR
STJAHReverse document fiscal year STJAHNUMC4GJAHRGJAHR
BKTXTDocument Header Text BKTXTCHAR25TEXT25
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
KURSFExchange rate KURSFDEC9(5) EXCRTKURSF
KZWRSCurrency Key for the Group Currency KZWRSCUKY5Assigned to domainWAERS
KZKRSGroup Currency Exchange Rate KZKRSDEC9(5) KURSF
BSTATDocument Status BSTAT_DCHAR1BSTAT
XNETBIndicator: Document posted net ? XNETBCHAR1XFELD
FRATHUnplanned delivery costs FRATHCURR13(2) WERT7
XRUEBIndicator: Document is posted to a previous period XRUEBCHAR1XFELD
GLVORBusiness Transaction GLVORCHAR4CHAR4
GRPIDBatch Input Session Name GRPID_BKPFCHAR12CHAR12
DOKIDDocument Name in the Archive System DOKID_BKPFCHAR40CHAR40
ARCIDExtract ID Document Header EXTID_BKPFCHAR10CHAR10
IBLARInternal Document Type for Document Control IBLARCHAR2IBLAR
AWTYPReference Transaction AWTYPCHAR5Assigned to domainAWTYP
AWKEYReference Key AWKEYCHAR20AWKEY
FIKRSFinancial Management Area FIKRSCHAR4Assigned to domainFIKRSFIK
HWAERLocal Currency HWAERCUKY5Assigned to domainWAERS
HWAE2Currency Key of Second Local Currency HWAE2CUKY5Assigned to domainWAERS
HWAE3Currency Key of Third Local Currency HWAE3CUKY5Assigned to domainWAERS
KURS2Exchange Rate for the Second Local Currency KURS2DEC9(5) KURSF
KURS3Exchange Rate for the Third Local Currency KURS3DEC9(5) KURSF
BASW2Source Currency for Currency Translation CURSRCHAR1CURSR
BASW3Source Currency for Currency Translation CURSRCHAR1CURSR
UMRD2Translation Date Type for Second Local Currency UMRD2CHAR1CURDT
UMRD3Translation Date Type for Third Local Currency UMRD3CHAR1CURDT
XSTOVIndicator: Document is flagged for reversal XSTOVCHAR1XFELD
STODTPlanned Date for the Reverse Posting STODTDATS8DATUM
XMWSTCalculate tax automatically XMWSTCHAR1XFELDXTX
CURT2Currency Type of Second Local Currency CURT2CHAR2CURTP
CURT3Currency Type of Third Local Currency CURT3CHAR2CURTP
KUTY2Exchange Rate Type KURSTCHAR4Assigned to domainKURSTKUT
KUTY3Exchange Rate Type KURSTCHAR4Assigned to domainKURSTKUT
XSNETG/L account amounts entered exclude tax XSNETCHAR1XFELD
AUSBKSource Company Code AUSBKCHAR4Assigned to domainBUKRS
XUSVRIndicator: US taxes changed at detail level ? XUSVR_BKPFCHAR1XFELD
DUEFLStatus of Data Transfer into Subsequent Release DUEFL_BKPFCHAR1DUEFL_BKPF
AWSYSLogical System LOGSYSTEMCHAR10Assigned to domainALPHALOGSYS
TXKRSExchange Rate for Taxes TXKRS_BKPFDEC9(5) KURSF
LOTKZLot Number for Requests PSO_LOTKZCHAR10ALPHALOTKZLOT
XWVOFIndicator: Customer bill of exchange payment before due date XWVOFCHAR1XFELD
STGRDReason for Reversal STGRDCHAR2Assigned to domainSTGRDFSG
PPNAMName of User Who Parked this Document PPNAMCHAR12Assigned to domainXUBNAME
BRNCHBranch Number J_1ABRNCHCHAR4Assigned to domainJ_1BBRANCHJEA
NUMPGNumber of pages of invoice J_1ANOPGNUMC3J_1ANOPG
ADISCIndicator: entry represents a discount document J_1ADISCCHAR1ADISC
XREF1_HDReference Key 1 Internal for Document Header XREF1_HDCHAR20CHAR20
XREF2_HDReference Key 2 Internal for Document Header XREF2_HDCHAR20CHAR20
XREVERSALSpecifies whether doc. is reversal doc. or reversed doc. XREVERSALCHAR1XREVERSAL
REINDATInvoice Receipt Date REINDATDATS8DATUM
URLPrefix of a URL W3URLCHAR255W3_HTML
SUMSOLLTotal of Debit Postings to Be Displayed AZSOL_F05ACURR17(2) WERTV9
SUMHABENTotal of Credit Postings to be Displayed AZHAB_F05ACURR17(2) WERTV9

Key field Non-key field



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

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

How to access SAP table FIN_UI_DOC_HEADER

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