<?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: CSV File Content Conversion in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970559#M365779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Detlef,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To generate the required XMl file, u need to make some configuration settings in Sender File Adapter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll suggest you to please go through some links first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through this weblog:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to process CSV data with XI file adapter by Michal Galczynski&lt;/P&gt;&lt;P&gt;/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also go through this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configuring the sender file adapter&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps,&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Varun Joshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2005 07:36:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-12T07:36:51Z</dc:date>
    <item>
      <title>CSV File Content Conversion</title>
      <link>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaq-p/970557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have a litte problem with the File-Adapter and the File Content Conversion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We get csv-files in which are 2 structures &lt;/P&gt;&lt;P&gt;the first row contents headerinformations like invoicenumber and sumfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following rows contents item-informations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to convert the file in a xml-format like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;invoice&amp;gt;&lt;/P&gt;&lt;P&gt;   &amp;lt;invoiceheader&amp;gt;&lt;/P&gt;&lt;P&gt;     .... (information from the first row)&lt;/P&gt;&lt;P&gt;   &amp;lt;/invoiceheader&amp;gt;&lt;/P&gt;&lt;P&gt;   &amp;lt;itemlist&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;item&amp;gt;&lt;/P&gt;&lt;P&gt;          ... (information from 2. row )&lt;/P&gt;&lt;P&gt;      &amp;lt;/item&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;item&amp;gt;&lt;/P&gt;&lt;P&gt;          ... (information from 3. row )&lt;/P&gt;&lt;P&gt;      &amp;lt;/item&amp;gt;&lt;/P&gt;&lt;P&gt;      ....&lt;/P&gt;&lt;P&gt;      &amp;lt;item&amp;gt;&lt;/P&gt;&lt;P&gt;          ... (information from last row )&lt;/P&gt;&lt;P&gt;      &amp;lt;/item&amp;gt;&lt;/P&gt;&lt;P&gt;   &amp;lt;/itemlist&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/invoice&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The csv-file looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the csv-file i have no keys which determine the kind of row. I only know that the first row contains the headerinformation and the following rows (2. until last) contains the item informations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly regards &lt;/P&gt;&lt;P&gt;Detlef Breitwieser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 07:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaq-p/970557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T07:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: CSV File Content Conversion</title>
      <link>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970558#M365778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Please have a look at the blogs mentioned below:&lt;/P&gt;&lt;P&gt; /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30&lt;/P&gt;&lt;P&gt; /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion&lt;/P&gt;&lt;P&gt; /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file&lt;/P&gt;&lt;P&gt; /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your data type should look like :&lt;/P&gt;&lt;P&gt;  Invoice&lt;/P&gt;&lt;P&gt;    Invoiceheader&lt;/P&gt;&lt;P&gt;        invoicenum &lt;/P&gt;&lt;P&gt;        field1...&lt;/P&gt;&lt;P&gt;    Itemlist&lt;/P&gt;&lt;P&gt;         item (0 to unbounded)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please revert back for further clarifications.&lt;/P&gt;&lt;P&gt;Good Luck.&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 07:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970558#M365778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T07:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: CSV File Content Conversion</title>
      <link>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970559#M365779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Detlef,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To generate the required XMl file, u need to make some configuration settings in Sender File Adapter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll suggest you to please go through some links first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through this weblog:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to process CSV data with XI file adapter by Michal Galczynski&lt;/P&gt;&lt;P&gt;/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also go through this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configuring the sender file adapter&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps,&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Varun Joshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 07:36:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970559#M365779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T07:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: CSV File Content Conversion</title>
      <link>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970560#M365780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello anybody !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the conversion is done by the file-adapter - &lt;/P&gt;&lt;P&gt;and i have no keyvalues - that's the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only know - the 1. row contains the headerstructure and the following rows contains the itemstructure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I configured the Fileadapter with this paramters (for an example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xml.recordsetStructure=HeaderSum,1,Item,60000&lt;/P&gt;&lt;P&gt;xml.recordsetName=AvisRechnung&lt;/P&gt;&lt;P&gt;xml.recordsetsPerMessage=*&lt;/P&gt;&lt;P&gt;xml.documentName=Avis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xml.HeaderSum.fieldSeparator=;&lt;/P&gt;&lt;P&gt;xml.HeaderSum.structureTitle=head&lt;/P&gt;&lt;P&gt;xml.HeaderSum.fieldNames=head1,head2,head3,head4,head5,head6,head7,head8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xml.Item.fieldSeparator=;&lt;/P&gt;&lt;P&gt;xml.Item.structureTitle=item&lt;/P&gt;&lt;P&gt;xml.Item.fieldNames=item1,item2,item3,item4,item5,item6,item7,item8,item9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Csv-File is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;79;1616243;0;20050706;200401;RWE_DEBIT_AVIS_200401.txt;200401;978;&lt;/P&gt;&lt;P&gt;;R0921018;KM;IT;PROAUTO S.A.S.;DI S PRODAN &amp;amp; C;VIA AQUILEIA C/O APT GIULIANO;RONCHI DEI LEGIONARI (GO);IT00503570319&lt;/P&gt;&lt;P&gt;8,72325E+11;R0921013;KM;DE;AVIS AUTOVERMIETUNG GMBH&amp;amp;CO.KG;ZIMMERSMUEHLENWEG 21;61437 OBERURSEL, GERMANY;ST.NR.003/225/14000;DE-1650-38-067&lt;/P&gt;&lt;P&gt;8,72325E+11;R0921041;KM;DE;AVIS AUTOVERMIETUNG GMBH&amp;amp;CO.KG;ZIMMERSMUEHLENWEG 21;61437 OBERURSEL, GERMANY;ST.NR.003/225/14000;DE-1650-38-067&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the converted xml-file is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Avis&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;AvisRechnung&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;head&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;head1&amp;gt;79&amp;lt;/head1&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;head2&amp;gt;1616243&amp;lt;/head2&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;head3&amp;gt;0&amp;lt;/head3&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;head4&amp;gt;20050706&amp;lt;/head4&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;head5&amp;gt;200401&amp;lt;/head5&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;head6&amp;gt;RWE_DEBIT_AVIS_200401.txt&amp;lt;/head6&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;head7&amp;gt;200401&amp;lt;/head7&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;head8&amp;gt;978&amp;lt;/head8&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;item&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item1&amp;gt;&amp;lt;/item1&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item2&amp;gt;R0921018&amp;lt;/item2&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item3&amp;gt;KM&amp;lt;/item3&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item4&amp;gt;IT&amp;lt;/item4&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item5&amp;gt;PROAUTO S.A.S.&amp;lt;/item5&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item6&amp;gt;DI S PRODAN &amp;amp;amp; C&amp;lt;/item6&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item7&amp;gt;VIA AQUILEIA C/O APT GIULIANO&amp;lt;/item7&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item8&amp;gt;RONCHI DEI LEGIONARI (GO)&amp;lt;/item8&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item9&amp;gt;IT00503570319&amp;lt;/item9&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;/item&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;item&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item1&amp;gt;8,72325E+11&amp;lt;/item1&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item2&amp;gt;R0921013&amp;lt;/item2&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item3&amp;gt;KM&amp;lt;/item3&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item4&amp;gt;DE&amp;lt;/item4&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item5&amp;gt;AVIS AUTOVERMIETUNG GMBH&amp;amp;amp;CO.KG&amp;lt;/item5&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item6&amp;gt;ZIMMERSMUEHLENWEG 21&amp;lt;/item6&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item7&amp;gt;61437 OBERURSEL, GERMANY&amp;lt;/item7&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item8&amp;gt;ST.NR.003/225/14000&amp;lt;/item8&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item9&amp;gt;DE-1650-38-067&amp;lt;/item9&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;/item&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;item&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item1&amp;gt;8,72325E+11&amp;lt;/item1&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item2&amp;gt;R0921041&amp;lt;/item2&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item3&amp;gt;KM&amp;lt;/item3&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item4&amp;gt;DE&amp;lt;/item4&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item5&amp;gt;AVIS AUTOVERMIETUNG GMBH&amp;amp;amp;CO.KG&amp;lt;/item5&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item6&amp;gt;ZIMMERSMUEHLENWEG 21&amp;lt;/item6&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item7&amp;gt;61437 OBERURSEL, GERMANY&amp;lt;/item7&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item8&amp;gt;ST.NR.003/225/14000&amp;lt;/item8&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item9&amp;gt;DE-1650-38-067&amp;lt;/item9&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;/item&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/AvisRechnung&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Avis&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want to group the items in an item with name &amp;lt;itemlist&amp;gt;. In this case the items appears under the node &amp;lt;AvisRechnung&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 07:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970560#M365780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T07:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: CSV File Content Conversion</title>
      <link>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970561#M365781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all in Sender Adapter set the message protocol as &amp;lt;b&amp;gt;File COntent Conversion&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;According to me the parameters should look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Content Conversion Parameters&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;documentName= Avis&lt;/P&gt;&lt;P&gt;documentnamespace= ur scenario namespace&lt;/P&gt;&lt;P&gt;recordsetName= AvisRechnung&lt;/P&gt;&lt;P&gt;recordsetStructure= head,1,item,60000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;head.fieldSeparator= ;&lt;/P&gt;&lt;P&gt;head.fieldNames= head1,head2,head3,head4,head5,head6,head7,head8&lt;/P&gt;&lt;P&gt;head.processFieldNames=fromConfiguration &lt;/P&gt;&lt;P&gt;head.endSeparator='nl'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;item.fieldSeparator= ;&lt;/P&gt;&lt;P&gt;item.fieldName=item1,item2,item3,item4,item5,item6,item7,item8,item9&lt;/P&gt;&lt;P&gt;item.processFieldNames=fromConfiguration &lt;/P&gt;&lt;P&gt;item.endSeparator='nl'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set the parameters as follows and then chk it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;i have no keyvalues - that's the problem&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;Keyvalues parameter is used only when u don't know how many item's are going to come i.e. if it is &amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;, but i think the max number are 60000 so there is no need of Keyvalues parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arpit Seth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 09:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970561#M365781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T09:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: CSV File Content Conversion</title>
      <link>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970562#M365782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not possible. You cannot have more hierarchy levels in file content conversions.&lt;/P&gt;&lt;P&gt;You have to define a mapping to have the structure, you want finally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 10:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970562#M365782</guid>
      <dc:creator>stefan_grube</dc:creator>
      <dc:date>2005-07-12T10:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: CSV File Content Conversion</title>
      <link>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970563#M365783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an input text file structure as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
1: Header
2: Item
3: Item Text
2: Item
3: Item Text
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Per you previous post, are you saying it is not possible to make this file structure from a text file:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;?xml version="1.0"?&amp;gt;

&amp;lt;ns:Orders xmlns:ns...&amp;gt;
  &amp;lt;Order&amp;gt;
    &amp;lt;Header&amp;gt;
      &amp;lt;Some header fields/&amp;gt;
    &amp;lt;/Header&amp;gt;
    &amp;lt;Item&amp;gt;
      &amp;lt;posn&amp;gt;0010&amp;lt;/posn&amp;gt;
      ...
      &amp;lt;Text&amp;gt;
        &amp;lt;lang&amp;gt;EN&amp;lt;/lang&amp;gt;
        &amp;lt;text&amp;gt;Order Header Text&amp;lt;/text&amp;gt;
      &amp;lt;/Text&amp;gt;
    &amp;lt;/Item&amp;gt;
    &amp;lt;Item&amp;gt;
      ...
    &amp;lt;/Item&amp;gt;
  &amp;lt;/Order&amp;gt;
&amp;lt;/Orders&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we have to flatten the structure, it would be very difficult to identify the parent-child relationship between segments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 14:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970563#M365783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T14:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: CSV File Content Conversion</title>
      <link>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970564#M365784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this case it is possible, as &amp;lt;i&amp;gt;item&amp;lt;/i&amp;gt; and &amp;lt;i&amp;gt;item text&amp;lt;/i&amp;gt; is a 1:1 relationship and you have only one header. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just use the graphical mapping tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to create that structure with the file content conversion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 14:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970564#M365784</guid>
      <dc:creator>stefan_grube</dc:creator>
      <dc:date>2005-08-31T14:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: CSV File Content Conversion</title>
      <link>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970565#M365785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only 2 level of Hierarchy conversion is possible through field content conversion. In your case Item text is 3rd level hierarchy so it is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can convert a flat file into deep nested structure (more than 2 levels) in mapping program or in sender file adapter by writing a module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 15:15:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csv-file-content-conversion/qaa-p/970565#M365785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T15:15:43Z</dc:date>
    </item>
  </channel>
</rss>

