<?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: Reading CSV file using Message Transforom Bean in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350396#M18672</link>
    <description>&lt;P&gt;Thanks Ryan for the response. Now the " was removed from the data. But now " was coming in the nodes. &lt;/P&gt;&lt;P&gt;Example: &amp;lt;"Form Template ID"&amp;gt;321&amp;lt;/"Form Template ID"&amp;gt;&lt;/P&gt;&lt;P&gt;How to remove the " from the tag. Please respond asap.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 14:53:39 GMT</pubDate>
    <dc:creator>former_member270218</dc:creator>
    <dc:date>2016-10-25T14:53:39Z</dc:date>
    <item>
      <title>Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaq-p/350392</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I was working on SFTP adapter which picks the CSV file that needs to convert into XML. So i am using Message Transform Bean module for conversion. PI version is 7.31 dual stack.&lt;/P&gt;&lt;P&gt;Below are the config done in channel.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/3244-sftp.jpg" /&gt;&lt;/P&gt;&lt;P&gt;When the channel is picked the file payload is looks like below.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/3245-payload.jpg" /&gt;&lt;/P&gt;&lt;P&gt;The channel was reading the filed names from the CSV file. I want to ignore that and also there is "" symbol for the values that needs to be ignore. So please suggest to resolve this.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 10:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaq-p/350392</guid>
      <dc:creator>former_member270218</dc:creator>
      <dc:date>2016-10-25T10:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350393#M18669</link>
      <description>&lt;P&gt;HI Raju,&lt;/P&gt;&lt;P&gt;Add xml.enclosureSign = " for it to remove the double quotes around each field.  As far as the header stuff you are getting information from the structure based upon the key xml.processFieldNames = fromConfiguration.  That is instructing the MTB to read the data from your configuration so you should not observe any case where it is reading from the file itself.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 13:22:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350393#M18669</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2016-10-25T13:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350394#M18670</link>
      <description>&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;Thanks for the reply. How to ignore the header line from file. Header line contains the field names.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 13:39:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350394#M18670</guid>
      <dc:creator>former_member270218</dc:creator>
      <dc:date>2016-10-25T13:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350395#M18671</link>
      <description>&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;You could try xml.documentSkipFirstRows = 1 to see if it ignores the header line.  If that does not work for the SimplePlain2XML then you would have to handle that in some type of mapping or request that the header line be dropped from the source.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 14:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350395#M18671</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2016-10-25T14:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350396#M18672</link>
      <description>&lt;P&gt;Thanks Ryan for the response. Now the " was removed from the data. But now " was coming in the nodes. &lt;/P&gt;&lt;P&gt;Example: &amp;lt;"Form Template ID"&amp;gt;321&amp;lt;/"Form Template ID"&amp;gt;&lt;/P&gt;&lt;P&gt;How to remove the " from the tag. Please respond asap.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 14:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350396#M18672</guid>
      <dc:creator>former_member270218</dc:creator>
      <dc:date>2016-10-25T14:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350397#M18673</link>
      <description>&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;Can you share a screenshot of your current MTB configuration?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:10:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350397#M18673</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2016-10-25T15:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350398#M18674</link>
      <description>&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;Also, you can try adding xml.enclosureSignEsc = "" into your configuration but not sure if that impacts node names.  That should be reflected from the value in xml.fieldNames&lt;STRONG&gt;.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;BR /&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:12:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350398#M18674</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2016-10-25T15:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350399#M18675</link>
      <description>&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/3319-mtb-config1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Above is the configuration from the channel&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:14:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350399#M18675</guid>
      <dc:creator>former_member270218</dc:creator>
      <dc:date>2016-10-25T15:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350400#M18676</link>
      <description>&lt;P&gt;I have tried as suggested. But it didn't worked out.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:17:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350400#M18676</guid>
      <dc:creator>former_member270218</dc:creator>
      <dc:date>2016-10-25T15:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350401#M18677</link>
      <description>&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;Change your configuration on the xml.processFieldNames from "fromFile" to "fromConfiguration" and switch xml.documentSkipFirstRows = 1.  If you intend to keep the header with the "fromFile" option then you would need to remove the " characters from the header line in the file.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350401#M18677</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2016-10-25T15:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350402#M18678</link>
      <description>&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;I have tried as suggested by you. Now the " removed. But field names from the files is also coming in payload which should be ignored.&lt;/P&gt;&lt;P&gt;used xml.documentSkipFirstRows = 1.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350402#M18678</guid>
      <dc:creator>former_member270218</dc:creator>
      <dc:date>2016-10-25T15:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350403#M18679</link>
      <description>&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;It appears that that parameter xml.documentSkipFirstRows does not work for SimplePlain2XML so you would have to suppress it in a mapping or use StructPlain2XML instead.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:30:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350403#M18679</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2016-10-25T15:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350404#M18680</link>
      <description>&lt;P&gt;Could you please share any link which specifies the StructPlain2XML&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:41:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350404#M18680</guid>
      <dc:creator>former_member270218</dc:creator>
      <dc:date>2016-10-25T15:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reading CSV file using Message Transforom Bean</title>
      <link>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350405#M18681</link>
      <description>&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;I would refer to this blog by Eng Swee: &lt;A href="https://blogs.sap.com/2014/09/24/fcc-parameter-reference-for-messagetransformbean-module/"&gt;MTB Blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:44:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reading-csv-file-using-message-transforom-bean/qaa-p/350405#M18681</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2016-10-25T15:44:03Z</dc:date>
    </item>
  </channel>
</rss>

