<?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 problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-problem/m-p/3723852#M896337</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;check out in this way ..Bring the itab declaration near to the GUI_UPLOAD FM .. When you are using occurs 0, with header line is not required ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: file1 type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter :file like rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.&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;EXPORTING&lt;/P&gt;&lt;P&gt;static = 'X'&lt;/P&gt;&lt;P&gt;mask = space&lt;/P&gt;&lt;P&gt;field_name = 'FILE'&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;file_name = file.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;FILE1 = FILE . "HERE I AM PASSING INTO STRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data : begin of itab occurs 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;field1 like mara-matnr,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;field2......&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;etc,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end of itab.&lt;/STRONG&gt;&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 = FILE1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FILETYPE = 'ASC'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;has_field_separator = 'X'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;data_tab = itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2008 18:50:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-29T18:50:48Z</dc:date>
    <item>
      <title>gui_upload problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-problem/m-p/3723851#M896336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had a problem with bdc , i am getting like "specified table name not recgonised" while debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the coding like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0 with header line.&lt;/P&gt;&lt;P&gt;        field1 like mara-matnr,&lt;/P&gt;&lt;P&gt;        field2......&lt;/P&gt;&lt;P&gt;         etc,&lt;/P&gt;&lt;P&gt;       end of itab.&lt;/P&gt;&lt;P&gt;data: file1 type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter :file like rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.&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;    EXPORTING&lt;/P&gt;&lt;P&gt;      static    = 'X'        &lt;/P&gt;&lt;P&gt;      mask      = space&lt;/P&gt;&lt;P&gt;     field_name = 'FILE'&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      file_name = file.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;FILE1 = FILE . "HERE I AM PASSING INTO STRING&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                      = FILE1&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FILETYPE                      = 'ASC'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     has_field_separator           = 'X'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;      data_tab                      = itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HERE i am getting the message like "specified table name not recgonised" . the data is not populating into the itab from the file.&lt;/P&gt;&lt;P&gt;file structure is same as the internal table.&lt;/P&gt;&lt;P&gt;I stored the file as .txt( ie in notepad).&lt;/P&gt;&lt;P&gt;my file is like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10000 200 323   sunndarrr.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i am using the ws_upload it is working fine.&lt;/P&gt;&lt;P&gt;please guide me where i have done the mistake.&lt;/P&gt;&lt;P&gt;thank you so much for all the replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 18:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-problem/m-p/3723851#M896336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T18:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: gui_upload problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-problem/m-p/3723852#M896337</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;check out in this way ..Bring the itab declaration near to the GUI_UPLOAD FM .. When you are using occurs 0, with header line is not required ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: file1 type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter :file like rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.&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;EXPORTING&lt;/P&gt;&lt;P&gt;static = 'X'&lt;/P&gt;&lt;P&gt;mask = space&lt;/P&gt;&lt;P&gt;field_name = 'FILE'&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;file_name = file.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;FILE1 = FILE . "HERE I AM PASSING INTO STRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data : begin of itab occurs 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;field1 like mara-matnr,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;field2......&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;etc,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end of itab.&lt;/STRONG&gt;&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 = FILE1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FILETYPE = 'ASC'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;has_field_separator = 'X'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;data_tab = itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 18:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-problem/m-p/3723852#M896337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T18:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: gui_upload problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-problem/m-p/3723853#M896338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parameter :p_file like rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.&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;&lt;/P&gt;&lt;P&gt;you have mention file in parameters and using p_filename in at selection event ,&lt;/P&gt;&lt;P&gt;rectify it your problem will solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 11:09:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-problem/m-p/3723853#M896338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T11:09:43Z</dc:date>
    </item>
  </channel>
</rss>

