---
title: The Technical Setup of Profitability Analysis in SAP S/4HANA
description: Explore the technical setup of profitability analysis in SAP S/4HANA, including the data structure of costing-based and margin analysis.
image: https://blog.sap-press.com/hubfs/The%20Technical%20Setup%20of%20Profitability%20Analysis%20in%20SAP%20S_4HANA.jpg
---

[![rheinwerk-sappress-logo-header-1](https://blog.sap-press.com/hubfs/rheinwerk-sappress-logo-header-1.svg)](https://blog.sap-press.com/) [Blog](https://blog.sap-press.com)

- Books 
    - Get an overview of our books and courses on every relevant SAP topic. 
          - [Programming](https://sap-press.com/programming/)
          - [Administration](https://sap-press.com/administration/)
          - [BI](https://sap-press.com/business-intelligence/)
          - [Finance](https://sap-press.com/finance-controlling/)
          - [Logistics](https://sap-press.com/logistics/)
          - [HR](https://sap-press.com/human-resources/)
          - [CRM & Sales](https://sap-press.com/marketing-sales/)
          - [HANA](https://sap-press.com/hana/)
          - [Introductions](https://sap-press.com/introductions/)
          - [E-Bites](https://sap-press.com/e-bites/)
          - [Certification Guides](https://www.sap-press.com/certification-guides/)
          - [Rheinwerk Courses](https://www.sap-press.com/online-courses/)
- Book Subscription 
    - Get unlimited access to all SAP PRESS books! 
          - [SAP PRESS Subscription](https://sap-press.com/subscriptions/)

[FICO](https://blog.sap-press.com/tag/fico)

# The Technical Setup of Profitability Analysis in SAP S/4HANA

![SAP PRESS](https://blog.sap-press.com/hubfs/Twitter_profile_pic.svg)  by [SAP PRESS](https://blog.sap-press.com/author/sap-press)

The technical setup describes the data structure behind the two types of profitability analysis in SAP S/4HANA.

 

The insight into the technical setup might help you better understand the functionalities and reconciliation challenges for costing-based profitability analysis. Let’s explore.

## Technical Setup of Costing-Based Profitability Analysis

With [SAP S/4HANA Finance](https://learning.sap-press.com/sap-s4hana-finance), the current data model for costing-based profitability analysis stays the same as in SAP ERP. This section provides an overview of the tables in which the documents of costing-based profitability analysis are stored. The costing-based profitability analysis table structure hasn’t been modified in SAP S/4HANA Finance. The costing-based profitability analysis documents aren’t included in the [Universal Journal](https://blog.sap-press.com/what-is-saps-universal-journal), so the reconciliation of financial accounting with costing-based profitability analysis is a huge challenge.

 

The table below lists the individual table names and their description. The system generates these tables in the background when the operating concern for costing-based profitability analysis is created. The xxxx in the table are replaced with the technical name of the operating concern.

 

| **Table Name** | **Description** |
| --- | --- |
| CE0xxxx | Logical Line-Item Structure |
| CE1xxxx | Actual Line-Item Table |
| hCE2xxxx | Plan Line-Item Table |
| CE3xxxx | Segment Level |
| CE4xxxx | Segment Table |
| CE4xxxx\_KENC | Realignments |
| CE4xxxx\_ACCT | Account Assignments |
| CE4xxxx\_FLAG | Posted Characteristics |
| CE5xxxx | Logical Segment Level |
| CE7xxxx | Internal Help Structure for Assessments |
| CE8xxxx | Internal Help Structure for Assessments |

 

## Migration from SAP ERP to SAP S/4HANA

SAP doesn’t provide any tool for transferring costing-based profitability analysis historical data into [SAP S/4HANA](https://learning.sap-press.com/sap-s4hana-overview-benefits). If you want to migrate to SAP S/4HANA Finance during the fiscal year and have already activated costing-based profitability analysis but want to use account-based profitability analysis in the future, costing-based profitability analysis should remain activated until the end of the year for reconciliation purposes and for analyses of historical data. You can then deactivate costing-based profitability analysis and continue to use account-based profitability analysis only.

 

[Learn more about margin analysis and how it differs from classic, costing-based CO-PA in this post](https://blog.sap-press.com/how-margin-analysis-changes-profitability-analysis-in-sap-s/4hana-finance).

## Technical Setup of Margin Analysis

In SAP S/4HANA, many finance and controlling tables have been consolidated into the Universal Journal (table ACDOCA). The figure below illustrates the consolidation of the tables from SAP ERP FI, CO-PA, CO, Asset Accounting (AA), and material ledger in the Universal Journal.

**![Universal Journal in SAP S/4HANA](https://blog.sap-press.com/hs-fs/hubfs/2711_01_010.png?width=2726&height=1375&name=2711_01_010.png)**

 

All characteristics of the line-item table are transferred to the Universal Journal. Table BKPF for the document header (Document Header for Accounting) is still available in SAP S/4HANA. All other tables that are replaced by the Universal Journal are kept as views to ensure that the standard reports and standard transactions function properly.

## Table Structure in Margin Analysis

In SAP S/4HANA, the account-based profitability analysis data and the margin analysis data are stored in the Universal Journal (table ACDOCA) in real time. The integration of margin analysis into the Universal Journal table provides many advantages, such as adding further characteristics to the Universal Journal, storing data in real time, and providing simplified reconciliation with financial accounting.

 

In the next figure, you can see an extract of the Universal Journal (table ACDOCA) showing some actual line items for profitability segments (**Profit. segment** column). You can see that various characteristics are derived in the line item such as **Customer**, **Plant**, and so on.

![Display of Profitability Segment in the Universal Journal](https://blog.sap-press.com/hs-fs/hubfs/2711_01_011.png?width=1146&height=444&name=2711_01_011.png)

 

The integration of margin analysis in the Universal Journal improves the processes by making accurate transaction data for the value chain available in one source. The single source of truth also improves analytical capabilities as all information is stored in one table.

 

## Learn SAP Controlling in Our Rheinwerk Course!

You know that controlling is part art, part science, part magic—so pull back the curtain on integral CO functionality and underlying configuration in SAP S/4HANA! With this four-day course, learn how experts set up and run their management accounting processes for optimal results. Click on the banner below to learn more and order your ticket.

 

[![blog_courses_047_essential_co_on_demand](https://blog.sap-press.com/hs-fs/hubfs/blog_courses_047_essential_co_on_demand.png?width=600&height=200&name=blog_courses_047_essential_co_on_demand.png)](https://www.sap-press.com/online-courses/essential-co-controlling-with-sap-s4hana/)

 

*Editor’s note*: This post has been adapted from a section of the book [*Margin Analysis with SAP S/4HANA*](https://www.sap-press.com/margin-analysis-with-sap-s4hana_6089/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=2711_chapter1&utm_content=2711) by Kathrin Schmalzing. Kathrin is a partner at PwC who specializes in financials and controlling software implementations, business process analysis and transformation, and value flow analysis.

 

This post was originally published in 9/2025.

## Recommendation

[![Margin Analysis with SAP S/4HANA](https://blog.sap-press.com/hs-fs/hubfs/2711.jpg?width=170&name=2711.jpg)](https://www.sap-press.com/margin-analysis-with-sap-s4hana_6089/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=2711_chapter1&utm_content=2711)

**Margin Analysis with SAP S/4HANA**

Margin analysis is now the standard for CO-PA in SAP S/4HANA—master it with this all-in-one resource! Get click-by-click instructions for configuring your master data, establishing operating concerns and value flows, and more to set up margin analysis in SAP S/4HANA. Walk through planning your COGS, sales, and overhead costs. See what’s changed for margin analysis, including new reporting options with SAP Business Technology Platform and SAP Datasphere. This book provides all the guidance you need for each step of your costing-based profitability operations!

[Learn More](https://www.sap-press.com/margin-analysis-with-sap-s4hana_6089/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=2711_chapter1&utm_content=2711)

![SAP PRESS](https://blog.sap-press.com/hubfs/Twitter_profile_pic.svg)

**by [SAP PRESS](https://blog.sap-press.com/author/sap-press)**

SAP PRESS is the world's leading SAP publisher, with books on ABAP, SAP S/4HANA, SAP IBP, intelligent technologies, SAP Business Technology Platform, and more!

[FICO](https://blog.sap-press.com/tag/fico)

[![Share on facebook](https://7528309.fs1.hubspotusercontent-na1.net/hub/7528309/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/facebook-color.png?width=24&name=facebook-color.png)](https://www.facebook.com/share.php?u=https%3A%2F%2Fblog.sap-press.com%2Ftechnical-setup-of-profitability-analysis-in-sap-s4hana%3Futm_medium%3Dsocial%26utm_source%3Dfacebook) [![Share on linkedin](https://7528302.fs1.hubspotusercontent-na1.net/hub/7528302/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/linkedin-color.png?width=24&name=linkedin-color.png)](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fblog.sap-press.com%2Ftechnical-setup-of-profitability-analysis-in-sap-s4hana%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin) [![Share on twitter](https://7528304.fs1.hubspotusercontent-na1.net/hub/7528304/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/twitter-color.png?width=24&name=twitter-color.png)](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fblog.sap-press.com%2Ftechnical-setup-of-profitability-analysis-in-sap-s4hana%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=https%3A%2F%2Fblog.sap-press.com%2Ftechnical-setup-of-profitability-analysis-in-sap-s4hana%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=) [![Share on email](https://7528311.fs1.hubspotusercontent-na1.net/hub/7528311/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/email-color.png?width=24&name=email-color.png)](mailto:?subject=Check+out+https%3A%2F%2Fblog.sap-press.com%2Ftechnical-setup-of-profitability-analysis-in-sap-s4hana%3Futm_medium%3Dsocial%26utm_source%3Demail&body=Check+out+https%3A%2F%2Fblog.sap-press.com%2Ftechnical-setup-of-profitability-analysis-in-sap-s4hana%3Futm_medium%3Dsocial%26utm_source%3Demail)

### Comments

### Latest Blog Posts

[![Activating Profitability Analysis in SAP S/4HANA Finance](https://blog.sap-press.com/hs-fs/hubfs/Activating%20Profitability%20Analysis%20in%20SAP%20S4HANA%20Finance.png?height=600&name=Activating%20Profitability%20Analysis%20in%20SAP%20S4HANA%20Finance.png)](https://blog.sap-press.com/activating-profitability-analysis-in-sap-s4hana-finance)

[FICO](https://blog.sap-press.com/tag/fico)

## [Activating Profitability Analysis in SAP S/4HANA Finance](https://blog.sap-press.com/activating-profitability-analysis-in-sap-s4hana-finance)

[Read More](https://blog.sap-press.com/activating-profitability-analysis-in-sap-s4hana-finance)

[![Profitability Analysis with SAP S/4HANA Finance](https://blog.sap-press.com/hs-fs/hubfs/Profitability%20Analysis%20with%20SAP%20S4HANA%20Finance.png?height=600&name=Profitability%20Analysis%20with%20SAP%20S4HANA%20Finance.png)](https://blog.sap-press.com/profitability-analysis-with-sap-s4hana-finance)

[FICO](https://blog.sap-press.com/tag/fico)

## [Profitability Analysis with SAP S/4HANA Finance](https://blog.sap-press.com/profitability-analysis-with-sap-s4hana-finance)

[Read More](https://blog.sap-press.com/profitability-analysis-with-sap-s4hana-finance)

**Subscribe to our blog!**Get notified about future blog updates.

- <https://www.facebook.com/sappress>
- <https://twitter.com/sappress>
- <https://linkedin.com/company/sap-press>
- <https://www.instagram.com/sap_press/>
- <https://blog.sap-press.com/rss.xml>

### The official SAP PRESS Blog

As the world’s leading SAP publisher, SAP PRESS’ goal is to create resources that will help you accelerate your SAP journey. The SAP PRESS Blog is designed to provide helpful, actionable information on a variety of SAP topics, from SAP ERP to SAP S/4HANA. Explore ABAP, FICO, SAP HANA, and more!

### SAP Blog Topics

- [All Topics](https://blog.sap-press.com)
- [Logistics](https://blog.sap-press.com/tag/logistics)
- [Programming](https://blog.sap-press.com/tag/programming)
- [FICO](https://blog.sap-press.com/tag/fico)
- [Administration](https://blog.sap-press.com/tag/administration)
- [Business Intelligence](https://blog.sap-press.com/tag/business-intelligence)
- [What Is?](https://blog.sap-press.com/tag/what-is)
- [Featured](https://blog.sap-press.com/tag/featured)
- [CRM & Sales](https://blog.sap-press.com/tag/crm-sales)
- [Video](https://blog.sap-press.com/tag/video)
- [Human Resources](https://blog.sap-press.com/tag/human-resources)

### Blog curated by

[![Rheinwerk Publishing & SAP PRESS Logo](https://blog.sap-press.com/hubfs/rheinwerk-sappress-logo-header-1.svg)](https://sap-press.com) [Visit the SAP PRESS Store](https://sap-press.com)

### About

- [Home](https://sap-press.com/)
- [About Us](https://sap-press.com/the-publisher/)
- [Contact](mailto:info@rheinwerk-publishing.com)
- [Legal Notes](https://sap-press.com/legal-notes/)
- [Privacy Policy](https://sap-press.com/privacy/)
- [Terms of Use](https://sap-press.com/terms/)
- [Guest Posting](https://blog.sap-press.com/guest-posting)

© 2026 Rheinwerk Publishing, Inc. | Change Privacy Options

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "SAP PRESS",
    "url" : "https://blog.sap-press.com/author/sap-press"
  },
  "dateModified" : "2026-08-27T13:02:14.634Z",
  "datePublished" : "2025-09-08T13:00:00.000Z",
  "headline" : "The Technical Setup of Profitability Analysis in SAP S/4HANA",
  "image" : [ "https://blog.sap-press.com/hubfs/The%20Technical%20Setup%20of%20Profitability%20Analysis%20in%20SAP%20S_4HANA.jpg" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.sap-press.com/technical-setup-of-profitability-analysis-in-sap-s4hana",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.sap-press.com/hubfs/Logo-1.jpg"
    },
    "name" : "Rheinwerk Publishing, Inc."
  }
}
```