<?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: Running background reports with internal table parameters. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127061#M1817820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanga,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No this should also not work, in my opinion, because at the end, you are still processing a large number of records, even though if it is in a packet-wise manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Packet size will avoid timeout at the SELECT statement itself. However, it does not guarantee that timeout will not occur for the entire report program execution.&lt;/P&gt;&lt;P&gt;The more the number of records, the more the roundtrips to the database (each roundtrip for a packet size of 2000 records) and hence more time to execute the report.&lt;/P&gt;&lt;P&gt;So if not for the SELECT statement then timeout can occur for executing the entire report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And moreover, I am using the cursor logic which fetches me a packet size of 100 records at a time. So your logic is equivalent to what I am already using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But thanks for the suggestions. Do you have any comments on point no. 3 which I have mentioned in my original post?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sameer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Mar 2014 12:00:23 GMT</pubDate>
    <dc:creator>sameer_panigrahi</dc:creator>
    <dc:date>2014-03-03T12:00:23Z</dc:date>
    <item>
      <title>Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127054#M1817813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a query. The scenario is that I want to process a large database table, say a BUT000 table and want to change some non-key field values.&lt;/P&gt;&lt;P&gt;A simple approach would be to&lt;/P&gt;&lt;P&gt;&lt;EM&gt;-execute a SELECT statement and retrieve the records in an internal table.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;-change the values in the internal table.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- then update the database table from the internal table.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, for large tables, performance issue will occur and the program might timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So one solution would be to run a report in batches in background, each report processing 100 entries of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The algorithm would be somewhat like this (Please ignore syntax):&lt;/P&gt;&lt;P&gt;&lt;EM&gt;OPEN CURSOR c1 FOR SELECT * FROM &amp;lt;db_table&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DO till all the records are processed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FETCH 100 records INTO lt_tab[ ].&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUBMIT change_report WITH lt_tab[ ] IN BACKGROUND mode.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ENDDO.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;One way to achieve this is to use the EXPORT/IMPORT MEMORY of ABAP. However for this to work, all these SUBMITted reports need to be executed in the same work process. But we know that REPORTs in BACKGROUND job will work on different work processes. So this is not the solution.&lt;/LI&gt;&lt;LI&gt;Another way is to use EXPORT/IMPORT to SHARED MEMORY or SHARED BUFFER. However, this will store the internal tables in the application buffer of the aplication server. So in this case, all the background reports need to be executed in the same application server so that they have access to the shared memory.&lt;/LI&gt;&lt;LI&gt;One more solution is to EXPORT/IMORT the data to DATABASE cluster tables like INDX cluster table.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;EXPORT itab FROM itab TO DATABASE indx(ar) CLIENT sy-mandt ID job_number&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;IMPORT itab TO itab FROM DATABASE indx(ar) CLIENT sy-mandt ID job_number &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;However, I am not sure if this will work &lt;STRONG&gt;cross-application-servers&lt;/STRONG&gt;. My guess is this solution should hold even if the background reports are run in different application servers of the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone guide me as to whether my understanding of the above 3 points is correct?&amp;nbsp; Any comments on Point 3 ?&lt;/P&gt;&lt;P&gt;Are there any more solutions to this scenario?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Kind regards,&lt;/P&gt;&lt;P&gt;Sameer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 13:57:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127054#M1817813</guid>
      <dc:creator>sameer_panigrahi</dc:creator>
      <dc:date>2014-02-28T13:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127055#M1817814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sameer,&lt;/P&gt;&lt;P&gt;1, Yes,&amp;nbsp; you can`t use abap memory. &lt;/P&gt;&lt;P&gt;2, For the shared memory and buffer, you need to take care size of the two memory. Shared buffer will cleared automatically when it reaches the maxinum limit. So for those two, shared buffer is a better option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can use 'OPEN DATASET'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanna know how huge data the table have? if really really much, how about delete all data after you extract all data from DB table? then insert it back. i think 'insert' will fast than 'modify'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting Nabheet give you a help. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/599/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Archer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 17:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127055#M1817814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-28T17:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127056#M1817815</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;Try parallel processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="31024" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="Parallel Processing - Example Code" href="https://community.sap.com/" modifiedtitle="true" title="Parallel Processing - Example Code"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/ABAP/Parallel+Processing" title="http://wiki.scn.sap.com/wiki/display/ABAP/Parallel+Processing"&gt;Parallel Processing - ABAP Development - SCN Wiki&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;DPM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Mar 2014 06:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127056#M1817815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-01T06:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127057#M1817816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dengyong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestions &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/599/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; Yes but deleting the table records and then adding the modified entries is not an option. This is because I have to change only few records in the table but the issue is that. for changing these few records, I have to scan this entire table and this may result in a timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am interested in this 'Open Dataset' that you mentioned. Could you tell me more on this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sameer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2014 04:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127057#M1817816</guid>
      <dc:creator>sameer_panigrahi</dc:creator>
      <dc:date>2014-03-02T04:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127058#M1817817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2014 04:57:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127058#M1817817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-02T04:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127059#M1817818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;Yes but deleting the table records and then adding the modified entries is not an option.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;How do you plan to modify the table entry key fields without using delete/insert or delete/modify ?&lt;/P&gt;&lt;P&gt;Could you share a working code snippet that is able to modify key field of a single record without using delete/insert or delete/modify?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2014 05:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127059#M1817818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-02T05:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127060#M1817819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sameer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried by specifying PACKAGE SIZE in your select query. I guess you can try like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;The following example processes data from table MAST, 2000 records per iteration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT &amp;lt;field 1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field 2&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field n&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM mast&lt;/P&gt;&lt;P&gt;&amp;nbsp; INTO TABLE t_mast&lt;/P&gt;&lt;P&gt;&amp;nbsp; PACKAGE SIZE 2000&lt;/P&gt;&lt;P&gt;&amp;nbsp; WHERE &amp;lt;selection criteria&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* the internal table i_mast will always have &amp;lt;= 2000 records&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOOP AT i_mast INTO w_mast.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* process the data in the internal table &lt;/P&gt;&lt;P&gt;* Do the changes in the internal table and update database table.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDLOOP.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you, please try it and let me know your results on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thanga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2014 05:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127060#M1817819</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2014-03-02T05:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127061#M1817820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanga,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No this should also not work, in my opinion, because at the end, you are still processing a large number of records, even though if it is in a packet-wise manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Packet size will avoid timeout at the SELECT statement itself. However, it does not guarantee that timeout will not occur for the entire report program execution.&lt;/P&gt;&lt;P&gt;The more the number of records, the more the roundtrips to the database (each roundtrip for a packet size of 2000 records) and hence more time to execute the report.&lt;/P&gt;&lt;P&gt;So if not for the SELECT statement then timeout can occur for executing the entire report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And moreover, I am using the cursor logic which fetches me a packet size of 100 records at a time. So your logic is equivalent to what I am already using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But thanks for the suggestions. Do you have any comments on point no. 3 which I have mentioned in my original post?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sameer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 12:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127061#M1817820</guid>
      <dc:creator>sameer_panigrahi</dc:creator>
      <dc:date>2014-03-03T12:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127062#M1817821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Debopriyo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I did think of that but then I am not using any function module inside the report that can be executed in a new task (for parallel processing)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a case where I have encapsulated a simple logic in a report but since the report is running on a large number of table records I am thinking of running this in batches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read many documents and I somehow think that Point 3 (in my original post) can achieve my requirement. However I am not sure because I cannot test this scenario.&lt;/P&gt;&lt;P&gt;So any idea on Point 3 or any more approaches?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sameer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 12:17:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127062#M1817821</guid>
      <dc:creator>sameer_panigrahi</dc:creator>
      <dc:date>2014-03-03T12:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127063#M1817822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem is not so much a time out, as you can (and probably should) run this in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is more that you should do a COMMIT WORK every so often to avoid overflow of log files / redo logs (or whatever these are called in your database).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have suggested this approach in the past:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; DATA lf_cursor TYPE cursor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; OPEN CURSOR WITH HOLD lf_cursor FOR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT ...&amp;nbsp; FROM ... WHERE ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; DO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FETCH NEXT CURSOR lf_cursor&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO TABLE ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PACKAGE SIZE 10000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF sy-subrc NE 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLOSE CURSOR lf_cursor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXIT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; "put your update logic here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL FUNCTION 'DB_COMMIT'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; ENDDO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think SUBMIT or EXPORT/IMPORT workarounds are really required for this (if I understand correctly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 12:18:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127063#M1817822</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2014-03-03T12:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127064#M1817823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am modifying a non-key field.&lt;/P&gt;&lt;P&gt;So there is no delete/insert required as is the case when you modify a key field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My concern is, to be concise, that how can I 'SUBMIT' reports in background so that these reports can share data among themselves, even if the report are run cross-application-servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sameer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 12:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127064#M1817823</guid>
      <dc:creator>sameer_panigrahi</dc:creator>
      <dc:date>2014-03-03T12:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127065#M1817824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes but if the number of records is high in the db Table then the FETCH for 10000 records will take place multiple times. This coupled with the time taken to execute the "update logic" can cause a timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sameer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 13:27:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127065#M1817824</guid>
      <dc:creator>sameer_panigrahi</dc:creator>
      <dc:date>2014-03-03T13:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Running background reports with internal table parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127066#M1817825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sameer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A better option will be to create an FM with these internal table parameters and call it in parallel. In this case you dont need to worry about the import/export stuff..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 13:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-background-reports-with-internal-table-parameters/m-p/10127066#M1817825</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-03-03T13:32:50Z</dc:date>
    </item>
  </channel>
</rss>

