COES SAP (CO Object: Sales Order Value Line Items) Table details
Dictionary Type: Table
Description: CO Object: Sales Order Value Line Items
Description: CO Object: Sales Order Value Line Items
Table field list including key, data, relationships and ABAP select examples
COES is a standard SAP Table which is used to store CO Object: Sales Order Value Line Items data and is available within R/3 SAP systems depending on the version and release level.
The COES table consists of various fields, each holding specific information or linking keys about CO Object: Sales Order Value Line Items data available in SAP. These include OBJNR (Object number), AWTYP (Reference Transaction), AWKEY (Reference Key), AWSYS (Logical system of source document).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP COES 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
OBJNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
AWTYP | Reference Transaction | AWTYP | CHAR | 5 | Assigned to domain | AWTYP | |||
AWKEY | Reference Key | AWKEY | CHAR | 20 | AWKEY | ||||
AWSYS | Logical system of source document | AWSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
AWPOS | Reference line item | AWPOS | CHAR | 10 | AWPOS | ||||
WRTTP | Value Type | CO_WRTTP | CHAR | 2 | CO_WRTTP | ||||
VRGNG | CO Business Transaction | CO_VORGANG | CHAR | 4 | Assigned to domain | J_VORGANG | |||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
PERIO | Period | CO_PERIO | NUMC | 3 | PERBL | VPE | |||
KSTAR | Cost Element | KSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
POSIT | Internal commitment item (8 chars) | BP_POSIT | CHAR | 8 | BP_POSIT | ||||
TWAER | Transaction Currency | TWAER | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
HRKFT | CO key subnumber | CO_SUBKEY | CHAR | 14 | Assigned to domain | CO_SUBKEY | |||
WTGBTR | Total Value in Transaction Currency | WTGXXX | CURR | 15(2) | WERTV8 | ||||
WOGBTR | Total Value in Object Currency | WOGXXX | CURR | 15(2) | WERTV8 | ||||
WKGBTR | Total Value in Controlling Area Currency | WKGXXX | CURR | 15(2) | WERTV8 | ||||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
OWAER | Currency Key | OWAER | CUKY | 5 | Assigned to domain | WAERS | OWS | ||
WRTTP_PLAN | Value Type | CO_WRTTP | CHAR | 2 | CO_WRTTP | ||||
BELNR | Document Number | CO_BELNR | CHAR | 10 | Assigned to domain | ALPHA | CO_BELNR | BLN | |
BELTP | Debit type | BP_INOUT | NUMC | 1 | BP_INOUT |
Key field | Non-key field |
How do I retrieve data from SAP table COES using ABAP code
The following ABAP code Example will allow you to do a basic selection on COES to SELECT all data from the tableDATA: WA_COES TYPE COES.
SELECT SINGLE *
FROM COES
INTO CORRESPONDING FIELDS OF WA_COES
WHERE...
How to access SAP table COES
Within an ECC or HANA version of SAP you can also view further information about COES 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