COER SAP (Sales Order Value Revenue) Table details

Dictionary Type: Table
Description: Sales Order Value Revenue




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




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

COER is a standard SAP Table which is used to store Sales Order Value Revenue data and is available within R/3 SAP systems depending on the version and release level.

The COER table consists of various fields, each holding specific information or linking keys about Sales Order Value Revenue data available in SAP. These include LEDNR (Ledger for Controlling objects), OBJNR (Object number), GJAHR (Fiscal Year), WRTTP (Value Type).. 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 COER 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 MANDTCLNT3T000MANDT
LEDNRLedger for Controlling objects LEDNRCHAR2ALPHALEDNR
OBJNRObject number J_OBJNRCHAR22ONR00J_OBJNRONR
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
WRTTPValue Type CO_WRTTPCHAR2CO_WRTTP
KSTARCost Element KSTARCHAR10CSKAALPHAKSTARKAT
HRKFTOrigin Group as Subdivision of Cost Element HRKFTCHAR4Assigned to domainHRKFT
VRGNGCO Business Transaction CO_VORGANGCHAR4Assigned to domainJ_VORGANG
VBUNDCompany ID of trading partner RASSCCHAR6T880ALPHARCOMPPGS
TWAERTransaction Currency TWAERCUKY5TCURCWAERSFWS
PERBLPeriod block PERBLNUMC3PERBLVPE
VERSNVersion VERSNCHAR3TKA09ALPHACOVERSIKVS
VBELNSales and Distribution Document Number VBELNCHAR10VBUKALPHAVBELNAUN
VPOSNItem number of the SD document POSNRNUMC6VBUPPOSNR
KONDZCondition type counter (internal) PS_KONDZCHAR10CHAR10
AENDZChange counter for customer order PS_AENDZNUMC4NUM4
KSCHLCondition type KSCHACHAR4Assigned to domainKSCHLVKS
STUNRStep number STUNRNUMC3Assigned to domainSTUNR
ZAEHKCondition counter DZAEHKNUMC2ZAEHK
LAENZLast change number for customer order PS_LAENZNUMC4NUM4
BEKNZDebit/credit indicator BEKNZCHAR1BEKNZBEKNZ
VBTYPSD document category VBTYPCHAR1VBTYP
FKARTBilling Type FKARTCHAR4Assigned to domainFKART
FKTYPBilling category FKTYPCHAR1FKTYP
PERIVFiscal Year Variant PERIVCHAR2Assigned to domainPERIV
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
KUNAGSold-to party KUNAGCHAR10Assigned to domainALPHAKUNNRVAG
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
KOKRSControlling Area KOKRSCHAR4TKA01CACCDCAC
SPARTDivision SPARTCHAR2TSPASPARTSPAC_SPART
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
BLARTDocument Type BLARTCHAR2T003BLARTBAR
BLDATDocument Date in Document BLDATDATS8DATUM
BUDATPosting Date in the Document BUDATDATS8DATUM
WADATGoods Issue Date WADATDATS8DATUM
FKDATBilling date for billing index and printout FKDATDATS8DATUM
BUDGJPosting Date YYYY BDATJNUMC4GJAHRGJAHRBDTJ
BUDPEPosting period POPERNUMC3POPERPOPR
WADGJPosting Date YYYY BDATJNUMC4GJAHRGJAHRBDTJ
WADPEPosting period POPERNUMC3POPERPOPR
FKDGJPosting Date YYYY BDATJNUMC4GJAHRGJAHRBDTJ
FKDPEPosting period POPERNUMC3POPERPOPR
KUNNRCustomer Numbers KUNNRCHAR10KNA1ALPHAKUNNRKUNC_KUNNR
FILKDAccount Number of the Branch FILKDCHAR10ALPHAMAXKK
SGTXTSegment text CO_SGTXTCHAR50TEXT50
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
ZFBDTBaseline Date for Due Date Calculation DZFBDTDATS8DATUM
SKFBTAmount Eligible for Cash Discount in Document Currency SKFBTCURR13(2) WERT7
WKURSExchange Rate WKURSDEC9(5) EXCRTKURSP
MEINHUnit of Measure CO_MEINHUNIT3T006CUNITMEINS
MEINBPosted Unit of Measure MEINBUNIT3T006CUNITMEINS
ORGWTHPlanned value in local currency WERTH1CURR15(2) WERTV8
WHGBTRTotal value in local currency WHGXXXCURR15(2) WERTV8
ORGWTTPlanned value in transaction currency WERTT1CURR15(2) WERTV8
WTGBTRTotal Value in Transaction Currency WTGXXXCURR15(2) WERTV8
ORGWTOPlanned value in object currency WERTO1CURR15(2) WERTV8
WOGBTRTotal Value in Object Currency WOGXXXCURR15(2) WERTV8
ORGWTLPlanned value in ledger currency WERTL1CURR15(2) WERTV8
WLGBTRTotal value in ledger currency WLGXXXCURR15(2) WERTV8
ORGWTKPlanned value in controlling area currency WERTK1CURR15(2) WERTV8
WKGBTRTotal Value in Controlling Area Currency WKGXXXCURR15(2) WERTV8
MEGBTRTotal Quantity MEGXXXQUAN15(3) MENGV8
CITYCCity Code CITYCCHAR4T005GCITYC
BONUSVolume rebate group BONUSCHAR2TVBOBONUS
PROVGCommission group PROVGCHAR2TVPRPROVG
VKGRPSales Group VKGRPCHAR3TVKGRVKGRPVKG
VKBURSales Office VKBURCHAR4TVBURVKBURVKB
FBUDADate on which services rendered FBUDADATS8DATUM
AUBELSales Document VBELN_VACHAR10VBUKALPHAVBELNAUN
AUPOSSales Document Item POSNR_VANUMC6VBUPPOSNRAPO
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
FKIMGActual Invoiced Quantity FKIMGQUAN13(3) MENG13
VRKMESales unit VRKMEUNIT3T006CUNITMEINS
FKLMGBilling quantity in stockkeeping unit FKLMGQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3T006CUNITMEINS
KAPPLApplication KAPPLCHAR2T681AKAPPLKAP
KALSMProcedure (Pricing, Output Control, Acct. Det., Costing,...) KALSM_DCHAR6T683KALSM
KNTYPCondition category (examples: tax, freight, price, cost) KNTYPCHAR1KNTYP
ANGDTQuotation/Inquiry is valid from ANGDT_VDATS8DATUM
BNDDTDate until which bid/quotation is binding (valid-to date) BNDDTDATS8DATUM
KBVERAllowed deviation in quantity (in percent) KBVERDEC3PACK2
KEVERDays by which the quantity can be shifted KEVERDEC3PACK2
AWAHROrder probability of the item AWAHRNUMC3AWAHR
PRSDTDate for pricing and exchange rate PRSDTDATS8DATUM
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
LFIMGActual quantity delivered (in sales units) LFIMGQUAN13(3) MENG13
HWAERLocal Currency HWAERCUKY5TCURCWAERS
POSITInternal commitment item (8 chars) BP_POSITCHAR8BP_POSIT
ERLPLUpdate revenue plan ERL_PLANKZCHAR1FLAG
WRTTP_PLANValue Type CO_WRTTPCHAR2CO_WRTTP
BP_LEDNRBudget/Planning Ledger BP_LEDNRCHAR4NUMCVLEDNR_BP

Key field Non-key field



How do I retrieve data from SAP table COER using ABAP code

The following ABAP code Example will allow you to do a basic selection on COER to SELECT all data from the table
DATA: WA_COER TYPE COER.

SELECT SINGLE *
FROM COER
INTO CORRESPONDING FIELDS OF WA_COER
WHERE...

How to access SAP table COER

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