LBBIL_HD_GEN SAP (BIlling Header: General Data) Structure details
Description: BIlling Header: General Data
Structure field list including key, data, relationships and ABAP select examples
LBBIL_HD_GEN 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: General 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_GEN TYPE LBBIL_HD_GEN.
The LBBIL_HD_GEN table consists of various fields, each holding specific information or linking keys about BIlling Header: General Data data available in SAP. These include SOLD_TO_PARTY (Sold-to party), SHIP_TO_PARTY (Ship-to party), BILL_TO_PARTY (Bill-to party), PAYER (Payer).. 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 LBBIL_HD_GEN 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 | |
SOLD_TO_PARTY | Sold-to party | KUNAG | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | VAG | |
SHIP_TO_PARTY | Ship-to party | KUNWE | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | ||
BILL_TO_PARTY | Bill-to party | KUNRE | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | |
PAYER | Payer | KUNRG | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | ||
SP_VAT | VAT Registration Number | STCEG | CHAR | 20 | STCEG | ||||
T001_VAT | VAT Registration Number | STCEG | CHAR | 20 | STCEG | ||||
T001Z_VAT | Parameter value | PAVAL | CHAR | 48 | TEXT48 | ||||
INCOTERMS1 | Incoterms (Part 1) | INCO1 | CHAR | 3 | Assigned to domain | INCO1 | |||
INCOTERMS2 | Incoterms (Part 2) | INCO2 | CHAR | 28 | INCO2 | ||||
SHIP_COND | Shipping Conditions | VSBED | CHAR | 2 | Assigned to domain | VSBED | |||
TERMS_PAYM | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
VAL_DAY | Additional value days | VALTG | NUMC | 2 | TAGE2 | ||||
VAL_DATE | Fixed value date | VALDT | DATS | 8 | DATUM | ||||
BIL_WAERK | SD Document Currency | WAERK | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
BIL_NETWR | Net Value in Document Currency | NETWR | CURR | 15(2) | WERTV8 | ||||
BIL_DISC | Amount from billing document qualifying for cash discount | SKFBK | CURR | 15(2) | WERTV8 | ||||
BIL_TAX | Tax amount in document currency | MWSBP | CURR | 13(2) | WERTV7 | ||||
BIL_VBTYPE | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
BIL_CAT | Billing category | FKTYP | CHAR | 1 | FKTYP | ||||
BIL_TYPE | Billing Type | FKART | CHAR | 4 | Assigned to domain | FKART | |||
BIL_DATE | Billing date for billing index and printout | FKDAT | DATS | 8 | DATUM | ||||
BRT_WEIGHT | Gross weight | BRGEW_15 | QUAN | 15(3) | MENG15 | ||||
NET_WEIGHT | Net weight | NTGEW_15 | QUAN | 15(3) | MENG15 | ||||
UNIT_OF_WEIGHT | Weight Unit | GEWEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
VOLUME | Volume | VOLUM_15 | QUAN | 15(3) | MENG15 | ||||
VOLUMEUNIT | Volume unit | VOLEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BIL_EDATE | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
BIL_ENAME | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
BIL_SCHEMA | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | KALSM_D | CHAR | 6 | Assigned to domain | KALSM | |||
KOND_NUMB | Number of the document condition | KNUMV | CHAR | 10 | KNUMV | ||||
BIL_APPL | Application | KAPPL | CHAR | 2 | Assigned to domain | KAPPL | KAP | ||
IL_TYPE | Invoice list type | FKART_RL | CHAR | 4 | Assigned to domain | FKART | |||
IL_DATE | Billing date for the invoice list | FKDAT_RL | DATS | 8 | DATUM | ||||
MAT_LAND | Country of origin of the material | HERKL | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
DLV_LAND | Country of Destination | LLAND | CHAR | 3 | Assigned to domain | LAND1 | VLL | ||
SHP_LAND | Departure country (country from which the goods are sent) | ALAND | CHAR | 3 | Assigned to domain | LAND1 | VAL | ||
LANDTX | Tax departure country | LANDTX | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
SFAKN | Cancelled billing document number | SFAKN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | VF | |
XBLNR | Reference Document Number | XBLNR1 | CHAR | 16 | XBLNR1 | ||||
EXNUM | Number of foreign trade data in MM and SD documents | EXNUM | CHAR | 10 | Assigned to domain | EXNUM | |||
KIDNO | Payment Reference | KIDNO | CHAR | 30 | CHAR30 | ||||
BUPLA | Business Place | BUPLA | CHAR | 4 | Assigned to domain | J_1BBRANCH | |||
RPLNR | Number of payment card plan type | RPLNR | CHAR | 10 | Assigned to domain | FPLNR | |||
DPVAL | Net Value in Document Currency | NETWR | CURR | 15(2) | WERTV8 | ||||
CCVAL | Net Value in Document Currency | NETWR | CURR | 15(2) | WERTV8 | ||||
XEGLD_L1 | Indicator: European Union Member? | XEGLD | CHAR | 1 | XFELD | ||||
XEGLD_CO | Indicator: European Union Member? | XEGLD | CHAR | 1 | XFELD | ||||
DPNET | Net Value in Document Currency | NETWR | CURR | 15(2) | WERTV8 | ||||
DPEND | Net Value in Document Currency | NETWR | CURR | 15(2) | WERTV8 | ||||
DPMWS_END | Tax amount in document currency | MWSBP | CURR | 13(2) | WERTV7 | ||||
DPMWS | Tax amount in document currency | MWSBP | CURR | 13(2) | WERTV7 | ||||
XFILKD | Branch/head office relationship | XFILKD_VF | CHAR | 1 | XFILKD_VF | ||||
STCD1_T001N | Tax Number for Plants Abroad | STCD1_001N | CHAR | 16 | STCD1 | ||||
XEGDR | Indicator: Triangular deal within the EU ? | XEGDR | CHAR | 1 | XFELD | ||||
KNUMA | Agreement (various conditions grouped together) | KNUMA | CHAR | 10 | Assigned to domain | ALPHA | KNUMA | VMBO | |
MNDID | Unique Referene to Mandate per Payment Recipient | SEPA_MNDID | CHAR | 35 | ID035 |
Key field | Non-key field |
How do I retrieve data from SAP structure LBBIL_HD_GEN using ABAP code?
As LBBIL_HD_GEN 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_GEN as there is no data to select.How to access SAP table LBBIL_HD_GEN
Within an ECC or HANA version of SAP you can also view further information about LBBIL_HD_GEN 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