TDS_DOCFLOW SAP (Display Structure for the Document Flow) Structure details
Description: Display Structure for the Document Flow
Structure field list including key, data, relationships and ABAP select examples
TDS_DOCFLOW 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 "Display Structure for the Document Flow" 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_DOCFLOW TYPE TDS_DOCFLOW.
The TDS_DOCFLOW table consists of various fields, each holding specific information or linking keys about Display Structure for the Document Flow data available in SAP. These include ITEMNUM (Item number of the SD document), DOCNUV (Originating document), ITEMNUV (Originating item), DESCRIPTION (Document type 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_DOCFLOW 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 |
DOCNUM | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
ITEMNUM | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
DOCNUV | Originating document | VBELV | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
ITEMNUV | Originating item | POSNV | NUMC | 6 | Assigned to domain | POSNR | |||
DESCRIPTION | Document type description | FMRE_BATXT | CHAR | 30 | TEXT30 | ||||
HLEVEL | Hierarchy Level | DFLOW_LEVEL | INT4 | 10 | INT4 | ||||
FOCUS | Line in Focus | 0 | |||||||
VBELV | Originating document | VBELV | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
POSNV | Originating item | POSNV | NUMC | 6 | Assigned to domain | POSNR | |||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
POSNN | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
KZVOR | Indicator for previous document | 0 | |||||||
KZDET | Indicator for detailed info | 0 | |||||||
APPLI | Application | 0 | |||||||
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
VBTYP_N | Document category of subsequent document | VBTYP_N | CHAR | 1 | VBTYP | ||||
RFMNG | Referenced quantity in base unit of measure | RFMNG | QUAN | 15(3) | MENG15 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
RFWRT | Reference value | RFWRT | CURR | 15(2) | WERTV8 | ||||
WAERS | Statistics currency | WAERS_V | CUKY | 5 | TCURC | WAERS | |||
VBTYP_V | Document category of preceding SD document | VBTYP_V | CHAR | 1 | VBTYP | ||||
PLMIN | Quantity is calculated positively, negatively or not at all | PLMIN | CHAR | 1 | PLMIN | ||||
TAQUI | ID: MM-WM transfer order confirmed | TAQUI | CHAR | 1 | XFELD | ||||
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
ERZET | Entry time | ERZET | TIMS | 6 | UZEIT | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
BWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
BDART | Requirement type | BDART | CHAR | 2 | BDART | BDA | |||
PLART | Planning type | PLART | CHAR | 1 | Assigned to domain | PLART | |||
STUFE | Level of the document flow record | STUFE_VBFA | NUMC | 2 | NUM2 | ||||
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | Assigned to domain | LGNUM | LGN | ||
AEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
FKTYP | Billing category | FKTYP | CHAR | 1 | FKTYP | ||||
BRGEW | Gross weight | BRGEW_15 | QUAN | 15(3) | MENG15 | ||||
GEWEI | Weight Unit | GEWEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
VOLUM | Volume | VOLUM_15 | QUAN | 15(3) | MENG15 | ||||
VOLEH | Volume unit | VOLEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
FPLNR | Billing plan number / invoicing plan number | FPLNR | CHAR | 10 | FPLA | FPLNR | |||
FPLTR | Item for billing plan/invoice plan/payment cards | FPLTR | NUMC | 6 | Assigned to domain | FPLTR | |||
RFMNG_FLO | Referenced quantity in sales unit (float) | RFMNG_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
RFMNG_FLT | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
VRKME | Sales unit | VRKME | UNIT | 3 | T006 | CUNIT | MEINS | ||
ABGES | Guaranteed (factor between 0 and 1) | ABGES_CM | FLTP | 16(16) | FLTP | ||||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
SONUM | Special Stock Number | LVS_SONUM | CHAR | 16 | ALPHA | LVS_SONUM | |||
KZBEF | Indicator Inventory Management active | LVS_KZBEF | CHAR | 1 | XFELD | ||||
LOGSYS | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
WBSTA | Goods movement status | WBSTA | CHAR | 1 | STATV | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
GJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
OBJ_BEZEI | Description | BEZEI20 | CHAR | 20 | TEXT20 | ||||
POS_VTEXT | Description | BEZEI20 | CHAR | 20 | TEXT20 | ||||
MAKTX | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
STATUS | Status of Document in the Document Flow | 0 | |||||||
OBJKEY | Object key | SWO_TYPEID | CHAR | 70 | SWO_TYPEID | ||||
OBJTYPE | Object Type | SWO_OBJTYP | CHAR | 10 | Assigned to domain | OJ_NAME | OBJ | ||
LOGSYS_AIP | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
VBTYP | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
BEZKO | Description of the document type | BEZKO | CHAR | 20 | TEXT20 | ||||
BEZPO | Description of the item category | BEZPO | CHAR | 20 | TEXT20 | ||||
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 | |
LOGSYS_A | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
LOGSYS_B | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
LOGSYS_V | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
LOGSYS_N | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
RELTYPE | Relationship type | BINRELTYP | CHAR | 4 | Assigned to domain | BINRELTYP |
Key field | Non-key field |
How do I retrieve data from SAP structure TDS_DOCFLOW using ABAP code?
As TDS_DOCFLOW 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_DOCFLOW as there is no data to select.How to access SAP table TDS_DOCFLOW
Within an ECC or HANA version of SAP you can also view further information about TDS_DOCFLOW 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