BBKPF SAP (Document Header for Accntng Document (Batch Input Structure)) Structure details
Description: Document Header for Accntng Document (Batch Input Structure)
Structure field list including key, data, relationships and ABAP select examples
BBKPF 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 TYPE BBKPF.
The BBKPF 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. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
SAP BBKPF 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 |
STYPE | Batch Input Interface Record Type | STYPE_BI | CHAR | 1 | CHAR1 | ||||
TCODE | Transaction Code | TCODE | CHAR | 20 | Assigned to domain | TCODE | TCD | ||
BLDAT | Date (batch input) | DATUM_BI | CHAR | 8 | CHAR8 | ||||
BLART | Document Type | BLART | CHAR | 2 | Assigned to domain | BLART | BAR | ||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
BUDAT | Date (batch input) | DATUM_BI | CHAR | 8 | CHAR8 | ||||
MONAT | Fiscal Month (Batch Input Field) | MONAT_BI | CHAR | 2 | CHAR2 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KURSF | Exchange Rate Direct Quotation (Batch Input Field) | KURSF_BI | CHAR | 10 | CHAR10 | ||||
BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
WWERT | Date (batch input) | DATUM_BI | CHAR | 8 | CHAR8 | ||||
XBLNR | Reference Document Number | XBLNR1 | CHAR | 16 | XBLNR1 | ||||
BVORG | Number of Cross-Company Code Posting Transaction | BVORG | CHAR | 16 | BVORG | ||||
BKTXT | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
PARGB | Trading partner's business area | PARGB | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
AUGLV | Clearing Transaction | AUGLV | CHAR | 8 | Assigned to domain | AUGLV | |||
VBUND | Company ID of trading partner | RASSC | CHAR | 6 | Assigned to domain | ALPHA | RCOMP | PGS | |
XMWST | Calculate tax automatically | XMWST | CHAR | 1 | XFELD | XTX | |||
DOCID | Document type | SAEOBJART | CHAR | 10 | Assigned to domain | SADC10_DV | DOK | ||
BARCD | SAP ArchiveLink: Document ID | SAEARDOID | CHAR | 40 | SADC40 | ||||
STODT | Date (batch input) | DATUM_BI | CHAR | 8 | CHAR8 | ||||
BRNCH | Branch Number | J_1ABRNCH | CHAR | 4 | Assigned to domain | J_1BBRANCH | JEA | ||
NUMPG | Number of pages of invoice (batch input field) | J_1ANOPG_BI | CHAR | 3 | CHAR3 | ||||
STGRD | Reason for Reversal | STGRD | CHAR | 2 | Assigned to domain | STGRD | FSG | ||
KURSF_M | Indirect Exchange Rate (Batch Input Session) | KURSF_M | CHAR | 10 | CHAR10 | ||||
AUGTX | Clearing Text | AUGTX_F05A | CHAR | 50 | TEXT50 | ||||
XPRFG | Document complete | XPRFG | CHAR | 1 | XFELD | ||||
XBWAE | Only transfer document in document currency when posting | XBWAE | CHAR | 1 | XFELD | ||||
LDGRP | Ledger Group | FAGL_LDGRP | CHAR | 4 | Assigned to domain | FAGL_LDGRP | GLDGRP_FLEX | ||
PROPMANO | Real Estate Management Mandate | RE_MANDAT | CHAR | 13 | PRPMN | RE_MANDAT | |||
VATDATE | Date (batch input) | DATUM_BI | CHAR | 8 | CHAR8 | ||||
KURSX | Market Data Exch. Rate Direct Quotation (Batch Input Field) | GLE_FXR_DTE_RATEX_BI | CHAR | 29 | CHAR29 | ||||
KURSX_M | Indirect Market Data Exchange Rate (Batch Input Session) | GLE_FXR_DTE_RATEX_M_BI | CHAR | 29 | CHAR29 | ||||
SENDE | Record End Indicator for Batch Input Interface | SENDE_BI | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure BBKPF using ABAP code?
As BBKPF 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 as there is no data to select.How to access SAP table BBKPF
Within an ECC or HANA version of SAP you can also view further information about BBKPF 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