<?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 Get data from line separated by ; in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-line-separated-by/m-p/4386389#M1043201</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 really need your help with this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a csv file with ; as separation mark and I need to do 2 things :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) First line is the header which looks like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STDTOT;CT;INFO; ;DFULOC;28/07/08;04/08/08;11/08/08;18/08/08;25/08/08;01/09/08;08/09/08; etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no ';' after the last date (end of the line).&lt;/P&gt;&lt;P&gt;I need to capture the dates (it can be very long) and put them in a table with single column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The remaining lines are items :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXXDDDDD;AAAADD;GGGGG;HHHH;;;50.3;60.8;89.1;90.2&lt;/P&gt;&lt;P&gt;YYYDDDD;GGFFGF;FFFFFF;GTYYJ;;;;10.6;12.3;13.5;18.9&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to take in account every line where there is a qty in order to find the first and last date of the header.&lt;/P&gt;&lt;P&gt;For ex. item 1:&lt;/P&gt;&lt;P&gt;XXXDDDDD start date = 11/08/08  &amp;amp;  end date  = 01/09/08.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can find out  the way to see in which position the first and last quantity are then I can easily point it to the table with dates did in section 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that this is a very difficult task but any good suggestion is always welcomed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tarick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2008 09:21:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-20T09:21:07Z</dc:date>
    <item>
      <title>Get data from line separated by ;</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-line-separated-by/m-p/4386389#M1043201</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 really need your help with this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a csv file with ; as separation mark and I need to do 2 things :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) First line is the header which looks like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STDTOT;CT;INFO; ;DFULOC;28/07/08;04/08/08;11/08/08;18/08/08;25/08/08;01/09/08;08/09/08; etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no ';' after the last date (end of the line).&lt;/P&gt;&lt;P&gt;I need to capture the dates (it can be very long) and put them in a table with single column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The remaining lines are items :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXXDDDDD;AAAADD;GGGGG;HHHH;;;50.3;60.8;89.1;90.2&lt;/P&gt;&lt;P&gt;YYYDDDD;GGFFGF;FFFFFF;GTYYJ;;;;10.6;12.3;13.5;18.9&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to take in account every line where there is a qty in order to find the first and last date of the header.&lt;/P&gt;&lt;P&gt;For ex. item 1:&lt;/P&gt;&lt;P&gt;XXXDDDDD start date = 11/08/08  &amp;amp;  end date  = 01/09/08.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can find out  the way to see in which position the first and last quantity are then I can easily point it to the table with dates did in section 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that this is a very difficult task but any good suggestion is always welcomed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tarick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2008 09:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-line-separated-by/m-p/4386389#M1043201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-20T09:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from line separated by ;</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-line-separated-by/m-p/4386390#M1043202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tarick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using SPLIT statement....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amol Lohade&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2008 09:26:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-line-separated-by/m-p/4386390#M1043202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-20T09:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from line separated by ;</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-line-separated-by/m-p/4386391#M1043203</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;Use SPLIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT line AT ';' INTO TABLE itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after execution, itab1 will look like this base from your example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STDTOT&lt;/P&gt;&lt;P&gt;CT&lt;/P&gt;&lt;P&gt;INFO&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DFULOC&lt;/P&gt;&lt;P&gt;28/07/08&lt;/P&gt;&lt;P&gt;04/08/08&lt;/P&gt;&lt;P&gt;11/08/08&lt;/P&gt;&lt;P&gt;18/08/08&lt;/P&gt;&lt;P&gt;25/08/08&lt;/P&gt;&lt;P&gt;01/09/08&lt;/P&gt;&lt;P&gt;08/09/08&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2008 09:27:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-line-separated-by/m-p/4386391#M1043203</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-08-20T09:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from line separated by ;</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-line-separated-by/m-p/4386392#M1043204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get the data in an internal table use FM&lt;/P&gt;&lt;P&gt;ALSM_EXCEL_TO_INTERNAL_TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal table will have each line of excel in each row of itab&lt;/P&gt;&lt;P&gt;Then Loop at this internal table &lt;/P&gt;&lt;P&gt;Use SPLIT command at each row to get individual elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2008 09:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-line-separated-by/m-p/4386392#M1043204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-20T09:42:45Z</dc:date>
    </item>
  </channel>
</rss>

