<?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: SFTP StructPlain2XML Conversion - double quotes and processFieldNames (fromFile) in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sftp-structplain2xml-conversion-double-quotes-and-processfieldnames/qaa-p/12528153#M4696201</link>
    <description>&lt;P&gt;Hi Orlan,&lt;/P&gt;&lt;P&gt;Please try the key field name with double-quote (""). Please refer the below link&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/questions/13492441/sftp-sender-messagetransformbean-quotation-mark-is.html" target="test_blank"&gt;https://answers.sap.com/questions/13492441/sftp-sender-messagetransformbean-quotation-mark-is.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 02:54:41 GMT</pubDate>
    <dc:creator>Harish</dc:creator>
    <dc:date>2021-11-12T02:54:41Z</dc:date>
    <item>
      <title>SFTP StructPlain2XML Conversion - double quotes and processFieldNames (fromFile)</title>
      <link>https://community.sap.com/t5/technology-q-a/sftp-structplain2xml-conversion-double-quotes-and-processfieldnames/qaq-p/12528152</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;
  &lt;P&gt;I am currently testing a CSV to XML conversion, where the source CSV consists of double quotes and the field names need to be fetched from the file. Currently, we're getting the below error which we would request any inputs from your end. I've browsed thru available blogs and it seems most of them are not using the "fromFile" option.&lt;/P&gt;
  &lt;P&gt;Thank you in advance!&lt;/P&gt;
  &lt;P&gt;Issue:&lt;/P&gt;
  &lt;P&gt;We're getting this error in communication channel - "Invalid 'processFieldNames' value 'fromFile' for mode 'structure conversion' found "&lt;/P&gt;
  &lt;P&gt;E.g., (source CSV)&lt;/P&gt;
  &lt;P&gt;"RecordType","ID","Description","Type","Preapproved Amount","Currency"&lt;/P&gt;
  &lt;P&gt;"RecordType","ID","Expense Preapproval ID","Type","Estimated Amount","Estimated Amount Currency"&lt;/P&gt;
  &lt;P&gt;"Header","15","End to end test for cash advance till Expense Report","","500.00","PHP"&lt;/P&gt;
  &lt;P&gt;"Line","15","15","","","","500.00","PHP"&lt;/P&gt;
  &lt;P&gt;Configuration:&lt;/P&gt;
  &lt;P&gt;Transform.Class: com.sap.aii.messaging.adapter.Conversion&lt;/P&gt;
  &lt;P&gt;Transform.ContentType: text/xml;charset=utf-8&lt;/P&gt;
  &lt;P&gt;xml.documentName: CoupaExpensePreapproval_CSV&lt;/P&gt;
  &lt;P&gt;xml.documentNamespace: &lt;A href="http://namespace" target="test_blank"&gt;http://namespace&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;xml.recordsetName: Recordset&lt;/P&gt;
  &lt;P&gt;xml.recordsetStructure: Header,*,Line,*&lt;/P&gt;
  &lt;P&gt;xml.keyFieldName: RecordType&lt;/P&gt;
  &lt;P&gt;xml.keyFieldType: CaseSensitiveString&lt;/P&gt;
  &lt;P&gt;xml.processFieldNames: fromFile&lt;/P&gt;
  &lt;P&gt;xml.conversionType: StructPlain2XML&lt;/P&gt;
  &lt;P&gt;xml.Header.keyFieldValue: Header&lt;/P&gt;
  &lt;P&gt;xml.Header.fieldSeparator: ,&lt;/P&gt;
  &lt;P&gt;xml.Header.endSeparator: 'nl'&lt;/P&gt;
  &lt;P&gt;xml.Header.processFieldNames: fromFile&lt;/P&gt;
  &lt;P&gt;xml.Header.enclosureSign: "&lt;/P&gt;
  &lt;P&gt;xml.Header.enclosureSignEsc: " "&lt;/P&gt;
  &lt;P&gt;xml.Line.keyFieldValue: Line&lt;/P&gt;
  &lt;P&gt;xml.Line.fieldSeparator: ,&lt;/P&gt;
  &lt;P&gt;xml.Line.endSeparator: 'nl'&lt;/P&gt;
  &lt;P&gt;xml.Line.processFieldNames: fromFile&lt;/P&gt;
  &lt;P&gt;xml.Line.enclosureSign: "&lt;/P&gt;
  &lt;P&gt;xml.Line.enclosureSignEsc: " "&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 01:28:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sftp-structplain2xml-conversion-double-quotes-and-processfieldnames/qaq-p/12528152</guid>
      <dc:creator>orlanmartinezdu</dc:creator>
      <dc:date>2021-11-10T01:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP StructPlain2XML Conversion - double quotes and processFieldNames (fromFile)</title>
      <link>https://community.sap.com/t5/technology-q-a/sftp-structplain2xml-conversion-double-quotes-and-processfieldnames/qaa-p/12528153#M4696201</link>
      <description>&lt;P&gt;Hi Orlan,&lt;/P&gt;&lt;P&gt;Please try the key field name with double-quote (""). Please refer the below link&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/questions/13492441/sftp-sender-messagetransformbean-quotation-mark-is.html" target="test_blank"&gt;https://answers.sap.com/questions/13492441/sftp-sender-messagetransformbean-quotation-mark-is.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 02:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sftp-structplain2xml-conversion-double-quotes-and-processfieldnames/qaa-p/12528153#M4696201</guid>
      <dc:creator>Harish</dc:creator>
      <dc:date>2021-11-12T02:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP StructPlain2XML Conversion - double quotes and processFieldNames (fromFile)</title>
      <link>https://community.sap.com/t5/technology-q-a/sftp-structplain2xml-conversion-double-quotes-and-processfieldnames/qaa-p/12528154#M4696202</link>
      <description>&lt;P&gt;Thanks, it was resolved by applying below changes.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;xml.Header.keyFieldValue: "Header"&lt;/P&gt;&lt;P&gt;xml.Line.keyFieldValue: "Line"&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 14:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sftp-structplain2xml-conversion-double-quotes-and-processfieldnames/qaa-p/12528154#M4696202</guid>
      <dc:creator>orlanmartinezdu</dc:creator>
      <dc:date>2022-02-10T14:50:58Z</dc:date>
    </item>
  </channel>
</rss>

