Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 3 of 5

Revenue and COGS flow

10 min

Listen to this lesson

0:00 / 5:25

Margin analysis is only as good as the values that reach it. The main flows are the ones that happen every day in order-to-cash: goods issue posts cost of goods sold, billing posts revenue and sales deductions. Period-end adds production variances, settled orders and allocated overhead. Each flow must carry the market segment.

  1. Sales orderCharacteristics derived: customer, product, sales area, customer group
  2. Goods issueCOGS line at standard cost, with the order item's market segment
  3. COGS splitAdditional lines move COGS to one account per cost component
  4. BillingRevenue and deduction lines with the same market segment
  5. Period-endVariances, settlements and overhead allocations add the rest
How a sale reaches margin analysis.
The Sign-Off Table · thesignofftable.com/academy/sap-co-205

A sale to Great Lakes Fleet Services

In June, Maria's team ships 200 alternators CMC-ALT-100 from plant 1710 to Great Lakes Fleet Services at the USD 240 list price, in four orders of 50. The first is sales order 1000457: outbound delivery 80001234 posts COGS of 50 × USD 150 = USD 7,500, and invoice 90001877 posts revenue of USD 12,000, a margin of USD 4,500. For the month as a whole, the goods issues post cost of goods sold at the standard cost of USD 150, that is USD 30,000, and the line carries the market segment derived from the sales order item. The four billing documents post revenue of USD 48,000 with the same market segment. Neither document needs anyone to type a characteristic.

The market segment is derived once on the sales order item and reaches both the COGS line at goods issue and the revenue line at billing.
The Sign-Off Table · thesignofftable.com/academy/sap-co-205
DocumentAccountAmount (USD)Market segment
Goods issueCost of goods sold30,000.00 debitGreat Lakes Fleet Services, CMC-ALT-100, 1710/10/00
Goods issueFinished goods inventory30,000.00 creditn/a (balance sheet)
BillingRevenue48,000.00 creditSame market segment
BillingCustomer receivable48,000.00 debitn/a (open item)

Journal entry lines for the sale (simplified, without tax).

Splitting cost of goods sold by component

A single COGS line says "USD 30,000". Dan wants material, labor, machine and overhead. SAP S/4HANA can split COGS by the cost component split of the standard cost estimate. In Customizing (Define Accounts for Splitting the Cost of Goods Sold) you create a splitting profile, name the source COGS account, choose a strategy such as the current standard cost estimate, and assign one target G/L account per cost component. The goods issue still posts to the COGS account first; additional lines then move the amount to the component accounts.

Cost componentPer unit (USD)200 units (USD)Target account
Material80.0016,000.00COGS - material
Material overhead8.001,600.00COGS - material overhead
Labor26.005,200.00COGS - labor
Machine24.004,800.00COGS - machine
Production overhead12.002,400.00COGS - production overhead
Total150.0030,000.00Source COGS account nets to zero
COGS split for the sale, based on the released cost component split.
The Sign-Off Table · thesignofftable.com/academy/sap-co-205

Variances, settlements and overhead

Production variances explain why actual production cost differed from standard. In margin analysis, SAP's learning material describes splitting them by variance category with the Customizing activity Define Accounts for Splitting Price Differences, so the income statement shows causes such as price or quantity variances on separate accounts. Internal orders, such as a marketing campaign, can be settled to a market segment. Remaining overhead on cost centers can be allocated to market segments at period-end so the margin report reaches an operating result.

Operating resultAfter allocated overhead and other period-end assignments
Contribution margin IIIAfter production variances by category
Contribution margin IIAfter fixed parts of cost of goods sold
Contribution margin INet revenue minus variable cost of goods sold
Net revenueRevenue minus sales deductions from billing
A contribution margin scheme built from margin analysis flows (Contoso's design).
The Sign-Off Table · thesignofftable.com/academy/sap-co-205
A delivery shipped on the last day of June and billed on the first of July splits its cost and revenue across two periods.
The Sign-Off Table · thesignofftable.com/academy/sap-co-205

What would you do?

After go-live, the margin report shows CMC-ALT-100 sales to Great Lakes Fleet Services with revenue but no cost of goods sold in July. What is the most likely cause?

Key points
  • Goods issue posts COGS and billing posts revenue, both with the market segment from the sales order item.
  • COGS can be split by cost component into separate G/L accounts.
  • Variances can be split by category; orders can settle and overhead can be allocated to market segments.
  • COGS at goods issue and revenue at billing create timing differences around period-end.

Check your understanding · not graded

Lesson check

  1. 1. Where does a goods issue for a sales order get its market segment?

  2. 2. What does the COGS split need for each cost component?

  3. 3. Which Customizing activity splits production variances by category for margin analysis?

  4. 4. 200 units at a standard of USD 150 with a material component of USD 80 per unit. What is the COGS material amount?