01 - SAP System Architecture
01 - SAP System Architecture
01 - SAP System Architecture
Production Planning
Materials Management
Financial Controlling
BC010_01.1
What is Basis?
External
UNIX
BC010_01.2
What is Basis?
BC010_01.5
What is Basis?
reside in:
reside in:
reside in:
Database servers: Specialised systems with fast and large What is Basis?
Client/Server Defined
PC Software Program SAP Client/Server Software Presentation Layer
Application Layer
MS Excel Components
Database Layer
A
BC010_01.7
C
What is Basis?
The Application Layer components are installed across one or more high-end servers. The Database Layer components are installed on one high-end database server.
BC010_01.8 What is Basis?
Computer A
Database Layer
What is Basis?
Distributed Presentation
Computer B
Database Layer
What is Basis?
Two-tier Client/Server
Computer B
Database Layer
What is Basis?
Three-tier Client/Server
Compute r B Compute r B Compute r B Comput er C
Database Layer
What is Basis?
Database Layer
What is Basis?
Computer B-n
Database Layer
What is Basis?
1 to 2 Kilobytes
Easily achieved over a WAN
Business Transactions
Business Transaction FD02 Change customer information
Screen 1
Screen 2
Complete transaction ?
BC010_01.17 What is Basis?
Screen 2
Screen 1
Processes
A Process is essentially a program. Each process has memory and access to system resources.
Process
BC010_01.19
What is Basis?
Threads
A Thread is the actual component of a process that is executing at one time. Each thread is capable of completing a different task that its process requests.
Process
BC010_01.20
What is Basis?
Process
Process
OS Kernel CPU
BC010_01.21 What is Basis?
SAP Dispatcher
OS Kernel
BC010_01.22
CPU
A component of the SAP Kernel called the Dispatcher must manage process access to the OS What is Basis?
Application Server A
Dispatcher
Dialog Update Spool Background
Application Server B
Dispatcher
Dialog Update Enqueue Spool
BC010_01.23
Dispatcher
USER 1
USER 3
Dispatcher
USER 2
BC010_01.24
USER 4
What is Basis?
Work Processes
Dialog
Update
Enqueue
Spool
Background or Batch
BC010_01.25
What is Basis?
Dispatcher in Action
Presentation level Various types of processing requests
Application level
Dispatcher
Reque st queue s
Batch
Dialog
Update
Enqueue
Spool
BC010_01.26
What is Basis?
Process Request User: Fred Jones Activity: Read data XYZ Screen: 1
Dispatcher
BC010_01.27
Reques t queues
What is Basis?
Dispatcher
Dialog
BC010_01.28
What is Basis?
BC010_01.29
Work Process
What is Basis?
Process Request Read data XYZ or Write data XYZ Request queues
What is Basis?
Dispatcher
BC010_01.30
Screen 2
Screen n.
Screen 3. But only for product XYZ.
BC010_01.31
Screen 2. I only want to include data in my report that pertains to orders that were filled within the last 2
What is Basis?
Dispatcher
BC010_01.32
Request queues
What is Basis?
Transaction
R/3 Buffer s
Process Requests
Dialog
Dialog
memory
AV
BC010_01.33
LE AB AIL
memor y
Y US B
Y US B
What is Basis?
memory
Dialog
R/3 Buffers
Task Handl er DYNP
Request Queues
The data retrieved for the last screen is stored in extended ABAP memory in an area The process request called the user for the next screen is context. LE copied down. B ILA A AV
BC010_01.34
Dialog
SAP Logical Unit of Work (SAPLUW) Update Transaction Screen 1 Screen 2 Screen n.
BC010_01.35
What is Basis?
+
Handled by:
Dialog A
Dialog B Dialog C
Update
BC010_01.36
What is Basis?
+
The Online Phase of an update ends here.
Databa se Commit
Database Commit
Dialog C
Dialog B
Write
Write
Write
VBLOG
What is Basis?
BC010_01.37
Databas e Commit
Database Commit
Dialog C
Dialog B
Read
Update
VBLOG
What is Basis?
VBLOG Records
Dialog A
SAPLUW
Dialog B
Dialog C
BC010_01.39
BC010_01.40
What is Basis?
VBLOG
U1 Screen 1 of 3 ..ROLLBACK
SAPLUW
..ROLLBACK
BC010_01.41
What is Basis?
VBLOG
U1 Screen 1 of 3
SAPLUW
Continue
BC010_01.42
What is Basis?
Dialog
Lock Request
Message Service Enqueue
Lock Table
BC010_01.43
What is Basis?
Background
O/S Spooler
BC010_01.45
What is Basis?
A Service
Service A Online Process A1 Process A2
BC010_01.46
What is Basis?
Online
Lock Request
Enqueue
Messag e Service
Lock Table
BC010_01.47
What is Basis?
Gateway server
BC010_01.48
What is Basis?
CPI-C API
Work Process Work Process
BC010_01.49
What is Basis?
EDI Architecture
MM (Customer) Intermediate Document Type SD (Vendor) Intermediate Document
EDI Subsystem
EDI Subsystem
Communication
BC010_01.51 What is Basis?
An SAP Instance
SAP Instance Work Processes
BC010_01.52
What is Basis?
Peripheral Instance A
Message Service
Peripheral Instance B
BC010_01.53
What is Basis?
An SAP System
SAP Instance
Work Processes
SAP Instance
Work Processes
Work Processes
DATABASE
SAP Dispatcher
Operati ng System TCP/IP Softwar e
Message Service
BC010_01.54
What is Basis?
SAP Servers
SAP Server/ Instance 8 Dialog Work Processes 3 Background Work Processes 1 Spool Work Processes SAP Server/ Instance 3 Dialog Work Processes 8 Background Work Processes 1 Spool Work Processes
BC010_01.55 What is Basis?
Central Instance Instance LOC A Instance LOC B Louis 2 Dialog 2 Background 3 Update 1 Enqueue 1 Spool Msg Service Gateway Julio 8 Dialog 3 Background 1 Spool Clint 8 Dialog 3 Background 1 Spool
BC010_01.56
What is Basis?