on 11-26-2010 1:11 PM
Hi All,
Need your help to solve a problem which I face in my current interfac. I am currently working on SFTP to File scenario where we use Advantco SFTP Adapter. The problem is SFTP sender adapter doesn't process the files which have Language characters in the File Name. No errors are thrown and no processing of the file happens in Message Monitoring. One probable option which I already tried was to use the text encoding but that works on the content and not the file name. Just wanted to check if any body can help in suggesting some solution. Also, even for content is there a need to change the encoding for Language characters or they should be left as Binary Type. PI is SAP PI 7.11.
How does the standard SAP PI File Adapter handle scenario with File Name having language characters. Is it correctly processed or how do we handle that for correct processing, may be the same can be applied for SFTP adapter.
Best Regards,
Pratik
Hi All,
File Adapter doesn't support language characters in file name.
Thanks for your inputs.
Best Regards,
Pratik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pratik,
Check the Note: 960663
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pratik,
The requirement can be achieved using JAVA mapping.
Check the below blog:
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9420 [original link is broken] [original link is broken] [original link is broken]
The best way is to keep the file name scheme as *.txt. So, it will pick up all the files. For this, ensure only that particular format should be done in the specified directory.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pratik,
Under certain operating system platforms, such as Solaris, the
APIs used by the Java Runtime (JRE) are not Unicode-aware.
Consequently, the JRE needs to be configured to correctly
interpret the character set it receives from the operating
system.
This is configured through the "file.encoding" system property as
well as the "LANG" environment variable.
Make sure you set "file.encoding" to a character set (such as
ISO-8859-1) that supports the special characters you would like
to process. This system property can be configured by appending
"-Dfile.encoding=adm user: setenv LANG de.ISO8859-1. For additional details
on 'How to Work with Character Encodings in PI' the following
guide can also be followed:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km
.cm.docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42
I hope this helps.
Best Regards,
Gábor
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.