---
title: "HANA 2.0 Code Inspector"
slug: "how-to-define-hana-20-sap-code-inspector-execution"
updated: 2022-05-02T12:46:52Z
published: 2022-05-02T12:46:52Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://success.panaya.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HANA 2.0 Code Inspector

This article is part of our [custom code extraction](/v1/docs/how-to-extract-and-upload-your-custom-code) & [S/4HANA](/v1/docs/panaya-sap-s4hana-preparation-process)setup guides

**If migrating to HANA 2.0**, under ****HANA SAP Code Inspector execution mode**,**select options A or B as described below. Note that Options A or B are highly recommended.

## Option A - Choose from previously executed list (Recommended)

Select **Choose from previously executed list**if you want to use existing data from previous SAP code inspector runs. You can perform those runs by following the instructions in [this article](/v1/docs/how-to-run-hana-sap-code-inspector). Then fill in the values for the **FUNCTIONAL_DB** (for non-S/4HANA conversion), **FUNCTIONAL_DB_ADDITION,** and **PERFORMANCE_DB** field from the previously executed Code Inspector.

[More about how to run HANA SAP Code Inspector?](/v1/docs/how-to-run-hana-sap-code-inspector)

![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/choose_hana.jpg)

For **S/4HANA Conversion** projects (S/4Convert) -

![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/choose_hana_2.jpg)

---

## Option B - Choose from excel files****

Select **Choose from excel files** if you wish to run the Panaya Code Extractor before migrating your system to HANA and still receive a HANA Impact Analysis. To learn more about how to export these XLS files, [click here](/v1/docs/how-to-run-the-hana-code-inspector-on-a-different-system).

![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/choose_excel.png)

For **S/4HANA Conversion** projects (S/4Convert) and **S/4HANA Accelerate** (S/4Accelerate) projects -

![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/choose_excel_2.png)

Click **Upload**

**![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1639037007040.png)**

Important!When selecting options A or B, verify that you are using the most recent output of the HANA extraction.  
Using older versions for a custom code extraction may cause discrepancies in HANA analysis.

[Run HANA SAP Code Inspector in offline mode](/v1/docs/how-to-run-the-hana-code-inspector-on-a-different-system)

[Export HANA Code Inspector using Excel](/v1/docs/how-to-run-the-hana-code-inspector-on-a-different-system)

---

- If you are having trouble extracting your custom code for HANA migration, [click here](/v1/docs/failed-to-extract-custom-code-due-to-an-error-in-sap-code-inspector-for-hana-execution) - If you receive Warnings or Errors in the Code Inspector Results, [click here](/v1/docs/why-do-i-see-warnings-or-errors-in-the-code-inspector-results)
