<?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: GUI_UPLOAD in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374438#M183776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suresh &amp;amp; Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your replies. It solved one part of problem. Other part is....as Rich said....how to identify when the record breaks to the next row because it is a continous record that needs to be broken in to rows. Please help.&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, 22 May 2006 11:23:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-22T11:23:08Z</dc:date>
    <item>
      <title>GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374435#M183773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a pipe delimited file. There is no carriage return or line feed. All the lines are continous. To put it simple...if you open the file...you will get a feeling that you are looking at a MATRIX &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to download that flat file records in to an internal table using the FM GUI_UPLOAD. I gave the file name, field separator, file type as input parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is it is reading 'pipe' also as a character. What am I doing wrong? Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 20:39:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374435#M183773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T20:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374436#M183774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the separator only works with tab delimited files.. you are better off creating an interanl table with one fieldd of type string. Load it using GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;loop at it &amp;amp; split the reacord at '|' into different fields.&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;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 20:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374436#M183774</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-05-19T20:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374437#M183775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suresh is exactly right.  The SEPARATOR parameter accepts the values of SPACE or "X".  "X" will handle the separator(only tab, I think).   I find that comma delimited files are easiest to work with, but it you don't have a choice, you will need to handle the same way.  As Suresh has suggested, you will need to bring the data in as a flat structure or string and parse it manually.  I'm concerned how you will know when the record breaks to the next row, or is it just one continuous record that needs not to be broken into rows?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 May 2006 01:02:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374437#M183775</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-20T01:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374438#M183776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suresh &amp;amp; Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your replies. It solved one part of problem. Other part is....as Rich said....how to identify when the record breaks to the next row because it is a continous record that needs to be broken in to rows. Please help.&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, 22 May 2006 11:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374438#M183776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T11:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374439#M183777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;   There must be some indication in the fiel(Some character say '@') to indicate you have to split at that character into an internal table and then you need to split each of the recrods into a different itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split v_str at '@' into table itab_records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab_records.&lt;/P&gt;&lt;P&gt;split itab_records at '|' into itab-field1 itab-field2.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 11:29:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374439#M183777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T11:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374440#M183778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the file is located on the presentation server, how can I transfer the file contents to a string? Is there any FM for this?&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, 22 May 2006 15:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374440#M183778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T15:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374441#M183779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Naren,&lt;/P&gt;&lt;P&gt;   YOu can use the same GUI_UPLOAD FM for string also.&lt;/P&gt;&lt;P&gt;Declare an internal table with only one field that is of type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;value type string,&lt;/P&gt;&lt;P&gt;endof itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 15:16:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374441#M183779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T15:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374442#M183780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;  what u can do is read the entire file in the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. i think u can use the count of the coulmn as the break for new row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. i.e u can count the number of seperator in the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg. take 1st 6 seperator has 1st row and next 6 seperator for next row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can assume that seperator are present even for empty columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Manoj Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 15:28:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/1374442#M183780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T15:28:21Z</dc:date>
    </item>
  </channel>
</rss>

