---
title: "Compression Setup for SAP ECC6.0"
slug: "compression-utility-definition-for-version-ecc60"
updated: 2024-09-17T08:13:08Z
published: 2024-09-17T08:13:08Z
---

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

# Compression Setup for SAP ECC6.0

Compression utility Definition is required for [automatic compression and uploading your custom code to Panaya](/v1/docs/how-to-extract-and-upload-your-custom-code) and for the [server-side installation of the Panaya Recorder & Player](/v1/docs/how-to-install-the-panaya-recorder-player-for-sap). Defining the compression utility requires the compression of the XML file into a Zip archive using standard archiving software like Gzip. You can download Gzip [here](http://gnuwin32.sourceforge.net/packages/gzip.htm). If you prefer using [WinRAR](http://www.rarlab.com/download.htm), follow WinRAR definitions in the instructions below.

Note

RAR file type is not supported

## gzip Installation

SAP servers running UNIX or Linux have a built-in gzip facility.  
The activities described below are necessary **for SAP servers running Windows**.  
A basic administrator must perform the following steps on any application server (It is also possible to use WinRAR archiving utilities if already installed on the server). 

1. Click [here](http://gnuwin32.sourceforge.net/packages/gzip.htm) to download gzip
2. Locate the gzip.exe file installed in the previous step and copy it to the Windows directory.  
Alternatively, adding the gzip directory to the system path is possible.

---

## Defining an Operating System Command

1. Start transaction **SM49**
2. Select ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638819053226.png)
3. Under **Command**, for **Command name**, type the command name as follows -
  - For automatic compression and extraction of custom code **- ZZ_COMPRESS_ETL**
  - For the server-side installation of the Panaya Recorder & Player - **ZZ_COMPRESS**
4. Under **Definition**, for **operating system command**-  
**ZZ_COMPRESS_ETL/ZZ_COMPRESS:**  
For gzip type: gzip  
For WinRAR type: C:\Program Files (x86)\WinRAR\winrar)  
**![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638819074028.png)**

## 

**5. You may be required to specify the full path of your compression application, such as shown in the example below: (can be done for both gzip and tar)![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1640780235549.png)For Linux or Unix based systems, the full path should be /usr/bin/gzip or use the OS command 'which gzip' to determine the exact path** ******If GZIP or TAR are not in your Environment Variables path, you may be required to specify the full path**

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

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

### 

## **Verifying the Operating System Command**

These steps should be performed by the same SAP user that runs the Panaya Code Extraction Code.

1. Stay in transaction SM49 and verify that the command entered in the previous step is displayed in the list.
  - For automatic compression and extraction of custom code **- ZZ_COMPRESS_ETL**
  - For the server-side installation of the Panaya Recorder & Player - **ZZ_COMPRESS**  
****  
**Select the command from the list.**
2. Select![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638819137714.png)
3. For **Additional parameters -**  
For gzip type: -V  
For WinRAR type: a -afzip  
For Tar type: -cvf
4. Select![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638819146989.png)
5. Verify that the output message is as shown below  
![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1638819175620.png)
