on 06-04-2007 1:32 PM
Hi I am performing the scenario File --> XI --> File
I want to do the File content Conversion (FCC) only at the Receiver side.
My source file(Message Type) is XML which looks like as below:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT1_FCC xmlns:ns0="http://accenture.com/xi/F2F">
- <Name_>
- <Name>
<FName>abc</FName>
<MName>bcd</MName>
<LName>cde</LName>
</Name>
</Name_>
</ns0:MT1_FCC>
My target file would be the text file which will look like as follows:
abc#bcd#cde
However at runtime the Error is thrown with BaseRuntimeException in Message Mapping which simple one to one mapping from source message to target message . the source and the target message are same.
The Error message is as follows:
<Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_FCC_</Trace>
<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException
Kindly Look into the Issue..
Hi,
FCC for receiver side....
Recordset Structure----Name,*
Name.fieldsNames---FName,MName,LName
Name.fieldSeperator---#
Name.processfieldNames---fromConfiguration
Cheers!
Samarjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i saw your source structure...why it need tab <Name_>?If its possible to remove that tag and try it.
Which i give u abt FCC that is working in my system....
I hv some mistake...please try it with this
Recordset Structure----Name,*
<b>Name.fieldNames---FName,MName,LName
Name.fieldSeparator---#
Name.processFieldNames---fromConfiguration</b>
Cheers!
Samarjit
Message was edited by:
Samarjit Dey
Hi i think you are getting confused by the Sorce Structure...
Ok lemme retype it for You and please then tell me the necessary parameters needed to convert the source xml file into the target text file
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT1_FCC xmlns:ns0="http://accenture.com/xi/F2F">
<FullName>
<Name>
<FName>abc</FName>
<MName>bcd</MName>
<LName>cde</LName>
</Name>
</FullName>
</ns0:MT1_FCC>
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.