BAPILFHEADO SAP (Communication structure: Header data, vendor billing doc.) Structure details
Description: Communication structure: Header data, vendor billing doc.
Structure field list including key, data, relationships and ABAP select examples
BAPILFHEADO 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 "Communication structure: Header data, vendor billing doc." 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_BAPILFHEADO TYPE BAPILFHEADO.
The BAPILFHEADO table consists of various fields, each holding specific information or linking keys about Communication structure: Header data, vendor billing doc. data available in SAP. These include BILL_TYPE (Agency business: Billing document type), BILL_DATE (Agency business: Posting date), DIFF_INV (Different Invoicing Party), PURCH_ORG (Purchasing Organization).. 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 BAPILFHEADO 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 |
DOCUMENT_NUMBER | Agency Business: Document Number | WBELN_LF | CHAR | 10 | Assigned to domain | ALPHA | WBELN | WLF | |
BILL_TYPE | Agency business: Billing document type | WFART | CHAR | 4 | TMFK | WFART | WFA | ||
BILL_DATE | Agency business: Posting date | WFDAT | DATS | 8 | DATUM | ||||
DIFF_INV | Different Invoicing Party | LIFRE | CHAR | 10 | LFA1 | ALPHA | LIFNR | LRE | |
PURCH_ORG | Purchasing Organization | EKORG | CHAR | 4 | T024E | EKORG | EKO | ||
PUR_GROUP | Purchasing Group | EKGRP | CHAR | 3 | T024 | EKGRP | EKG | ||
COMP_CODE | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
ACCTSTATUS | Status for transfer to accounting | WFBSK | CHAR | 1 | WFBSK | ||||
CURRENCY | Currency of Agency Document | WAERL | CUKY | 5 | TCURC | WAERS | FWS | ||
CURRENCY_ISO | ISO code currency | WAERS_ISO | CHAR | 3 | ISOCD | ||||
DOC_DATE | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
REF_DOC_NO | Reference Document Number | XBLNR | CHAR | 16 | XBLNR | ||||
PAYMT_REF | Payment Reference | KIDNO | CHAR | 30 | CHAR30 | ||||
ALLOC_NMBR | Assignment Number | DZUONR | CHAR | 18 | ZUONR | ||||
GROSS_AMNT | Agency business: Total invoice amount | WBRTWB | DEC | 23(4) | BAPICURR | ||||
EXCH_RATE | Direct Quoted Exchange Rate | UKURSP | DEC | 9(5) | PKURS | ||||
EXCH_RATE_V | Indirect Quoted Exchange Rate | UKURSM | DEC | 9(5) | PKURS | ||||
EX_RATE_FX | Indicator: Fixing of exchange rate | WKUFIX | CHAR | 1 | XFELD | ||||
TRANS_DATE | Translation Date | WWERT_D | DATS | 8 | DATUM | ||||
PMNTTRMS | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
DSCNT1_TO | Cash (Prompt Payment) Discount Days | DZBDET | DEC | 3 | ZBDXT | ||||
DSCT_PCT1 | Cash Discount Percentage 1 | DZBD1P | DEC | 5(3) | PRZ23 | ||||
DSCNT2_TO | Cash discount days 2 | DZBD2T | DEC | 3 | ZBDXT | ||||
DSCT_PCT2 | Cash Discount Percentage 2 | DZBD2P | DEC | 5(3) | PRZ23 | ||||
DSCNT3_TO | Net Payment Terms Period | DZBD3T | DEC | 3 | ZBDXT | ||||
ADD_VAL_DY | Additional value days | VALTG | NUMC | 2 | TAGE2 | ||||
FIX_VAL_DY | Fixed value date | VALDT | DATS | 8 | DATUM | ||||
LOGSYSTEM | Logical System | LOGSYSTEM | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
REF_DOC_NO_LONG | Reference Document Number (for Dependencies see Long Text) | XBLNR_LONG | CHAR | 35 | XBLNR_LONG | ||||
PYMT_METH | Payment Method | DZLSCH | CHAR | 1 | Assigned to domain | ZLSCH | |||
INV_LIST_DATE | Agency Business: Posting Date for the Remuneration List | WFDAT_RL | DATS | 8 | DATUM | ||||
ALT_PAYEE | Agency business: Payee | W_LIFZE | CHAR | 10 | LFA1 | ALPHA | LIFNR | ||
SETTLEMENT_TYPE | Settlement Type | NAFKT | CHAR | 1 | NAFKT | ||||
BILL_CATEGORY | Agency business: Billing category | WFTYP | CHAR | 2 | WFTYP | ||||
CANCELLED_DOC | Agency business: cancelled (reversed) document | LFAKS | CHAR | 10 | Assigned to domain | ALPHA | WBELN | ||
BILL_REASON | Agency business: Reason for activity | WFGRU | CHAR | 3 | TMLFG | WFGRU | |||
CONTRACT | Referencing Contract Number | WCONTRACT | CHAR | 10 | ALPHA | WCONTRACT | |||
CONTRACT_TYPE | Contract Type for Contract Number | WCONTRACT_TYPE | CHAR | 1 | WCONTRACT_TYPE | ||||
COLLECTION_TYPE | Document Summarization Attribute | WCOLLECTION | CHAR | 1 | WCOLLECTION | ||||
SETTLE_CATEGORY | Settlement Attributes | WSETTLE_CATEGORY | CHAR | 1 | WSETTLE_CATEGORY | ||||
VAT_REG_NO | Vendor VAT registration number | LIEFRUINR | CHAR | 20 | STCEG | ||||
TAX_DEPART_CTY | Tax departure country | LANDTX | CHAR | 3 | T005 | LAND1 | LND | ||
TAX_DEST_CTY | Tax Destination Country | LAND1TX | CHAR | 3 | T005 | LAND1 | LND | ||
INCOTERMS1 | Incoterms (Part 1) | INCO1 | CHAR | 3 | Assigned to domain | INCO1 | |||
INCOTERMS2 | Incoterms (Part 2) | INCO2 | CHAR | 28 | INCO2 |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPILFHEADO using ABAP code?
As BAPILFHEADO 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 BAPILFHEADO as there is no data to select.How to access SAP table BAPILFHEADO
Within an ECC or HANA version of SAP you can also view further information about BAPILFHEADO 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