<?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: Regarding file name in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978478#M1340418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Mahesh, 
&amp;lt;li&amp;gt; I think that you might be defaulting only file name without directory of the file in the PBO of selection-screen that is AT SELECTION-SCREEN OUTOUT event.
Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2009 06:51:20 GMT</pubDate>
    <dc:creator>venkat_o</dc:creator>
    <dc:date>2009-08-05T06:51:20Z</dc:date>
    <item>
      <title>Regarding file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978474#M1340414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i give  a file name, why is the directory not shown on the screen and only the filename is shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example when i give address D:\bH.txt  on the screen it shows as bh.txt only&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;What can i do for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads&lt;/P&gt;&lt;P&gt;mahesh kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 03:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978474#M1340414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T03:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978475#M1340415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 04:04:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978475#M1340415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T04:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978476#M1340416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To Give a filename first you define a parameter of type rlgrap-filename. Then you call a function module on the event: at selection-screen on value-request for &amp;lt;parameter name&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to the code example below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of block b1 with frame title text-024.&lt;/P&gt;&lt;P&gt;selection-screen: skip 1.&lt;/P&gt;&lt;P&gt;parameters: p_fl_nm type rlgrap-filename. " OBLIGATORY.            "parameter to get file name&lt;/P&gt;&lt;P&gt;selection-screen: skip 1.&lt;/P&gt;&lt;P&gt;selection-screen: end of block b1.&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_fl_nm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      program_name  = syst-repid&lt;/P&gt;&lt;P&gt;      dynpro_number = syst-dynnr&lt;/P&gt;&lt;P&gt;      mask          = ',&lt;STRONG&gt;.&lt;/STRONG&gt;,&lt;STRONG&gt;.&lt;/STRONG&gt;,'&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      file_name     = p_fl_nm&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      mask_too_long = 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;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 05:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978476#M1340416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T05:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978477#M1340417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;  for selecting from the directory just follow the example code,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN : BEGIN OF BLOCK 001 WITH FRAME TITLE text-001.
PARAMETERS: p_upl       LIKE rlgrap-filename MODIF ID a           "Upload File
                         DEFAULT 'c:\temp\parbmat.xls',
SELECTION-SCREEN : END OF BLOCK 001.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for selecting just follow the example code,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_upl.
  CALL FUNCTION 'WS_FILENAME_GET'
    IMPORTING
      filename         = p_upl
    EXCEPTIONS
      inv_winsys       = 1
      no_batch         = 2
      selection_cancel = 3
      selection_error  = 4
      OTHERS           = 5.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: suresh suresh on Aug 5, 2009 7:49 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 05:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978477#M1340417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T05:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978478#M1340418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Mahesh, 
&amp;lt;li&amp;gt; I think that you might be defaulting only file name without directory of the file in the PBO of selection-screen that is AT SELECTION-SCREEN OUTOUT event.
Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 06:51:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978478#M1340418</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-08-05T06:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978479#M1340419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 05:18:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-file-name/m-p/5978479#M1340419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-24T05:18:35Z</dc:date>
    </item>
  </channel>
</rss>

