TDS_SALESDOC SAP (Lean Order: Sales Document) Structure details

Dictionary Type: Structure
Description: Lean Order: Sales Document




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




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

TDS_SALESDOC 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_SALESDOC TYPE TDS_SALESDOC.

The TDS_SALESDOC 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_SALESDOC 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 TRVOG_GENCHAR1TRVOG_GENVTV
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
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
ZPAVWPartner Function PARVWCHAR2Assigned to domainPARVWPARVWPAR
ZPERSPerson responsible DZPERSNUMC8PERNR
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
DATABQuotation or contract valid from DATAB_VIDATS8DATUM
DATBIQuotation or contract valid to DATBI_VIDATS8DATUM
WAERKSD Document Currency WAERKCUKY5Assigned to domainWAERSFWS
NETWRNet Value of the Sales Order in Document Currency NETWR_AKCURR15(2) WERTV8
AWAHRSales probability AWAHR_AKNUMC3AWAHR
PZPERS_TName of Employee Responsible PZPERS_BEZCHAR35NAME
PARVW_TDescription of partner function PARVW_BEZCHAR20TEXT20
VKORG_TDescription of sales organization VKORG_BEZCHAR20TEXT20
VTWEG_TDescription of distribution channel VTWEG_BEZCHAR20TEXT20
SPART_TDescription of division SPART_BEZCHAR20TEXT20
VKBUR_TDescription of sales office VKBUR_BEZCHAR20TEXT20
VKGRP_TDescription of Sales Group VKGRP_BEZCHAR20TEXT20
SPSTGOverall blocked status SPSTGCHAR1STATV
ABSTKOverall rejection status of all document items ABSTKCHAR1STATV
GBSTKOverall processing status of document GBSTKCHAR1STATV
UVALSTotal incompletion status of all items in general UVALL_SUCHAR1STATV
UVALLGeneral incompletion status of the header UVALL_UKCHAR1STATV
UVVLSTotal incompletion status of all items: Delivery UVVLS_SUCHAR1STATV
UVFASTotal incompletion status of all items: Billing UVFAK_SUCHAR1STATV
UVVLKHeader incompletion status concerning delivery UVVLK_UKCHAR1STATV
UVFAKHeader incompletion status with respect to billing UVFAK_UKCHAR1STATV
UVPRSDocument is incomplete with respect to pricing UVPRS_UKCHAR1STATV
CMGSTOverall status of credit checks CMGSTCHAR1CMGST
LFSTKDelivery status LFSTKCHAR1STATV
FSSTKOverall billing block status FSSTKCHAR1STATV
LSSTKOverall delivery block status LSSTK_GCHAR1STATV
AUGRUOrder reason (reason for the business transaction) AUGRUCHAR3Assigned to domainAUGRU
AUDATDocument Date (Date Received/Sent) AUDATDATS8DATUM
VSBEDShipping Conditions VSBEDCHAR2Assigned to domainVSBED
GUEBGValid-from date (outline agreements, product proposals) GUEBGDATS8DATUM
GUEENValid-to date (outline agreements, product proposals) GUEENDATS8DATUM
BSTDKCustomer purchase order date BSTDKDATS8DATUM
INCO1Incoterms (Part 1) INCO1CHAR3Assigned to domainINCO1
INCO2Incoterms (Part 2) INCO2CHAR28INCO2
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
ZTERM_TDescription of terms of payment DZTERM_BEZCHAR30TEXT30
VBTYPSD document category VBTYPCHAR1VBTYP
VBTYP_TDescription of sales and distribution document category VBTYP_TXTCHAR60AS4TEXT
POSNRSales Document Item POSNR_VANUMC6Assigned to domainPOSNRAPO
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
ARKTXShort text for sales order item ARKTXCHAR40TEXT40
KWMENGCumulative Order Quantity in Sales Units KWMENGQUAN15(3) MENG15
VRKMESales unit VRKMEUNIT3Assigned to domainCUNITMEINS
KBMENGCumulative confirmed quantity in sales unit KBMENGQUAN15(3) MENG15
KDMATMaterial Number Used by Customer MATNR_KUCHAR35IDNEX
ABGRUReason for rejection of quotations and sales orders ABGRU_VACHAR2Assigned to domainABGRU_VA
ABGRU_TDescription of reason for rejection ABGRU_BEZCHAR40TEXT40
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
ZMENGTarget quantity in sales units DZMENGQUAN13(3) MENG13
ZWERTTarget Value for Outline Agreement in Document Currency DZWERTCURR13(2) WERT7
ZIEMETarget quantity UoM DZIEMEUNIT3Assigned to domainCUNITMEINS
NETPRNet price NETPRCURR11(2) WERTV6
WERKSPlant (Own or External) WERKS_EXTCHAR4Assigned to domainWERKSWRKSH_T001W_EXTS
UMZIZFactor for converting sales units to base units (target qty) UMZIZDEC5UMBSZ
UMZINFactor for converting sales units to base units (target qty) UMZINDEC5UMBSN
POSEXItem Number of the Underlying Purchase Order POSEXCHAR6ALPHAPOSEX
FAKSPBilling block for item FAKSP_APCHAR2Assigned to domainFAKSP
CMPREItem credit price CMPRECURR11(2) WERTV6
BEDAERequirements type BEDAECHAR4Assigned to domainBEDAEBDA
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
PSTYVSales document item category PSTYVCHAR4Assigned to domainPSTYV
PSTYV_TDescription of item category PSTYV_BEZCHAR20TEXT20
UMVKZNumerator (factor) for conversion of sales quantity into SKU UMVKZDEC5UMBSZ
UMVKNDenominator (Divisor) for Conversion of Sales Qty into SKU UMVKNDEC5UMBSN
VBELVOriginating document VBELVCHAR10Assigned to domainALPHAVBELN
POSNVOriginating item POSNVNUMC6Assigned to domainPOSNR
VGBELDocument number of the reference document VGBELCHAR10Assigned to domainALPHAVBELN
VGPOSItem number of the reference item VGPOSNUMC6Assigned to domainPOSNR
VGTYPDocument category of preceding SD document VBTYP_VCHAR1VBTYP
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
OBJNRObject number at item level OBJPOCHAR22Assigned to domainJ_OBJNR
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
POSIDWork Breakdown Structure Element (WBS Element) PS_POSIDCHAR24PROJNPS_POSIDPRO
POST1PS: Short description (1st text line) PS_POST1CHAR40TEXT40

Key field Non-key field



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

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

How to access SAP table TDS_SALESDOC

Within an ECC or HANA version of SAP you can also view further information about TDS_SALESDOC 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!