SAP VDBILL_HIST Billing History Table data and field list

VDBILL_HIST is a standard SAP Table which is used to store Billing History data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The VDBILL_HIST table consists of various fields, each holding specific information or linking keys about Billing History data available in SAP. These include BILL_NUMBER (Bill Number), BUKRS (Company Code), RANL (Contract Number), PARTNER (Business Partner Number)... 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. .

VDBILL_HIST table Technical Details:

Delivery Class: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP VDBILL_HIST table 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 VDBILL_HIST 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
BILL_NUMBERBill Number TB_BILL_NUMBERCHAR15ALPHAT_BILL_NUMBER
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
RANLContract Number RANLCHAR13ALPHARANLRAN
PARTNERBusiness Partner Number BU_PARTNERCHAR10Assigned to domainALPHABU_PARTNERBPABUPA
BILL_CATEGORYBilling Category TB_BILL_METHNUMC2T_BILL_METHODH_VD_BILL_CATEG
TOTAL_DUETotal Due Amount for Bill TB_BILL_DUECURR13(2) WERTV7
MINIMUM_DUEMinimum Due Amount for a Bill TB_MIN_DUECURR13(2) WERTV7
PRIN_BALANCEOutstanding Net Payoff Amount TB_PRIN_BALANCECURR13(2) WERTV7
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
CREATION_DATEBill Creation Date TB_BILL_DATEDATS8DATS
DUE_DATEDue date/calculation date DFAELLIGDATS8DATUM
BILL_FORMATBill Format Key TB_BILL_FORMATNUMC1TDBILL_FORMATNUMC01
RERFEntered by RERFCHAR12SYCHAR12
TIMESTAMPUTC Time Stamp in Short Form (YYYYMMDDhhmmss) TIMESTAMPDEC15TZNTSTMPS
LOGNUMBERApplication Log: External ID BALNREXTCHAR100BALNREXTBALEXT

Key field Non-key field



How do I retrieve data from SAP table VDBILL_HIST using ABAP code

The following ABAP code Example will allow you to do a basic selection on VDBILL_HIST to SELECT all data from the table
DATA: WA_VDBILL_HIST TYPE VDBILL_HIST.

SELECT SINGLE *
FROM VDBILL_HIST
INTO CORRESPONDING FIELDS OF WA_VDBILL_HIST
WHERE...

How to access SAP table VDBILL_HIST

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

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