<?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: Dialog Prograamming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-prograamming/m-p/3564677#M857866</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;Follow these steps:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First U need to upload in excel sheet to an Internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- For this u need a I/O field on screen and browse button to locate the excel sheet from drives.&lt;/P&gt;&lt;P&gt;- Write a module in PAI of screen as follows:&lt;/P&gt;&lt;P&gt;Module button_click.&lt;/P&gt;&lt;P&gt;In SE38 program code as follows:&lt;/P&gt;&lt;P&gt;Module button_browse.&lt;/P&gt;&lt;P&gt;if sy-ucomm = 'BROW'. "FCODE for browse button&lt;/P&gt;&lt;P&gt;call function from class cl_gui_frontend_services called file_open_dialog. it requests a file.&lt;/P&gt;&lt;P&gt;After, above function returns the filename and assign this file name to I/O field on screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Use one more button called Upload(UPL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- write code in the above same Module button_click.&lt;/P&gt;&lt;P&gt;if sy-ucomm = 'UPL'.&lt;/P&gt;&lt;P&gt;if I/O field ne ''.&lt;/P&gt;&lt;P&gt;call function gui_upload.&lt;/P&gt;&lt;P&gt;here provide the name of internal table of table control to above function module.&lt;/P&gt;&lt;P&gt;refresh control &amp;lt;table control name&amp;gt; from screen &amp;lt;screen no&amp;gt;.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Mar 2008 05:49:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-16T05:49:23Z</dc:date>
    <item>
      <title>Dialog Prograamming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-prograamming/m-p/3564676#M857865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all&lt;/P&gt;&lt;P&gt;  Can we paste data in fields of table control which is copied from non-sap (like excel) systems. Could u pls tell me, is it possible to take data from clipborad and paste into table control fields thru coding. If so pls give me the sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx&lt;/P&gt;&lt;P&gt;Shubha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2008 05:35:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-prograamming/m-p/3564676#M857865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-16T05:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Prograamming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-prograamming/m-p/3564677#M857866</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;Follow these steps:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First U need to upload in excel sheet to an Internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- For this u need a I/O field on screen and browse button to locate the excel sheet from drives.&lt;/P&gt;&lt;P&gt;- Write a module in PAI of screen as follows:&lt;/P&gt;&lt;P&gt;Module button_click.&lt;/P&gt;&lt;P&gt;In SE38 program code as follows:&lt;/P&gt;&lt;P&gt;Module button_browse.&lt;/P&gt;&lt;P&gt;if sy-ucomm = 'BROW'. "FCODE for browse button&lt;/P&gt;&lt;P&gt;call function from class cl_gui_frontend_services called file_open_dialog. it requests a file.&lt;/P&gt;&lt;P&gt;After, above function returns the filename and assign this file name to I/O field on screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Use one more button called Upload(UPL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- write code in the above same Module button_click.&lt;/P&gt;&lt;P&gt;if sy-ucomm = 'UPL'.&lt;/P&gt;&lt;P&gt;if I/O field ne ''.&lt;/P&gt;&lt;P&gt;call function gui_upload.&lt;/P&gt;&lt;P&gt;here provide the name of internal table of table control to above function module.&lt;/P&gt;&lt;P&gt;refresh control &amp;lt;table control name&amp;gt; from screen &amp;lt;screen no&amp;gt;.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2008 05:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-prograamming/m-p/3564677#M857866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-16T05:49:23Z</dc:date>
    </item>
  </channel>
</rss>

