White paper · SAP Architecture

The Anatomy of an SAP System

Understanding SAP system architecture: the components, the layers, and who is responsible for each one.

By
BERACAH AI Labs · SAP Transformation & Intelligence
Read
12 min
SAP SYSTEM · SID PRDPRESENTATIONINSTANCE 00APPLICATION SERVERINSTANCE 01SHARES THE WORKLOADCLIENT 100OWN DATA + SETTINGSCLIENT 200OWN DATA + SETTINGSCLIENT 300OWN DATA + SETTINGSSAP HANA DATABASE

An SAP system is a business application split into three layers: what users see, where the business rules run, and where the data is stored. Who runs each layer depends on where SAP is deployed.

This paper explains each part in nine steps, from why ERP exists to who is responsible when something fails. Each step gives the idea, the key terms, one diagram and the research questions it answers. Terms whose meaning changes by product or deployment are marked as deployment-dependent.

Deeper detail lives in the companion papers on SAP HANA and the ABAP Platform, on how a transaction is processed, and on SAP integration.

Three layers, one system, shared responsibility.

01Why ERP exists

ERP exists so every department works from the same data and the same connected processes, instead of separate tools that disagree.

Without an ERP, each department keeps its own version of the same facts. People type the same data into several systems, managers get different numbers from different departments, handoffs run on emails and manual approvals, and approval rules and audit trails are hard to enforce.

These are risks, not certainties. An ERP only helps when it is implemented well, fed accurate data and governed properly. Moving to S/4HANA is a business decision that needs a process model, governance, a business case and executive support, not just a software install.

WITHOUT ERPFINANCEOWN COPYSALESOWN COPYINVENTORYOWN COPYPURCHASINGOWN COPYRE-TYPED BETWEEN TEAMSWITH ERPFINANCESALESINVENTORYPURCHASINGSHARED DATAONE VERSION OF THE TRUTH
Without ERP, each department keeps and re-types its own copy. With ERP, every department works from one shared core.
  1. 01

    ERP (Enterprise Resource Planning)

    One integrated system that runs core business areas (finance, purchasing, inventory, production, sales) on shared data.

  2. 02

    SAP

    The company that makes SAP ERP, SAP S/4HANA and SAP Business Technology Platform (BTP).

  3. 03

    Business process

    A chain of steps that produces a result, such as filling a customer order or paying a supplier.

  4. 04

    Functional module

    One business area inside the ERP, such as Finance or Materials Management.

Questions this step answers

  1. What business problem does an ERP system solve?
  2. Why do organizations use SAP rather than disconnected applications?

Source[1]

02What makes SAP different

SAP is not just a database and not just one business app. It is a full set of connected business processes built on top of a database, so one action in one area updates every area it affects.

A sales order in S/4HANA can trigger an availability check, a delivery, a bill and an accounting entry, all from one action. SAP does not replace the database: S/4HANA runs on one, SAP HANA. Its value is the layer of connected business logic on top.

Companies may also run separate cloud applications for HR, procurement, customer experience or travel while keeping SAP as the core for central operations. Connecting those systems becomes a key design concern.

SALES ORDERUSER ACTIONAVAILABILITYCHECK STOCKDELIVERYSHIP GOODSBILLINGSEND INVOICEACCOUNTINGPOST TO FINANCESAP HANA · ONE SHARED DATA SET
One user action starts a chain across sales, inventory, logistics and finance. A database or a standalone app would stop at the first box.
  1. 01

    SAP application

    Any SAP software product that serves a business or technical need.

  2. 02

    SAP ERP / SAP ECC

    SAP's earlier ERP generation. ECC (ERP Central Component) is its core product. The two names are related but not always interchangeable.

  3. 03

    SAP S/4HANA

    SAP's current ERP. It runs only on the SAP HANA database, with a simpler data model and the Fiori user experience.

  4. 04

    Business object

    A real-world business thing stored in the system: a customer, supplier, material, sales order or purchase order.

  5. 05

    Configuration

    Setting up SAP's built-in options and rules to fit the company, without writing new code.

  6. 06

    Custom development

    Writing new code when standard features and configuration are not enough.

Database vs. business app vs. SAP

DatabaseStandalone appSAP S/4HANA
What it doesStores and retrieves dataHandles one task, such as invoicingRuns many connected business processes
Business rulesNone built inOnly for its own taskShared across all areas
Effect of one actionSaves one recordStays inside that appFlows to every area it touches

Questions this step answers

  1. What distinguishes SAP from a database or an ordinary business application?

Sources[1][3]

03The three-tier architecture

S/4HANA keeps SAP's classic three layers: the screen, the business logic and the database. The screen never talks to the database directly. Every request goes through the application layer, which checks the rules and permissions first.

A request moves in five moves. The user acts in SAP Fiori or SAP GUI. The request goes to the application layer. The application layer applies the business rules and asks SAP HANA for data. SAP HANA returns the results. The application layer prepares the answer and sends it back to the screen.

REQUESTRESPONSEQUERYRESULTNO DIRECTACCESSPRESENTATIONSAP FIORI · SAP GUIAPPLICATIONABAP PLATFORM · RULES · AUTHORIZATIONDATABASESAP HANA
Requests go down and answers come back up, always through the application layer. The red dashed path never happens: the screen does not reach the database directly.
  1. 01

    System architecture

    How a system's parts are arranged and how they talk to and depend on each other.

  2. 02

    Three-tier architecture

    A design that splits a system into three layers: presentation, application and database.

  3. 03

    Presentation layer

    What the user sees and types into: SAP Fiori or SAP GUI.

  4. 04

    Application layer

    Runs the business logic: checks rules, validates input and coordinates the transaction.

  5. 05

    Database layer

    Stores and returns the business data: SAP HANA.

  6. 06

    Client-server

    A model where a client asks for something and a server does the work.

  7. 07

    Application server

    The server that runs the application layer and handles requests.

  8. 08

    Database server

    The server that stores, searches and manages the data.

Questions this step answers

  1. What are the main layers of a typical SAP S/4HANA system?
  2. How do the presentation, application and database layers communicate?

Source[1]

04Systems, instances, clients and tenants

These four words describe different kinds of separation, and they are not interchangeable. A system is the whole installation. Instances are groups of running processes inside it. Clients are separate business areas inside it. A tenant is a separate customer space in a shared service.

One system can run several instances to spread the workload, and hold several clients to keep business data and settings apart. A tenant belongs to the cloud world and may work differently from a classic SAP system. In a classic profile name such as BD1_DVEBMGS00, BD1 is the system ID and 00 is the instance number.

The diagram is a reference model, not a claim that every system has exactly two instances or a single database host.

SAP SYSTEM · SID PRDPRESENTATIONINSTANCE 00APPLICATION SERVERINSTANCE 01SHARES THE WORKLOADCLIENT 100OWN DATA + SETTINGSCLIENT 200OWN DATA + SETTINGSCLIENT 300OWN DATA + SETTINGSSAP HANA DATABASE
Main architecture diagram (reference model). Instances split the technical work; clients split the business data. Both live inside one system, named by its SID.

Key terms

TermPlain meaningExample
SAP systemOne complete SAP installation, named by its SID.A production system called PRD
SID (System ID)The short, usually three-character name of a system.PRD, BD1
SAP instanceA set of SAP processes running together on a host. One system can have several.Instance 00
Instance numberA two-digit number that tells instances apart and sets their network ports.00, 01
SAP clientA separate business area inside one system, with its own business data and settings. Numbers are three digits.Client 100, client 200
Tenant (deployment-dependent)A separate customer space inside a shared service. Its exact meaning depends on the product and deployment.One company's space in a cloud service
Logical systemA name that identifies a system when SAP systems exchange data.Set in data-exchange settings

Questions this step answers

  1. What is the difference between an SAP system, instance, client and tenant?

Source[2]

05The user interface

Users reach SAP through two kinds of screens. SAP GUI is the classic installed client built around transaction codes. SAP Fiori is the modern, role-based design used in S/4HANA, opened through the Fiori launchpad.

S/4HANA is designed around Fiori, but not every screen in every installation is a Fiori app. Many companies still use both.

USERSAP GUIDESKTOP CLIENTTRANSACTION CODESVA01SAP FIORIBROWSER · LAUNCHPADROLE-BASED APPSAPPLICATIONSAME LOGIC + DATA
The two screens look and work differently, but both lead to the same application layer and the same data.
  1. 01

    SAP GUI

    SAP's traditional desktop client. Users type transaction codes to open structured screens.

  2. 02

    SAP Fiori

    SAP's modern design approach and family of apps, each built around a role and a task.

  3. 03

    Fiori launchpad

    The home page where users open the Fiori apps assigned to them, usually as tiles.

SAP GUI vs. SAP Fiori

SAP GUISAP Fiori
StyleClassic, dense screensModern, task-focused apps
How users find thingsTransaction codesTiles on the launchpad
Organized byTransactionUser role and task
Where it runsInstalled clientWeb browser

Questions this step answers

  1. How do SAP GUI and SAP Fiori differ?

Sources[1][3]

06The engine: ABAP Platform and SAP HANA

Two technologies power S/4HANA. The ABAP Platform runs the business logic in the application layer. SAP HANA stores and processes the data in the database layer. The companion paper on HANA and ABAP covers both in depth.

In-memory does not mean the data lives only in memory. HANA works on active data in memory for speed and still writes it to persistent storage, so it survives restarts and can be recovered.

SAP HANADATABASE LAYERREAD / UPDATEWRITEABAP PLATFORMAPPLICATION LAYER · BUSINESS PROGRAMSMAIN MEMORYACTIVE DATAFAST PROCESSINGPERSISTENT STORAGESAVED COPY ON DISKSURVIVES RESTARTS
The ABAP Platform sends reads and updates to HANA. HANA works in memory and keeps a saved copy on disk.
  1. 01

    ABAP Platform

    SAP's application platform: the runtime and tools for ABAP business programs, including core services S/4HANA uses.

  2. 02

    SAP HANA

    SAP's in-memory database platform. It handles daily transactions and analytics in one system.

  3. 03

    In-memory database

    A database that keeps active data in main memory for speed, instead of reading from disk for most operations.

Questions this step answers

  1. What are the main layers of a typical SAP S/4HANA system? (supporting detail)

Source[1]

07Deployment models

The three layers stay the same wherever SAP runs. What changes is who runs the machines, who installs updates and how much the customer can customize. More control means more work for the customer.

SAP separates its public-edition SaaS model from the managed private edition. Private edition can run in an SAP data center or on a third-party cloud provider, and the contract defines who does each technical task.

Deployment-dependent terms: instance, tenant, system access, infrastructure, operating-system administration, database administration, software transport, maintenance window, upgrade, backup, restore, high availability and disaster recovery. The idea behind each stays the same; who does the task, and how, can change.

MORE CONTROL · MORE WORKLESS CONTROL · LESS WORKON-PREMISECUSTOMER DATA CENTERCUSTOMER RUNS UPDATESBROADEST CUSTOMIZATIONCUSTOMER CONTROLPROVIDER RUNSPRIVATE CLOUDDEDICATED CLOUDSAP OR PROVIDER RUNSSCOPE SET BY CONTRACTCUSTOMER CONTROLPROVIDER RUNSPUBLIC CLOUDSHARED STANDARD SERVICESAP + PROVIDER RUN ITAPPROVED EXTENSIONSCUSTOMER CONTROLPROVIDER RUNSSAME THREE LAYERS IN EVERY MODEL
Left to right, each model hands more of the running to SAP and its providers. The architecture underneath does not change.

The three models

On-premisePrivate cloudPublic cloud
Where it runsThe customer's own or directly managed data centerA dedicated, isolated cloud environmentA standardized cloud service
Who runs the infrastructureThe customer or its operatorMostly SAP or the provider, per contractThe provider and SAP
Business configurationThe customerThe customerThe customer, within supported options
CustomizationBroadest freedomMore than public cloud; scope set by contractApproved extension options only
UpdatesThe customer schedules themShared or provider-managed, per contractThe provider, on its release schedule

Questions this step answers

  1. Background for: which architectural responsibilities belong to SAP, the customer and the hosting provider?

Sources[3][4]

08Operations and reliability

When SAP stops, the business stops: no orders, no invoices, no stock movements. Reliability is a set of separate safeguards. Each one handles a different kind of failure, and no single one is enough.

If an application server stops, the transactions on it fail or slow down; other instances can keep working when the system has more than one. If the database stops, business transactions stop and recovery may be needed.

A backup alone does not guarantee the full system comes back in time. RPO and RTO turn "how bad can it get?" into measurable targets, and controlled transports stop an untested change from breaking healthy systems.

LAST BACKUPFAILURESERVICE BACKRPO · DATA LOSTRTO · TIME DOWNNOT TO SCALESAFEGUARDS · EACH COVERS A DIFFERENT FAILUREHIGH AVAILABILITYONE PART FAILSANOTHER TAKES OVERDISASTER RECOVERYWHOLE SITE FAILSRECOVER ELSEWHEREBACKUP + RESTOREDATA IS LOSTRESTORE A COPYTRANSPORTSRISKY CHANGETEST BEFORE PROD
RPO looks back at the data lost before a failure; RTO looks ahead to the time until the system is back. Each safeguard covers a different failure.
  1. 01

    High availability (HA)

    Design and practices that keep the system running when one part fails.

  2. 02

    Disaster recovery (DR)

    Plans and tools to bring the system back after a major event, such as losing a data center.

  3. 03

    Backup and restore

    Backup makes copies of data; restore uses them to recover.

  4. 04

    RPO (Recovery Point Objective)

    The most data, measured in time, the business can afford to lose. An RPO of 15 minutes means losing at most 15 minutes of data.

  5. 05

    RTO (Recovery Time Objective)

    The longest the system can be down. An RTO of 4 hours means running again within 4 hours.

  6. 06

    Software transport

    Moving tested changes from development to quality assurance to production in a controlled way.

Questions this step answers

  1. What happens when an application server or database becomes unavailable?
  2. How are backups, recovery and high availability implemented?

Source[2]

09Who is responsible for what

Running the servers is not the same as owning the business. A provider can run the infrastructure, the database and the platform. The customer always owns its business processes, configuration, user access and data.

This is a general guide, not a contract. SAP tells private-edition customers to check the official roles-and-responsibilities documents, because tasks can be standard, optional, extra-cost or excluded.

Each deployment choice moves work, cost and risk between the customer and the provider. More servers and layers improve availability but cost more to run, and every component is a place where the business can stop. That is why architecture affects cost, reliability and daily operations.

ON-PREMISEPRIVATE CLOUDPUBLIC CLOUDDATA + ACCESSCUSTOMERCUSTOMERCUSTOMERCONFIGURATIONCUSTOMERCUSTOMERCUSTOMERSAP APP MAINTENANCECUSTOMER / PARTNERSHAREDMOSTLY SAPOS + DATABASECUSTOMER / OPERATORSHAREDPROVIDERINFRASTRUCTURECUSTOMER / HOSTSAP / PROVIDERPROVIDERCUSTOMERSHARED · PER CONTRACTSAP / PROVIDER
The lower layers move to SAP and its providers toward public cloud. The top two stay with the customer in every model.

Components, responsibilities and how they fail

ComponentUsually responsibleExample failureBusiness impact
User device and networkCustomer ITLaptop, browser or VPN failsUser can't reach SAP
Presentation layerCustomer, or the operator of hosted UIUI down, login loopTransactions can't start
Application serversCustomer or operator on-premise; provider in cloudProcess stops, capacity runs outTransactions fail or slow
SAP HANA databaseCustomer or operator on-premise; per contract in cloudOutage or corruptionTransactions stop; recovery needed
InfrastructureCustomer or host; provider in cloudHost, storage, power or network failsServices go down
Identity and authorizationMostly customerWrong role, stolen passwordUsers blocked, or wrong people get in
Configuration and master dataCustomer, often with partnersWrong tax, price or approvalTransactions finish with wrong results
IntegrationsCustomer or integration teamAPI, queue or certificate failsData stops flowing
Backup and recoveryDepends on model and contractBackup won't restoreMore data lost than planned
HA / DRShared or contract-definedFailover fails or is slowRPO / RTO targets missed
Change and transportsCustomer-ledUntested change reaches productionFunctions break on healthy hardware

Questions this step answers

  1. Why does system architecture affect cost, reliability and business operations?
  2. Which architectural responsibilities belong to SAP, the customer and the hosting provider?

Source[4]

Framework

How the nine steps fit together

  1. 01

    Why ERP

    Business work depends on shared data and connected processes.

  2. 02

    Why SAP

    Connected business logic on top of a database, not just storage or one task.

  3. 03

    Three layers

    S/4HANA splits the work into screen, business logic and data.

  4. 04

    Separation

    Systems, instances, clients and tenants separate different things.

  5. 05

    Interface

    Users reach the same system through SAP GUI or SAP Fiori.

  6. 06

    Engine

    The ABAP Platform and SAP HANA run underneath.

  7. 07

    Deployment

    The model decides how much control, and work, the customer keeps.

  8. 08

    Reliability

    HA, DR, backups, RPO / RTO targets and controlled changes.

  9. 09

    Responsibility

    Providers can run the technology; the customer always owns the business.

Takeaway

Three layers, one system, shared responsibility

An SAP system is easier to run and to change once each part is named: what it does, where it runs, how it fails and who owns it. The architecture stays the same across deployments; the division of work does not.

References

  1. [1]Bardhan, D., Baumgartl, A., et al. SAP S/4HANA: An Introduction. Rheinwerk Publishing (SAP PRESS).
  2. [2]Mereddy, R. (2012). SAP Basis Administration Handbook, NetWeaver Edition. McGraw-Hill. ISBN 978-0-07-166348-9.
  3. [3]Banda, S., Chandra, S., & Gooi, C. A. (2022). SAP Business Technology Platform: An Introduction. Rheinwerk Publishing (SAP PRESS). ISBN 978-1-4932-2201-8.
  4. [4]SAP SE. SAP Help Portal and SAP Learning: SAP S/4HANA deployment options and cloud shared-responsibility documentation.

The Basis handbook describes classic NetWeaver administration (2012); deployment and cloud details were checked against current SAP documentation.

MAPPING YOUR SAP LANDSCAPE?

Know what each part does before you change it.

Start with a clear picture of the systems, layers and responsibilities in your SAP environment.