---
title: "Compression Setup for SAP 4.6C, Enterprise 4.7 and ECC5.0"
slug: "compression-utility-definition-for-versions-46c-enterprise-47-and-ecc50"
updated: 2021-12-29T12:37:00Z
published: 2021-12-29T12:37:00Z
---

> ## 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 4.6C, Enterprise 4.7 and ECC5.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.

NoteRAR file type is not supported

## **I****nstalling gzip on the SAP machines**

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

1. Click [here](http://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, it is possible to add the gzip directory to the system path.

## **Defining Operating System Command**

1. Start transaction **SM69**
2. Select![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1640730513943.png)
3. Select![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1640730535789.png)
4. 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**  
  
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-1640730551051.png)
5. Select![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1640730563723.png), and then![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1640730576246.png).
6. Select![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1640730610288.png)again.

## **Verifying Operating system command**

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

1. Start transaction **SM49**and verify that command 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**
2. Double-click the command
3. For**Additional parameters** -  
For gzip type: -V  
For winRAR type: a -afzip
4. Select![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1640730639386.png)
5. Verify that the output message is as shown below  
![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1640730651955.png)
