0% found this document useful (0 votes)
226 views7 pages

Understanding SAP R/3 Architecture

SAP R/3 is a 3-tier client-server architecture consisting of presentation, application, and database layers. The presentation layer contains the SAP GUI which provides an interface for users. The application layer runs on application servers and contains business logic services. The database layer stores all system data on a central database like Oracle or SAP HANA. When a user logs on, their request is sent to a dispatcher which assigns a work process that handles authentication, loads the user profile into memory, executes transactions by querying the database, and returns results to the GUI.

Uploaded by

MANOJ
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
226 views7 pages

Understanding SAP R/3 Architecture

SAP R/3 is a 3-tier client-server architecture consisting of presentation, application, and database layers. The presentation layer contains the SAP GUI which provides an interface for users. The application layer runs on application servers and contains business logic services. The database layer stores all system data on a central database like Oracle or SAP HANA. When a user logs on, their request is sent to a dispatcher which assigns a work process that handles authentication, loads the user profile into memory, executes transactions by querying the database, and returns results to the GUI.

Uploaded by

MANOJ
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
  • Introduction to SAP R/3
  • Understanding SAP Layers
  • User Access Methods
  • Components of SAP R/3 Architecture
  • SAP System Processes
  • SAP Logon Process
  • Additional Resources

Sap R/3 Architecture Tutorial

ByScott LivingstonUpdatedApril 16, 2022

What is SAP R/3?


SAP R/3 is a 3 tier architecture consisting of 3 layers

1. Presentation
2. Application
3. Database

In simple words, it’s a client server architecture.

 R signifies Real-time system


 3 represents – 3-tier architecture.

User’s PC:- Users can access SAP system in two ways:-


1. Through SAP GUI
2. Through Web browser

It’s called front-end. Only the front-end is installed in the user’s PC not the
application/database servers.

Front-end takes the user’s requests to database server and application


servers.

Application Servers: – Application server is built to process business-


logic. This workload is distributed among multiple application servers. With
multiple application servers, the user can get the output more quickly.

Application server exists at a remote a location as compared to the location


of the user PC.

Database Server: –Database server stores and retrieves data as


per SQL queries generated by ABAP and Java applications.

Database and Application may exist on the same or different physical


location.

Understanding different SAP layers

Presentation Layer:
The Presentation Layer contains the software components that make up
the SAPgui (graphical user interface). This layer is the interface between
the R/3 System and its users. The R/3 System uses the SAPgui to provide
an intuitive graphical user interface for entering and displaying data.

The presentation layer sends the user’s input to the application server, and
receives data for display from it. While a SAPgui component is running, it
remains linked to a user’s terminal session in the R/3 System.

Application Layer:
The Application Layer consists of one or more application servers and a
message server. Each application server contains a set of services used to
run the R/3 System. Theoretically, you only need one application server to
run an R/3 System. In practice, the services are distributed across more
than one application server. The message server is responsible for
communication between the application servers. It passes requests from
one application server to another within the system. It also contains
information about application server groups and the current load balancing
within them. It uses this information to assign an appropriate server when a
user logs onto the system.

Database Layer:
The Database Layer consists of a central database system containing all
of the data in the R/3 System. The database system has two components –
the database management system (DBMS), and the database itself. SAP
has manufactured its own database named Hana but is compatible with all
major databases such as [Link] R/3 data is stored in the database. For
example, the database contains the control and customizing data that
determine how your R/3 System runs. It also contains the program code for
your applications. Applications consist of program code, screen definitions,
menus, function modules, and various other components. These are stored
in a special section of the database called the R/3 Repository, and are
accordingly called repository objects. R/3 repository, objects are used in
ABAP workbench.

Understanding the components of SAP R/3 3-


tier Architecture:-
ABAP+Java System Architecture

1. Message Server:It handles communication between distributed


Dispatchers in ABAP system.
2. Dispatcher Queue: Various work process types are stored in this
queue.
3. Dispatcher: It distributes requests to the work processes.
4. Gateway: It enables communication between SAP system and
between SAP system and external systems.
5. ABAP-Work processes: – It separately executes dialog steps in R/3
applications.

Types of work processes are given as below:-


6. Memory-pipes: It enables communication between ICM and ABAP
work processes.
7. Message Server: It handles java dispatchers and server [Link]
enables communication within java runtime environment.
8. Enqueue Server:It handles logical locks that are set by the executed
Java application program in a server process.
9. Central Services: Java cluster requires a special instance of the
central services for managing locks and transmitting messages and
data. Java cluster is a set of processes that work together to build the
reliable system. Instance is group of resources such as memory,
work processes and so on.
10. Java Dispatcher: It receives the client requests and forwards
to the server process.
11. SDM: Software Deployment Manager is used to install J2EE
components.
12. Java Server Processes: It can processes a large number of
requests simultaneously.
13. Threading: Multiple Processes executes separately in the
background, this concept is called threading.
14. ICM: It enables communication between SAP system and
HTTP, HTTPS, SMTP protocol. It means by entering system URL in
the browser you can access SAP from browser also.

One more component is JCO. JCO is used to handle communication


between java dispatcher and ABAP dispatcher when system is configured
as ABAP+Java.
How the SAP Logon Process works?

Step 1) Once a user clicks on the SAP system from GUI, the user request
is forwarded to Dispatcher.

Step 2) Request is stored in Request queues first. Dispatcher


follows First in First out rule. It will find free work process and if available
will be assigned.

Step 3) As per user request, particular work process is assigned to user.
For example, when user login to the system then Dialog work process is
assigned to the user. If user runs a report in background then background
work process is assigned to the [Link] some modifications are done at
database level then update workprocess is [Link] as per user’s
action workprocess is assigned.

Step 4) Once user is assigned the dialog workprocess then user


authorizations, user’s current setting are rolled in to work-process in shared
memory to access user’s [Link] dialog step is executed then user’s
data is rolled out from workprocess. Thus shared memory will be cleaned
and other user’s data can be saved in shared memory area. Dialog step
means the screen movements. In a transaction, when a users jumps from
one screen to other the process is called a dialog step.
Step 5) First work process will find the data in the buffer. If it finds data in
buffer then there is no need to retrieve data from database. Thus response
time is improved and this process is called [Link] it does not find the data in
buffer then it will find the data in database and this process is called miss.
Hit ratio should be always higher than miss ratio. It improves the
performance of system .

Step 6) Other requested data is queried from the database and once the
process is complete,the result is sent back to GUI via dispatcher.

Step 7) At the end user’s data is removed from shared memory so the
memory will be available to other [Link] process is called roll-out.

You Might Like:


 How to Download & Install SAP GUI (FrontEnd) for Windows
 SAP RZ11: Parameter (login/fails_to_session_end) Limit Logon
Attempts
 SAP RSBTCDEL2: How to Delete a Background Job
 How to Configure STMS (SAP Transport Management System)
 What is OSS Notes? SAP SNOTE Tutorial

Common questions

Powered by AI

In SAP R/3 3-tier architecture, user interactions are handled by the Presentation Layer which includes software components for the SAP GUI, allowing users to enter and display data. Requests from this layer are sent to the Application Layer which processes business logic and workload through multiple application servers, facilitating faster outputs. The Application Layer uses a message server to communicate between different application servers and handle load balancing. The Database Layer stores and retrieves data required by user queries through SQL requests processed by ABAP and Java applications.

The R/3 Repository in SAP R/3's database structure is integral as it stores program code, screen definitions, menus, and function modules. These repository objects enable extensive system customization and configuration, allowing businesses to tailor R/3 to meet specific operational requirements. This makes the Repository a cornerstone for the adaptability and versatility of SAP solutions in different organizational contexts .

In SAP R/3, the Dispatcher plays a critical role in ensuring efficient request processing by managing a queue where user requests are stored following a First-In-First-Out (FIFO) methodology. The dispatcher distributes requests to free work processes among different types (dialog, background), assigns them based on the user's actions, and facilitates rolling data in and out of shared memory. This method optimizes the use of resources and reduces wait times for users .

The Message Server in SAP R/3 Application Layer is crucial for managing communication between application servers. It facilitates the distribution of user requests across servers, ensuring load is balanced and system resources are used efficiently. The Message Server also maintains information about server groups, directing users to less burdened servers, thereby optimizing performance and enhancing user experience by reducing wait times .

Employing multiple application servers within the SAP R/3's application layer significantly enhances both performance and scalability. This distribution of services across multiple servers allows for load balancing, which optimizes processing efficiency by avoiding overloading any single server. It also increases fault tolerance and system resilience, making it easier to manage increased user loads and application demands, ensuring consistent performance even as system use scales .

The SAP GUI within the Presentation Layer of SAP R/3 provides a user-friendly interface for data entry and display. It acts as the intermediary between users and the R/3 System, transmitting user inputs to the Application Server and receiving data for display. The intuitive nature of the SAP GUI simplifies the process of interacting with complex backend processes, enhancing user experience and system usability .

The Enqueue Server in SAP R/3's ABAP+Java architecture is critical for managing logical locks set by Java application programs. It ensures data consistency and integrity during concurrent processes by preventing simultaneous access to the same data. This component is essential in a multi-threaded Java runtime environment where it maintains reliable, orderly access control to shared data resources, thereby supporting smooth, conflict-free operations .

In SAP R/3's architecture, Java and ABAP systems interact through components like the JCO, which manages communication between the ABAP and Java dispatch systems when configured together. Java Dispatchers handle requests and interact with ABAP costs using threading and memory pipes for efficient process execution. This integration is fundamental for unified operations, allowing seamless functionality between different programming environments in SAP .

SAP R/3 architecture improves data retrieval efficiency through buffering mechanisms where frequently accessed data is stored in a buffer by the work process. When a query is made, the system first attempts to retrieve the data from this buffer (known as a 'hit'), significantly reducing response time compared to querying the database directly (a 'miss'). The aim is to maintain a high hit ratio, optimizing performance and resource usage by minimizing database accesses .

During the SAP R/3 logon process, shared memory is used to efficiently manage user data. Upon a user's logon, session-specific data, including authorizations and settings, is loaded into shared memory for quick access by the work process handling the user's request. Once the session's dialog step concludes, the data is rolled out, freeing memory for use by other processes. This methodical loading and unloading of user data enhance memory utilization efficiency and optimal system performance .

Sa (https://www.guru99.com/author/scott)p R/3 Architecture Tutorial
ByScott LivingstonUpdatedApril 16, 2022
What is SAP R/3?
1. Through SAP GUI
2. Through Web browser
It’s called front-end. Only the front-end is installed in the user’s PC not the 
ap
The Presentation Layer contains the software components that make up 
the SAPgui (graphical user interface). This layer is th
ABAP+Java System Architecture
1. Message Server:It handles communication between distributed 
Dispatchers in ABAP system.
2.
6. Memory-pipes: It enables communication between ICM and ABAP 
work processes.
7. Message Server: It handles java dispatcher
How the SAP Logon Process works?
Step 1) Once a user clicks on the SAP system from GUI, the user request 
is forwarded to Dis
Step 5) First work process will find the data in the buffer. If it finds data in 
buffer then there is no need to retrieve da

You might also like