<?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: Save a CSV file in a specified path in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472609#M2001146</link>
    <description>&lt;P&gt;Hi Dear, try coding and running the following sample code. &lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;P&gt;Roberto FORTI Santos&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'SAP_CONVERT_TO_CSV_FORMAT'
exporting
i_field_seperator          = ';'
tables
i_tab_sap_data             = internal_table
changing
i_tab_converted_data       = csv_table[]
exceptions
conversion_failed          = 1
others                     = 2.

if ( sy-subrc eq 0 ).

CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename                        = 'C:\data.csv'
tables
data_tab                        = csv_table[].

endif.&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 17 Jul 2021 16:09:53 GMT</pubDate>
    <dc:creator>roberto_forti</dc:creator>
    <dc:date>2021-07-17T16:09:53Z</dc:date>
    <item>
      <title>Save a CSV file in a specified path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472602#M2001139</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
  &lt;P&gt;I want to save a CSV file in a specified path. The path should be selectable in the selection screen.&lt;/P&gt;
  &lt;P&gt; I created my file with the function module SAP_CONVERT_TO_CSV_FORMAT. So I just need the option to save them.&lt;/P&gt;
  &lt;P&gt;Would be nice if someone can help me &lt;/P&gt;
  &lt;P&gt;thx&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 07:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472602#M2001139</guid>
      <dc:creator>former_member723329</dc:creator>
      <dc:date>2021-07-16T07:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Save a CSV file in a specified path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472603#M2001140</link>
      <description>&lt;P&gt;Two ways:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_DOWNLOAD in frontend&lt;/LI&gt;&lt;LI&gt;OPEN DATASET in background&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But I guess there are a lot of resources in the site where you could get that information, if you just wanted to search for them&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 07:48:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472603#M2001140</guid>
      <dc:creator>VXLozano</dc:creator>
      <dc:date>2021-07-16T07:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Save a CSV file in a specified path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472604#M2001141</link>
      <description>&lt;P&gt;and as the OP has deleted himself, I'll ask the moderation team to delete this thread entirely... what a waste of time&lt;/P&gt;&lt;P&gt;edited: the OP has returned from oblivion, it seems... maybe a SAP glitch in the time-space continuum&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 07:48:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472604#M2001141</guid>
      <dc:creator>VXLozano</dc:creator>
      <dc:date>2021-07-16T07:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Save a CSV file in a specified path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472605#M2001142</link>
      <description>&lt;P&gt;Hello Mario,&lt;/P&gt;&lt;P&gt;Please try the following solution&lt;/P&gt;&lt;P&gt;1. Use method cl_gui_frontend_services=&amp;gt;file_open_dialog to get dialog box to open and choose  the filepath to  download and save the file&lt;/P&gt;&lt;P&gt;2. Use GUI_DOWNLOAD function module to download and save the file in the path chosen from step 1.&lt;/P&gt;&lt;P&gt;Do update if the solution works for you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Juby&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 07:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472605#M2001142</guid>
      <dc:creator>former_member598787</dc:creator>
      <dc:date>2021-07-16T07:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Save a CSV file in a specified path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472606#M2001143</link>
      <description>&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 08:15:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472606#M2001143</guid>
      <dc:creator>former_member723329</dc:creator>
      <dc:date>2021-07-16T08:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Save a CSV file in a specified path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472607#M2001144</link>
      <description>&lt;P&gt;thank you &lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 08:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472607#M2001144</guid>
      <dc:creator>former_member723329</dc:creator>
      <dc:date>2021-07-16T08:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Save a CSV file in a specified path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472608#M2001145</link>
      <description>&lt;P&gt;my pleasure... now it's your turn to:&lt;/P&gt;&lt;P&gt;- learn from this post (the entire Q&amp;amp;A process)&lt;/P&gt;&lt;P&gt;- decide if the answers provided are enough (I don't care which, I'm not hunting for rep, I'm a lucky guy)&lt;BR /&gt;- mark que question as answered (if it is)&lt;/P&gt;&lt;P&gt;and, please, the next time you have a question to ask, do yourself a favor and dig deeper: search for tutorials (I guess you are learning), look at the ABAP examples (they are not as bad as they seem) and tell us in your question what did you tried before asking the question. Do NOT post a plain requirement. Prove me that my time writing all this has been an investment and not a waste of time.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 08:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472608#M2001145</guid>
      <dc:creator>VXLozano</dc:creator>
      <dc:date>2021-07-16T08:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Save a CSV file in a specified path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472609#M2001146</link>
      <description>&lt;P&gt;Hi Dear, try coding and running the following sample code. &lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;P&gt;Roberto FORTI Santos&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'SAP_CONVERT_TO_CSV_FORMAT'
exporting
i_field_seperator          = ';'
tables
i_tab_sap_data             = internal_table
changing
i_tab_converted_data       = csv_table[]
exceptions
conversion_failed          = 1
others                     = 2.

if ( sy-subrc eq 0 ).

CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename                        = 'C:\data.csv'
tables
data_tab                        = csv_table[].

endif.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 17 Jul 2021 16:09:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-a-csv-file-in-a-specified-path/m-p/12472609#M2001146</guid>
      <dc:creator>roberto_forti</dc:creator>
      <dc:date>2021-07-17T16:09:53Z</dc:date>
    </item>
  </channel>
</rss>

