COES SAP (CO Object: Sales Order Value Line Items) Table details

Dictionary Type: Table
Description: CO Object: Sales Order Value Line Items




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




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
AWTYPReference Transaction AWTYPCHAR5Assigned to domainAWTYP
AWKEYReference Key AWKEYCHAR20AWKEY
AWSYSLogical system of source document AWSYSCHAR10Assigned to domainALPHALOGSYS
AWPOSReference line item AWPOSCHAR10AWPOS
WRTTPValue Type CO_WRTTPCHAR2CO_WRTTP
VRGNGCO Business Transaction CO_VORGANGCHAR4Assigned to domainJ_VORGANG
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
PERIOPeriod CO_PERIONUMC3PERBLVPE
KSTARCost Element KSTARCHAR10Assigned to domainALPHAKSTARKAT
POSITInternal commitment item (8 chars) BP_POSITCHAR8BP_POSIT
TWAERTransaction Currency TWAERCUKY5Assigned to domainWAERSFWS
HRKFTCO key subnumber CO_SUBKEYCHAR14Assigned to domainCO_SUBKEY
WTGBTRTotal Value in Transaction Currency WTGXXXCURR15(2) WERTV8
WOGBTRTotal Value in Object Currency WOGXXXCURR15(2) WERTV8
WKGBTRTotal Value in Controlling Area Currency WKGXXXCURR15(2) WERTV8
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
OWAERCurrency Key OWAERCUKY5Assigned to domainWAERSOWS
WRTTP_PLANValue Type CO_WRTTPCHAR2CO_WRTTP
BELNRDocument Number CO_BELNRCHAR10Assigned to domainALPHACO_BELNRBLN
BELTPDebit type BP_INOUTNUMC1BP_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 table
DATA: 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 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!