cancel
Showing results for 
Search instead for 
Did you mean: 

Handle special character in mapping

Former Member
0 Kudos

Hi Experts,

I have requirement to handle special character in mapping.

ö this tiny special charcter comes in I/O file and we cant avoid.

Refering the given blog: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9420 [original link is broken]

FILE --- XI --- FILE where Source and target structures are same, using 1:1 mapping with FCC at both the side..

Input/Output files consist of special charcters ö due to which getting error in mapping.

Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x13(:main:, row:8237, col:22) com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x13(:main:, row:8237, col:22) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:157) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java(Compiled Code))

Do we required Java mapping? Is there any other way to acheive wtihout using Java mapping?

How can we hadle in mapping?

Sameer

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Do we required Java mapping?

No, for special char like å, ä,ö etc you don't need any java mapping.

Is there any other way to acheive wtihout using Java mapping?

As suggested by Stefan just choose the correct encoding in your file adapter.

Former Member
0 Kudos

Thanks Stefan/Sarvesh,

So finally we can acheive without using Java mapping..

Sameer!

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

ö this tiny special charcter comes in I/O file and we cant avoid.

Refering the given blog: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9420 [original link is broken]

What has an ö to do with an ampersand?

Assign the correct encoding to the file adapter channel.

former_member200962
Active Contributor
0 Kudos
Do we required Java mapping?

Yes

Is there any other way to acheive wtihout using Java mapping?

Adapter module.

Regards,

Abhishek.

Former Member
0 Kudos

Thanks Abhisehk for your quick response!

It would be great if you let me know the Java code logic, Since I have not much idea about Java code.

Later the objects will move from dev to quality then production, Should I go with Java mapping Or Adapter module?