SAP Margin Analysis (CO-PA)

Profitability Segments in RAR: Derivation and Common Pitfalls

How SAP RAR receives profitability segments from sales orders, why items get stuck in raw status, and how to keep derivation consistent.

Every revenue and cost posting that SAP Revenue Accounting and Reporting (RAR) creates needs a home in profitability reporting. In S/4HANA, that home is the profitability segment: the combination of characteristics such as customer, product, region, or industry that Margin Analysis uses to slice margin. If the segment is wrong, ASC 606 revenue is still correct in the G/L, but your margin reports are not. If it is missing, revenue may not post at all.

This article explains where RAR gets its profitability segment from, and the pitfalls we see most often in design and testing.

Where the Segment Comes from

RAR does not derive profitability characteristics on its own. It receives them from the sender component:

  • For sales order items (revenue accounting item class type 01), the interface component for profitability analysis characteristics is active by default whenever profitability analysis is active, and it cannot be deselected.

  • The fields of this component come from the characteristics structure COPACRIT. During processing of raw items into processable items, they are transferred to the profitability segment number.

  • For external sender components, account assignment, including profitability characteristics, is handled in BRFplus.

In other words: for SD-based scenarios, the profitability segment of the sales order item is the one that follows the revenue into RAR. Good derivation in SD is therefore the foundation of good margin reporting from RAR.

Pitfall 1: Items Stuck in Raw Status

There are several reasons why revenue accounting items are saved as raw data instead of processable. One of them applies directly to profitability reporting: for the CO-PA integration, the system could not determine the profitability segment.

Two points make this worse than it looks:

  • RAR checks the whole sales order document as one logical unit. If one item fails, no item of that document becomes processable.

  • Delivery and invoice items can only be processed if the assigned order item is already processable.

So a single derivation gap can block revenue for an entire order, including its fulfillment and invoice events. Include "no raw items" as a standard check in your period-end close and monitor raw items in the revenue accounting item monitor.

Pitfall 2: Inconsistent Characteristics Across Systems

Revenue accounting item classes are generated from Customizing. For profitability analysis (the derivation of the profitability segment), the COPACRIT characteristics structure must be identical in the Customizing system and the target systems. Adding a new characteristic in Margin Analysis is therefore not just a controlling change; it touches the RAR item classes and their transport. Coordinate controlling and RAR changes in the same release.

Pitfall 3: Expecting Rule Changes to Apply to History

Margin Analysis in the Universal Journal assigns a profitability segment to most transactions automatically. But changes to derivation or settlement rules are not applied to line items that are already posted. Realignment in the Universal Journal is the tool to rederive characteristics for attributed line items; profit center, functional area, account, and values are never changed by it.

For RAR scenarios, the implication is simple: decide your characteristics before contracts are created, and treat later changes as a controlled process with clear documentation for audit purposes.

Pitfall 4: Migration and Incomplete Documents

During migration of open contracts into RAR, the profitability segment on legacy sales documents deserves attention. Legacy orders were often created under older derivation rules, and an item without a valid segment cannot become processable. Test how your release handles profitability segments in the migration run, and check segment completeness on the legacy order population before the migration cycle, not after.

Pitfall 5: Segments That Don't Match How Margin Is Managed

A technically valid segment can still be a poor one. Typical design gaps:

  • Characteristics that sales uses on the order but finance never reports on.

  • Missing characteristics that management uses for decisions, such as contract type or revenue stream.

  • Bundles where several performance obligations should be reported on different product lines, but all order items share one generic material.

Agree on the reporting dimensions with controlling first, then design SD derivation and RAR performance obligations to support them.

A Practical Checklist

  • Confirm which characteristics Margin Analysis needs, and that they are filled on every RAR-relevant order item.

  • Test derivation for every order type, item category, and sales area in scope.

  • Include raw-item monitoring in the close calendar and in your SOX control descriptions.

  • Align transports of COPACRIT changes with the RAR item class generation.

  • Validate segment completeness on the legacy population before migration.

Where Automation Helps

Raw-item monitoring and segment completeness checks are repetitive and rule-based. In our Agentic Finance approach, agents run these checks continuously and propose corrections, while a controller decides and approves. The automation does the searching; people keep the accountability.

Related Articles

The Bottom Line

In SAP RAR, the profitability segment is inherited, not invented. Get derivation right on the sales order item, keep the characteristics structure consistent across systems, and monitor raw items as part of the close. That way, revenue recognized under ASC 606 (or IFRS 15) lands on the right segment the first time.

Reviewing your profitability segment design for SAP RAR? Talk to our experts.

More on This Topic

Ready to Make Your SAP Finance Landscape Agentic?

Whether you are implementing SAP RAR, modernizing revenue processes, or exploring agentic finance operations, Revident helps you move from strategy to execution.