(/)
Download & Upgrade SAP Kernel: Step by Step
Tutorial
Transform into a Big What is a Kernel?
Data Scientist - Learn
R, Hadoop, Machine
Learning. Apply! The Kernel is a central program which acts as an
interface between SAP application and oper ating
system.
The Kernel consists of the ex ecutable programs that reside under the path
"/sapmnt/<SID>/exe" (UNIX) or \usr\sap\SID\SY S\exe\run (Windows)
These files help star tup the R/3 system, initializ e the memory, create buffers and start
managing the requests from users and effectively utilizing of hardware resources.
The kernel is also responsible for star ting and stopping all the application ser vices like
dispatcher, message server, collector etc.
Why Kernel Upgrade?
SAP Kernel is the core of the application. Like all other applications, t he Kernel contains the
executable files (.EXE files for stating v arious processes in SAP).
The Kernel is the hear t of the operating system. It contains those files which ar e used to
run every event in SAP. E.g.|: starting database, shutdowns of the database, star ting sap,
shutdown of sap, saposcol, t o uncar the sap files etc.
That's the reason why when a K ernel upgrade is done it means new v ersions of the various
EXE files replace the older versions.
How to check Kernel Version?
There are many ways to check the Kernel Version -
Method 1) Logon to SAP system and go t o SM51 à Release Notes
(//cdn.guru99.com/images/sap/20 13/04/042613_0829_SampleUploa15.png)
Method 2) Logon to SAP system and go t o System tab in the menu bar and select Status
(//cdn.guru99.com/images/sap/20 13/04/042613_0829_SampleUploa16.png)
Method 3) Logon in operating system, switch t o user <SID>adm and giv e the
command disp+work
You can also give disp+work –version
(//cdn.guru99.com/images/sap/20 13/04/042613_0829_SampleUploa17.png)
Download Kernel from Service Marketplace
(//cdn.guru99.com/images/sap/20 13/04/042613_0829_SampleUploa18.png)
Go to "SAP Service Marketplace. " (https:\\ser vice.sap.com) You will need your OSS ID and
password.
Then go to Downloads à SAP Supp ort Packages -> Entry By Application Group -> SAP
Kernel 6.00 64 Bit -> Select y our OS (LINUX/WINDOWS/SOL ARIS/AIX) -> Database
Dependent and Database independent K ernel Patch.
Two SAR files SAPEXE.SAR and SA PEXEDB.SAR are downloaded from Service
Marketplace.
(//cdn.guru99.com/images/sap/20 13/04/042613_0829_SampleUploa19.png)
Database Independent
(//cdn.guru99.com/images/sap/20 13/04/042613_0829_SampleUploa20.png)
Database Dependent: ORA CLE
Kernel Upgrade Steps:
Step 1: Create a new Directory at OS level with enough space. Name of Dir can be
"exe_new<ddmmyy>".
Step 2: Transfer these SAPEXEDB.SAR & SAPEXE.SAR files which y ou 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 dir ectory path with command ' pwd' to ensure
you are in the same dir (ex e_new<ddmmyy>).
Step 4: Now uncompress these. SAR files b y sapcar exe. The command used for the same
would be
SAPCAR –xvf sapexe. SAR
SAPCAR –xvf sapexedb.SAR
(//cdn.guru99.com/images/sap/20 13/04/042613_0829_SampleUploa21.png)
Step 5: Now create one more directory in that path with the name " exe_old<ddmmyy>". Take
the backup of existing k ernel.Copy (only copy not move) the existing kernel from exe directory
to "exe_old<ddmmyy>"
Step 6: Now stop the SAP application. (F or kernel upgrade the shutdown of d atabase is not
essential but we need t o 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
cp -rp /sapmnt/<SID>/exe_new<ddmmyy>/* /sapmnt/<SID>/exe/
Step 8: This will copy / replace all the files in the existing k ernel directory with a new kernel
files.
Then check the kernel version from OS level by the command disp+w ork. It should show that
the patch number has been incr eased.
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 corr ect permissions to all the executable programs in the
kernel such br* file etc...
Step 11:
Then start the SAP system
startsap r3
Step 12: Now you can also check the k ernel version level from SM51 or by selecting system à
status
Prev (/support-package-stack-updates.html) Report a Bug (/contact-us.html)
Next (/system-monitoring-performance-checks.html)
YOU MIGHT LIKE:
SAP-HANA COURSE SAP - BI SAP-HANA SAP-HANA
(/sap-hana- (/sap-quality- (/how-to- (/sap-hana- (/sap-hana-
sql- management- create- create- reporting.html)
script.html) qm- infoobjects- sequence.html)
tutorial.html) with-key-
figures.html)
(/sap-hana-
(/sap-hana- (/sap-hana- reporting.html)
sql- (/sap-quality- create- SAP HANA
script.html) management- (/how-to- sequence.html) Reporting
SAP HANA qm- create- SAP HANA (/sap-hana-
Tutorial: SQL tutorial.html) infoobjects- Tutorial: Create reporting.html)
Script SAP QM (Quality with-key- Sequence
(/sap-hana-sql- Management) figures.html) (/sap-hana-
script.html) Tutorial create-
How To Create
(/sap-quality- InfoObjects With sequence.html)
management- Key Figures in
qm- SAP BI/BW
tutorial.html) (/how-to-create-
infoobjects-
with-key-
figures.html)
SAP - BASIS
Introduction to Basis in SAP (/introduction-to-basis.html)
Install SAP GUI aka FrontEnd (/guide-to-install-sap-gui-aka-frontend.html)
What is SAP Instance & SID (/sap-instance-sid.html)
Learning Sap Architecture (/learning-sap-architecture.html)
What is Client & Create New (/create-new-client.html)
Local,Remote, Import/Export (/all-about-client-copy-localremote-importexport.html)
How To Delete a Client (/how-to-delete-a-client.html)
How to Create a SAP User (/how-to-create-a-user-2.html)
Lock/Unlock a User in SAP (/how-to-lockunlock-a-user-2.html)
Limit Logon Attempts in SAP (/how-to-limit-logon-attempts.html)
Set Password Restrict in SAP (/how-to-set-password-restrictions.html)
Background Job Processing (/background-job-processing.html)
Monitor a Background Job (/how-to-monitor-a-background-job.html)
Delete a Background Job (/how-to-delete-a-background-job.html)
Introduction to TMS (/transport-management-system-tms.html)
Configure TMS (/how-to-configure-tms.html)
Transport Routes & Layers (/how-to-configure-transport-routes-and-layers.html)
Import/Export it & check logs (/what-is-transport-request-how-to-importexport-it-check-logs.html)
Support Package & Stack Update (/support-package-stack-updates.html)
SAP Kernel & Update (/sap-kernel.html)
SAP Monitor system (/system-monitoring-performance-checks.html)
SAP OSS Note (/how-to-trace-if-an-oss-note-is-deployed-in-your-landscape.html)
Introduction to RFC (/rfc-remote-function-call.html)
Configure and Test RFC. (/how-to-configure-and-test-rfc.html)
IDOC:Def, Archite, Imple (/all-about-idocdefinition-architecture-implementation.html)
What is SAP LSMW ? (/what-is-sap-lsmw.html)
About
About us (/about-us.html)
Advertise with Us (/advertise-us.html)
Jobs (/freelancing.html)
Privacy Policy (/privacy-policy.html)
Contact Us
Contact us (/contact-us.html)
FAQ (/faq.html)
Write For Us (/become-an-instruct or.html)
Follow Us
(https://www.facebook.com/guru99com/)
(https://twitter.com/guru99com)
(https://forms.aweber.com/form/46/724807646.htm)
(https://play.google.com/store/apps/details?
id=com.vector.guru99&hl=en)
Certifications
ISTQB Certification (/istqb.html)
MySQL Certification (/mysql-certification-
guide.html)
QTP Certification (/qtp-quality-center-cer tification-
details.html) Testing Certification (/software-
testing-certification.html)
CTAL Exam (/ctal-certified-exam-preparation.html)
Execute online
Execute Java Online (/try-java-editor.html)
Execute Javascript (/execute-javascript-online.html)
Execute HTML (/execute-html-online.html)
Execute Python (/execute-python-online.html)