<?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>topic Re: How to create CSV data with a cell including two rows? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993512#M405006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;P&gt;I have another question: if the field is seperated by colon. Which kind of tool can I use to check whether CSV data is correct? I use Excel to open CSV if their fields are seperated by semicolon, but it doesn't work if the fields are seperated by colon...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Liying&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Mar 2007 12:05:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-16T12:05:55Z</dc:date>
    <item>
      <title>How to create CSV data with a cell including two rows?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993508#M405002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am creating CSV using "comma" as seperator for columns, "return" as seperator for rows.&lt;/P&gt;&lt;P&gt;But how can I create a cell which includes two rows?&lt;/P&gt;&lt;P&gt;I want to do following:&lt;/P&gt;&lt;P&gt;cell1    cell2    cell3&lt;/P&gt;&lt;P&gt;XXXXX    YYYYY    ZZZZZ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in cell2 YYYYY, there are two sub rows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YLine1.1     YLine1.2       YLine1.3                 &lt;/P&gt;&lt;P&gt;YLine2.1     YLine2.2       YLine2.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which kind of seperator can I use for these sub rows?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so to say(XML mode):&lt;/P&gt;&lt;P&gt; &amp;lt;row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;Col1&amp;gt;XXXXX&amp;lt;/Col1 &amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;Col2&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;col1&amp;gt;YLine1.1&amp;lt;/col1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;col1&amp;gt;YLine1.2&amp;lt;/col1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;col1&amp;gt;YLine1.3&amp;lt;/col1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/row&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;col1&amp;gt;YLine2.1&amp;lt;/col1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;col1&amp;gt;YLine2.2&amp;lt;/col1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;col1&amp;gt;YLine2.3&amp;lt;/col1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/Col2 &amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;Col3&amp;gt;ZZZZZ&amp;lt;/Col3 &amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/row&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is very kind of you to give me some hint!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Liying&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Liying Wang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Liying Wang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 16:52:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993508#M405002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T16:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to create CSV data with a cell including two rows?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993509#M405003</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;I don't believe it can do it by CSV, because I don't believe this format can manage row with cells with several rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 17:32:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993509#M405003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T17:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create CSV data with a cell including two rows?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993510#M405004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it really impossible?&lt;/P&gt;&lt;P&gt;Anyway Max Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 17:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993510#M405004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T17:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to create CSV data with a cell including two rows?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993511#M405005</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;I think it's impossible because Excel doesn't allows to split a cell, u can only join two cells.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 18:13:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993511#M405005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T18:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create CSV data with a cell including two rows?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993512#M405006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;P&gt;I have another question: if the field is seperated by colon. Which kind of tool can I use to check whether CSV data is correct? I use Excel to open CSV if their fields are seperated by semicolon, but it doesn't work if the fields are seperated by colon...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Liying&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 12:05:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993512#M405006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T12:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to create CSV data with a cell including two rows?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993513#M405007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wang Liying,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with Excel. A Cell with 2 rows saved as CSV shows that the cells contents are enclosed in hyphens "b row 2 b" and the two rows ins one cell are separated with HEX 0A. This is a simple Line feed. The sequence to build this would be in ABAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
concatenate
'"'
&amp;lt;row1&amp;gt;
CL_ABAP_CHAR_UTILITIES=&amp;gt;NEWLINE
&amp;lt;row2&amp;gt;
'"'
into cell.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not take the time to try on system, but I tried to open with excel: It works with Windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 13:51:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993513#M405007</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-03-16T13:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create CSV data with a cell including two rows?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993514#M405008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Clemens!&lt;/P&gt;&lt;P&gt;The solution is not the one I wish, it only display the context as two lines. What I wish is to display two "physical" lines...&lt;/P&gt;&lt;P&gt;Anyway, thanks very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Liying&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 16:00:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993514#M405008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T16:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create CSV data with a cell including two rows?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993515#M405009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wang LiYing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe I do not understand your requirement. The question was about 2 rows in one cell. So I started Excel, put something into a cell and with ALT-Enter created a second line in this cell. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;two "physical" lines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does this show in Excel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 17:46:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993515#M405009</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-03-16T17:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create CSV data with a cell including two rows?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993516#M405010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;what I meant is that there are two rows in one cell, these rows are not created by Alt-Enter, but only can be selected by Enter.&lt;/P&gt;&lt;P&gt;But I got to know it is impossoble to do it with CSV data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 08:04:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-csv-data-with-a-cell-including-two-rows/m-p/1993516#M405010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T08:04:05Z</dc:date>
    </item>
  </channel>
</rss>

