<?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: Time out problem in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851158#M1474379</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;&amp;gt; Yes the internal table has records, actually the report was running for even 2 days and the stuck up point was this select query mentioned in the previous post.Ultimately the job has to be cancelled externaly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this is no timeout. If you canceled it manually there is no technical problem (besides the run time).&lt;/P&gt;&lt;P&gt;With stuck you mean that after 2 days it was (still / currently) executing this query, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case it looks like you have to do a performance analysis of the whole program execution. Check if you &lt;/P&gt;&lt;P&gt;can find anything that processes less data and runs faster. Take traces from this run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 May 2010 09:07:02 GMT</pubDate>
    <dc:creator>HermannGahm</dc:creator>
    <dc:date>2010-05-12T09:07:02Z</dc:date>
    <item>
      <title>Time out problem in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851151#M1474372</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 am facing a problem with a select query while running the report in background (found out while debugging) where as the same select query while running in fore ground works fine.It is getting timed out.If anyone has faced simillar problem can you please let me know the reason and the way to solve the problem without changing the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 06:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851151#M1474372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T06:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Time out problem in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851152#M1474373</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 surpised because normaly you don't have time out in background task.&lt;/P&gt;&lt;P&gt;Are you sure that you are in background?  if yes, are you sure that the query is the same in foreground than in background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't you reach the limit size of the memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the select?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards Sylvain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 06:52:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851152#M1474373</guid>
      <dc:creator>sylvain_vels</dc:creator>
      <dc:date>2010-05-12T06:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Time out problem in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851153#M1474374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vels,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Yes like you am also surprised seeing this and the select queries are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select query is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select bukrs&lt;/P&gt;&lt;P&gt;           werks&lt;/P&gt;&lt;P&gt;           matnr&lt;/P&gt;&lt;P&gt;           ziv_mm_datemon&lt;/P&gt;&lt;P&gt;           ziv_mm_dateyear&lt;/P&gt;&lt;P&gt;           ziv_mm_itotobs&lt;/P&gt;&lt;P&gt;           ziv_mm_ototobs&lt;/P&gt;&lt;P&gt;from ziv_mm_obsdat1&lt;/P&gt;&lt;P&gt;into table tb &lt;U&gt;ziv&lt;/U&gt;mm_obsdat1&lt;/P&gt;&lt;P&gt;for all entries in tbl_mara&lt;/P&gt;&lt;P&gt;where bukrs in s_bukrs&lt;/P&gt;&lt;P&gt;and werks in s_werks&lt;/P&gt;&lt;P&gt;and matnr eq tbl_mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 07:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851153#M1474374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T07:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Time out problem in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851154#M1474375</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;Are you sure that  you internal table tbl_mara is not empty... because with the for all entries the table must not be empty &lt;/P&gt;&lt;P&gt;if it's empty you will select all the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your dump?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 07:12:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851154#M1474375</guid>
      <dc:creator>sylvain_vels</dc:creator>
      <dc:date>2010-05-12T07:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Time out problem in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851155#M1474376</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;Yes the internal table has records, actually the report was running for even 2 days and the stuck up point was this select query mentioned in the previous post.Ultimately the job has to be cancelled externaly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 08:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851155#M1474376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T08:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Time out problem in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851156#M1474377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you debug the background job and find the exact place where its hanging.&lt;/P&gt;&lt;P&gt;Are you sure its because of this query ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 08:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851156#M1474377</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-05-12T08:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Time out problem in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851157#M1474378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perhaps you have reached the limit of the memory for the process...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you send us the dump in the ST22?&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;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 09:05:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851157#M1474378</guid>
      <dc:creator>sylvain_vels</dc:creator>
      <dc:date>2010-05-12T09:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Time out problem in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851158#M1474379</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;&amp;gt; Yes the internal table has records, actually the report was running for even 2 days and the stuck up point was this select query mentioned in the previous post.Ultimately the job has to be cancelled externaly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this is no timeout. If you canceled it manually there is no technical problem (besides the run time).&lt;/P&gt;&lt;P&gt;With stuck you mean that after 2 days it was (still / currently) executing this query, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case it looks like you have to do a performance analysis of the whole program execution. Check if you &lt;/P&gt;&lt;P&gt;can find anything that processes less data and runs faster. Take traces from this run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 09:07:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851158#M1474379</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2010-05-12T09:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Time out problem in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851159#M1474380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All for your inputs !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but my concern is if the same query is taking minutes to get executed in foreground why it is taking so much of time while executed in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any  suggestions on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 12:29:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851159#M1474380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T12:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Time out problem in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851160#M1474381</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;&amp;gt; but my concern is if the same query is taking minutes to get executed in foreground why it is taking so much of time while executed in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry, my crystal ball is out of order right now. I suggest that you take traces in the mean time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 12:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851160#M1474381</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2010-05-12T12:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Time out problem in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851161#M1474382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try 3 ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1° When the job is running in background you can debbug it  with the SM66 transaction. Go to the menu program--&amp;gt; debug.&lt;/P&gt;&lt;P&gt;Like that you will see step by step what is doing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2° when you launch your programm in background you can avoid it to go to background... and like that you can debugg it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3° When it takes a long time with your query, you can ask to the Database adminstrator to see what's happening on the base... and see the selec clause. (directly in the base: not by SAP view)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it's helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 12:55:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851161#M1474382</guid>
      <dc:creator>sylvain_vels</dc:creator>
      <dc:date>2010-05-12T12:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Time out problem in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851162#M1474383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please see &lt;SPAN __jive_macro_name="thread" id="1283414"&gt;&lt;/SPAN&gt; before posting - post locked

Rob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 13:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-problem-in-background/m-p/6851162#M1474383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T13:25:49Z</dc:date>
    </item>
  </channel>
</rss>

