TDS_BILLDOC SAP (Billing Data) Structure details

Dictionary Type: Structure
Description: Billing Data




ABAP Code to SELECT data from TDS_BILLDOC
Related tables to TDS_BILLDOC
Access table TDS_BILLDOC




Structure field list including key, data, relationships and ABAP select examples

TDS_BILLDOC 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 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_TDS_BILLDOC TYPE TDS_BILLDOC.

The TDS_BILLDOC table consists of various fields, each holding specific information or linking keys about Billing Data data available in SAP. These include FKART (Billing Type), KUNAG (Sold-to party), KUNRG (Payer), FKDAT (Billing date for billing index and printout).. 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 (Deep)


SAP TDS_BILLDOC 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
FKARTBilling Type FKARTCHAR4Assigned to domainFKART
KUNAGSold-to party KUNAGCHAR10Assigned to domainALPHAKUNNRVAG
KUNRGPayer KUNRGCHAR10Assigned to domainALPHAKUNNR
FKDATBilling date for billing index and printout FKDATDATS8DATUM
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
FKTYPBilling category FKTYPCHAR1FKTYP
VBELNBilling Document VBELN_VFCHAR10Assigned to domainALPHAVBELNVF
VBTYPSD document category VBTYPCHAR1VBTYP
RFBSKStatus for transfer to accounting RFBSKCHAR1RFBSK
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
NETWRNet Value in Document Currency NETWRCURR15(2) WERTV8
WAERKSD Document Currency WAERKCUKY5Assigned to domainWAERSFWS
MWSBKTax amount in document currency MWSBPCURR13(2) WERTV7
KUNAG_TCustomer description KUNNR_TXTCHAR35NAME
KUNRG_TCustomer description KUNNR_TXTCHAR35NAME
FKART_TBilling type description FKART_BEZCHAR20TEXT20
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
ERDATDate on Which Record Was Created ERDATDATS8DATUM
PAYMENT_CLEAREDAccounting Document - Payed/Cleared or Not PAYMENT_CLEAREDCHAR20CHAR20
VKORG_TDescription of sales organization VKORG_BEZCHAR20TEXT20
VTWEG_TDescription of distribution channel VTWEG_BEZCHAR20TEXT20
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
SPART_TDescription of division SPART_BEZCHAR20TEXT20
VBTYP_TDescription of sales and distribution document category VBTYP_TXTCHAR60AS4TEXT
RFBSK_TDescription of rule BEZEI60CHAR60TEXT60
BSTNK_VFCustomer purchase order number BSTKDCHAR35BSTKD
XBLNRReference Document Number XBLNR_V1CHAR16XBLNR1
ZUONRAssignment number ORDNR_VCHAR18ZUONR
FKSTOBilling document is cancelled FKSTOCHAR1XFELD
INCO1Incoterms (Part 1) INCO1CHAR3Assigned to domainINCO1
INCO2Incoterms (Part 2) INCO2CHAR28INCO2
VSBEDShipping Conditions VSBEDCHAR2Assigned to domainVSBED
PARVWPartner Function PARVWCHAR2Assigned to domainPARVWPARVWPAR
PARVW_TDescription of partner function PARVW_BEZCHAR20TEXT20
ZPERS_TName of Employee Responsible PZPERS_BEZCHAR35NAME
ZPERSPerson responsible DZPERSNUMC8PERNR
MADATLast dunned on MADATDATS8DATUM
FAEDTNet Due Date FAEDT_FPOSDATS8DATUM
BBLNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
AUGDTClearing Date AUGDTDATS8DATUM
VGBELDocument number of the reference document VGBELCHAR10Assigned to domainALPHAVBELN
VGPOSItem number of the reference item VGPOSNUMC6Assigned to domainPOSNR
POSNRBilling item POSNR_VFNUMC6Assigned to domainPOSNR
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
ARKTXShort text for sales order item ARKTXCHAR40TEXT40
FKIMGActual Invoiced Quantity FKIMGQUAN13(3) MENG13
VRKMESales unit VRKMEUNIT3Assigned to domainCUNITMEINS
FKIMG_CORR_OLDReferenced quantity in base unit of measure RFMNGQUAN15(3) MENG15
BELNR 0
ZEILELine Number DZEILENUMC3ZEILEPOS
EBELPItem Number of Purchasing Document EBELPNUMC5EBELPBSP
AUBELSales Document VBELN_VACHAR10Assigned to domainALPHAVBELNAUN
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C

Key field Non-key field



How do I retrieve data from SAP structure TDS_BILLDOC using ABAP code?

As TDS_BILLDOC 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 TDS_BILLDOC as there is no data to select.

How to access SAP table TDS_BILLDOC

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

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


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!