<?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: explore file on screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/explore-file-on-screen/m-p/4173568#M997728</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;you can use the class cl_gui_frontend_services to do this. Use method file_save_dialog or method file_open_dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2008 08:10:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-17T08:10:17Z</dc:date>
    <item>
      <title>explore file on screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explore-file-on-screen/m-p/4173567#M997727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys&lt;/P&gt;&lt;P&gt;i have to make a screen where user can put file path through explore. actually file will be on presentation server.&lt;/P&gt;&lt;P&gt; please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;gani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 07:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explore-file-on-screen/m-p/4173567#M997727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T07:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: explore file on screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explore-file-on-screen/m-p/4173568#M997728</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;you can use the class cl_gui_frontend_services to do this. Use method file_save_dialog or method file_open_dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 08:10:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explore-file-on-screen/m-p/4173568#M997728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T08:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: explore file on screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explore-file-on-screen/m-p/4173569#M997729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT zreport.

PARAMETERS : p_path TYPE text100 OBLIGATORY .

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; AT SELECTION-SCREEN
*&amp;amp;---------------------------------------------------------------------*
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path .  
    PERFORM get_file_help .

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Form get_file_help
*&amp;amp;---------------------------------------------------------------------*
FORM get_file_help.
  DATA : i_file TYPE filetable ,
         w_file TYPE file_table ,
         l_rc TYPE i ,
         l_ua TYPE i .

  CALL METHOD cl_gui_frontend_services=&amp;gt;file_open_dialog
    CHANGING
      file_table              = i_file
      rc                      = l_rc
      user_action             = l_ua
    EXCEPTIONS
      file_open_dialog_failed = 1
      cntl_error              = 2
      error_no_gui            = 3
      OTHERS                  = 4.

  IF l_ua &amp;lt;&amp;gt; cl_gui_frontend_services=&amp;gt;action_cancel .
    READ TABLE i_file INTO w_file INDEX 1 .
    IF sy-subrc = 0 .
      p_path = w_file-filename .
    ENDIF.
  ENDIF.

ENDFORM. " get_file_help
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 08:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explore-file-on-screen/m-p/4173569#M997729</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2008-07-17T08:59:17Z</dc:date>
    </item>
  </channel>
</rss>

