ABKPF SAP (FI Document Header (Including Archive Information)) Structure details
Description: FI Document Header (Including Archive Information)
Structure field list including key, data, relationships and ABAP select examples
ABKPF 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 (Including Archive Information)" 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_ABKPF TYPE ABKPF.
The ABKPF table consists of various fields, each holding specific information or linking keys about FI Document Header (Including Archive Information) data available in SAP. These include MANDT (Client), 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: Not classified
SAP ABKPF 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 |
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 in General Ledger Accounting | FAGL_RLDNR | CHAR | 2 | T882G | ALPHA | RLDNR | GLN_FLEX | FAGL_RLDNR |
LDGRP | Ledger Group | FAGL_LDGRP | CHAR | 4 | FAGL_TLDGRP | FAGL_LDGRP | GLDGRP_FLEX | ||
PROPMANO | Real Estate Management Mandate | RE_MANDAT | CHAR | 13 | PRPMN | RE_MANDAT | |||
XBLNR_ALT | Alternative Reference Number | XBLNR_ALT | CHAR | 26 | ODNIT | XBLNR_ALT | |||
VATDATE | Tax Reporting Date | VATDATE | DATS | 8 | DATUM | ||||
DOCCAT | Classification of an FI Document | DOCUMENT_CATEGORY | CHAR | 6 | DOCUMENT_CATEGORY | ||||
XSPLIT | FI Document Originates from Split Posting (Indicator) | SPLIT_POSTING | CHAR | 1 | XFELD | ||||
CASH_ALLOC | Cash-Relevant Document | FAGL_CASH_ALLOC | CHAR | 1 | BOOLE | ||||
FOLLOW_ON | Follow-on document indicator | FAGL_FOLLOW_ON | CHAR | 1 | FAGL_FOLLOW_ON | ||||
XREORG | Doc. Contains Open Item that Was Transferred During Reorg. | FAGL_R_XDOC_REORG | CHAR | 1 | FLAG | ||||
SUBSET | Defines subset of components for the FI/CO interface | ACC_SUBSET | CHAR | 4 | ACC_SUBSET | ||||
KURST | Exchange Rate Type | KURST | CHAR | 4 | TCURV | KURST | KUT | ||
KURSX | Market Data Exchange Rate | GLE_FXR_DTE_RATEX28 | DEC | 28(14) | EXCRX | GLE_FXR_RATEX28 | |||
KUR2X | Market Data Exchange Rate 2 | GLE_FXR_DTE_RATE2X28 | DEC | 28(14) | EXCRX | GLE_FXR_RATEX28 | |||
KUR3X | Market Data Exchange Rate 3 | GLE_FXR_DTE_RATE3X28 | DEC | 28(14) | EXCRX | GLE_FXR_RATEX28 | |||
XMCA | Document Originates from Multi Currency Accounting | GLE_DTE_MCA_XMCA | CHAR | 1 | XFELD | ||||
.INCLU--AP | 0 | ||||||||
/SAPF15/STATUS | /SAPF15/STATUS | CHAR | 1 | /SAPF15/STATUS | |||||
.INCLU--AP | 0 | ||||||||
PSOTY | Document category payment requests | PSOTY_D | CHAR | 2 | PSOTP | PSOTY | |||
PSOAK | Reason | PSOAK | CHAR | 10 | PSO12 | PSOAK | |||
PSOKS | Region | PSOKS | CHAR | 10 | Assigned to domain | PSOKS | |||
PSOSG | Reason for reversal - IS-PS requests | PSOSG | CHAR | 1 | PSOSG | ||||
PSOFN | IS-PS: File number | PSOFN | CHAR | 30 | CHAR30 | ||||
INTFORM | Interest Formula | FM_INTFORM | CHAR | 4 | CHAR4 | ||||
INTDATE | Interest Calc. Date | FM_INTDATE | DATS | 8 | DATUM | ||||
PSOBT | Posting Day | PSOBT | DATS | 8 | DATUM | ||||
PSOZL | Actual posting | PSOZL | CHAR | 1 | XFELD | ||||
PSODT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
PSOTM | Last changed at | PSOTM | TIMS | 6 | UZEIT | ||||
.INCLU--AP | 0 | ||||||||
FM_UMART | Type of Payment Transfer | FM_UMART | CHAR | 1 | FM_UMART | ||||
.INCLU--AP | 0 | ||||||||
CCINS | Payment cards: Card type | CCINS_30F | CHAR | 4 | TCRIN | CCINS_30F | CIN | ||
CCNUM | Payment cards: Card number | CCNUM_30F | CHAR | 25 | CCNUM_30F | CNO | |||
.INCLU--AP | 0 | ||||||||
SSBLK | Payment Statistical Sampling Block | SSBLK | CHAR | 1 | SSBLK | ||||
BATCH | Lot Number for Documents | LOTKZ | CHAR | 10 | ALPHA | LOTKZ | LOT | ||
SNAME | User Name | UNAME | CHAR | 12 | UNAME | ||||
SAMPLED | Sampled Invoice by Payment Certification | SAMPLED | CHAR | 1 | SSBLK | ||||
EXCLUDE_FLAG | PPA Exclude Indicator | EXCLUDE_FLG | CHAR | 1 | XFELD | ||||
BLIND | Budgetary Ledger Indicator | FM_BLIND | CHAR | 1 | FM_BLIND | ||||
OFFSET_STATUS | Treasury Offset Status | FMFG_OFFSET_STATUS | CHAR | 2 | FMFG_OFFSET_STATUS | ||||
OFFSET_REFER_DAT | Date Record Referred to Treasury | FMFG_REFERRED_OFFSET_DAT | DATS | 8 | DATUM | ||||
PENRC | Reason for late payment | PENRC | CHAR | 2 | CHAR2 | FM_PENRC | |||
.INCLU--AP | 0 | ||||||||
KNUMV | Number of the document condition | KNUMV | CHAR | 10 | KNUMV | ||||
ARCHIV_KEY | Key for Archive File | ARKEY | CHAR | 20 | ARKEY | ||||
OFFST | Archive file data object offset | ADMI_OFFST | INT4 | 10 | |||||
ARCDT | Creation Date of Archive File | ADMI_CDATE | DATS | 8 | ADMI_DATE |
Key field | Non-key field |
How do I retrieve data from SAP structure ABKPF using ABAP code?
As ABKPF 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 ABKPF as there is no data to select.How to access SAP table ABKPF
Within an ECC or HANA version of SAP you can also view further information about ABKPF 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