---
title: "Extracting Hana Code Inspector and Job canceled"
slug: "failed-to-extract-custom-code-due-to-an-error-in-sap-code-inspector-for-hana-execution"
updated: 2021-12-30T15:09:01Z
published: 2021-12-30T15:09:01Z
---

> ## 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.

# Extracting Hana Code Inspector and Job canceled

Open the job log file if you failed to extract your custom code with HANA SAP Code Inspector. It may be that the last line in the job log file states: "Extracting Hana Code Inspector and Job canceled". In this case, try the following solution.

1. Run the SAP Code Inspector with the required variants as shown in [this article](/v1/docs/how-to-run-hana-sap-code-inspector)
2. Once completed, run the Panaya Code Extraction Tool once more and select the **Choose from the previous executed list**under **HANA SAP Code Inspector execution mode**and select the relevant variants. ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1640090079181.png)
