<?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: problem in getting physical path name in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562484#M254264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple way is to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

parameters: p_file1 type localfile default'C:test.txt'.

at selection-screen on value-request for p_file1.
  call function 'KD_GET_FILENAME_ON_F4'
       exporting
            static    = 'X'
       changing
            file_name = p_file1.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Oct 2006 18:33:44 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-10-11T18:33:44Z</dc:date>
    <item>
      <title>problem in getting physical path name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562483#M254263</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 have a selection screen, In that i want to create a field, where for this field, if i press F4 windows pop up should come, where i can see the local hard disk file. From this i can go and click the file, then the complete path should come in the selection screen field.How should i do this. plz help, me it is very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 18:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562483#M254263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T18:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem in getting physical path name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562484#M254264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple way is to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

parameters: p_file1 type localfile default'C:test.txt'.

at selection-screen on value-request for p_file1.
  call function 'KD_GET_FILENAME_ON_F4'
       exporting
            static    = 'X'
       changing
            file_name = p_file1.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 18:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562484#M254264</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-11T18:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: problem in getting physical path name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562485#M254265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Use F4_FILENAME at AT SELECTION-SCREEN event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 18:35:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562485#M254265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T18:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: problem in getting physical path name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562486#M254266</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;&lt;/P&gt;&lt;P&gt;parameters: p_file1 like rlgrap-filename.&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;&lt;/P&gt;&lt;P&gt;  data: l_file  like ibipparms-path, "Local file for upload/download&lt;/P&gt;&lt;P&gt;        l_repid like syst-cprog,     "ABAP program, caller in external&lt;/P&gt;&lt;P&gt;                                     "procedures&lt;/P&gt;&lt;P&gt;        l_dynnr type syst-dynnr.     "ABAP program, number of current&lt;/P&gt;&lt;P&gt;  "screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_repid = sy-cprog.&lt;/P&gt;&lt;P&gt;  l_dynnr = sy-dynnr.&lt;/P&gt;&lt;P&gt;  move: filename  to l_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            program_name  = l_repid&lt;/P&gt;&lt;P&gt;            dynpro_number = l_dynnr&lt;/P&gt;&lt;P&gt;            field_name    = 'P_FIEL1'&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            file_name     = l_file.&lt;/P&gt;&lt;P&gt;  move: l_file to filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tHANKS,&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 18:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562486#M254266</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-10-11T18:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: problem in getting physical path name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562487#M254267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is another way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

data: ifiletable type filetable.
data: xfiletable like line of ifiletable.
data: rc type i.

parameters: p_file1 type localfile default'C:test.txt'.

at selection-screen on value-request for p_file1.

call method cl_gui_frontend_services=&amp;gt;file_open_dialog
   EXPORTING
*    WINDOW_TITLE            =
*    DEFAULT_EXTENSION       =
*    DEFAULT_FILENAME        =
*    FILE_FILTER             =
     INITIAL_DIRECTORY       = 'C:'
*    MULTISELECTION          =
  changing
    file_table              = ifiletable
    rc                      = rc
*    USER_ACTION             =
  EXCEPTIONS
    FILE_OPEN_DIALOG_FAILED = 1
    CNTL_ERROR              = 2
    ERROR_NO_GUI            = 3
    others                  = 4.
        .
 read table ifiletable into xfiletable index 1.
 if sy-subrc = 0.
  p_file1 = xfiletable-FILENAME.
 endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 18:39:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562487#M254267</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-11T18:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem in getting physical path name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562488#M254268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much all.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I also has one more requiremt.&lt;/P&gt;&lt;P&gt;ON the output list, i need to download the list to a file locally. I have created a button on a appn toolbar. &lt;/P&gt;&lt;P&gt;If i click the button i should get the same pop up and if i give the name of the file, the list should be saved i that file in particular path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help me and make my object done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks you all once again.&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 18:45:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562488#M254268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T18:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem in getting physical path name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562489#M254269</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 FM DOWNLOAD function module. It shows the popup automatically,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 18:49:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562489#M254269</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-10-11T18:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem in getting physical path name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562490#M254270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No ramakrishna,&lt;/P&gt;&lt;P&gt;I think download is for the internal table data download.&lt;/P&gt;&lt;P&gt;but i want to download the list with one click.&lt;/P&gt;&lt;P&gt;do anybody has any links on this. previously this question may ask.&lt;/P&gt;&lt;P&gt;kindly tell me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 18:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562490#M254270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T18:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: problem in getting physical path name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562491#M254271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;Look at the link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/download-to-excel-with-format-border-color-cell-etc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/download-to-excel-with-format-border-color-cell-etc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 19:05:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562491#M254271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-11T19:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem in getting physical path name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562492#M254272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can use CODE similar to below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the function module SXMI_XMB_SYSLOG_READ for more details. It contains similar logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SUBMIT RSLG0000 LINE-SIZE 255&lt;/P&gt;&lt;P&gt;         WITH TR_TERM  EQ '*'&lt;/P&gt;&lt;P&gt;         WITH TR_DATE  EQ FROM_DATE&lt;/P&gt;&lt;P&gt;         WITH TR_TIME  EQ FROM_TIME&lt;/P&gt;&lt;P&gt;         WITH TR_EDATE EQ TO_DATE&lt;/P&gt;&lt;P&gt;         WITH TR_ETIME EQ TO_TIME&lt;/P&gt;&lt;P&gt;         WITH TR_CPU   EQ SERVER_NAME&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       WITH TR_PAGES EQ '003'         " Begrenzung Anzahl Seiten&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         WITH TR_USER  EQ LOOKING_FOR_USER&lt;/P&gt;&lt;P&gt;         WITH NOCODEVC EQ 'X'&lt;/P&gt;&lt;P&gt;         WITH NOCOTASK EQ 'X'&lt;/P&gt;&lt;P&gt;         WITH NOCOMAND EQ 'X'&lt;/P&gt;&lt;P&gt;         WITH NOCOTRAN EQ 'X'&lt;/P&gt;&lt;P&gt;         WITH NOCOTERM EQ 'X'&lt;/P&gt;&lt;P&gt;         EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;         AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            LISTOBJECT = LIST_IN_MEMORY&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            OTHERS     = 99.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ramakrishna Prasad Ramisetti&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 19:20:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-getting-physical-path-name/m-p/1562492#M254272</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-10-11T19:20:34Z</dc:date>
    </item>
  </channel>
</rss>

