Interfaces in Clean Core S/4HANA: From RFCs and IDocs to One Structured Model
November 30, 2026 | by Rick Kromkamp

In our last article, we looked at the first item in the RICEFW inventory: reports. The lesson was that the report didn't go away, it moved. The selection screen became a filter bar, the ABAP logic moved down into the database through CDS views, and the heavy analytical work moved out to SAP Analytics Cloud and SAP Datasphere. But reports are only half of the data story, because they're about getting information out of SAP so people can see it. What happens when another system needs to talk to SAP, whether that's a warehouse system, a customer portal, a bank, or a supplier? That's the world of interfaces, and it's where ECC customers built up some of their most tangled custom work. In this article, we'll look at how those interfaces were built in ECC, why they became a liability, and how clean core replaces them with a structured, upgrade-stable approach.
How It Worked in ECC
Ask ten ECC shops how they integrate with other systems and you will hear twelve answers. Over the years, customers accumulated a little of everything:
-
RFC-enabled function modules (including custom Z-versions that read and wrote tables directly)
-
Flat files dropped on application servers, then imported and exported by batch jobs
-
IDocs and ALE for message-based exchange
-
SAP PI/PO as the middleware hub
-
OData services built in SEGW, custom SOAP web services, and homegrown APIs
The flexibility was real. So was the risk. A custom RFC that writes directly to SAP tables bypasses the business logic that keeps your data consistent, and every interface of this kind is a potential casualty of the next upgrade.
How It Works in Clean Core
Clean core replaces that sprawl with a structured model built on three ideas.
1. SAP Integration Suite is the middleware. Rather than point-to-point connections, customers generally route integrations through SAP Integration Suite, part of SAP's platform layer. It handles message routing and transformation, API management, and event-driven scenarios, with central security and monitoring. SAP has been steering PI/PO customers toward it for some time.
2. Released APIs and events are the contract. SAP delivers a large catalog of standard released APIs and business events. You can browse them in the SAP Business Accelerator Hub (api.sap.com), a free, publicly accessible catalog where developers can explore APIs and try them out in a sandbox. Note that the Hub is a discovery tool. The runtime and management capabilities are provided by Integration Suite and your S/4HANA entitlement.
3. Custom APIs are built with RAP. When no standard API fits, you don't write an RFC. You build your own API using RAP and ABAP Cloud, exposing a business object through a service definition and binding. Because it is built on released objects, the resulting API is itself released and upgrade-stable.
What About Files?
File-based integration still exists, but it is generally processed through Integration Suite rather than through scripts on the application server. Data extraction for analytics is a separate story. SAP Datasphere can export S/4HANA data to files and other targets through its replication flows, and it is SAP's sanctioned route for analytical extraction. But Datasphere is an analytical platform, not a transactional integration tool, so it isn't how you push data into S/4HANA. Inbound data goes through Integration Suite and released APIs, or through the standard import tools that will be covered in our next article.
The Before and After

A Caveat for Private Cloud and On-Premise
RFCs, BAPIs, and IDocs still technically work in private cloud and on-premise, and SAP's clean core guidance allows stable classic APIs as a pragmatic fallback where no released API exists yet. In public cloud, the supported set is much narrower.
Summary: What's Next
If there's one idea to take from this article, it's that interfaces went from a free-for-all to a contract. In ECC, almost anything could talk to almost anything, through whatever door a developer happened to build, and many of those doors opened straight into the tables. In clean core, the doors are few and well defined: released APIs and events, a custom API built with RAP when nothing standard fits, and SAP Integration Suite managing the traffic in between. The result is integrations that are easier to secure, easier to monitor, and far less likely to break at the next upgrade. But so far, we've focused on how systems exchange data once your S/4HANA environment is up and running. There's one more data challenge that every ECC customer faces first: getting your existing data into S/4HANA in the first place. In the next article, we'll look at conversions, the LSMW projects, BDC recordings, and one-off upload programs that ECC teams relied on, and how clean core replaces them with standard migration tools.
Final Thoughts
If your organization is evaluating its S/4HANA strategy and wants expert guidance, CONTAX is here to help. Visit www.contax.com or contact info@contax.com to start the conversation.
About the Author

Rick Kromkamp
Related Articles

5 Things S/4HANA Cloud Customers Wish They'd Known Before They Started
Moving ECC to S/4HANA Cloud, Private Edition, or starting fresh? Here are five lessons from customers who've been through it, so you can plan for them instead of discovering them.

Reports in Clean Core S/4HANA: From ALV Grids to Code-to-Data
Part 2 of our Clean Core RICEFW series: Reporting and Analytics

Clean Core in S/4HANA: What Actually Changes for ECC Developers
A CONTAX perspective for SAP developers and architects
