<?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: Down Load Data from SAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126900#M110622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Murali Krishan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using SE16 for any table download then following can be one of the methods you can try -&lt;/P&gt;&lt;P&gt;1. Get the list of unique values from the table for the primary key using ABAP program probably in ALV or so. Download this list to an excel file.&lt;/P&gt;&lt;P&gt;2. Use only few of the primary keys in SE16 for getting the output. Download can be done easily this time. &lt;/P&gt;&lt;P&gt;3. Next time give the next few primary keys in SE16 and can again download the data. &lt;/P&gt;&lt;P&gt;4. Keep on doing the same until all the primary keys will be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sounds like a bit panic :0(. But can for sure help for downloading the complete data even if millions of record exist in database in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jan 2006 05:01:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-19T05:01:29Z</dc:date>
    <item>
      <title>Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126898#M110620</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;I want to download data from SAP in Foreground only. But i have millions of records in Database, because of this Shortdump(Session Expired)is coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to download data from SAP in foreground even if we have millions of records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Murali Krishna K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 04:47:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126898#M110620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T04:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126899#M110621</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;extract the data to application server, just collect the data to internal table and pass it to application server.&lt;/P&gt;&lt;P&gt;then once you have the data in application server ,&lt;/P&gt;&lt;P&gt;just use transaction &amp;lt;b&amp;gt;GC3Y&amp;lt;/b&amp;gt; to download it to PC.&lt;/P&gt;&lt;P&gt;mention the paths and download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 04:55:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126899#M110621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T04:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126900#M110622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Murali Krishan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using SE16 for any table download then following can be one of the methods you can try -&lt;/P&gt;&lt;P&gt;1. Get the list of unique values from the table for the primary key using ABAP program probably in ALV or so. Download this list to an excel file.&lt;/P&gt;&lt;P&gt;2. Use only few of the primary keys in SE16 for getting the output. Download can be done easily this time. &lt;/P&gt;&lt;P&gt;3. Next time give the next few primary keys in SE16 and can again download the data. &lt;/P&gt;&lt;P&gt;4. Keep on doing the same until all the primary keys will be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sounds like a bit panic :0(. But can for sure help for downloading the complete data even if millions of record exist in database in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 05:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126900#M110622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T05:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126901#M110623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali Krishna Kakarla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Commit work statement where u use loop in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Loop at ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commit work.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will not give Shortdump(Session Expired) even if u have million of records. Just it will take time according to size of records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Digesh Panchal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Digesh Panchal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 05:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126901#M110623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T05:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126902#M110624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If millions of records exist then internal size problem will occur. System will throw dump screen saying &lt;/P&gt;&lt;P&gt;'Further Memory Can Be Allocated. Size Exceeded XXXXXX. Further Lines Cannot Be Appended To Internal Table'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 05:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126902#M110624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T05:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126903#M110625</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 am not clear.Can you please explain clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Murali Krishna k.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 07:10:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126903#M110625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T07:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126904#M110626</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;select-options: v_dbcnt like sy-dbcnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from ztab into itab&lt;/P&gt;&lt;P&gt;         where sy-dbcnt = v_dbcnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give some 1 lakh first and try like this and store into final internal table each time u get those resords&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append lines of itab to it_final.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 07:17:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126904#M110626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T07:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126905#M110627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Murali Krishan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please elaborate your question. What kind of clarity you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please refer the person to whom you want to ask question. Will be simpler to make out the question then :D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 07:22:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126905#M110627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T07:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126906#M110628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAP Developer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain ur answer by using one example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Murali Krishna K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 10:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126906#M110628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T10:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126907#M110629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parameters: ds(132) lower case.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA itab LIKE ZTABLE OCCURS 0 WITH HEADER LINE.

SELECT * FROM ZTABLE
  INTO TABLE itab.
  
open dataset dst for output in text mode encoding DEFAULT.

loop at itab.

  transfer itab to ds.

endloop.

close dataset ds.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have your data in the file name specified in your application server. Now use CG3Y transaction to download the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ps: Reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 10:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126907#M110629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T10:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126908#M110630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Murali Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Regarding Dump: That was responded to Vijay in concern with the internal table. (Look for Vijay's comments before my response to him). &lt;/P&gt;&lt;P&gt;-If directly complete data will be taken out of database table containing larger number of records then system throws out via memory dump and/or timeout dump.&lt;/P&gt;&lt;P&gt;-Memory dump is for exceeding the size of internal table and system can't append more lines to internal table.&lt;/P&gt;&lt;P&gt;-Timeout dump is regarding connection to database. If the select query exceeds the defined time of connection then dump occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Regarding reading only primary key: This is regarding my first response to your query. &lt;/P&gt;&lt;P&gt;-As the table contains millions of records. That sounds it is item level table. Try to get the header table for the same. Try to get the primary key of the header table&lt;/P&gt;&lt;P&gt;that relates it to item level table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT PRIMARY_KEYFIELD&lt;/P&gt;&lt;P&gt;INTO TABLE OUT_TAB&lt;/P&gt;&lt;P&gt;FROM HEADER_TABLE&lt;/P&gt;&lt;P&gt;WHERE PRMIARY_KEYFIELD IN BLANK_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BLANK_TABLE is a selection table containing only one field of primary key field type. Passing blank table in where clause for primary key will increase the speed of selection query. Here the select statement won't search whole table in absence of any value of primary key rather it will know that primary key is blank and will proceed with next line of database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-If there is no header table from which you can get the primary key then write select query on the table containing data as follows -&lt;/P&gt;&lt;P&gt;SELECT DISTINCT PRIMARY_KEYFIELD&lt;/P&gt;&lt;P&gt;INTO OUT_TAB&lt;/P&gt;&lt;P&gt;FROM I_TAB&lt;/P&gt;&lt;P&gt;WHERE PRIMARY_KEYFIELD1 IN BLANK_PRIMARYKEY1TAB AND&lt;/P&gt;&lt;P&gt;      PRIMARY_KEYFIELD2 IN BLANK_PRIMARYKEY2TAB AND&lt;/P&gt;&lt;P&gt;        ---&lt;/P&gt;&lt;P&gt;        ---.&lt;/P&gt;&lt;P&gt;- Try to use all the primary key/indexes in where clause of select query by comparing them with blank selection table for that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- After getting the primary keys in internal table, pass this table to ALV and display it on output. Download the result in excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Use these excel values for the primary key in SE16 transaction. Give first few values and download the data. Then give next few values, again download. Continue till end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 05:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126908#M110630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-20T05:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126909#M110631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAp Developer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very Much for your Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal Table Fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Materila Number, Description and Some Other Fileds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i want to Downd load Material Master Data (Millions Records - Foreground).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Don't want to Use SE16 and i need every thing thru program only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thansk,&lt;/P&gt;&lt;P&gt;Murali Krishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 06:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126909#M110631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-20T06:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Down Load Data from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126910#M110632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandu,&lt;/P&gt;&lt;P&gt;select * from ztab into itab&lt;/P&gt;&lt;P&gt;where sy-dbcnt = v_dbcnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using this we can down load first 1 lakh records, but if i want to download next 1 lack records How.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.It is very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Murali Krishna K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2006 11:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load-data-from-sap/m-p/1126910#M110632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-17T11:06:02Z</dc:date>
    </item>
  </channel>
</rss>

