<?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: open dialog box in application server. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103752#M104153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;DATA: it_file TYPE filetable,&lt;/P&gt;&lt;P&gt;      filerc TYPE i.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.&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;P&gt;      window_title = 'Select the File'&lt;/P&gt;&lt;P&gt;      default_filename = '*.xls'&lt;/P&gt;&lt;P&gt;      INITIAL_DIRECTORY = 'C:\'&lt;/P&gt;&lt;P&gt;      multiselection   = ' '  "No multiple selection&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      file_table = it_file&lt;/P&gt;&lt;P&gt;      rc = filerc&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;      not_supported_by_gui = 4&lt;/P&gt;&lt;P&gt;      others = 5&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Pole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Oct 2005 09:56:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-17T09:56:47Z</dc:date>
    <item>
      <title>open dialog box in application server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103750#M104151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai frnds,&lt;/P&gt;&lt;P&gt;i am using the following FM for open dialog box in application. &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_location_flag = 'A'&lt;/P&gt;&lt;P&gt;      i_server = '?'&lt;/P&gt;&lt;P&gt;      i_path = f_app&lt;/P&gt;&lt;P&gt;      filemask = c_fnh_mask&lt;/P&gt;&lt;P&gt;       FILEOPERATION = 'R'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    O_LOCATION_FLAG = 'P'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    O_SERVER = '?'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      o_path = f_app&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ABEND_FLAG =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      rfc_error = 1&lt;/P&gt;&lt;P&gt;      OTHERS = 2.&lt;/P&gt;&lt;P&gt;the path is been copied to the input box but when i am trying to open the file selected it is not retrieving the data and also the given path is changed to upper case. i had tried to change it in start of selection. but the same is hapenning. also my client requested some of the following...&lt;/P&gt;&lt;P&gt;1) the dialog should open at '//sapglobal_users'&lt;/P&gt;&lt;P&gt;2) the files should be sorted in desc group by date and time of creation.&lt;/P&gt;&lt;P&gt;3) the full path name should be visible in the dialog box which is not hapenning (i.e., if the path is &amp;gt; the visible length the invisible part is truncated. This shd not happen.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ateeq K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2005 09:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103750#M104151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-17T09:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: open dialog box in application server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103751#M104152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DO THIS..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: file(128) obligatory  lower case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: c_fnh_mask TYPE dxfields-filemask VALUE '*',&lt;/P&gt;&lt;P&gt;      searched_dir TYPE dxfields-longpath,&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 FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if loc1 = space.&lt;/P&gt;&lt;P&gt;     message e307 with 'Enter Directory To Pick Up File'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; searched_dir = XXX. " WRITE THE DIRECTORY NAME--LIKE 'E:\usr\sap\put'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TRANSLATE searched_dir TO LOWER CASE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_location_flag = 'A'&lt;/P&gt;&lt;P&gt;      i_server = ' '&lt;/P&gt;&lt;P&gt;      i_path = searched_dir&lt;/P&gt;&lt;P&gt;      filemask = c_fnh_mask&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FILEOPERATION = 'R'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    O_LOCATION_FLAG =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    O_SERVER =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      o_path = file_path&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ABEND_FLAG =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;        rfc_error = 1&lt;/P&gt;&lt;P&gt;        OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND IT WORKS..REWARD POINTS  IF IT HELPS YOU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2005 09:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103751#M104152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-17T09:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: open dialog box in application server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103752#M104153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;DATA: it_file TYPE filetable,&lt;/P&gt;&lt;P&gt;      filerc TYPE i.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.&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;P&gt;      window_title = 'Select the File'&lt;/P&gt;&lt;P&gt;      default_filename = '*.xls'&lt;/P&gt;&lt;P&gt;      INITIAL_DIRECTORY = 'C:\'&lt;/P&gt;&lt;P&gt;      multiselection   = ' '  "No multiple selection&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      file_table = it_file&lt;/P&gt;&lt;P&gt;      rc = filerc&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;      not_supported_by_gui = 4&lt;/P&gt;&lt;P&gt;      others = 5&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Pole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2005 09:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103752#M104153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-17T09:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: open dialog box in application server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103753#M104154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: file_path LIKE dxfields-longpath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after the call of the FM copy the value of file_pathto parameter file as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file = file_path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2005 09:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103753#M104154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-17T09:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: open dialog box in application server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103754#M104155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can we sort externally the files basing on the date and time so that the latest file should appear first. i mean to say the FM is taking care of the same. is it possible..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also the client requested that when selecting the folders, for every directory selection one window is opened. instead of that the output should be visible in the same window instead of multiple...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzzz help me in this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2005 10:22:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103754#M104155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-17T10:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: open dialog box in application server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103755#M104156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  just have look at this report&lt;/P&gt;&lt;P&gt;RO_F4_FILE_APPL_SERVER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it will help you,&lt;/P&gt;&lt;P&gt;and if our previos post has resolve your querry , pleas reward points for that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2005 10:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103755#M104156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-17T10:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: open dialog box in application server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103756#M104157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any other help plz...it's urgent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2005 11:24:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103756#M104157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-17T11:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: open dialog box in application server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103757#M104158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if you have FM "/SAPDMC/LSM_F4_SERVER_FILE" in your system. This will exactly meet your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2005 11:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dialog-box-in-application-server/m-p/1103757#M104158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-17T11:27:32Z</dc:date>
    </item>
  </channel>
</rss>

