<?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: F4 Help for Application Server Path in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-application-server-path/m-p/3661144#M881876</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;I'm having a similar requirement, and paths and filenames are not given, since we are downloading the file without defaults.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a FM that allows me to select the path and the filename to be created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tere.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2012 21:08:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-08-22T21:08:47Z</dc:date>
    <item>
      <title>F4 Help for Application Server Path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-application-server-path/m-p/3661140#M881872</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;I have a requirement where i need to download the content of an ABAP Report to a file on the Application Server. &lt;/P&gt;&lt;P&gt;I need to provide a Search-help for the Path on the Application Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a separate field for the File name and will append it to the path later on, before opening the dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any FM that implements this logic?&lt;/P&gt;&lt;P&gt;Any pointers will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 18:01:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-application-server-path/m-p/3661140#M881872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T18:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Help for Application Server Path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-application-server-path/m-p/3661141#M881873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF P_UNIX = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;F4 help for UNIX&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALL FUNCTION 'F4_DXFILENAME_4_DYNP'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        DYNPFIELD_FILENAME = 'P_FILE'&lt;/P&gt;&lt;P&gt;        DYNAME             = SY-CPROG&lt;/P&gt;&lt;P&gt;        DYNUMB             = SY-DYNNR&lt;/P&gt;&lt;P&gt;        FILETYPE           = 'P'&lt;/P&gt;&lt;P&gt;        LOCATION           = 'A'&lt;/P&gt;&lt;P&gt;        SERVER             = ''.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE E000 WITH TEXT-E01 P_FILE.&lt;/P&gt;&lt;P&gt;    ENDIF.&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;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 18:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-application-server-path/m-p/3661141#M881873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T18:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Help for Application Server Path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-application-server-path/m-p/3661142#M881874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out F4_dxfilename_toprecursion FM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------" /&gt;&lt;P&gt;Sample code ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
 EXPORTING
    I_LOCATION_FLAG       = 'A'  "(A) Servidor (P) Presentación
*   I_SERVER              = '?'
*   I_PATH                =
*   FILEMASK              = '*.*'
*   FILEOPERATION         = 'R'
* IMPORTING
*   O_LOCATION_FLAG       =
*   O_SERVER              =
*   O_PATH                =
*   ABEND_FLAG            =
  EXCEPTIONS
    RFC_ERROR             = 1
    OTHERS                = 2
          .
IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
    IMPORTING
      serverfile       = p_log 
    EXCEPTIONS 
      canceled_by_user = 1 
      OTHERS           = 2. 
  IF sy-subrc  0. 
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO 
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. 
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 18:42:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-application-server-path/m-p/3661142#M881874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T18:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Help for Application Server Path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-application-server-path/m-p/3661143#M881875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is code I use regularly for this.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*_________________________________________________ AT SELECTION-SCREEN

AT SELECTION-SCREEN ON VALUE-REQUEST FOR zfile.
  CALL FUNCTION 'WS_FILENAME_GET'
       EXPORTING
            def_filename     = ' '
            def_path         = zfile
            mask             = ',*.*,*.*.'
            mode             = '0'
            title            = 'Download path'
       IMPORTING
            filename         = zfile
       EXCEPTIONS
            inv_winsys       = 1
            no_batch         = 08
            selection_cancel = 12
            selection_error  = 16.
*
  IF sy-subrc NE 0.
    MESSAGE i028(pc).
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 18:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-application-server-path/m-p/3661143#M881875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T18:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Help for Application Server Path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-application-server-path/m-p/3661144#M881876</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;I'm having a similar requirement, and paths and filenames are not given, since we are downloading the file without defaults.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a FM that allows me to select the path and the filename to be created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tere.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 21:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-application-server-path/m-p/3661144#M881876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-22T21:08:47Z</dc:date>
    </item>
  </channel>
</rss>

