TDS_SDOC SAP (Lean Order: Sales Document) Structure details

Dictionary Type: Structure
Description: Lean Order: Sales Document




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




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
VBELNSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
TRVOGTransaction group TRVOGCHAR1TRVOGVTV
TRVOG_TDescription BEZEI20CHAR20TEXT20
AUARTSales Document Type AUARTCHAR4Assigned to domainAUARTAUARTAAT
AUART_TDescription BEZEI20CHAR20TEXT20
KUNAGSold-to party KUNAGCHAR10Assigned to domainALPHAKUNNRVAG
KUNAG_TName 1 AD_NAME1CHAR40TEXT40
BSTKDCustomer purchase order number BSTKDCHAR35BSTKD
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ZPAVWPartner Function PARVWCHAR2Assigned to domainPARVWPARVWPAR
ZPERSPerson responsible DZPERSNUMC8PERNR
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
VKBURSales Office VKBURCHAR4Assigned to domainVKBURVKB
VKGRPSales Group VKGRPCHAR3Assigned to domainVKGRPVKG
WAERKSD Document Currency WAERKCUKY5Assigned to domainWAERSFWS
NETWRNet Value of the Sales Order in Document Currency NETWR_AKCURR15(2) WERTV8
AWAHRSales probability AWAHR_AKNUMC3AWAHR
DATABQuotation or contract valid from DATAB_VIDATS8DATUM
DATBIQuotation or contract valid to DATBI_VIDATS8DATUM

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 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!