IT CanvassTalk to an advisor
Getting started · LessonBy , SAP Trainer, 10 yrs · Published · SAP S/4HANA 2023 · all levels

SAP architecture

SAP’s classic architecture is a three-tier client-server model, presentation, application and database, introduced with R/3 and still the mental model for how SAP systems are structured. Grasping it makes installation, performance and troubleshooting far clearer.

Quick answer

Around the core sit the gateway (for RFC/external communication), and mechanisms like RFC, BAPI, IDoc and ALE that let SAP talk to other SAP and non-SAP systems, the subject of the architecture and integration modules.

Key takeaways
  • On the application layer, user requests are handled by work processes of different types (dialog, background, update, enqueue…
  • An SAP system is made of instances, each a set of work processes and memory on a server.
  • Presentation layer: what the user sees, SAP GUI or, increasingly, the Fiori web UX in a browser.
  • Watch out: Confusing the tiers, presentation is not where business logic runs.
SAP three-tier architecture: presentation, application and database layers

The three tiers

  • Presentation layer: what the user sees, SAP GUI or, increasingly, the Fiori web UX in a browser.
  • Application layer: one or more application servers running the ABAP (and, in S/4HANA, some Java/BTP) work processes that execute business logic.
  • Database layer: the single database holding all data, HANA for S/4HANA, or traditional databases for older systems.

Work processes and the dispatcher

On the application layer, user requests are handled by work processes of different types (dialog, background, update, enqueue, spool) coordinated by a dispatcher. This division is why SAP can serve interactive users and heavy batch jobs on the same system without one starving the other.

Instances and scaling

An SAP system is made of instances, each a set of work processes and memory on a server. You scale by adding application-server instances behind message-server-based load balancing, all sharing one database. This is horizontal scaling of the application tier, much like other enterprise systems.

Integration components

Around the core sit the gateway (for RFC/external communication), and mechanisms like RFC, BAPI, IDoc and ALE that let SAP talk to other SAP and non-SAP systems, the subject of the architecture and integration modules.

Common pitfalls

  • Confusing the tiers, presentation is not where business logic runs.
  • Ignoring work-process types, misconfigured ratios cause bottlenecks.
  • Assuming one server, production systems are multi-instance.

Authoritative sources

  • - SAP NetWeaver and system architecture docs

Practice challenge

+0 XPStreak ×0
Question 1 of 3
Which statement is true of SAP architecture?

Frequently asked questions

What does the term SAP architecture refer to in SAP?
SAP’s classic architecture is a three-tier client-server model, presentation, application and database, introduced with R/3 and still the mental model for how SAP systems are structured. Grasping it makes installation, performance and troubleshooting far clearer.
What is connected to SAP architecture in an SAP landscape?
Around the core sit the gateway (for RFC/external communication), and mechanisms like RFC, BAPI, IDoc and ALE that let SAP talk to other SAP and non-SAP systems, the subject of the architecture and integration modules.
What is another point to note about SAP architecture?
On the application layer, user requests are handled by work processes of different types (dialog, background, update, enqueue, spool) coordinated by a dispatcher.
What tends to go wrong with SAP architecture?
Confusing the tiers, presentation is not where business logic runs. Ignoring work-process types, misconfigured ratios cause bottlenecks. Assuming one server, production systems are multi-instance.
Already working on SAP and stuck on a live ticket?Get an expert SAP developer on screen-share to finish your daily tasks with you. Deliver on time, protect your reputation and your job. Monthly support only, no task-wise plans.Task assigned · no idea where to startStill stuck · your job on the lineExpert joins your screenDelivered on timeExplore On Job Support