SAP tableObjectCOBRAModuleFI_FICO

COBRA table — Settlement Rule Header for Order and WBS Settlement

COBRA stores the settlement rule header for a CO sender object such as an internal order, WBS element, network or cost object. Each row, keyed by the object number OBJNR, records that a settlement rule exists and how its period logic works. The actual receivers and percentages sit in the child distribution rule table, not in COBRA itself.

This page covers what a row in COBRA actually represents, the fields worth querying, and how it links to the sender object master and to the CO/FI documents that settlement ultimately produces. The pitfalls section focuses on the gap between a settlement rule existing and a settlement rule being complete, which is where most incident tickets on this table start.

Published 15 Sept 2026· 1,123 words

What it stores

A row in COBRA represents the header of a settlement rule attached to one sender object, identified by its object number OBJNR. The sender is typically an internal order, a WBS element, a network activity, or another CO object that accumulates costs and needs to pass them on. COBRA does not hold the receivers or the split percentages; it holds the metadata of the rule itself, principally whether settlement is period-based or full, and the reference date used to determine which fiscal period a periodic settlement run applies to. The individual distribution lines, each naming a receiver type, a receiver, a percentage or fixed amount and a validity window, live in a separate child table keyed by the same object number. COBRA is therefore a thin, mostly stable table compared to the volume of postings that settlement actually generates downstream.

Key fields

  • MANDT - client, always restrict on it before any select
  • OBJNR - object number of the sender being settled; a technical key derived from the order, WBS element or other object, not the business document number itself
  • LOEKZ - deletion indicator on the settlement rule; a set flag means the rule is logically deleted but the row still physically exists
  • PERBZ - settlement period indicator, controls whether the rule settles by period or as a one-time full settlement
  • BZDAT - reference date used to derive the fiscal year and period for periodic settlement

How it joins the data model

  • COBRA-OBJNR = AUFK-OBJNR when the sender is an internal order
  • COBRA-OBJNR = PRPS-OBJNR when the sender is a WBS element
  • COBRA-OBJNR = COBRB-OBJNR to reach the individual distribution rule lines: receiver type, receiver, percentage or fixed amount, validity period
  • Settlement execution posts CO line items keyed by the same OBJNR into COEP, and in S/4HANA the resulting journal entries land in ACDOCA alongside the classic CO postings

How to read it safely

Always restrict on MANDT first. OBJNR is the only field worth filtering on for a targeted lookup; it is not the order number or WBS element as written on the business document, it is the converted object number, so convert the business key before querying rather than searching for it directly in COBRA. The table itself is small relative to CO actuals tables, so a scan restricted to a single object is instant, but pulling COBRA for a whole order type or company code without any OBJNR range is unnecessarily slow and rarely the right diagnostic anyway, since the rule header alone answers almost nothing about amounts. Filter out LOEKZ-set rows when the question is 'does this object currently have an active settlement rule'.

How to prove it in the data

Symptom: an order fails settlement with 'no settlement rule maintained' or settles only partially. Convert the order or WBS element to its object number, then select COBRA for that OBJNR. No row at all confirms the first error exactly as stated. A row present but with LOEKZ set means the rule was deleted, which reproduces the same error even though a row exists. If the header row is fine, move to the distribution rule child table for the same OBJNR and check whether the percentages across active receiver lines sum to 100, since a header without a complete distribution is the usual cause of partial settlement.

ECC vs S/4HANA

COBRA remains a classic transparent table on S/4HANA; the settlement rule concept for orders, WBS elements and networks was not redesigned as part of the universal journal move. It has not been replaced by a compatibility CDS view. What changed is where the resulting postings end up: CO actuals that used to live only in classic CO totals and line item tables are now also reflected in ACDOCA, so tracing a settlement's financial effect increasingly means following OBJNR into ACDOCA rather than only into the older CO line item tables.

Common pitfalls

The recurring mistake is treating 'a row exists in COBRA' as proof that settlement will work. It only proves a header exists.

  • A COBRA row with LOEKZ set still returns from a plain select; forgetting to filter on it produces a false positive that a rule is active
  • OBJNR is a technical object number, not the order or WBS element number printed on the document; querying COBRA with the raw business key returns nothing and gets misread as 'no settlement rule exists' when the rule is actually there
  • COBRA holds no amounts and no percentages; concluding anything about settlement values from this table alone is a category error, the numbers are in the distribution rule child table and, after execution, in COEP or ACDOCA
  • A settlement rule having run successfully in a prior period does not guarantee it is still complete now; receivers can be added, removed, or have their validity period end, leaving the header untouched while the underlying distribution becomes invalid
  • Multiple distribution lines with different validity periods can exist for the same receiver on the same OBJNR; summing percentages across all of them without applying the settlement date produces an apparent total above or below 100 that does not reflect what any single settlement run actually used
  • Assuming the presence of a rule means the object is settling to the correct receiver type; receiver category (cost center, G/L account, asset, order, sales order) is on the child table and drives very different downstream postings

Whose problem this is

Settlement rule configuration, allocation structures and settlement profiles are owned by the FI/CO consultant responsible for controlling configuration. Whether a specific object should even have a settlement rule, and to which receiver, is a functional call owned jointly with whoever owns the sender object, PS for WBS elements and networks, PM or PP for orders, depending on the landscape.

Related SAP objects

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

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