SAP Basis Document
SAP Basis Document
The SAP R/3 System has a three-tier client/server architecture. All data is stored in a database,
and the data is processed in the application layer on the application servers. The SAP GUI
frontend (presentation layer) is the interface to the user. All three layers are connected to each
other with networks.
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.
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
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 user. When some modifications are
done at database level then update work process is assigned. So as per user's action work process
is assigned.
Step 4) Once user is assigned the dialog work process then user authorizations, user's current
setting are rolled in to work-process in shared memory to access user's data. Once dialog step is
executed then user's data is rolled out from work process. 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 user’s jumps from one screen to other the process is called a
dialog step.
SAP Installation –
URL for download files: - https://support.sap.com/en/index.html
Installation Process –
SWPM - SOFTWARE PROVISIONING MANAGER.
A tool that performs software provisioning processes such as installation, uninstallation, system
copy, or system transformation. The Software Provisioning Manager is delivered with the
Software Logistics Toolset.
Define Parameters: -
1. Select Parameter Mode
2. Define SID
3. Assign Domain Name
4. provide Master Password
5. Choose the Windows Domain
6. Upload All Software Packages
Post-installation Steps: -
1. Log on to the SAP System:
Step 2: Transfer these SAPEXEDB.SAR & SAPEXE.SAR files which you have downloaded to
the new directory at OS level.
Step 3: Change your current directory to path .SAR files are created (cd
/sapmnt/PR2/exe_new20122006). Check the directory path with command 'pwd' to ensure you are
in the same dir (exe_new<ddmmyy>).
Step 4: Now uncompress these. SAR files by sapcar exe. The command used for the same would
be
Step 5: Now create one more directory in that path with the name "exe_old<ddmmyy>". Take the
backup of existing kernel.Copy (only copy not move) the existing kernel from exe directory to
"exe_old<ddmmyy>"
Step 6: Now stop the SAP application. (For kernel upgrade the shutdown of database is not
essential but we need to stop the SAP application)
stopsap r3
Step 7:
Then copy the files from the new kernel directory exe_new<ddmmyy> to the existing kernel
directory exe
Then check the kernel version from OS level by the command disp+work. It should show that the
patch number has been increased.
Step 9:
Then logon to OS level as root (specific to UNIX). In the kernel directory, there is a script called
saproot.sh. Execute this script
./saproot.sh <SID>
Step 10: This script assigns the correct permissions to all the executable programs in the kernel
such br* file etc...
Step 11:
startsap r3
Step 12: Now you can also check the kernel version level from SM51 or by selecting system à
status.