<?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 OPEN DATAST DUMP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671593#M884282</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;i use this code for open dataset and i have dump in bold line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  OPEN DATASET file_n FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;  LOOP AT it_d INTO wa_it.&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;TRANSFER wa_it TO file_n.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An exception occurred. This exception will be dealt with in more detail&lt;/P&gt;&lt;P&gt;below. The exception, assigned to the class 'CX_SY_FILE_OPEN_MODE', was not&lt;/P&gt;&lt;P&gt; caught, which&lt;/P&gt;&lt;P&gt; led to a runtime error. The reason for this exception is:&lt;/P&gt;&lt;P&gt;The system tried to access the file "C:\Documents and&lt;/P&gt;&lt;P&gt; Settings\user\Desktop\CSV\xx.TXT" but found that this file was&lt;/P&gt;&lt;P&gt;not opened. For this reason, it could not access the file.&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 be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2008 16:27:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-16T16:27:35Z</dc:date>
    <item>
      <title>OPEN DATAST DUMP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671593#M884282</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;i use this code for open dataset and i have dump in bold line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  OPEN DATASET file_n FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;  LOOP AT it_d INTO wa_it.&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;TRANSFER wa_it TO file_n.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An exception occurred. This exception will be dealt with in more detail&lt;/P&gt;&lt;P&gt;below. The exception, assigned to the class 'CX_SY_FILE_OPEN_MODE', was not&lt;/P&gt;&lt;P&gt; caught, which&lt;/P&gt;&lt;P&gt; led to a runtime error. The reason for this exception is:&lt;/P&gt;&lt;P&gt;The system tried to access the file "C:\Documents and&lt;/P&gt;&lt;P&gt; Settings\user\Desktop\CSV\xx.TXT" but found that this file was&lt;/P&gt;&lt;P&gt;not opened. For this reason, it could not access the file.&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 be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 16:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671593#M884282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T16:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATAST DUMP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671594#M884283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't download in the local drive, you need to do it in the application server&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 16:28:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671594#M884283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T16:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATAST DUMP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671595#M884284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For GUI operations, you must use &lt;STRONG&gt;GUI_UPLOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATASET is used to read data from server...While GUI_UPLOAD is used to read data from Application Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 16:29:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671595#M884284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T16:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATAST DUMP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671596#M884285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi alvro ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;i try to write in gui download but the problem is &lt;/P&gt;&lt;P&gt;that when i open the file i have lot of space between rows of table&lt;/P&gt;&lt;P&gt;like line 50 empty rows and after anther line ,&lt;/P&gt;&lt;P&gt;becouse that the file is huge &lt;/P&gt;&lt;P&gt;how i can avoid that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it because of table in bold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS:truxs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;types truxs_t_text_data(4096) type c occurs 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: da_tab TYPE truxs_t_text_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_field_seperator = ';'&lt;/P&gt;&lt;P&gt;i_appl_keep = 'X'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;i_tab_sap_data = it_d&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;i_tab_converted_data = da_tab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;conversion_failed = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;gui_download&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;filename = file_n&lt;/P&gt;&lt;P&gt;filetype = 'BIN'&lt;/P&gt;&lt;P&gt;append = 'X'&lt;/P&gt;&lt;P&gt;codepage = 'UTF-8'&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;data_tab =  da_tab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;file_write_error = 1&lt;/P&gt;&lt;P&gt;no_batch = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 16:43:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671596#M884285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T16:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATAST DUMP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671597#M884286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi this is one best solution for writing the file ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: outrec(200) type c .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  OPEN DATASET P_FILE FOR OUTPUT IN TEXT MODE encoding DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at it_final.&lt;/P&gt;&lt;P&gt;    outrec+0(8) = it_final-pernr.&lt;/P&gt;&lt;P&gt;    outrec+8(40) = it_final-nachn.&lt;/P&gt;&lt;P&gt;    outrec+48(40) = it_final-vorna.&lt;/P&gt;&lt;P&gt;    outrec+88(30) = it_final-usrid.&lt;/P&gt;&lt;P&gt;    outrec+118(40) = it_final-usrid_long.&lt;/P&gt;&lt;P&gt;    transfer outrec to p_file.&lt;/P&gt;&lt;P&gt;    clear outrec.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLOSE DATASET OUTREC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 16:49:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671597#M884286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T16:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATAST DUMP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671598#M884287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CSV is a comma separated excel file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, you are using BIN in gui_download and should be ASC, is just a text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However my excel doesn't open files with ";" as a delimitator, only commas ","&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 17:00:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-datast-dump/m-p/3671598#M884287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T17:00:56Z</dc:date>
    </item>
  </channel>
</rss>

