<?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: taking a database table dump in PC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/taking-a-database-table-dump-in-pc/m-p/4133755#M988543</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;Open the database in SE16.&lt;/P&gt;&lt;P&gt;Make sure all the columns are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Goto &amp;gt; Download &amp;gt; Save to Spreadsheet&lt;/P&gt;&lt;P&gt;Alternatively use SHIFT + F8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help to take a dump of a database in excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Craig Cmehil on Jul 7, 2008 9:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2008 08:11:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-04T08:11:16Z</dc:date>
    <item>
      <title>taking a database table dump in PC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/taking-a-database-table-dump-in-pc/m-p/4133751#M988539</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 want to store the entire database table into an excel file on PC.&lt;/P&gt;&lt;P&gt;i try to do that by taking entire database table into internal table and then moving it to a PC using ABAP functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but since some tables are heavy the report gives a memory dump while executing the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly suggest some way out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one way i can do this is by splitting the database table records into groups..&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;first 1,00,000 entries in one internal table then to file..&lt;/P&gt;&lt;P&gt;refresh table once it has been transfered to file..&lt;/P&gt;&lt;P&gt;next 1,00,000 entries in same table and then append to same file...&lt;/P&gt;&lt;P&gt;refresh again and append.... and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the problem is how do i find again start from 1,00,001th entry in database table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest any other way / method/ FM if applicable..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 06:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/taking-a-database-table-dump-in-pc/m-p/4133751#M988539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T06:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: taking a database table dump in PC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/taking-a-database-table-dump-in-pc/m-p/4133752#M988540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the select statement, sort the result set by the primary key, so you know the last handled primary key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 07:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/taking-a-database-table-dump-in-pc/m-p/4133752#M988540</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-07-04T07:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: taking a database table dump in PC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/taking-a-database-table-dump-in-pc/m-p/4133753#M988541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA  : c1 TYPE cursor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Open cursor usage would solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the open cursor u can do a database fetch.. cursor is a temp buffer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use the following command to get a package limit of data and process it in chunk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FETCH NEXT CURSOR c1 INTO TABLE itab  PACKAGE SIZE p_limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enddo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would solve the memory overflow dump problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 07:34:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/taking-a-database-table-dump-in-pc/m-p/4133753#M988541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T07:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: taking a database table dump in PC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/taking-a-database-table-dump-in-pc/m-p/4133754#M988542</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;In addition to the answers given by others I would like to say that you have to be aware of excels 1048576-line limit in Excel 2007. If you are using a older version you are limit to 65536 lines. Is there any reason you need the data in Excel? If you are just doing some calculations it might be easier to do them in ABAP and only export the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jan Stallkamp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 08:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/taking-a-database-table-dump-in-pc/m-p/4133754#M988542</guid>
      <dc:creator>JanStallkamp</dc:creator>
      <dc:date>2008-07-04T08:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: taking a database table dump in PC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/taking-a-database-table-dump-in-pc/m-p/4133755#M988543</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;Open the database in SE16.&lt;/P&gt;&lt;P&gt;Make sure all the columns are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Goto &amp;gt; Download &amp;gt; Save to Spreadsheet&lt;/P&gt;&lt;P&gt;Alternatively use SHIFT + F8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help to take a dump of a database in excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Craig Cmehil on Jul 7, 2008 9:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 08:11:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/taking-a-database-table-dump-in-pc/m-p/4133755#M988543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T08:11:16Z</dc:date>
    </item>
  </channel>
</rss>

