TDS_SDOC SAP (Lean Order: Sales Document) Structure details
Description: Lean Order: Sales Document
Structure field list including key, data, relationships and ABAP select examples
TDS_SDOC 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 "Lean Order: Sales Document" 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_SDOC TYPE TDS_SDOC.
The TDS_SDOC table consists of various fields, each holding specific information or linking keys about Lean Order: Sales Document data available in SAP. These include TRVOG (Transaction group), TRVOG_T (Description), AUART (Sales Document Type), AUART_T (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 (Deep)
SAP TDS_SDOC 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 | CHAR | 1 | TRVOG | VTV | |||
TRVOG_T | Description | BEZEI20 | CHAR | 20 | TEXT20 | ||||
AUART | Sales Document Type | AUART | CHAR | 4 | Assigned to domain | AUART | AUART | AAT | |
AUART_T | Description | BEZEI20 | CHAR | 20 | TEXT20 | ||||
KUNAG | Sold-to party | KUNAG | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | VAG | |
KUNAG_T | Name 1 | AD_NAME1 | CHAR | 40 | TEXT40 | ||||
BSTKD | Customer purchase order number | BSTKD | CHAR | 35 | BSTKD | ||||
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
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 | Assigned to domain | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
SPART | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
VKBUR | Sales Office | VKBUR | CHAR | 4 | Assigned to domain | VKBUR | VKB | ||
VKGRP | Sales Group | VKGRP | CHAR | 3 | Assigned to domain | 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_SDOC using ABAP code?
As TDS_SDOC 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_SDOC as there is no data to select.How to access SAP table TDS_SDOC
Within an ECC or HANA version of SAP you can also view further information about TDS_SDOC 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