on 08-11-2015 4:43 PM
Hi Experts,
We are taking data from external system in xml format for creation of purchase order in ECC through PI.
There is a problem in text import, the text data contains space in it due to use of enter key in it, in ECC for those enter space system is showing junk value "#".
I have verified xml file it doesn't contain junk data in it, Can you plz suggest how to get rid of this junk data.
Regards
Rashid
Rashid,
Good thing is that, message is not failing in SAP PI. So XML coming from source is well-formed.
I think whenever user is pressing "ENTER" on keyboard for some field (mostly description field) it is saved as non-printable character in XML.
Let us know, hex value of that character. Open source file using Notepad++HEXeditor - YouTube.
Then you can use standard replace function or UDF to remove that character in message mapping.
FYI.Unicode character table Line Feed: Carriage Return:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rashid,
Is this special character coming only in particular part of the field? if so you can handle this by using replace string function.
what is your file encoding type? change it to UTF-8 it may resolve your issue.
Check with external system to to send the data without special characters.
if you wan to handle it in PI please refer the link
Special Character Handling (&) in the paylo... | SCN
Regards
Bhargava Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.