on 08-04-2015 10:04 AM
Hello frnds,
I am facing a very strange problem.
I have written a proxy for a scenario.
Now, when I execute the proxy(from se38), for some of the fields in target structure, I receive extra values(not sent in source structure).
example : <ILNNR>abc@gmail.com
</ILNNR> (value marked in bold is extra)
Please help! Its Urgent
Thanks,
Prerna
Prerna,
I can see two issues here.
1. Data issue in SAP. Table with ILNNR filed is having data + non-printable character. May be SAP GUI when user press enter after filling some data is storing that 'Enter' value. Request SAP ECC team to fix data issues / user interface program.
2. Keyboard 'Enter' is getting converted to 
 . Ideally it should be converted to OR U+000D. http://unicode-table.com/en/#000D
If it is not possible to handle these issues in SAP ECC. You can handle in message mapping (not recommended), using standard function replaceString.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
He Prerna,
You can avoid the not printable characters at mapping level in PI. You can do it with an UDF for a particular field using the java instruction replaceAll or via Java Mapping.
Check the explanation provided by Raghu Vamseedhar Reddy KadipiReddy in different blogs, documents or threads:
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prerna,

 represents the ASCII "carriage return" character sometimes written "\r".
So you have to validate this in PI or in proxy code.
Regards,Prasanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.