---
description: The Kernel is the central program which acts as an interface between SAP application and operating system.
title: "SAP Kernel Upgrade: Steps &#038; Tutorial"
image: https://www.guru99.com/images/sap-kernel-1.png
---

[Skip to content](#main)

**⚡ Smart Summary**

Download and Upgrade SAP Kernel describes the executable core that connects every SAP application with the underlying operating system. This walkthrough explains how to verify the kernel version, retrieve patches from the SAP Service Marketplace, and apply a controlled upgrade safely.

- 🧩 **Core Function:** The SAP Kernel runs executable files that start, stop, and manage every SAP service across operating systems.
- 🔍 **Version Verification:** Three reliable methods reveal the running kernel level using SM51, System Status, or the disp+work command.
- ⬇️ **Patch Acquisition:** SAPEXE.SAR and SAPEXEDB.SAR are downloaded from the Service Marketplace using a valid OSS ID.
- ⚙️ **Upgrade Process:** A safe upgrade backs up the existing kernel, extracts new binaries, replaces files, and re-runs saproot.sh on UNIX.
- ✅ **Validation Step:** Confirm the upgrade success through SM51 or System Status after restarting the SAP application.

Read More

![Download \& Upgrade SAP Kernels](https://www.guru99.com/images/sap-kernel-1.png)

## What is a SAP Kernel?

The **SAP Kernel** is a central program that acts as the interface between every SAP application and the underlying operating system. It is the engine that allows the SAP system to start, communicate with the database, and respond to user requests reliably.

- The Kernel consists of executable programs stored under **/sapmnt/\<SID>/exe** on UNIX or **\\usr\\sap\\SID\\SYS\\exe\\run** on Windows.
- These executables start the R/3 system, initialize memory, create buffers, manage user requests, and efficiently use available hardware resources.
- The Kernel also starts and stops all application services, including the dispatcher, message server, and collector processes.

## Why is a Kernel Upgrade Required?

Kernel upgrades keep the SAP landscape stable, secure, and aligned with the latest SAP corrections and operating system support.

- The SAP Kernel is the core of the application and contains the executable files (.exe binaries) used to start critical processes inside SAP.
- The Kernel is the heart of the [operating system](https://www.guru99.com/operating-system-tutorial.html) integration. It controls every event in SAP, including starting and shutting down the database, starting and stopping SAP, running saposcol, and uncaring SAP files.
- During a Kernel upgrade, new versions of the executable files replace the older ones, applying bug fixes, security patches, and performance improvements.

## How to Check Kernel Version

Before any upgrade, confirm the currently installed version using one of the three methods below.

**Method 1)** Log on to the [SAP system](https://www.guru99.com/what-is-sap.html) and navigate to **SM51 → Release Notes**.

[![SAP Kernel version shown in SM51 Release Notes]()](https://www.guru99.com/images/sap/2013/04/042613_0829_SampleUploa15.png)

**Method 2)** Log on to the SAP system and go to the **System** tab on the menu bar, then select **Status**.

[![SAP Kernel version displayed in System Status window]()](https://www.guru99.com/images/sap/2013/04/042613_0829_SampleUploa16.png)

**Method 3)** Log on at the operating system level, switch to user **\<SID>adm**, and run the command **disp+work**. You can also issue **disp+work –version** for the same result.

[![disp+work command output showing SAP Kernel version at OS level]()](https://www.guru99.com/images/sap/2013/04/042613_0829_SampleUploa17.png)

## Download Kernel from Service Marketplace

Once the current version is known, the next step is to fetch the latest kernel package from SAP.

[![SAP Service Marketplace login page for kernel downloads]()](https://www.guru99.com/images/sap/2013/04/042613_0829_SampleUploa18.png)

- Visit the **SAP Service Marketplace** at *https://service.sap.com*. You will need your OSS ID and password.
- Navigate to **Downloads → SAP Support Packages → Entry By Application Group → SAP Kernel 6.00 64 Bit → Select your OS (LINUX / WINDOWS / SOLARIS / AIX) → Database Dependent and Database Independent Kernel Patch**.
- Two SAR archive files, **SAPEXE.SAR** (database independent) and **SAPEXEDB.SAR** (database dependent), will be downloaded.

[![Database Independent SAP Kernel download selection]()](https://www.guru99.com/images/sap/2013/04/042613_0829_SampleUploa19.png)

[![Database Dependent SAP Kernel for Oracle download page]()](https://www.guru99.com/images/sap/2013/04/042613_0829_SampleUploa20.png)

**Don't Miss:**

- [What is SAP BASIS? Complete Tutorial](https://www.guru99.com/introduction-to-basis.html)
- [How to Lock (SU01) & Unlock (SU10) a SAP User](https://www.guru99.com/how-to-lockunlock-a-user-2.html)
- [SAP SM37 Tcode: How to Check Background Job](https://www.guru99.com/how-to-monitor-a-background-job.html)
- [SAP Transport Request: How to Import & Export TR](https://www.guru99.com/what-is-transport-request-how-to-importexport-it-check-logs.html)

## SAP Kernel Upgrade Steps

Follow the steps below sequentially to apply the new kernel safely without losing the previous version.

**Step 1)** Create a new directory at the OS level with sufficient free space. A common naming convention is **exe\_new\<ddmmyy>**.

**Step 2)** Transfer the downloaded **SAPEXEDB.SAR** and **SAPEXE.SAR** files into the new directory at OS level.

**Step 3)** Change the current directory to the path where the SAR files are stored (for example, *cd /sapmnt/PR2/exe\_new20122006*). Verify the location using **pwd**.

**Step 4)** Uncompress the SAR files using the SAPCAR executable:

```
SAPCAR -xvf SAPEXE.SAR
SAPCAR -xvf SAPEXEDB.SAR
```

[![SAPCAR extracting SAPEXE and SAPEXEDB archives]()](https://www.guru99.com/images/sap/2013/04/042613_0829_SampleUploa21.png)

**Step 5)** Create another directory named **exe\_old\<ddmmyy>** in the same path and take a backup of the existing kernel. Use *cp* (copy, do not move) to back up the existing **exe** directory to **exe\_old\<ddmmyy>**.

**Step 6)** Stop the SAP application. The database does not need to be shut down for a kernel upgrade, but the SAP application must be offline.

```
stopsap r3
```

**Step 7)** Copy the files from the new kernel directory into the existing kernel directory:

```
cp -rp /sapmnt/<SID>/exe_new<ddmmyy>/* /sapmnt/<SID>/exe/
```

**Step 8)** The copy replaces all files in the existing kernel directory with the new kernel binaries. Verify the kernel version at the OS level using **disp+work**. The patch number should reflect the upgrade.

**Step 9)** Log on to the OS as **root** (UNIX only). The kernel directory contains a script named **saproot.sh**. Execute it:

```
./saproot.sh <SID>
```

**Step 10)** This script assigns the correct permissions to every executable in the kernel, including the **br\*** files used by BR\*Tools and other administrative utilities.

**Step 11)** Start the SAP system:

```
startsap r3
```

**Step 12)** Finally, verify the upgraded kernel version through **SM51** or **System → Status** to confirm the new patch level is active.

## FAQs

🧩 What is the difference between SAP Kernel and SAP Basis?

The SAP Kernel is the executable layer that runs SAP processes, while SAP Basis is the broader administration layer that manages installations, transports, security, and performance. The Kernel sits beneath SAP Basis and powers its operations.

⏱️ How often should the SAP Kernel be upgraded?

Most SAP administrators apply a kernel patch every six to twelve months or whenever critical SAP Notes require it. Patch cycles depend on security advisories, OS compatibility, and the schedule defined by the enterprise change management policy.

📦 What are SAPEXE.SAR and SAPEXEDB.SAR files?

SAPEXE.SAR contains the database-independent kernel executables, while SAPEXEDB.SAR holds database-specific binaries. Both archives are downloaded from the SAP Service Marketplace and extracted with the SAPCAR utility during a kernel upgrade.

⚠️ Can the database remain online during a SAP Kernel upgrade?

Yes. The database can remain running during a kernel upgrade because only the SAP application processes need to be stopped. Always confirm with SAP Notes for your release, since some patches require database restarts or extra steps.

🔁 How can I roll back a SAP Kernel upgrade if something fails?

Stop the SAP application, then restore the backup taken in the exe\_old\<ddmmyy> directory by copying its contents back to /sapmnt/\<SID>/exe. Re-run saproot.sh on UNIX before restarting the SAP system to validate the rollback.

🤖 Can AI assistants help plan or perform SAP Kernel upgrades?

Yes. AI tools like SAP Joule and ChatGPT summarize SAP Notes, generate upgrade checklists, validate command syntax, and explain log errors. They reduce planning effort, though every change still requires human review and proper change-management approval.

🧠 How does AI improve SAP Basis monitoring and patching?

AI-driven monitoring platforms analyze system logs, predict failures, recommend kernel patches, and detect anomalies in transport workflows. They help Basis teams shift from reactive firefighting to proactive maintenance and continuous performance optimization across landscapes.

#### Summarize this post with:

ChatGPTPerplexityGrokGoogle AI

**Stay Updated on AI** **Get Weekly AI Skills, Trends, Actionable Advice.**

##### Sign up for the newsletter

Subscribe for Free

You have successfully subscribed.  
Please check your inbox.

![AI-Newsletter]() Chosen by over **350,000+** professionals

[Scroll to top](#wrapper)

×

Search for:

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.guru99.com/#organization","name":"Guru99","sameAs":["https://www.facebook.com/Guru99Official","https://twitter.com/guru99com"],"logo":{"@type":"ImageObject","@id":"https://www.guru99.com/#logo","url":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","contentUrl":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","caption":"Guru99","inLanguage":"en-US"}},{"@type":"WebSite","@id":"https://www.guru99.com/#website","url":"https://www.guru99.com","name":"Guru99","publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.guru99.com/images/sap-kernel-1.png","url":"https://www.guru99.com/images/sap-kernel-1.png","width":"680","height":"250","inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https://www.guru99.com/sap-kernel.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":"1","item":{"@id":"https://www.guru99.com","name":"Home"}},{"@type":"ListItem","position":"2","item":{"@id":"https://www.guru99.com/sap-basis","name":"SAP - Basis"}},{"@type":"ListItem","position":"3","item":{"@id":"https://www.guru99.com/sap-kernel.html","name":"SAP Kernel Upgrade: Steps &#038; Tutorial"}}]},{"@type":"WebPage","@id":"https://www.guru99.com/sap-kernel.html#webpage","url":"https://www.guru99.com/sap-kernel.html","name":"SAP Kernel Upgrade: Steps &#038; Tutorial","dateModified":"2026-05-14T19:05:21+05:30","isPartOf":{"@id":"https://www.guru99.com/#website"},"primaryImageOfPage":{"@id":"https://www.guru99.com/images/sap-kernel-1.png"},"inLanguage":"en-US","breadcrumb":{"@id":"https://www.guru99.com/sap-kernel.html#breadcrumb"}},{"@type":"Person","@id":"https://www.guru99.com/author/jessica","name":"Jessica Blake","description":"I'm Jessica Blake, an SAP Consultant, dedicated to helping businesses achieve their goals with expert SAP guidance.","url":"https://www.guru99.com/author/jessica","image":{"@type":"ImageObject","@id":"https://www.guru99.com/images/jessica-blake-author.png","url":"https://www.guru99.com/images/jessica-blake-author.png","caption":"Jessica Blake","inLanguage":"en-US"},"worksFor":{"@id":"https://www.guru99.com/#organization"}},{"articleSection":"SAP - Basis","headline":"SAP Kernel Upgrade: Steps &#038; Tutorial","description":"The Kernel is the central program which acts as an interface between SAP application and operating system.","keywords":"sap-basis, sap","speakable":{"@type":"SpeakableSpecification","cssSelector":[".entry-title",".summary"]},"@type":"Article","author":{"@id":"https://www.guru99.com/author/jessica","name":"Jessica Blake"},"dateModified":"2026-05-14T19:05:21+05:30","image":{"@id":"https://www.guru99.com/images/sap-kernel-1.png"},"copyrightYear":"2026","name":"SAP Kernel Upgrade: Steps &#038; Tutorial","subjectOf":[{"@type":"HowTo","name":"How to check Kernel Version?","description":"There are many ways to check the Kernel Version \u2013","step":[{"@type":"HowToStep","name":"Logon to SAP system and","text":"go to SM51 \u00e0 Release Notes","image":"https://www.guru99.com/images/sap/2013/04/042613_0829_SampleUploa15.png","url":"https://www.guru99.com/sap-kernel.html#step1"},{"@type":"HowToStep","name":"Logon to SAP system and","text":"go to System tab in the menu bar and select Status","image":"https://www.guru99.com/images/sap/2013/04/042613_0829_SampleUploa16.png","url":"https://www.guru99.com/sap-kernel.html#step2"},{"@type":"HowToStep","name":"Logon in operating system, switch to user adm and give the command disp+work","text":"You can also give disp+work \u2013version","image":"https://www.guru99.com/images/sap/2013/04/042613_0829_SampleUploa17.png","url":"https://www.guru99.com/sap-kernel.html#step3"}]},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is the difference between SAP Kernel and SAP Basis?","acceptedAnswer":{"@type":"Answer","text":"The SAP Kernel is the executable layer that runs SAP processes, while SAP Basis is the broader administration layer that manages installations, transports, security, and performance. The Kernel sits beneath SAP Basis and powers its operations."}},{"@type":"Question","name":"How often should the SAP Kernel be upgraded?","acceptedAnswer":{"@type":"Answer","text":"Most SAP administrators apply a kernel patch every six to twelve months or whenever critical SAP Notes require it. Patch cycles depend on security advisories, OS compatibility, and the schedule defined by the enterprise change management policy."}},{"@type":"Question","name":"What are SAPEXE.SAR and SAPEXEDB.SAR files?","acceptedAnswer":{"@type":"Answer","text":"SAPEXE.SAR contains the database-independent kernel executables, while SAPEXEDB.SAR holds database-specific binaries. Both archives are downloaded from the SAP Service Marketplace and extracted with the SAPCAR utility during a kernel upgrade."}},{"@type":"Question","name":"Can the database remain online during a SAP Kernel upgrade?","acceptedAnswer":{"@type":"Answer","text":"Yes. The database can remain running during a kernel upgrade because only the SAP application processes need to be stopped. Always confirm with SAP Notes for your release, since some patches require database restarts or extra steps."}},{"@type":"Question","name":"How can I roll back a SAP Kernel upgrade if something fails?","acceptedAnswer":{"@type":"Answer","text":"Stop the SAP application, then restore the backup taken in the exe_old directory by copying its contents back to /sapmnt//exe. Re-run saproot.sh on UNIX before restarting the SAP system to validate the rollback."}},{"@type":"Question","name":"Can AI assistants help plan or perform SAP Kernel upgrades?","acceptedAnswer":{"@type":"Answer","text":"Yes. AI tools like SAP Joule and ChatGPT summarize SAP Notes, generate upgrade checklists, validate command syntax, and explain log errors. They reduce planning effort, though every change still requires human review and proper change-management approval."}},{"@type":"Question","name":"How does AI improve SAP Basis monitoring and patching?","acceptedAnswer":{"@type":"Answer","text":"AI-driven monitoring platforms analyze system logs, predict failures, recommend kernel patches, and detect anomalies in transport workflows. They help Basis teams shift from reactive firefighting to proactive maintenance and continuous performance optimization across landscapes."}}]}],"@id":"https://www.guru99.com/sap-kernel.html#schema-552062","isPartOf":{"@id":"https://www.guru99.com/sap-kernel.html#webpage"},"publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US","mainEntityOfPage":{"@id":"https://www.guru99.com/sap-kernel.html#webpage"}}]}
```
