<?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 Regarding gui_upload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-gui-upload/m-p/4885721#M1141682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a flat file in text format with records separated by comma. How can i move to internal table?&lt;/P&gt;&lt;P&gt; Given has field separator as 'X' but still record not moved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Dec 2008 09:34:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-12T09:34:47Z</dc:date>
    <item>
      <title>Regarding gui_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-gui-upload/m-p/4885721#M1141682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a flat file in text format with records separated by comma. How can i move to internal table?&lt;/P&gt;&lt;P&gt; Given has field separator as 'X' but still record not moved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 09:34:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-gui-upload/m-p/4885721#M1141682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T09:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding gui_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-gui-upload/m-p/4885722#M1141683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is really solved in this forum over and over and over again. Isnt it possible to search first before asking?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 09:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-gui-upload/m-p/4885722#M1141683</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-12-12T09:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding gui_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-gui-upload/m-p/4885723#M1141684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see below thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6361140"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6377924"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 09:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-gui-upload/m-p/4885723#M1141684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T09:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding gui_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-gui-upload/m-p/4885724#M1141685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the first step is to find the path of the file using the FM  'F4_FILENAME'&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      program_name  = syst-cprog&lt;/P&gt;&lt;P&gt;      dynpro_number = syst-dynnr&lt;/P&gt;&lt;P&gt;      field_name    = 'F_PATH'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      file_name     = f_path.&lt;/P&gt;&lt;P&gt;the P_PATH should be declare as  f_path TYPE rlgrap-filename .&lt;/P&gt;&lt;P&gt;and assign the path to a variable type STRING (text file TYPE STRING).&lt;/P&gt;&lt;P&gt;before that declare a internal table in the structure of the notepad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then for uploading the file name use  FM - GUI_UPLOAD&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          filename            = textfile&lt;/P&gt;&lt;P&gt;          filetype            = 'ASC'&lt;/P&gt;&lt;P&gt;          has_field_separator = '#'&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          data_tab            = int_dats[]. " value returned in the internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;chinnaiya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 09:53:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-gui-upload/m-p/4885724#M1141685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T09:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding gui_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-gui-upload/m-p/4885725#M1141686</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;try using this function module with fname = name of flat file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA FNAME TYPE RLGRAP-FILENAME.&lt;/P&gt;&lt;P&gt;DATA PNAME TYPE STRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;PROGRAM_NAME = SYST-REPID &lt;/P&gt;&lt;P&gt;DYNPRO_NUMBER = SYST-DYNNR &lt;/P&gt;&lt;P&gt;FIELD_NAME = ' ' &lt;/P&gt;&lt;P&gt;STATIC = ' ' &lt;/P&gt;&lt;P&gt;MASK = ' ' &lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;FILE_NAME = fname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;MASK_TOO_LONG = 1 &lt;/P&gt;&lt;P&gt;OTHERS = 2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PNAME = FNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and gui_upload:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FILENAME = PNAME&lt;/P&gt;&lt;P&gt;FILETYPE = 'ASC'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Arjun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 10:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-gui-upload/m-p/4885725#M1141686</guid>
      <dc:creator>arjun_subhash</dc:creator>
      <dc:date>2008-12-12T10:42:40Z</dc:date>
    </item>
  </channel>
</rss>

