<?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: file browsing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874034#M674438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be its showing this error as you are not using the CALL SCREEN statement, but using PAI and PBO modules in your program. Or, it may also happen if you are writing CALL SCREEN statement in your program, but there is no PAI and PBO available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PAI and PBO modules should be supported by a Screen, which you call using the CALL SCREEN statement in your program, and create by Double Clicking on the Screen No. in the CALL SCREEN statement, which will take you to the Screen Layout, where you can design your Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if u require further information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Aziz Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2007 09:07:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-21T09:07:47Z</dc:date>
    <item>
      <title>file browsing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874028#M674432</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 gt this program and is working well. But it can only select a file once. Second time select, the file in the textbox belong to the first select. It does not change to the second file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. first select abc.txt&lt;/P&gt;&lt;P&gt;second select efg.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the textbox only capture the first select instead the second. Below is the code&lt;/P&gt;&lt;P&gt;Pls help me to amend the code. thks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZGARY_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ifiletable type filetable.&lt;/P&gt;&lt;P&gt;data: xfiletable like line of ifiletable.&lt;/P&gt;&lt;P&gt;data: rc type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_file1 type localfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_file1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method cl_gui_frontend_services=&amp;gt;file_open_dialog&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WINDOW_TITLE =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DEFAULT_EXTENSION =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DEFAULT_FILENAME =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FILE_FILTER =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;INITIAL_DIRECTORY = 'C:\Documents and Settings\Administrator\Desktop\gary'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MULTISELECTION =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;file_table = ifiletable&lt;/P&gt;&lt;P&gt;rc = rc&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;USER_ACTION =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;FILE_OPEN_DIALOG_FAILED = 1&lt;/P&gt;&lt;P&gt;CNTL_ERROR = 2&lt;/P&gt;&lt;P&gt;ERROR_NO_GUI = 3&lt;/P&gt;&lt;P&gt;others = 4.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;read table ifiletable into xfiletable index 1.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;p_file1 = xfiletable-FILENAME.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 05:58:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874028#M674432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T05:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: file browsing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874029#M674433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I think you might want to clear the table IFILETABLE before the call method. This should probably help out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARDS IF HELPFUL!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 06:02:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874029#M674433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T06:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: file browsing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874030#M674434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to clear the table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 06:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874030#M674434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T06:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: file browsing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874031#M674435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thks i done it......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hw to convert my code to use a dialog screen instead of the selection screen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 06:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874031#M674435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T06:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: file browsing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874032#M674436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to use a dialog screen instead of a Selection Screen. Use Statement 'Call Screen' in your Program, and remove the Parameters and Select-Options declarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. CALL SCREEN 100.. or 101, and Double Click on this Screen Number to go to Screen Painter and Create the Screen. You can then write the logic for buttons or fields created in PBO and PAI modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For information on how to call a screen from a program, visit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_community" href="https://community.sap.com/" __jive_macro_name="community" modifiedtitle="true" __default_attr="2015"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 07:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874032#M674436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T07:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: file browsing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874033#M674437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had remove all the parameter and selection statement.&lt;/P&gt;&lt;P&gt;After which i implement the dialog, i execute and give me this error msg &lt;/P&gt;&lt;P&gt;DYNPRO_NOT_FOUND. what is this error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 08:23:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874033#M674437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T08:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: file browsing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874034#M674438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be its showing this error as you are not using the CALL SCREEN statement, but using PAI and PBO modules in your program. Or, it may also happen if you are writing CALL SCREEN statement in your program, but there is no PAI and PBO available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PAI and PBO modules should be supported by a Screen, which you call using the CALL SCREEN statement in your program, and create by Double Clicking on the Screen No. in the CALL SCREEN statement, which will take you to the Screen Layout, where you can design your Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if u require further information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Aziz Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 09:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-browsing/m-p/2874034#M674438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T09:07:47Z</dc:date>
    </item>
  </channel>
</rss>

