<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Message Transformation Bean not converting csv to xml in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440497#M62979</link>
    <description>&lt;P&gt;Attached is file &amp;amp; screenshot.&lt;/P&gt;&lt;P&gt;I have tried with field separator as &lt;STRONG&gt;nl.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But nothing is working.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2017 08:46:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-06-23T08:46:20Z</dc:date>
    <item>
      <title>Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaq-p/440484</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have to transform CSV to xml in SFTP adapter. Although we can use content conversion but it was not working so i used Message Transformation Bean. File is getting picked up but i am getting error in mapping.. since the file is not getting converted to xml.&lt;/P&gt;&lt;P&gt;Error message : &lt;STRONG&gt;com.sap.aii.utilxi.misc.api.BaseRuntimeException; Content is not allowed in prolog.,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Attached are screen shots for module used, can somebody please tell me where am i making mistake? Do i have to add/remove any parameters ?&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/38678-mtb-1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/38679-mtb-2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/38677-structure.png" /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankyy&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 09:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaq-p/440484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-19T09:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440485#M62967</link>
      <description>&lt;P&gt;Hi Ankyy,&lt;/P&gt;&lt;P&gt;Are you sure your XML is encoded in UTF-8? If yes, then please check if there are any characters before: &amp;lt;?xml &lt;/P&gt;&lt;P&gt;Probably you have a problem with the BOM (byte order mark) - please check if there is a sequence of bytes: EF BB BF at the beginning of your XML file.&lt;/P&gt;&lt;P&gt;Could you request a file without any additional characters at the beginning of your XML?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrzej&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 10:44:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440485#M62967</guid>
      <dc:creator>Andrzej_Filusz</dc:creator>
      <dc:date>2017-06-19T10:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440486#M62968</link>
      <description>&lt;P&gt;Hi Andrzej,&lt;/P&gt;&lt;P&gt;Actually comma separated file from FTP is passing as it is into message mapping. Nothing is getting transformed into XML.  So i am not sure.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankyy&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 10:54:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440486#M62968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-19T10:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440487#M62969</link>
      <description>&lt;P&gt;Hi Ankyy,&lt;/P&gt;&lt;P&gt;Would you mind providing a Sample Data file which you are trying to pick.&lt;/P&gt;&lt;P&gt;Br,&lt;BR /&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 11:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440487#M62969</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2017-06-19T11:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440488#M62970</link>
      <description>&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;I have attached sample file. 1st line is the header line, rest are item lines. And i want convert it record wise(row wise).&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankyy&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 11:18:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440488#M62970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-19T11:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440489#M62971</link>
      <description>&lt;P&gt;Hi Ankyy!&lt;/P&gt;&lt;P&gt;Why did you set 'nl' as field separator when you have comma separated values in your source file?&lt;/P&gt;&lt;P&gt;Regards, Evgeniy.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 12:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440489#M62971</guid>
      <dc:creator>former_member190293</dc:creator>
      <dc:date>2017-06-19T12:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440490#M62972</link>
      <description>&lt;P&gt;Hi Evgeniy,&lt;/P&gt;&lt;P&gt;Since i want to send whole record line in single field, i have used field separator as 'nl'.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankyy&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 12:55:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440490#M62972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-19T12:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440491#M62973</link>
      <description>&lt;P&gt;I guess that you have at least two fields in each of your recordsets: the key and the rest values.&lt;/P&gt;&lt;P&gt;Regards, Evgeniy. &lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 13:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440491#M62973</guid>
      <dc:creator>former_member190293</dc:creator>
      <dc:date>2017-06-19T13:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440492#M62974</link>
      <description>&lt;P&gt;Key field is not required, i have added it because i have used it in Message Transformation Bean. &lt;/P&gt;&lt;P&gt;Please check attached images for csv input and expected xml input&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/38698-csv-input.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/38699-expected-xml-input.png" /&gt;&lt;/P&gt;&lt;P&gt;Let me know some way to transform above csv file.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankyy&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 13:16:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440492#M62974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-19T13:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440493#M62975</link>
      <description>&lt;P&gt;Hi Ankyy!&lt;/P&gt;&lt;P&gt;May be my understanding is wrong, but since you have recordset with occurence "*" in your source file you should use keys for correct processing. Or you should set definite count for each recordset.&lt;/P&gt;&lt;P&gt;Regards, Evgeniy.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 14:39:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440493#M62975</guid>
      <dc:creator>former_member190293</dc:creator>
      <dc:date>2017-06-19T14:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440494#M62976</link>
      <description>&lt;P&gt;Hi Ankiy,&lt;/P&gt;&lt;P&gt;Please check below :&lt;/P&gt;&lt;P&gt;But note MTB dose't has a option of Removing of RecordSet hence the XML converted by MTB dosne'nt match with your current structure you either need to change your source structure or you need to remove this Recordset via java/xslt before passing it to your mapping.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/41372-mtb.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/41373-out.png" /&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 16:23:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440494#M62976</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2017-06-19T16:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440495#M62977</link>
      <description>&lt;P&gt;Thanks for the response Manoj... but somehow this is also not working. &lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 06:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440495#M62977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-23T06:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440496#M62978</link>
      <description>&lt;P&gt;Can you please share the screenshot of your MTB. and also for the file which it is throwing error.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 06:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440496#M62978</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2017-06-23T06:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440497#M62979</link>
      <description>&lt;P&gt;Attached is file &amp;amp; screenshot.&lt;/P&gt;&lt;P&gt;I have tried with field separator as &lt;STRONG&gt;nl.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But nothing is working.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 08:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440497#M62979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-23T08:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440498#M62980</link>
      <description>&lt;P&gt;What's the error you are getting ?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 08:51:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440498#M62980</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2017-06-23T08:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440499#M62981</link>
      <description>&lt;P&gt;mapping error.. since file is not getting converted to xml.&lt;/P&gt;&lt;P&gt;Details: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Content is not allowed in prolog., ApplicationRuntimeException: Runtime Exception when executing application mapping program&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 09:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440499#M62981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-23T09:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440500#M62982</link>
      <description>&lt;P&gt;Hi Ankyy!&lt;/P&gt;&lt;P&gt;You've missed the dot in parameter's name "Transform&lt;STRONG&gt;.&lt;/STRONG&gt;Class".&lt;/P&gt;&lt;P&gt;One more question: do you need your header record in further XML processing?&lt;/P&gt;&lt;P&gt;Regards, Evgeniy.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 10:53:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440500#M62982</guid>
      <dc:creator>former_member190293</dc:creator>
      <dc:date>2017-06-23T10:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440501#M62983</link>
      <description>&lt;P&gt;Nice Catch.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jun 2017 16:51:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440501#M62983</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2017-06-24T16:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Message Transformation Bean not converting csv to xml</title>
      <link>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440502#M62984</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I am closing this thread. Thank you for help.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankyy&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 11:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-transformation-bean-not-converting-csv-to-xml/qaa-p/440502#M62984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-28T11:14:34Z</dc:date>
    </item>
  </channel>
</rss>

