Sap Basis Overview
Sap Basis Overview
Sap Basis Overview
Learning Objectives
What the Basis system is How does SAP handle a transaction request Differentiating between the various work processes Understanding the basic functions of the Basis Module
SAP Technical Overview
Application Server
Presentation . . . Internet
SAPGUI SAPGUI Office Internet
TCP/IP
Communication
Application
Dispatcher
IPC
Local Buffer
for R/3 Data,
Workprocess
Workprocess
Workprocess
DW-Objects, ABAP-Objects
Remote SQL
Database
Dispatcher
Program which manages resources of the R/3 applications Receives requests from user and passes them to the corresponding work processes Only one dispatcher per application server
SAP Technical Overview
Dispatcher Tasks
Balances the workload between the processes Buffer management in main memory Connection with the presentation level Organization of the communication processes
Work Process
Responsible for executing R/3 application tasks
Task Handler ABAP/4 Processor Dialog Interpreter Database Interface
Work Process
SAP Technical Overview
M
Batch
11 10 9 8 7 6 5 4
SAP Dispatcher
1 2 3
Enqueue E
12
Spool
S Gateway
R/2
R/3
Dialog
Batch
11 10 9 8 7 6 5 4
12
1 2 3
Spool
Responsible for the lock management system Synchronizes database access for the multiple application servers and work processes Only one enqueue process per R/3 system to ensure data integrity
SAP Technical Overview
Responsible for making database changes requested by dialog and background processes For better performance, this process should be on the database server
Time-critical processes are inside V1 and less critical ones within V2 Error situations in
V1 : changes rolled back and V2 components not executed V2 : only changes of V2 components rolled back
SAP Technical Overview
Message Server
Message
Used by different application servers to exchange data and internal messages Routes messages, such as update or batch job starts, between application servers One message server per system
SAP Technical Overview
Gateway Server
Gateway
R/2
R/3
Allows communication between R/3, R/2, and external applications Exchanges large amounts of information between application servers Gateway can reside on any of the connected systems
SAP Technical Overview
Work Processes
Number of work processes can only be changed after restarting the system Should have at least two dialog work processes Need to have at least one V1 and V2 processes Number of spool processes cannot be changed
SAP Technical Overview
Application Server
Presentation . . . Internet
SAPGUI SAPGUI Office Internet
TCP/I P
Communication
Application
Dispatcher
IPC
Local Buffer
for R/3 Data,
Workprocess
Workprocess
Workprocess
DW-Objects, ABAP-Objects
Remote SQL
Database
SAP Technical Overview
TCP/I P
1 Start Transaction 5
Assign User request to Workprocess
Communication
Application
2
IPC
Dispatcher
Workprocess
Workprocess
DW-Objects, ABAP-Objects
Remote SQL
Database
TCP/IP
6 5
Application
2
IPC
Work3 process for R/3 Data, Local Buffer
Return data for Dispatcher next step 7 Assign User 9 request to Workprocess Work-
10
Communication
process 8
Workprocess
DW-Objects, ABAP-Objects
Remote SQL
Database
Fetch data from buffer/database
TCP/IP
6 5
11 10 Dispatcher 7 9
Communication
Application
2
IPC
4
Work3 process for R/3 Data, Local Buffer
12 Workprocess
DW-Objects, ABAP-Objects
Workprocess 8
Remote SQL
Database
13
Update data on database
14
End transaction
Low level
Communication System
SAP Technical Overview
Business Framework
Business Component
ALE
BAPI BAPI
Business Component
Business Component - contains business functionality BAPI - interface between the components ALE - integration of components
SAP Technical Overview
Other Interfaces
Application Link Enabled (ALE) - Interface that links different SAP systems and external application systems
Transport special data structures known as IDOCS (Intermediate Documents)
Object Linking and Enabled (OLE) enables desktop users to access SAP data from many OLE client programs
SAP Technical Overview
Basis Functions
Hardware and Database Administration User and Security Administration Client Maintenance Correction and Transport System (CTS) Data Dictionary Online Service System (OSS) Performance Monitoring and Tuning
SAP Technical Overview
User Administration
Create users and assign profiles Modify, lock and unlock users Develop authorizations and profiles
Client Maintenance
Create clients Copy and refresh clients Client imports and exports Delete and remove clients Modify change options
Change Request
Development
Quality Assurance
Production