FAGL_S_DOC_HEADER_BSP SAP (FI Document Header) Structure details
Description: FI Document Header
Related tables to FAGL_S_DOC_HEADER_BSP
Access table FAGL_S_DOC_HEADER_BSP
Structure field list including key, data, relationships and ABAP select examples
FAGL_S_DOC_HEADER_BSP 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_FAGL_S_DOC_HEADER_BSP TYPE FAGL_S_DOC_HEADER_BSP.
The FAGL_S_DOC_HEADER_BSP 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), BLART (Document Type).. 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 FAGL_S_DOC_HEADER_BSP 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_KEY | Object Key | CRMT_BSP_OBJECTKEY | CHAR | 100 | |||||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
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 | ||||
CPUDT | Day On Which Accounting Document Was Entered | CPUDT | DATS | 8 | DATUM | ||||
CPUTM | Time of Entry | CPUTM | TIMS | 6 | UZEIT | ||||
AEDAT | Date of the Last Document Change by Transaction | AEDAT_BKPF | DATS | 8 | DATUM | ||||
UPDDT | Date of the Last Document Update | UPDDT | DATS | 8 | DATUM | ||||
WWERT | Translation Date | WWERT_D | DATS | 8 | DATUM | ||||
USNAM | User name | USNAM | CHAR | 12 | Assigned to domain | XUBNAME | USR | ||
TCODE | Transaction Code | TCODE | CHAR | 20 | Assigned to domain | TCODE | TCD | ||
BVORG | Number of Cross-Company Code Posting Transaction | BVORG | CHAR | 16 | BVORG | ||||
XBLNR | Reference Document Number | XBLNR1 | CHAR | 16 | XBLNR1 | ||||
DBBLG | Recurring Entry Document Number | DBBLG | CHAR | 10 | ALPHA | BELNR | |||
STBLG | Reverse Document Number | STBLG | CHAR | 10 | ALPHA | BELNR | |||
STJAH | Reverse document fiscal year | STJAH | NUMC | 4 | GJAHR | GJAHR | |||
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 | |||
KZWRS | Currency Key for the Group Currency | KZWRS | CUKY | 5 | Assigned to domain | WAERS | |||
KZKRS | Group Currency Exchange Rate | KZKRS | DEC | 9(5) | KURSF | ||||
BSTAT | Document Status | BSTAT_D | CHAR | 1 | BSTAT | ||||
XNETB | Indicator: Document posted net ? | XNETB | CHAR | 1 | XFELD | ||||
FRATH | Unplanned delivery costs | FRATH | CURR | 13(2) | WERT7 | ||||
XRUEB | Indicator: Document is posted to a previous period | XRUEB | CHAR | 1 | XFELD | ||||
GLVOR | Business Transaction | GLVOR | CHAR | 4 | CHAR4 | ||||
GRPID | Batch Input Session Name | GRPID_BKPF | CHAR | 12 | CHAR12 | ||||
DOKID | Document Name in the Archive System | DOKID_BKPF | CHAR | 40 | CHAR40 | ||||
ARCID | Extract ID Document Header | EXTID_BKPF | CHAR | 10 | CHAR10 | ||||
IBLAR | Internal Document Type for Document Control | IBLAR | CHAR | 2 | IBLAR | ||||
AWTYP | Reference Transaction | AWTYP | CHAR | 5 | Assigned to domain | AWTYP | |||
AWKEY | Reference Key | AWKEY | CHAR | 20 | AWKEY | ||||
FIKRS | Financial Management Area | FIKRS | CHAR | 4 | Assigned to domain | FIKRS | FIK | ||
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 | |||
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 | ||||
BASW2 | Source Currency for Currency Translation | CURSR | CHAR | 1 | CURSR | ||||
BASW3 | Source Currency for Currency Translation | CURSR | CHAR | 1 | CURSR | ||||
UMRD2 | Translation Date Type for Second Local Currency | UMRD2 | CHAR | 1 | CURDT | ||||
UMRD3 | Translation Date Type for Third Local Currency | UMRD3 | CHAR | 1 | CURDT | ||||
XSTOV | Indicator: Document is flagged for reversal | XSTOV | CHAR | 1 | XFELD | ||||
STODT | Planned Date for the Reverse Posting | STODT | DATS | 8 | DATUM | ||||
XMWST | Calculate tax automatically | XMWST | CHAR | 1 | XFELD | XTX | |||
CURT2 | Currency Type of Second Local Currency | CURT2 | CHAR | 2 | CURTP | ||||
CURT3 | Currency Type of Third Local Currency | CURT3 | CHAR | 2 | CURTP | ||||
KUTY2 | Exchange Rate Type | KURST | CHAR | 4 | Assigned to domain | KURST | KUT | ||
KUTY3 | Exchange Rate Type | KURST | CHAR | 4 | Assigned to domain | KURST | KUT | ||
XSNET | G/L account amounts entered exclude tax | XSNET | CHAR | 1 | XFELD | ||||
AUSBK | Source Company Code | AUSBK | CHAR | 4 | Assigned to domain | BUKRS | |||
XUSVR | Indicator: US taxes changed at detail level ? | XUSVR_BKPF | CHAR | 1 | XFELD | ||||
DUEFL | Status of Data Transfer into Subsequent Release | DUEFL_BKPF | CHAR | 1 | DUEFL_BKPF | ||||
AWSYS | Logical System | LOGSYSTEM | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
TXKRS | Exchange Rate for Taxes | TXKRS_BKPF | DEC | 9(5) | KURSF | ||||
LOTKZ | Lot Number for Requests | PSO_LOTKZ | CHAR | 10 | ALPHA | LOTKZ | LOT | ||
XWVOF | Indicator: Customer bill of exchange payment before due date | XWVOF | CHAR | 1 | XFELD | ||||
STGRD | Reason for Reversal | STGRD | CHAR | 2 | Assigned to domain | STGRD | FSG | ||
PPNAM | Name of User Who Parked this Document | PPNAM | CHAR | 12 | Assigned to domain | XUBNAME | |||
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 | ||||
XREF1_HD | Reference Key 1 Internal for Document Header | XREF1_HD | CHAR | 20 | CHAR20 | ||||
XREF2_HD | Reference Key 2 Internal for Document Header | XREF2_HD | CHAR | 20 | CHAR20 | ||||
XREVERSAL | Specifies whether doc. is reversal doc. or reversed doc. | XREVERSAL | CHAR | 1 | XREVERSAL | ||||
REINDAT | Invoice Receipt Date | REINDAT | DATS | 8 | DATUM | ||||
URL | Prefix of a URL | W3URL | CHAR | 255 | W3_HTML | ||||
SUMSOLL | Total of Debit Postings to Be Displayed | AZSOL_F05A | CURR | 17(2) | WERTV9 | ||||
SUMHABEN | Total of Credit Postings to be Displayed | AZHAB_F05A | CURR | 17(2) | WERTV9 | ||||
POSTING_TYPE | Posting Type | FAGL_POSTING_TYPE | CHAR | 30 | FAGL_POSTING_TYPE_DOM |
Key field | Non-key field |
How do I retrieve data from SAP structure FAGL_S_DOC_HEADER_BSP using ABAP code?
As FAGL_S_DOC_HEADER_BSP 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 FAGL_S_DOC_HEADER_BSP as there is no data to select.How to access SAP table FAGL_S_DOC_HEADER_BSP
Within an ECC or HANA version of SAP you can also view further information about FAGL_S_DOC_HEADER_BSP 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