cancel
Showing results for 
Search instead for 
Did you mean: 

SAP "unzip" a .gz file extension

reburujado
Participant
0 Kudos

Dear SAP Experts

Do you know whether exist a functionality within SAP to "unzip" a .gz file extension?

We will receive bank files (electronic statement) compress with this extension, and I would like the new custom program "unzip" the files.

Best Regards and thanks in advance for your ideas

Fernando Luna

Accepted Solutions (1)

Accepted Solutions (1)

vinod_vemuru2
Active Contributor
0 Kudos

Hello,

You BASIS or system admin has to create UNIX command for unzip functionality (If not available already). You can call the command in custom program using CALL statement.

Regards,

V V

vinod_vemuru2
Active Contributor
0 Kudos

Below is the format of code.

  CONCATENATE 'gunzip'

              l_unix_fnam  "Unix file name

                      INTO l_folder_z

                            SEPARATED BY space.

  CALL 'SYSTEM' ID 'COMMAND' FIELD l_folder_z

                ID 'TAB'     FIELD lt_result.

gunzip is the unix command for unzipping.

Thanks,

V V

Answers (1)

Answers (1)

reburujado
Participant
0 Kudos

Hi

Many thanks for your answers, we have been bussy lately.

We are gonna test some solution and send a feedback