TDS_BILLDOC SAP (Billing Data) Structure details
Description: Billing Data
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 |
FKART | Billing Type | FKART | CHAR | 4 | Assigned to domain | FKART | |||
KUNAG | Sold-to party | KUNAG | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | VAG | |
KUNRG | Payer | KUNRG | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | ||
FKDAT | Billing date for billing index and printout | FKDAT | DATS | 8 | DATUM | ||||
VKORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
FKTYP | Billing category | FKTYP | CHAR | 1 | FKTYP | ||||
VBELN | Billing Document | VBELN_VF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | VF | |
VBTYP | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
RFBSK | Status for transfer to accounting | RFBSK | CHAR | 1 | RFBSK | ||||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
NETWR | Net Value in Document Currency | NETWR | CURR | 15(2) | WERTV8 | ||||
WAERK | SD Document Currency | WAERK | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
MWSBK | Tax amount in document currency | MWSBP | CURR | 13(2) | WERTV7 | ||||
KUNAG_T | Customer description | KUNNR_TXT | CHAR | 35 | NAME | ||||
KUNRG_T | Customer description | KUNNR_TXT | CHAR | 35 | NAME | ||||
FKART_T | Billing type description | FKART_BEZ | CHAR | 20 | TEXT20 | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
PAYMENT_CLEARED | Accounting Document - Payed/Cleared or Not | PAYMENT_CLEARED | CHAR | 20 | CHAR20 | ||||
VKORG_T | Description of sales organization | VKORG_BEZ | CHAR | 20 | TEXT20 | ||||
VTWEG_T | Description of distribution channel | VTWEG_BEZ | CHAR | 20 | TEXT20 | ||||
SPART | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
SPART_T | Description of division | SPART_BEZ | CHAR | 20 | TEXT20 | ||||
VBTYP_T | Description of sales and distribution document category | VBTYP_TXT | CHAR | 60 | AS4TEXT | ||||
RFBSK_T | Description of rule | BEZEI60 | CHAR | 60 | TEXT60 | ||||
BSTNK_VF | Customer purchase order number | BSTKD | CHAR | 35 | BSTKD | ||||
XBLNR | Reference Document Number | XBLNR_V1 | CHAR | 16 | XBLNR1 | ||||
ZUONR | Assignment number | ORDNR_V | CHAR | 18 | ZUONR | ||||
FKSTO | Billing document is cancelled | FKSTO | CHAR | 1 | XFELD | ||||
INCO1 | Incoterms (Part 1) | INCO1 | CHAR | 3 | Assigned to domain | INCO1 | |||
INCO2 | Incoterms (Part 2) | INCO2 | CHAR | 28 | INCO2 | ||||
VSBED | Shipping Conditions | VSBED | CHAR | 2 | Assigned to domain | VSBED | |||
PARVW | Partner Function | PARVW | CHAR | 2 | Assigned to domain | PARVW | PARVW | PAR | |
PARVW_T | Description of partner function | PARVW_BEZ | CHAR | 20 | TEXT20 | ||||
ZPERS_T | Name of Employee Responsible | PZPERS_BEZ | CHAR | 35 | NAME | ||||
ZPERS | Person responsible | DZPERS | NUMC | 8 | PERNR | ||||
MADAT | Last dunned on | MADAT | DATS | 8 | DATUM | ||||
FAEDT | Net Due Date | FAEDT_FPOS | DATS | 8 | DATUM | ||||
BBLNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
AUGDT | Clearing Date | AUGDT | DATS | 8 | DATUM | ||||
VGBEL | Document number of the reference document | VGBEL | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
VGPOS | Item number of the reference item | VGPOS | NUMC | 6 | Assigned to domain | POSNR | |||
POSNR | Billing item | POSNR_VF | NUMC | 6 | Assigned to domain | POSNR | |||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
ARKTX | Short text for sales order item | ARKTX | CHAR | 40 | TEXT40 | ||||
FKIMG | Actual Invoiced Quantity | FKIMG | QUAN | 13(3) | MENG13 | ||||
VRKME | Sales unit | VRKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
FKIMG_CORR_OLD | Referenced quantity in base unit of measure | RFMNG | QUAN | 15(3) | MENG15 | ||||
BELNR | 0 | ||||||||
ZEILE | Line Number | DZEILE | NUMC | 3 | ZEILE | POS | |||
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | EBELP | BSP | |||
AUBEL | Sales Document | VBELN_VA | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_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 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