queryviz
tables/relationship path
open in builder
TFKB
FKBER → FUNC
AUFK
AUFNR
COEP

COEP

co object: line items (by period)
co28f · 4k · 6r
Merged into ACDOCA
COEP stored CO actual line items (costs by cost element, cost object, and value type) in ECC. It was the primary table for cost object controlling reports — cost center actuals, internal order costs, WBS element costs. In S/4HANA, CO no longer generates separate CO documents. Every cost-relevant FI posting writes one ACDOCA line item carrying all CO dimensions (cost center, order, WBS, profit center). COEP is no longer populated for new transactions. Historical COEP data is migrated to ACDOCA during system conversion.
key differences:
  • •COEP was a CO-only table requiring FI-CO reconciliation; ACDOCA carries both FI and CO dimensions in one record — reconciliation is eliminated
  • •COEP used internal object numbers (OBJNR) to reference cost objects; ACDOCA stores KOSTL, AUFNR, PS_PSP_PNR, PRCTR as explicit indexed fields
  • •Value types (WRTTP: 04=actual, 01=plan) in COEP become part of ACDOCA's posting type context
  • •CO-PA assessment cycles still run in S/4 but post to ACDOCA instead of COEP
  • •Standard CO reports (KSB1, KOB1, S_ALR_87013611) are rewritten in S/4 to use ACDOCA-based CDS views

fields (28)

fieldtypelengthkeydescription
BELNRchar10pkco document number
BUZEInumc4pkco document line item number
KOKRSchar4pkcontrolling area
MANDTclnt3pkclient
AUFNRchar12order number
BEKNZchar1debit/credit indicator
BLDATdats8document date
BUDATdats8posting date
BUKRSchar4company code
GJAHRnumc4fiscal year
KOSTLchar10cost center
KSTARchar10cost element
MEGB01quan17total quantity
MEINHunit3unit of measure
OBJNRchar22object number (cost center, order, etc.)
PARGBchar4partner business area
PAROBchar22partner object number
PERIOnumc3posting period
REFBNchar10reference document number (fi document)
REFBZnumc4reference document line item
SGTXTchar50segment text / line item text
TWAERcuky5transaction currency
VERSNchar3plan version
VRGNGchar4co transaction/business transaction
WKF001curr23total amount in object currency
WKG001curr23total amount in controlling area currency
WRTTPnumc2value type (actual/plan/commitment)
WTG001curr23total amount in transaction currency

relationships (6)

configuration

reference to config tables

references
T001
BUKRSBUKRS
N:1
TKA01
KOKRSKOKRS
N:1
master lookup

reference to master data

references
CSKA
KSTARKSTAR
N:1
CSKS
KOKRSKOKRS
KOSTLKOSTL
N:1
referenced by
AUFK
AUFNRAUFNR
1:N
header / item

parent-child document structure

referenced by
COBK
KOKRSKOKRS
BELNRBELNR
1:N
queryviz.io
s/4 migrationpricingcompareaboutcontactprivacyterms