<?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: File name in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-name/m-p/4759147#M1115997</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;parameters: P_FILE LIKE rlgrap-filename default ' &lt;/P&gt;&lt;P&gt;global-general service\Master Data\SAP Backups\data'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: F_FILE LIKE rlgrap-filename default 'DATA_SY-DATUM.XLS '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now to the complete name of the file (i.e. along with the path)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE p_file F_file INTO F_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F_FILE will have the complete name for the 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;Syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2008 08:21:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-05T08:21:14Z</dc:date>
    <item>
      <title>File name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-name/m-p/4759146#M1115996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the report i need to send some output data to output path which has been set default as&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;global-general service\Master Data\SAP Backups\data'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; in selection screen  i have given as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output path: &lt;BR /&gt;global-general service\Master Data\SAP Backups\data'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereas the problem is the output which we are getting from the report need to move to the above output path and should be saved in that path giving some filename as&lt;/P&gt;&lt;P&gt;DATA_SY-DATUM.XLS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written code as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: F_file LIKE rlgrap-filename default ' &lt;BR /&gt;global-general service\Master Data\SAP Backups\data'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to write code to set the file name as DATA_SY-DATUM.XLS in the report&lt;/P&gt;&lt;P&gt;it means when the report executed the output data should fall under the path &lt;BR /&gt;global-general service\Master Data\SAP Backups\data'. with file name as DATA_SY-DATUM.XLS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help to write code for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 08:08:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-name/m-p/4759146#M1115996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T08:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: File name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-name/m-p/4759147#M1115997</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;parameters: P_FILE LIKE rlgrap-filename default ' &lt;/P&gt;&lt;P&gt;global-general service\Master Data\SAP Backups\data'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: F_FILE LIKE rlgrap-filename default 'DATA_SY-DATUM.XLS '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now to the complete name of the file (i.e. along with the path)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE p_file F_file INTO F_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F_FILE will have the complete name for the 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;Syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 08:21:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-name/m-p/4759147#M1115997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T08:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: File name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-name/m-p/4759148#M1115998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sail,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try with these code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;data: file1 type rlgrap-filename.&lt;/P&gt;&lt;P&gt;data: file_name type rlgrap-filename.&lt;/P&gt;&lt;P&gt;data: file_name1 type rlgrap-filename.&lt;/P&gt;&lt;P&gt;file_name1 = 'global-general service\Master Data\SAP Backups\data'.&lt;/P&gt;&lt;P&gt;file_name = sy-datum.&lt;/P&gt;&lt;P&gt;CONCATENATE file_name1 'DATA_' FILE_NAME '.xls' INTO file1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: F_file LIKE rlgrap-filename.&lt;/P&gt;&lt;P&gt;F_file = FILE1.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: S_DATUM FOR SY-DATUM.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_WERKS TYPE WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nelson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Nelson karunakar on Nov 5, 2008 10:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 08:57:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-name/m-p/4759148#M1115998</guid>
      <dc:creator>nelsonkarunakar_darla2</dc:creator>
      <dc:date>2008-11-05T08:57:01Z</dc:date>
    </item>
  </channel>
</rss>

