Skip to Content
0

Special character issue in SAP pi

May 30, 2017 at 08:23 PM

67

avatar image

i have an scenario in SAP PI where the source system is sending the value of one field is "<BOF>" but while pi is forming XML file from that text file some junk values are getting populated in place of angular brackets. So please let me know whether angular brackets are understandable by PI or not?

Is there any way to make these angular brackets understandable in PI?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Apu Das May 31, 2017 at 04:43 AM
0

Himangshu,

This is a valid xml tag for PI which should not come as a value. As you are using FCC, hence it is using still converting this to xml putting some garbage value in place of start and end tag.

You need to use Java mapping/custom module tp pass it as it is.

Thanks,

Apu

Share
10 |10000 characters needed characters left characters exceeded
Priyanka Anagani May 31, 2017 at 08:12 AM
0

Angular brackets have special meaning in XML. You either have to remove them or if you want them to be transmitted as is, then replace them

"<" with "<" and ">" with ">" so that they will be represented as is in the XML payload.

---Priyanka

Share
10 |10000 characters needed characters left characters exceeded