E3FIHDR SAP (FI IDoc: Document header) Structure details
Description: FI IDoc: Document header
Structure field list including key, data, relationships and ABAP select examples
E3FIHDR 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 IDoc: 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_E3FIHDR TYPE E3FIHDR.
The E3FIHDR table consists of various fields, each holding specific information or linking keys about FI IDoc: Document header data available in SAP. These include BELNR (Accounting Document Number), GJAHR (Fiscal Year), BLART (Document Type), BLDAT (Document Date in Document).. 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 E3FIHDR 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 |
BUKRS | Name of global company code | BUKRS_GLOB | CHAR | 6 | Assigned to domain | BUKRS_GLOB | |||
BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BLART | Document Type | BLART | CHAR | 2 | Assigned to domain | BLART | BAR | ||
BLDAT | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
MONAT | Fiscal Period | MONAT | NUMC | 2 | MONAT | ||||
WWERT | Translation Date | WWERT_D | DATS | 8 | DATUM | ||||
XBLNR | Reference Document Number | XBLNR | CHAR | 16 | XBLNR | ||||
BKTXT | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KURSF | Exchange rate | KURSF | DEC | 9(5) | EXCRT | KURSF | |||
KURS2 | Exchange Rate for the Second Local Currency | KURS2 | DEC | 9(5) | KURSF | ||||
KURS3 | Exchange Rate for the Third Local Currency | KURS3 | DEC | 9(5) | KURSF | ||||
AWSYS | Logical System | LOGSYSTEM | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
AWTYP | Reference Transaction | AWTYP | CHAR | 5 | Assigned to domain | AWTYP | |||
AWREF | Reference Document Number | AWREF | CHAR | 10 | ALPHA | AWREF | |||
AWORG | Reference Organizational Units | AWORG | CHAR | 10 | AWORG | ||||
HWAER | Local Currency | HWAER | CUKY | 5 | Assigned to domain | WAERS | |||
HWAE2 | Currency Key of Second Local Currency | HWAE2 | CUKY | 5 | Assigned to domain | WAERS | |||
HWAE3 | Currency Key of Third Local Currency | HWAE3 | CUKY | 5 | Assigned to domain | WAERS | |||
BASW2 | Source Currency for Currency Translation | CURSR | CHAR | 1 | CURSR | ||||
BASW3 | Source Currency for Currency Translation | CURSR | CHAR | 1 | CURSR | ||||
CURT2 | Currency Type of Second Local Currency | CURT2 | CHAR | 2 | CURTP | ||||
CURT3 | Currency Type of Third Local Currency | CURT3 | CHAR | 2 | CURTP | ||||
BUKRS_SND | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
GLVOR | Business Transaction | GLVOR | CHAR | 4 | CHAR4 | ||||
USNAM | User name | USNAM | CHAR | 12 | Assigned to domain | XUBNAME | USR | ||
KURSF_M | Exchange rate | KURSF | DEC | 9(5) | EXCRT | KURSF | |||
KURS2_M | Exchange Rate for the Second Local Currency | KURS2 | DEC | 9(5) | KURSF | ||||
KURS3_M | Exchange Rate for the Third Local Currency | KURS3 | DEC | 9(5) | KURSF | ||||
BSTAT | Document Status | BSTAT_D | CHAR | 1 | BSTAT | ||||
BRNCH | Branch Number | J_1ABRNCH | CHAR | 4 | Assigned to domain | J_1BBRANCH | JEA | ||
NUMPG | Number of pages of invoice | J_1ANOPG | NUMC | 3 | J_1ANOPG | ||||
ADISC | Indicator: entry represents a discount document | J_1ADISC | CHAR | 1 | ADISC |
Key field | Non-key field |
How do I retrieve data from SAP structure E3FIHDR using ABAP code?
As E3FIHDR 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 E3FIHDR as there is no data to select.How to access SAP table E3FIHDR
Within an ECC or HANA version of SAP you can also view further information about E3FIHDR 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