LBBIL_HD_REF SAP (Billing Header: Reference Data) Structure details
Description: Billing Header: Reference Data
Structure field list including key, data, relationships and ABAP select examples
LBBIL_HD_REF 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 "Billing Header: Reference Data" 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_LBBIL_HD_REF TYPE LBBIL_HD_REF.
The LBBIL_HD_REF table consists of various fields, each holding specific information or linking keys about Billing Header: Reference Data data available in SAP. These include FAK_DATE (Billing date for billing index and printout), DELIV_NUMB (Delivery), DELIV_DATE (Delivery date), DELIV_LEDAT (Delivery Creation Date).. 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 LBBIL_HD_REF 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 |
BIL_NUMBER | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
FAK_DATE | Billing date for billing index and printout | FKDAT | DATS | 8 | DATUM | ||||
DELIV_NUMB | Delivery | VBELN_VL | CHAR | 10 | Assigned to domain | ALPHA | VBELN | VL | |
DELIV_DATE | Delivery date | LFDAT | DATS | 8 | DATUM | ||||
DELIV_LEDAT | Delivery Creation Date | LEDAT | DATS | 8 | DATUM | ||||
ORDER_NUMB | Order | VBELN_VAUF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUF | |
ORDER_DATE | Sales order date | AUDAT_VAUF | DATS | 8 | DATUM | ||||
ALLOC_ZUONR | Assignment number | ORDNR_V | CHAR | 18 | ZUONR | ||||
ACCOUNT_NUMB | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
CANC_NUMB | Cancelled billing document number | SFAKN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | VF | |
VBELN_VAG | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
VAG_DAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
VBELN_VKT | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
VKT_DAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
VGTYP | Activity or element category | VGTYP | CHAR | 3 | VORG_TYP | ||||
VBELN_VG2 | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
VG2_DAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
PURCH_NO | Customer purchase order number | BSTKD | CHAR | 35 | BSTKD | ||||
PURCH_DATE | Customer purchase order date | BSTDK | DATS | 8 | DATUM | ||||
PO_SUPPLEM | Purchase order number supplement | BSTZD | CHAR | 4 | BSTZD | ||||
CUST_REFERENCE | Your Reference | IHREZ | CHAR | 12 | TEXT12 | ||||
REF_DOC | Document number of the reference document | VGBEL | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
REF_DOC_TYPE | Document category of preceding SD document | VBTYP_V | CHAR | 1 | VBTYP | ||||
PURCH_NO_C | Customer purchase order number | BSTKD | CHAR | 35 | BSTKD | ||||
PO_METHOD | Customer purchase order type | BSARK | CHAR | 4 | Assigned to domain | BSARK | |||
PURCH_NO_S | Ship-to Party's Purchase Order Number | BSTKD_E | CHAR | 35 | BSTKD | ||||
PO_DAT_S | Ship-to party's PO date | BSTDK_E | DATS | 8 | DATUM | ||||
PO_METH_S | Ship-to party purchase order type | BSARK_E | CHAR | 4 | Assigned to domain | BSARK | |||
REF_1_S | Ship-to party character | IHREZ_E | CHAR | 12 | TEXT12 |
Key field | Non-key field |
How do I retrieve data from SAP structure LBBIL_HD_REF using ABAP code?
As LBBIL_HD_REF 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 LBBIL_HD_REF as there is no data to select.How to access SAP table LBBIL_HD_REF
Within an ECC or HANA version of SAP you can also view further information about LBBIL_HD_REF 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