SAP tableObjectCOSSModuleFI_FICO

COSS table — COSS Table for CO Secondary Cost Totals

COSS is the Controlling totals table for secondary cost elements and statistical key figures. Each row summarizes, for one CO object, fiscal year, value type and version, the values posted under one cost element across the periods of that year. It does not hold primary costs, which live in the companion table COSP, and it does not hold individual documents, which live in COEP.

This page covers what a COSS record represents, the fields consultants actually query, how OBJNR ties it to cost centers, orders and WBS elements, and the practical traps in reading period values out of a totals table instead of a line item table. It also covers where COSS sits relative to ACDOCA in an S/4HANA system.

Published 15 Sept 2026· 1,058 words

What it stores

One row in COSS represents the totalled value of postings for a single combination of CO object, fiscal year, value type, version, secondary cost element (or statistical key figure) and origin, with the twelve or more posting periods of that year carried as separate value columns on the same row rather than as separate rows. COSS is restricted to secondary cost elements (allocations, internal activity, settlement, order-to-order transfers) and statistical key figures; primary cost element totals for the same objects sit in the parallel table COSP. Neither table stores the underlying document; the totals are maintained as postings happen and the individual documents that built them up sit in the CO line item table COEP.

Key fields

  • MANDT - client
  • OBJNR - CO object number, an opaque key that encodes the object type and internal ID for a cost center, order, WBS element, or similar CO object
  • GJAHR - fiscal year the totals row belongs to
  • WRTTP - value type distinguishing plan, actual and other categories of value
  • VERSN - version, relevant mainly for plan data
  • KSTAR - cost element (secondary) or statistical key figure number that the values were posted to
  • HRKFT - origin key, further qualifying the source of the posting
  • VRGNG - business transaction type that generated the posting, for example an allocation cycle or an order settlement
  • BEKNZ - debit/credit indicator
  • PARGB - trading partner business area, relevant for cross-company allocations
  • period value fields - one column per posting period holding the accumulated value for that period, in object currency

How it joins the data model

  • COSS-OBJNR corresponds to CSKS-OBJNR when the CO object is a cost center
  • COSS-KSTAR = CSKA-KSTAR for the cross-controlling-area cost element master record
  • COSS-KSTAR = CSKB-KSTAR for the controlling-area-specific cost element attributes, including whether it is a secondary element
  • COSS-KSTAR = CSKT-KSTAR for the cost element description in a given language
  • COSS aggregates the individual documents held in COEP for the same OBJNR, GJAHR, WRTTP and KSTAR

How to read it safely

COSS is client-dependent and large, so MANDT is implicit and every other selection matters. Restrict on GJAHR and WRTTP first; pulling actual and plan together in one unfiltered read produces meaningless combined totals. OBJNR is not human-readable and cannot be filtered with a wildcard on a cost center or order number directly, it has to be resolved through the relevant master table first (CSKS for cost centers, the order or project master for orders and WBS elements). Do not run a broad KSTAR-only selection across all controlling areas; cost element numbering is not unique across controlling areas the way it looks.

How to prove it in the data

Symptom: a cost center shows an actual cost that nobody can explain from direct postings. Resolve the cost center to its OBJNR via the cost center master, then select COSS for that OBJNR, the fiscal year in question, and the actual value type. The KSTAR returned is the secondary cost element that received the posting, and VRGNG shows what kind of CO transaction produced it, typically an allocation cycle or a settlement run. The period value field for the period in question confirms the amount, and COEP for the same key gives the originating document.

ECC vs S/4HANA

In S/4HANA the universal journal in ACDOCA is the system of record for financial and much of the controlling detail, but COSS has generally continued to be updated for secondary cost postings and statistical key figures rather than being retired outright, because these object types are not represented in ACDOCA the same way FI-relevant primary costs are. Consultants should not assume COSS is a dead or purely historical table on an S/4HANA system; it is worth confirming on the specific release and configuration in front of them whether it is still actively written before deciding a reconciliation approach.

Common pitfalls

  • Assuming a missing amount in COSS means missing master data. If the amount is a primary cost, it was never going to appear here; check COSP first.
  • Summing period value columns across different WRTTP or VERSN values in one query, which mixes plan and actual or blends versions into a number that means nothing.
  • Filtering OBJNR with a substring or wildcard built from the cost center or order number. OBJNR is a structured internal key, not the business ID, and this filter silently returns nothing or the wrong object.
  • Comparing a COSS value directly against an FI amount in company code currency without checking which currency the period value field is actually stored in.
  • Treating COSS as a place to correct data. It is a totals table maintained by posting logic; a wrong value is fixed by reversing or reposting the originating transaction, not by adjusting the totals row.
  • Forgetting that a statistical key figure occupies the same table and KSTAR range logically as secondary cost elements, so a query that assumes every KSTAR in COSS is a currency amount can misinterpret a quantity figure.

Whose problem this is

A discrepancy traced to COSS is a controlling question, owned by whoever runs cost center accounting, internal orders, or project controlling, not by FI accounts payable or receivable teams. Extraction or reporting issues against the table are an ABAP or BW/analytics concern once the controlling team has confirmed which object, period and value type are in question.

Related SAP objects

Reviewed pages this object connects to in the ERPClimb knowledge graph.

Source: ERPClimb — https://erpclimb.com/sap-tables/cossERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.