on 09-16-2009 9:50 AM
Dear All,
We have a file to RFC without BPM scenario, where the Source file XML is generated from the 3rd party system which has around 100 fields and any of these fields can take any special character. but this special characters needs to be passed to SAP r/3 system.
How do we handle this in SAP XI, Since special characters are prosent the XML is not getting parsed in SAP XI and throws an expection in CC.
9/16/09 11:09:52 AM 397b395c-86ec-4c04-022a-a783569d34f4 Retry interval started. Length: 10.0 seconds
9/16/09 11:09:51 AM 397b395c-86ec-4c04-022a-a783569d34f4 Error: com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException
9/16/09 11:09:51 AM 397b395c-86ec-4c04-022a-a783569d34f4 Error: com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:
Regards,
Nithiyanandam
refer https://weblogs.sdn.sap.com/pub/wlg/9420 [original link is broken] [original link is broken] [original link is broken]
handling special characters in sap XI it may help you to resolve the issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are you able to open the source XML in Internet explorer.
There is a good chance if PI cannot parse it, IE will not display properly either.
Regards,
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This means that the xml being generated by source application is not proper.
Special characters like & will show as & if you open the xml in notepad.
Whats does the & appear as when opened in notepad? If it still shows & instead of &, you need to ask the source application to generate the xml properly.
regards,
Vikas
Since it is aFILE channel you cn include encoding parameter as shown in page - 3 of this document:
I hope you have placed the CallSAPAdapter module at required position....should it not be the last module entry?
Regards,
Abhishek.
Hi Nithiya,
Check this note
Note 821267 - FAQ: XI 3.0 / PI 7.0/ PI 7.1 File Adapter
It states
File Sender: Special Characters in File Names
Q: I am trying to get the File Adapter to poll a file, which contains special characters (e.g., accented characters or umlauts) in its file name. However, irrespectively of the wildcard mask I specify in the File Adapter sender channel configuration, the file does not get picked up. Which configuration setting do I need to change to get my scenario working?
A: 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=<encoding>" to the Java VM parameters section of the SAP J2EE Config Tool.
Additionally, you need to set the "LANG" environment variable to a locale that supports more than 7 bits, such as "de.ISO8859-1". The encoding you specify in the LANG environment variable needs to match the encoding set via "file.encoding".
You can persistently configure the environment variable by setting it in the profile $HOME/.sapenv_$HOSTNAME.csh of the <sid>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...
Regards
Suraj
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.