SAP BBKPF_FM Document header for accntng document (batch input structure) Table data and field list

BBKPF_FM 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 "Document header for accntng document (batch input structure)" 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_BBKPF_FM TYPE BBKPF_FM.

The BBKPF_FM table consists of various fields, each holding specific information or linking keys about Document header for accntng document (batch input structure) data available in SAP. These include TCODE (Transaction Code), BLDAT (Date (batch input)), BLART (Document Type), BUKRS (Company Code)... 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. .

BBKPF_FM structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP BBKPF_FM structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the BBKPF_FM table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
STYPEBatch Input Interface Record Type STYPE_BICHAR1CHAR1
TCODETransaction Code TCODECHAR20Assigned to domainTCODETCD
BLDATDate (batch input) DATUM_BICHAR8CHAR8
BLARTDocument Type BLARTCHAR2Assigned to domainBLARTBAR
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
BUDATDate (batch input) DATUM_BICHAR8CHAR8
MONATFiscal Month (Batch Input Field) MONAT_BICHAR2CHAR2
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
KURSFExchange Rate Direct Quotation (Batch Input Field) KURSF_BICHAR10CHAR10
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
WWERTDate (batch input) DATUM_BICHAR8CHAR8
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
BVORGNumber of Cross-Company Code Posting Transaction BVORGCHAR16BVORG
BKTXTDocument Header Text BKTXTCHAR25TEXT25
PARGBTrading partner's business area PARGBCHAR4Assigned to domainGSBERGSB
AUGLVClearing Transaction AUGLVCHAR8Assigned to domainAUGLV
VBUNDCompany ID of trading partner RASSCCHAR6Assigned to domainALPHARCOMPPGS
XMWSTCalculate tax automatically XMWSTCHAR1XFELDXTX
DOCIDDocument type SAEOBJARTCHAR10Assigned to domainSADC10_DVDOK
BARCDSAP ArchiveLink: Document ID SAEARDOIDCHAR40SADC40
STODTDate (batch input) DATUM_BICHAR8CHAR8
BRNCHBranch Number J_1ABRNCHCHAR4Assigned to domainJ_1BBRANCHJEA
NUMPGNumber of pages of invoice (batch input field) J_1ANOPG_BICHAR3CHAR3
STGRDReason for Reversal STGRDCHAR2Assigned to domainSTGRDFSG
KURSF_MIndirect Exchange Rate (Batch Input Session) KURSF_MCHAR10CHAR10
AUGTXClearing Text AUGTX_F05ACHAR50TEXT50
XPRFGDocument complete XPRFGCHAR1XFELD
PSOTYDocument category payment requests PSOTY_DCHAR2Assigned to domainPSOTY
PSOAKReason PSOAKCHAR10Assigned to domainPSOAK
PSOKSRegion PSOKSCHAR10Assigned to domainPSOKS
PSOSGReason for reversal - IS-PS requests PSOSGCHAR1PSOSG
PSOFNIS-PS: File number PSOFNCHAR30CHAR30
LOTKZLot Number for Documents LOTKZCHAR10ALPHALOTKZLOT
XLOTEIndicator that the stated LOTKZ already exists XLOTECHAR1XFELD
PSODTDate (batch input) DATUM_BICHAR8CHAR8
PSOTMTime for BI TIME_BICHAR8CHAR8
DBBLGRecurring Entry Document Number DBBLGCHAR10ALPHABELNR
LOTEXNOAssign Request Number Externally FM_LOTEXNOCHAR1CHAR1
SENDERecord End Indicator for Batch Input Interface SENDE_BICHAR1CHAR1

Key field Non-key field



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

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

How to access SAP table BBKPF_FM

Within an ECC or HANA version of SAP you can also view further information about BBKPF_FM and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).