TKO03 SAP (Order status) Table details
Dictionary Type: Table
Description: Order status
Description: Order status
Table field list including key, data, relationships and ABAP select examples
TKO03 is a standard SAP Table which is used to store Order status data and is available within R/3 SAP systems depending on the version and release level.
The TKO03 table consists of various fields, each holding specific information or linking keys about Order status data available in SAP. These include ART (Order Type), ASTNR (Order status), NSTNR (Lowest order status), HSTNR (Highest order status).. 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: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
Text table = TKO04
SAP TKO03 table 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 |
CLIENT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
ART | Order Type | AUFART | CHAR | 4 | T003O | AUFART | AAT | ||
ASTNR | Order status | AUFASTNR | NUMC | 2 | AUFSTNR | ||||
NSTNR | Lowest order status | AUFNSTNR | NUMC | 2 | TKO03 | AUFSTNR | |||
HSTNR | Highest order status | AUFHSTNR | NUMC | 2 | TKO03 | AUFSTNR | |||
DEFST | Default status | AUFDEFST | CHAR | 1 | XFELD | ||||
PLGKZ | Identifier for planning with line items | PLGKZ | CHAR | 1 | XFELD | ||||
LOEKZ | Indicator 'Setting delete flag is allowed' | AUFLOEVM | CHAR | 1 | XFELD | ||||
VOGRP | Group of allowed transactions | AUFVOSET | CHAR | 4 | Assigned to domain | VOGRP | VGR | ||
PHAS0 | Phase 'Order created' | AUFPHAS0 | CHAR | 1 | XFELD | ||||
PHAS1 | Phase 'Order released' | AUFPHAS1 | CHAR | 1 | XFELD | ||||
PHAS2 | Phase 'order completed' | AUFPHAS2 | CHAR | 1 | XFELD | ||||
PHAS3 | Phase 'order closed' | AUFPHAS3 | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table TKO03 using ABAP code
The following ABAP code Example will allow you to do a basic selection on TKO03 to SELECT all data from the tableDATA: WA_TKO03 TYPE TKO03.
SELECT SINGLE *
FROM TKO03
INTO CORRESPONDING FIELDS OF WA_TKO03
WHERE...
How to access SAP table TKO03
Within an ECC or HANA version of SAP you can also view further information about TKO03 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