on 06-27-2015 4:54 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arkesh,
The reason for the error is that you have not mentioned any parameter value for CallSapAdapter.
Kindly mention parameter value as "exit" for CallSapAdapter.
Note: A brief hint is obtained from the first error screenshot which states "Exception caught by adapter framework: {0}"
Regards,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Souvik,
Thank you for your response.
Please specify the Parameter Name that I need to use with the Parameter Value "exit" for CallSapAdapter. I was trying to figure out the Parameter Name for the module CallSapAdapter but could not find one so it would be helpful if you can provide it.
Regards,
Arkesh
Arkesh,
Please check if the zip file is zip64 type. Right click on zip file and check properties (SAP note has example image at bottom). It is not supported by PI / PO.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghu,
Thank You for taking time out in replying to my query.
I have checked the link provided by you. In that link it says -
"
"
Whenever I launch my PI 7.4, it launches with Java 7. There is a small pop-up that shows Java 7 whenever I click on ESR/ID link on the home page. Please let me know if my understanding is correct.
Moreover, I tried checking the properties of the zip folder but I do not see anywhere whether it is zip64 or not. Please find the snapshot below -
Regards,
Arkesh
User | Count |
---|---|
78 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.