SAP COGS Split in S/4HANA: Configuration and Example

Search Posts

By John Jordan

SAP COGS split in S/4HANA separates cost of goods sold into different general ledger accounts based on the cost components in a cost estimate. Instead of seeing one total, your finance team can analyze material, labor, and overhead separately in Financial Accounting and Margin Analysis.

In this article, I explain how the cost splitting profile connects cost components to G/L accounts, walk through a numerical example, and show how COGS split differs from production variance split.

This article draws on Section 20.3.2, “Cost of Goods Sold Split,” pages 592–595, of Product Cost Controlling with SAP S/4HANA, the book I co-authored with Janet Salmon. It focuses on the IMG configuration approach described in the book. Check the applicable settings for your SAP S/4HANA release and deployment.

Table of Contents

What Is SAP COGS Split?

A cost estimate contains more information than the total cost of a product. Its cost component split shows the amounts assigned to categories such as direct material, production labor, and manufacturing overhead. For more on designing this breakdown, see the power and purpose of cost components in S/4HANA Controlling.

COGS split uses that information to distribute the cost of goods sold across target G/L accounts. The cost splitting profile defines which source accounts are relevant, how the cost estimate is selected, and which target account receives each cost component.

This gives your reporting a more useful cost breakdown. You can compare material costs with revenue or investigate the labor and overhead share of the products sold, where the relevant profitability characteristics are available.

SAP COGS Split Example

Assume you sell 100 units of a product with a standard cost of $100 per unit. The cost estimate contains $60 of material, $25 of labor, and $15 of overhead per unit. Table 1 shows the intended reporting breakdown:

Cost componentCost per unitCOGS for 100 unitsIllustrative target G/L account
Direct material $60 $6,000 COGS – Direct Material
Production labor $25 $2,500 COGS – Production Labor
Manufacturing overhead $15 $1,500 COGS – Manufacturing Overhead
Total $100 $10,000
Table 1: Illustrative SAP COGS Split for 100 Units Sold

The total remains $10,000. COGS split provides detail within that amount; it does not create another $10,000 of expense. Reconcile the original posting, split lines, and offsets together when checking the journal entries.

This simplified example illustrates the reporting result and is not reproduced from the book. Account names are illustrative.

Configure SAP COGS Split

Before You Configure

Agree on the breakdown your finance team needs before creating target accounts. Review the cost component structure and a representative cost estimate. If the estimate combines all conversion costs into one component, the account mapping alone cannot provide separate labor and overhead amounts.

Identify the source COGS accounts, target G/L accounts, applicable valuation views, and company codes. Also decide which cost estimate selection strategy should apply.

Create the Cost Splitting Profile

In the configuration described in the book, follow this IMG menu path:

Financial Accounting > General Ledger Accounting > Periodic Processing > Integration > Materials Management > Define Accounts > Define Accounts for Splitting the Cost of Goods Sold

Create a cost splitting profile for the relevant controlling area and chart of accounts. The book uses profile 0YA000, controlling area A000, and chart of accounts YCOA as examples. Use identifiers appropriate to your system.

The book also illustrates the Acc Based Split indicator for an account-based split when the source account receives a posting. Review its behavior for the business transactions you intend to include.

Maintain Source Accounts and Valuation Views

Open Source Accounts and enter the COGS accounts to be split. Maintain the valuation-view selection according to your reporting design. The book's example leaves the valuation view blank rather than restricting the mapping to a particular view.

Define the Strategy Sequence

The strategy sequence controls how SAP selects the costing information used for the split. The book illustrates a first strategy for released cost estimates and a second for upcoming released cost estimates.

Treat the sequence as a reporting decision. Confirm which estimate should apply to the posting period, and test the fallback when the preferred estimate is unavailable. Do not copy an example sequence without checking its effect on your materials and closing process.

Assign Target Accounts and a Default

In Target Accounts, assign a G/L account to each relevant cost component in the cost component structure. Table 2 summarizes the main configuration decisions:

SettingPurpose
Cost splitting profile Groups the COGS splitting rules.
Source account Identifies the COGS account to be split.
Valuation view Controls the valuation scope of the mapping.
Strategy sequence Determines how the costing basis is selected.
Cost component and target account Connects each component to its reporting account.
Default account Receives amounts for components without a specific target assignment.
Table 2: Main SAP COGS Split Configuration Settings

Select one default target account. Review amounts posted there during testing: a large balance may indicate that the detailed account assignments do not cover the cost components in use.

Activate the split for the relevant company code by assigning the cost splitting profile. A completed profile must also be assigned before it can drive the intended postings.

COGS Split and Actual Costing

Distinguish the original COGS posting from a later revaluation of consumption. A standard-cost breakdown does not, by itself, show the actual manufacturing cost composition. For background on the period-end process, see SAP Material Ledger in S/4HANA: Overview and Actual Costing.

The book illustrates the Split Revalued Consumption with Actual Cost Component Split setting. SAP's release documentation explains that it applies to revalued consumption, rather than original goods issues. SAP S/4HANA 2021 also introduced the strategy type Cost Component Split from Actual Costing (ML). Review the applicable strategy and revaluation settings together when actual costing is part of your design.

For release-specific details, see SAP's COGS splitting strategy documentation.

COGS Split vs. Variance Split

These functions answer different questions. COGS split shows the composition of cost of goods sold. Variance split provides detail about production differences. Table 3 compares them:

FeatureCOGS splitVariance split
What it breaks down Cost of goods sold Production variances
Basis Cost components from the selected cost estimate Variance categories and source cost elements
Example detail Material, labor, and overhead Input price and input quantity variances
Business question What makes up the cost of the products sold? What differences arose during production?
Table 3: SAP COGS Split and Variance Split Compared

For the companion configuration guide, see SAP Variance Split in S/4HANA. When designing profitability reports, reconcile the treatment of variances and actual-cost revaluation so the same differences are not counted twice.

Test the Results

Use a representative material with a known cost component split and follow a complete sales transaction:

  1. Confirm the applicable cost estimate and record its component values.
  2. Check the profile, source account, target accounts, and company code assignment.
  3. Post the relevant goods issue and inspect the resulting accounting entries.
  4. Compare the target-account amounts with the expected component breakdown for the quantity sold.
  5. Reconcile the total COGS, including any clearing or offset lines.
  6. Check the result in Margin Analysis, including the required profitability characteristics.
  7. If actual costing applies, test consumption revaluation separately and reconcile its component detail.

Common Configuration Issues

If the result differs from your expectations, start with these checks:

  • No split appears. Review the company code assignment, source account, applicable valuation view, and availability of a cost estimate selected by the strategy sequence.
  • Most amounts reach the default account. Compare the cost components in the selected estimate with the target-account mappings.
  • The breakdown looks wrong. Check which estimate the strategy selected and whether its component structure matches the reporting design.
  • Labor and overhead remain combined. Review the underlying cost component detail before changing account mappings.
  • Actual-cost revaluation differs from the original split. Check the revaluation settings and costing basis for each posting.
  • COGS looks duplicated. Reconcile original, splitting, and offset entries before adding report lines together.

Learn More

For the configuration walkthrough and screenshots, see Section 20.3.2, “Cost of Goods Sold Split,” pages 592–595, in Product Cost Controlling with SAP S/4HANA by John Jordan and Janet Salmon.

For additional technical guidance, see SAP's documentation on splitting the cost of goods sold.

Make Your Cost of Goods Sold Easier to Explain

Does your profitability report show a single COGS total when your finance team needs material, labor, and overhead detail?

ERPCorp can help you align cost component structures, COGS account mappings, and Margin Analysis reporting. We can also review how production variances and actual costing affect your profitability analysis.

Explore SAP Product Costing Consulting →

Glossary

Actual Cost Component Split

The breakdown of actual costs into cost components, used to analyze the composition of actual material costs.

COGS

Cost of goods sold: the cost recognized for the products sold during a period.

COGS Split

The breakdown of cost of goods sold into separate G/L accounts using cost component information.

Cost Component

A category, such as material or labor, used to organize costs within a cost component structure.

Cost Component Structure

The configuration defining how costs are grouped into cost components for costing and reporting.

Cost Splitting Profile

The configuration grouping source accounts, costing strategies, and target-account assignments for the COGS split.

Default Account

The target account designated to receive amounts for cost components without a specific account assignment.

Margin Analysis

SAP's account-based profitability analysis, which uses G/L account information to analyze profitability by market segment.

Reference Material

A material used as a costing reference for other materials. For example, in SAP's retail reference-plant costing solution, a reference material is costed in a reference plant and its prices are used for assigned material variants.

Representative Cost Estimate

A cost estimate selected as a typical example for reviewing or testing a costing setup. For COGS split testing, choose an estimate with a known material, labor, and overhead breakdown so you can compare the expected cost component amounts with the target G/L account postings.

Source Account

The COGS G/L account whose postings are selected for splitting.

Strategy Sequence

The ordered rules SAP uses to select the costing basis for the split.

Target Account

The G/L account assigned to receive a cost component amount through the COGS split.

Variance Split

The assignment of production variance categories and source cost elements to target G/L accounts.