Skip to Content
avatar image
Former Member

BaseRuntime Exception during Message Mapping

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" ?>

- 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..

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 04, 2007 at 12:46 PM

    Hi,

    FCC for receiver side....

    Recordset Structure----Name,*

    Name.fieldsNames---FName,MName,LName

    Name.fieldSeperator---#

    Name.processfieldNames---fromConfiguration

    Cheers!

    Samarjit

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I hv some mistake...please try it with this

      <b>Recordset Structure----Name,*

      Name.fieldNames---FName,MName,LName

      Name.fieldSeparator---#

      Name.processFieldNames---fromConfiguration</b>

      Cheers!

      Samarjit