on 09-22-2011 5:17 PM
Hi Experts,
In file to file scenario the messages are coming with tag encoding=UTF-16 instead of UTF-8 .in SXMB_MONI as shown below:
Error detail:
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
-
Switch from current encoding to specified encoding not supported. Error processing resource 'http://xxx.mdt/messa...
<?xml version="1.0" encoding="utf-16"?><Document xmlns="urn:iso:std:iso:xxxx
Upto last week the messages are observed with the tag <?xml version=''1.0'' encoding=''UTF-8'' in SXMB_MONI. But from yesterday onwards the messages are shown with UTF-16 encoding.
Please share the inputs where is the problem we need to check.
Thanks in advance.
Regards
Mahesh.S
Hi Mahesh,
There might be some change in the input file format.
if this is the case then you need to change the encoding in communication channel....Refer the below link for ref..
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Regards,
Naveen
Edited by: chichilin on Sep 22, 2011 10:16 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefen,
<<<Do you mean: The sender of the files provides UTF-16 encoded XML files? >>>
Yes. Your guess is correct. Actually due to the R/3 system upgrade this issue occured. Encoding changed when the data is triggering from R/3 system(source). After upgrade some filters are missing in related BADI and issue resolved.
@ALL: Thank you so much for your replies.
Regards
Mahesh
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.
A number of modules are available to change the encoding which can be used.If this is a text file (MIME type is text/plain) and your XI has SP18 -you can use TextCodepageConversionBean in the file communication channel - with parameter Conversion.charset = 'UTF-8' (using MessageTransformBean is another option). You can also use XmlAnonymizerBean to change the xml encoding definition header to UTF-8 too.But you should check what made the charset to change to UTF-16 in first place , is it that your source system is providing it in this (UTF-16) charset now.
> Upto last week the messages are observed with the tag <?xml version=''1.0'' encoding=''UTF-8'' in SXMB_MONI. But from yesterday onwards the messages are shown with UTF-16 encoding.
Do you mean: The sender of the files provides UTF-16 encoded XML files?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahesh,
Check what you have configured in the Receiver FILE channel at File Encoding it should be UTF-8 , find the below details;
File Type = Text
File Encoding = utf-8
If not change accordingly and check whether you are receiving the data as expected.
- Muru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
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.