on 02-03-2015 3:43 PM
Hello Experts,
I am working on an SAP Proxy to SFTP file receiver scenario in SAP PI 7.4.End user is complaining about the file Encoding error.
The files are getting written in UTF-8 format but the user wants them in ANSI format.User is facing problem with the formatted characters in German texts.
The receiver was running on FTP all these days, but now we have switched to SFTP after which the problem has started.
Receiver is a Windows server.
.
Thanks,
Swetha.
The value of the parameter Transform.ContentType should be: text/plain;charset=cp1252
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
are you sure that your sender service send the character right?
maybe, your are not getting right request message and the problem is not in receiver channela and it is in sender side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kavya,
your configuration looks good.
What do you mean with "i am still receiving them."?
You mean the german characters (ä,ü,ö,ß...) in the created flatfile could not be shown correctly?
In my case the german characters are in order in the target file.
Please give me a screenshot of your target file.
Regards
Sara
try with cp1250 in Conversion.charset parameter
windows-1250 Cp1250 Eastern European (Albanian, Croatian, Czech, English, German, Hungarian, Latin, Polish, Romanian, Slovak, Slovenian, Serbian) Windows encoding
windows-1252 Cp1252 Western European (Albanian, Basque, Breton, Catalan, Danish, Dutch, English, Faeroese, Finnish, French, German, Greenlandic, Icelandic, Irish Gaelic, Italian, Latin, Luxemburgish, Norwegian, Portuguese, Rhaeto-Romanic, Scottish Gaelic, Spanish, Swedish) Windows encoding
Hi Kavya,
I see that u r using the XML2Plain module key for transform as well..You need to use the Encode key
Regards
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sara and Kavya,
you may try parameter Transform.ContentType should be: text/plain;charset=ISO-8859-1
It worked for us
Regards,
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Sriram,
thank you for your response. i tried using text/plain;charset=ISO-8859-1 but it didn't work.
our scenario is Proxy - PI - SFTP adapter
in message monitoring i have observed that characters are getting truncated at sender side only.
so should have to encode at sender side also??
if so can i use the AF module in soap proxy channel?
Hi Shweta,
did the issue get solved?
I have the same problem since a couple of weeks.
any updates would be appreaciated!
Regards
Sara
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi swetha
Is the issue solved? even we are facing the similar issue.
If the issue is solved can you please say me the solution.
Thanks
kavya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Shweta,
Did the issue get resolved?
Regards,
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shweta,
The below worked in our case.
parameter Transform.ContentType should be: text/plain;charset=ISO-8859-1
Regards,
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swetha,
i found this link helpful for solving encoding problems.
Maybe also this SCN thread could help you. I think it sounds very promising as it focuses on the SFTP topic.
Also be sure to check the final file with a HEX Editor (No Text Editor, they somtimes show you incorrect HEX Data) to be sure that the file is really in the wrong format.
Although as this interface already worked once, I guess the claim of your end user is valid.
What I wonder is why you are setting "Transform.ContentType" to UTF-8, shouldn't you set this parameter to ANSI format?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.