on 07-27-2012 11:27 AM
Hi All,
Can anybody please tell me how to solve this error
Code page conversion error Codepage Conversion from code page UTF-8 to system code page
I have a iDoc --- PI ---- HTTPS Scenario and want to convert the header (prolog) and body (Epilog) into ISO-8859-1
I am able to convert the body through XSLT Mapping but want to know how to convert Header (prolog).
I have tried various different option in receiver HTTP Adapter but nothing works and I am getting the following errors.
Input Character
<STRAS>Neurottstraße 16</STRAS>
Output Character
<STRAS>Neurottstra#e 16</STRAS>
Thanks
Iqbal
Hi Iqbal,
Please refer to SAP Help for receiver plain HTTP adapter, since I believe you misunderstood the functionality of Prolog and Epilog fields:
http://help.sap.com/saphelp_nwpi71/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
Especially the example illustrated with a graphic (at the end) should clarify well. So, in Prolog and Epilog fields, you should write the required prolog and epilog contents, instead of some encoding name.
Regards,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
I have a iDoc --- PI ---- HTTPS Scenario and want to convert the header (prolog) and body (Epilog) into ISO-8859-1
I am able to convert the body through XSLT Mapping but want to know how to convert Header (prolog).
Do you mind telling me how to set Prolog (header) in XSLT Mapping please.
Thanks,
Iqbal
Hi,
First of all, I don't thin PI allows you to create the Prolog in mapping. This is why this option is available in receiver CC settings. Secondly, I think you don't really convert the Prolog at all - you have an option to write any text to be sent as prolog, so you just have to type it there in the correct way. SAP Help really gives you lot of details about how you should do the conversion (yourself):
The encoding method that separates the form fields and their data uses the following rules:
○ Separate individual form elements, including their data, by using the ampersand (&).
○ Separate the name and data of a form element by using an equals sign (=).
○ Replace blanks in the entered data (for example, in multiple words) by using a plus sign (+).
○ Rewrite all characters with the (enhanced) ASCII values 128 to 255 (hexadecimal 80 to FF) by using a hexadecimal character sequence, starting with a percentage sign (%) and followed by the hexadecimal value of the character.
For example, the German umlaut ö is rewritten as %F6 in the ISO-8859-1 character set.
○ All characters that occur in these rules as control characters (&, +, =, and %) are also rewritten hexadecimally in the same way as higher value ASCII characters.
Regards,
Greg
Hi Greg,
Thanks for your help.
It sound like I need to use (&, +, = , %) in the Prolog field or may be only %.
One thing which I don't understand is that in the picture of SAP help they have used
Prolog
&cmd=T
&loadXML=
Epilog
&end=yes
Does that me we need to use the variable or something.
Do you have any example of this scenario?
Thanks,
Iqbal
Unfortunately I don't have any examples of my own, but a few options are discussed in this thread:
http://scn.sap.com/thread/335481
Also, there are some more interesting search results, if you need more:
Regards,
Greg
User | Count |
---|---|
84 | |
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.