BKPF_ADD SAP (Accounting Document Header) Table details
Dictionary Type: Table
Description: Accounting Document Header
Description: Accounting Document Header
Table field list including key, data, relationships and ABAP select examples
BKPF_ADD is a standard SAP Table which is used to store Accounting Document Header data and is available within R/3 SAP systems depending on the version and release level.
The BKPF_ADD table consists of various fields, each holding specific information or linking keys about Accounting 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP BKPF_ADD table 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | 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 | T003 | 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 | TCURC | WAERS | FWS | ||
KURSF | Exchange rate | KURSF | DEC | 9(5) | EXCRT | KURSF | |||
KZWRS | Currency Key for the Group Currency | KZWRS | CUKY | 5 | TCURC | 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 | TCURV | KURST | KUT | ||
KUTY3 | Exchange Rate Type | KURST | CHAR | 4 | TCURV | KURST | KUT | ||
XSNET | G/L account amounts entered exclude tax | XSNET | CHAR | 1 | XFELD | ||||
AUSBK | Source Company Code | AUSBK | CHAR | 4 | T001 | 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 | T041C | STGRD | FSG | ||
PPNAM | Name of User Who Parked this Document | PPNAM | CHAR | 12 | Assigned to domain | XUBNAME | |||
BRNCH | Branch Number | J_1ABRNCH | CHAR | 4 | J_1BBRANCH | 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 | ||||
RLDNR | Ledger | RLDNR | CHAR | 2 | Assigned to domain | ALPHA | RLDNR | GLN | H_T881 |
Key field | Non-key field |
How do I retrieve data from SAP table BKPF_ADD using ABAP code
The following ABAP code Example will allow you to do a basic selection on BKPF_ADD to SELECT all data from the tableDATA: WA_BKPF_ADD TYPE BKPF_ADD.
SELECT SINGLE *
FROM BKPF_ADD
INTO CORRESPONDING FIELDS OF WA_BKPF_ADD
WHERE...
How to access SAP table BKPF_ADD
Within an ECC or HANA version of SAP you can also view further information about BKPF_ADD 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