queryviz
tables/relationship path
open in builder
T002
SPRAS
T001
BUKRS
CEPC
PRCTR
AUFK
OBJNR
COEJ

COEJ

co actual line items for orders/projects. stores detailed actual cost line items posted to internal orders, production orders, maintenance orders, and wbs elements. similar to coep but specifically for order-type co objects.
co20f · 4k · 4r
Merged into ACDOCA
COEJ line items are merged into ACDOCA in S/4HANA. The Universal Journal contains all CO actual line items with the order number (AUFNR) as a native field. COEJ may still exist for compatibility but ACDOCA is the single source of truth.
key differences:
  • •COEJ was specific to order actual postings; ACDOCA combines all FI/CO line items
  • •AUFNR and OBJNR are directly available on ACDOCA
  • •No more separate CO document numbering — FI document number used throughout

fields (20)

fieldtypelengthkeydescription
BELNRchar10pkco document number
BUZEInumc4pkco document line item number
KOKRSchar4pkcontrolling area
MANDTclnt3pkclient
BEKNZchar1debit/credit indicator
BUDATdats8posting date
BUKRSchar4company code
GJAHRnumc4fiscal year
KSTARchar10cost element
OBJNRchar22object number (order)
PAROBchar22partner object number
PERIOnumc3posting period
REFBNchar10reference document number
SGTXTchar50line item text
TWAERcuky5transaction currency
VRGNGchar4co business transaction
WKF001curr23amount in object currency
WKG001curr23amount in controlling area currency
WRTTPnumc2value type
WTG001curr23amount in transaction currency

relationships (4)

master lookup

reference to master data

references
AUFK
OBJNROBJNR
1:N
configuration

reference to config tables

references
TKA01
KOKRSKOKRS
N:1
T001
BUKRSBUKRS
N:1
header / item

parent-child document structure

references
COBK
KOKRSKOKRS
BELNRBELNR
GJAHRGJAHR
1:N
queryviz.iobuy me a coffee
s/4 migrationpricingcompareaboutcontactprivacyterms