TDS_CONTRACTS SAP (SD Documents General) Structure details
Description: SD Documents General
Related tables to TDS_CONTRACTS
Access table TDS_CONTRACTS
Structure field list including key, data, relationships and ABAP select examples
TDS_CONTRACTS 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 "SD Documents General" 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_CONTRACTS TYPE TDS_CONTRACTS.
The TDS_CONTRACTS table consists of various fields, each holding specific information or linking keys about SD Documents General data available in SAP. These include TRVOG (Transaction Group), TRVOGT (Description), AUART (Sales Document Type), AUARTT (Description).. 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 TDS_CONTRACTS 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 |
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
TRVOG | Transaction Group | TRVOG_GEN | CHAR | 1 | TRVOG_GEN | VTV | |||
TRVOGT | Description | BEZEI20 | CHAR | 20 | TEXT20 | ||||
AUART | Sales Document Type | AUART | CHAR | 4 | Assigned to domain | AUART | AUART | AAT | |
AUARTT | Description | BEZEI20 | CHAR | 20 | TEXT20 | ||||
KUNNR | Sold-to party | KUNAG | CHAR | 10 | KNA1 | ALPHA | KUNNR | VAG | |
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
AUDAT | Document Date (Date Received/Sent) | AUDAT | DATS | 8 | DATUM | ||||
BSTKD | Customer purchase order number | BSTKD | CHAR | 35 | BSTKD | ||||
ZPAVW | Partner Function | PARVW | CHAR | 2 | Assigned to domain | PARVW | PARVW | PAR | |
ZPERS | Person responsible | DZPERS | NUMC | 8 | PERNR | ||||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
VKORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | TVTW | VTWEG | VTW | C_VTWEG | |
SPART | Division | SPART | CHAR | 2 | TSPA | SPART | SPA | C_SPART | |
VKBUR | Sales Office | VKBUR | CHAR | 4 | TVBUR | VKBUR | VKB | ||
VKGRP | Sales Group | VKGRP | CHAR | 3 | TVKGR | VKGRP | VKG | ||
WAERK | SD Document Currency | WAERK | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
NETWR | Net Value of the Sales Order in Document Currency | NETWR_AK | CURR | 15(2) | WERTV8 | ||||
AWAHR | Sales probability | AWAHR_AK | NUMC | 3 | AWAHR | ||||
DATAB | Quotation or contract valid from | DATAB_VI | DATS | 8 | DATUM | ||||
DATBI | Quotation or contract valid to | DATBI_VI | DATS | 8 | DATUM |
Key field | Non-key field |
How do I retrieve data from SAP structure TDS_CONTRACTS using ABAP code?
As TDS_CONTRACTS 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_CONTRACTS as there is no data to select.How to access SAP table TDS_CONTRACTS
Within an ECC or HANA version of SAP you can also view further information about TDS_CONTRACTS 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