<?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: Renaming a file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586984#M592044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just follow below logic in your custom report ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Call SAP standard  Report which return .xls file,&lt;/P&gt;&lt;P&gt;2. Download it on local presentation server internally (ws_download) on fix file path,&lt;/P&gt;&lt;P&gt;3. Call SAP std FM - 'SAP_CONVERT_TO_TEX_FORMAT' as describe and download it on fixed path on presentation server,&lt;/P&gt;&lt;P&gt;4. Upload file for second report from step no. 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Aug 2007 14:15:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-06T14:15:47Z</dc:date>
    <item>
      <title>Renaming a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586979#M592039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      I have an .xls file with me. I need to rename it to .csv file. A program returns me the .xls file and so i need to handle the conversion internally and pass it to another SAP standard program. only a small rename and we need not do anything else. Is there any function module available for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 13:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586979#M592039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T13:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586980#M592040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this FM - KCD_CSV_FILE_TO_INTERN_CONVERT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 13:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586980#M592040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T13:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586981#M592041</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;u can save the file in CSV format itself..open the existing Excel file and then give save as then while saving it u give in CSV format..once u give that one popup window will come.saying that u want to save  as comma delimted file.tthengive yes to that...I thik this should solve ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 14:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586981#M592041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T14:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586982#M592042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some more description - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'SAP_CONVERT_TO_TEX_FORMAT'&lt;/P&gt;&lt;P&gt;         exporting&lt;/P&gt;&lt;P&gt;              i_field_seperator    = ','&lt;/P&gt;&lt;P&gt;         tables&lt;/P&gt;&lt;P&gt;              i_tab_sap_data       = itab&lt;/P&gt;&lt;P&gt;         changing&lt;/P&gt;&lt;P&gt;              i_tab_converted_data = itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    search path for '.CSV'.&lt;/P&gt;&lt;P&gt;    if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;      call function 'WS_DOWNLOAD'&lt;/P&gt;&lt;P&gt;           exporting&lt;/P&gt;&lt;P&gt;                filename = path&lt;/P&gt;&lt;P&gt;           tables&lt;/P&gt;&lt;P&gt;                data_tab = itab1.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      message e016(z4).&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 14:02:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586982#M592042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T14:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586983#M592043</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; Thanks for your suggestions but... i have the file in program, like... i am calling two SAP standard programs. The first one returns me an .xls file. The second one takes the .csv file as input. I need to rename the file &amp;lt;b&amp;gt;internally in the program&amp;lt;/b&amp;gt;. Can this be done via any function modules?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 14:10:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586983#M592043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T14:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586984#M592044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just follow below logic in your custom report ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Call SAP standard  Report which return .xls file,&lt;/P&gt;&lt;P&gt;2. Download it on local presentation server internally (ws_download) on fix file path,&lt;/P&gt;&lt;P&gt;3. Call SAP std FM - 'SAP_CONVERT_TO_TEX_FORMAT' as describe and download it on fixed path on presentation server,&lt;/P&gt;&lt;P&gt;4. Upload file for second report from step no. 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 14:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/renaming-a-file/m-p/2586984#M592044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T14:15:47Z</dc:date>
    </item>
  </channel>
</rss>

