<?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 upload data into table control from excel in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101414#M1360435</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;Is there a way to upload data from excel file into table control? plz advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2009 13:22:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-09T13:22:55Z</dc:date>
    <item>
      <title>upload data into table control from excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101414#M1360435</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;Is there a way to upload data from excel file into table control? plz advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 13:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101414#M1360435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T13:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into table control from excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101415#M1360436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;All I need is a button which takes me to the browse window? like the one when u goto se16 and enter table name , run it when you press f4 button next to the field  a popup  window appears in the bottom of the screen  u see small button import from text file.&lt;/P&gt;&lt;P&gt;I am looking for the same functionality on my table control(Just the import from text file button) any help will be appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 14:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101415#M1360436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T14:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into table control from excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101416#M1360437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any inputs..please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 14:22:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101416#M1360437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T14:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into table control from excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101417#M1360438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; if you have already created the screen and set the GUI status ( using set pf-status in the PBO ) you would already have a button so then in order to upload data from excel when you click on the button it would go to user command so in PAI you ahve to have a module user command like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

PAI

module user_command_0100.

module user_command input.
 case sy-ucomm.
  when 'IMPORT' .  &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; user command set from the custom PF status
  here use FM or OLE to read excel to internal table it_display.
endcase.
endmodule.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in PBO you need to set these values to the screen&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PBO
 loop at it_display with control tcontrol_ysubstitut
        cursor tcontrol_ysubstitute-current_line.
   module populate_tblcntrl.
 endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;
module populate_tblcntrl output.
 you ahve to populate data to your screen fields here.
field1  = it_display-field1.
...
...
endmodule
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Try like above youmight need to do some research forsome issue that you might face but it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 14:23:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101417#M1360438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T14:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into table control from excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101418#M1360439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The "import from text file" is available when you press the "multiple selection" for a SELECT-OPTION. I don't see it for F4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 14:28:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101418#M1360439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T14:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into table control from excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101419#M1360440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry about that , I meant multiple selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 14:44:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101419#M1360440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T14:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into table control from excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101420#M1360441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It pays to be clear in your thinking before posting &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think this is possible. When uploading excel files, you have to determine programmatically the columns you are using. The "import from file" button wouldn't be able to do this without that logic behind it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you could do this programmatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 14:50:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-table-control-from-excel/m-p/6101420#M1360441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T14:50:25Z</dc:date>
    </item>
  </channel>
</rss>

