on 12-14-2011 9:15 PM
Hi
My interface is Flat file to Flat File interface with file content conversion which is working fine in SAP PI 7.1 EHP1.
If I want to process the empty file from sender system, PI should place the same empty file in the receiver FTP Location as per my requirement.
I am facing the below error message when PI tries to place the empty file.
Message processing failed. Cause: org.xml.sax.SAXParseException: Premature end of file.
But if I am not using FCC, I am able to get the empty file at the receiver end.
Please suggest on this, If I am using FCC in the receiver side.
Thanks
Gabriel
Hi Gabriel ,
at Interface Determination, you should be better configure condition, if filesize = 0 , don't set Operation Mapping.
if filesize > 0 , set Operation Mapping.
do you understand?
regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gabriel,
You can write a simple script to copy a file from source folder to target in case the fiel size is ZERO bytes. The script will not copy the file if the filesize is more than zero bytes, This will be processed normally by PI server. You can call the script from sender communication channel parameter : "RUN OS command before message processing". Could you please specify the Operating System (OS) you are using in your PI server.
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any solution on my request?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By the way, have you tried setting recordset occurrence to *?
Regards,
Prateek Raj Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you really need this empty file to be processed? You have option to skip such file.
Regards,
Prateek Raj Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.