cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI 7.4 - PayloadZipBean Unzipping issue

arkesh_sharma
Active Participant
0 Kudos

Hi Experts,

I have a scenario of file-to-file (I place the file in AL11 using SXDA_TOOLS t-code) where I pick up a zip file from the source and unzip it in the target. The zip file contains a .txt file.

My configuration in Adapter Module is shown below -

I used message transformation bean based on the suggestions provided by Stefan in the link -

File picking goes fine but while unzipping in receiver adapter using PayloadZipBean, I am getting two errors in specific conditions -

1. When I zip the file using Windows compression tool and place it in AL11, I get the below error -

2. When I zip the file using WinZip tool and place it in AL11, I get the below error -

Kindly help me out in this regard and let me know how can I fix this issue?

P.S.: In case the images are not clear, you can view the images clearly by clicking on each image.

Regards,

Arkesh

Message was edited by: Arkesh Sharma

View Entire Topic
arkesh_sharma
Active Participant
0 Kudos

Thank You all for your time and helpful responses.

The issue has been resolved. The problem lied with the upload of zip files in AL11 directory. The encoding used to change when I uploaded zip files using SXDA_TOOLS t-code.

When I performed a similar operation using FileZilla Server, it worked fine.

The Zip-Unzip scenario with SXDA_TOOLS t-code was working fine as I only upload a TXT file and the module had to zip it before sending it to the target and then unzipping it. So, encoding of zip was not an issue. But while uploading a zip file it somehow meddled with the zip format.