<?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: FM to select a path in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806326#M346112</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;Use the FM WS_QUERY. It will helps to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhupal Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Dec 2006 11:58:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-07T11:58:33Z</dc:date>
    <item>
      <title>FM to select a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806320#M346106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there function module only to select a path to do whatever you want with it? &lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 11:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806320#M346106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T11:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: FM to select a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806321#M346107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria , &lt;/P&gt;&lt;P&gt;  I am not clear with what exactly you mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 11:45:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806321#M346107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T11:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: FM to select a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806322#M346108</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;check this FM&lt;/P&gt;&lt;P&gt;'F4_FILENAME'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;DATA: F_FILE TYPE RLGRAP-FILENAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            FILE_NAME = F_FILE.&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;Sachin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sachin Dhingra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sachin Dhingra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 11:49:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806322#M346108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T11:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: FM to select a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806323#M346109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_OPEN_DIALOG
    EXPORTING
      INITIAL_DIRECTORY       = GV_PATH
    CHANGING
      FILE_TABLE              = IT_FILETABLE
      RC                      = LV_RC
    EXCEPTIONS
      FILE_OPEN_DIALOG_FAILED = 1
      CNTL_ERROR              = 2
      ERROR_NO_GUI            = 3
      NOT_SUPPORTED_BY_GUI    = 4
      OTHERS                  = 5.
  IF SY-SUBRC = 0.
    READ TABLE IT_FILETABLE INTO L_FILE INDEX 1.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 11:51:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806323#M346109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T11:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: FM to select a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806324#M346110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Presentation Server:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CONSTANTS: lcl_path TYPE char20 VALUE 'C:'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WS_FILENAME_GET'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      def_path         = lcl_path&lt;/P&gt;&lt;P&gt;      mask             = c_mask  "',&lt;STRONG&gt;.&lt;/STRONG&gt;,&lt;STRONG&gt;.&lt;/STRONG&gt;.'&lt;/P&gt;&lt;P&gt;      mode             = c_mode&lt;/P&gt;&lt;P&gt;      title            = text-006&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      filename         = p_f1&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      inv_winsys       = 1&lt;/P&gt;&lt;P&gt;      no_batch         = 2&lt;/P&gt;&lt;P&gt;      selection_cancel = 3&lt;/P&gt;&lt;P&gt;      selection_error  = 4&lt;/P&gt;&lt;P&gt;      OTHERS           = 5.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    flg_pre = c_x.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick up the file path for the file in the &amp;lt;b&amp;gt;application server&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:  lcl_directory  TYPE char128.&lt;/P&gt;&lt;P&gt;  lcl_directory  = p_direct.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      directory        = lcl_directory&lt;/P&gt;&lt;P&gt;      filemask         = c_mask&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      serverfile       = p_f2&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      canceled_by_user = 1&lt;/P&gt;&lt;P&gt;      OTHERS           = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MESSAGE e000(zmm) WITH text-039.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   flg_app = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if this Helps.&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Manish Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 11:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806324#M346110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T11:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: FM to select a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806325#M346111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;for PATH-Slection use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;DIRECTORY_BROWSE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_FILE  LIKE RLGRAP-FILENAME DEFAULT 'C:TMP'.&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_FILE.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  DATA : TI  TYPE STRING,&lt;/P&gt;&lt;P&gt;         FO  TYPE STRING.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  TI =  'Windows Directory'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;DIRECTORY_BROWSE&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      WINDOW_TITLE    = TI&lt;/P&gt;&lt;P&gt;      INITIAL_FOLDER  = 'C:TMP'&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      SELECTED_FOLDER = FO&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      CNTL_ERROR      = 1&lt;/P&gt;&lt;P&gt;      ERROR_NO_GUI    = 2&lt;/P&gt;&lt;P&gt;      OTHERS          = 3.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CALL METHOD CL_GUI_CFW=&amp;gt;FLUSH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    WRITE: / 'ERROR', SY-SUBRC.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  P_FILE = FO.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Dieter Gröhn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 11:56:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806325#M346111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T11:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: FM to select a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806326#M346112</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;Use the FM WS_QUERY. It will helps to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhupal Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 11:58:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806326#M346112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T11:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: FM to select a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806327#M346113</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;the FM &amp;lt;b&amp;gt;F4_DXFILENAME_TOPRECURSION&amp;lt;/b&amp;gt; can be used for a file on the presentation- and applicationserver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 14:10:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806327#M346113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T14:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: FM to select a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806328#M346114</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 always use these:&lt;/P&gt;&lt;P&gt;/SAPDMC/LSM_F4_FRONTEND_FILE &lt;/P&gt;&lt;P&gt;/SAPDMC/LSM_F4_SERVER_FILE   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Rob Dielemans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 14:37:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806328#M346114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T14:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: FM to select a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806329#M346115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;does your problem still exist?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 10:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806329#M346115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T10:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: FM to select a path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806330#M346116</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;CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;DIRECTORY_BROWSE is useful. Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 11:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-to-select-a-path/m-p/1806330#M346116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T11:23:59Z</dc:date>
    </item>
  </channel>
</rss>

