<?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 exception in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216440#M475317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes.. thanks, i thinks it will be the best way to solve it... because the other solution doesnt' work very well... i have created very few index because i've always been told there are some problems using them.. which are those problems ????&lt;/P&gt;&lt;P&gt;thanksss !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2007 14:54:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-24T14:54:57Z</dc:date>
    <item>
      <title>time out exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216431#M475308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have to modify a report because it takes a lot of time to get some records in a select sentence, and finally i always get a time out dump. I think i should use function SAPGUI_PROGRESS_INDICATOR when the program arrives to that select but i don't know hopw to use it...&lt;/P&gt;&lt;P&gt;this is part of the code i have..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT aufnr&lt;/P&gt;&lt;P&gt;         werks&lt;/P&gt;&lt;P&gt;         budat ltxa1 rueck rmzhl ismnw ismne aufnr&lt;/P&gt;&lt;P&gt;         learr pernr&lt;/P&gt;&lt;P&gt;  FROM afru&lt;/P&gt;&lt;P&gt;  INTO TABLE it_afru FOR ALL ENTRIES IN it_csla&lt;/P&gt;&lt;P&gt;  WHERE learr = it_csla-lstar AND&lt;/P&gt;&lt;P&gt;        stokz &amp;lt;&amp;gt; gc_marca AND&lt;/P&gt;&lt;P&gt;        budat IN s_budat AND&lt;/P&gt;&lt;P&gt;        stzhl = gc_stzhl_cero AND&lt;/P&gt;&lt;P&gt;        pernr IN s_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at this point, the program doesn't go on, so i tried the following but don't know if it's ok or not...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: lw_lineas type i.&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE it_csla LINES lw_lineas.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      percentage = lw_lineas&lt;/P&gt;&lt;P&gt;      text       = 'Tratando datos AFRU'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT aufnr&lt;/P&gt;&lt;P&gt;         werks&lt;/P&gt;&lt;P&gt;         budat ltxa1 rueck rmzhl ismnw ismne aufnr&lt;/P&gt;&lt;P&gt;         learr pernr&lt;/P&gt;&lt;P&gt;  FROM afru&lt;/P&gt;&lt;P&gt;  INTO TABLE it_afru FOR ALL ENTRIES IN it_csla&lt;/P&gt;&lt;P&gt;  WHERE learr = it_csla-lstar AND&lt;/P&gt;&lt;P&gt;        stokz &amp;lt;&amp;gt; gc_marca AND&lt;/P&gt;&lt;P&gt;        budat IN s_budat AND&lt;/P&gt;&lt;P&gt;        stzhl = gc_stzhl_cero AND&lt;/P&gt;&lt;P&gt;        pernr IN s_pernr.&lt;/P&gt;&lt;P&gt;&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>Tue, 24 Apr 2007 14:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216431#M475308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T14:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: time out exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216432#M475309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use FM TH_REDISPATCH in order to redispatch your context to a new process. But be careful, your program does no longer get a time-out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 14:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216432#M475309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T14:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: time out exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216433#M475310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using SAPGUI_PROGRESS_INDICATOR  would be of no help in this context.. in fact it might even make the program run longer.. the real issue could be with your complex where clause. pl ensure that the itab it_csla is not empty &amp;amp; may be you can drop one or two conditions from the where clause.. &amp;amp; then delete the unwanted entries from it_afru after the initial SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 14:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216433#M475310</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-04-24T14:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: time out exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216434#M475311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mmmm the problem is that before this select, there is a check it_csla[] is not initial... It's not my report, i'm just modifing it so i can't make too many changes...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 14:30:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216434#M475311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T14:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: time out exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216435#M475312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as per my understanding , the issue is to reduce the time taking for the select statement, if  it is so , you may need to create secondary index for table afru to get the data quickly   .becoz you are not using the primary keys in the select statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 14:32:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216435#M475312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T14:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: time out exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216436#M475313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check, if there are suitable indices for the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 14:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216436#M475313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T14:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: time out exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216437#M475314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try the following change..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

SELECT aufnr
werks
budat ltxa1 rueck rmzhl ismnw ismne aufnr
learr pernr
FROM afru
INTO TABLE it_afru FOR ALL ENTRIES IN it_csla
WHERE learr = it_csla-lstar AND
budat IN s_budat AND
stzhl = gc_stzhl_cero.

delete it_afru  where stokz ne gc_marca.
delete it_afru where not pernr in s_pernr.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 14:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216437#M475314</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-04-24T14:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: time out exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216438#M475315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks, i'll try and let you know if it works...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 14:42:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216438#M475315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T14:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: time out exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216439#M475316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create secondary index for following fields &lt;/P&gt;&lt;P&gt;learr &lt;/P&gt;&lt;P&gt;stokz&lt;/P&gt;&lt;P&gt;budat&lt;/P&gt;&lt;P&gt;stzhl&lt;/P&gt;&lt;P&gt;pernr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And report output should be quicker .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mr Kapadia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 14:48:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216439#M475316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T14:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: time out exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216440#M475317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes.. thanks, i thinks it will be the best way to solve it... because the other solution doesnt' work very well... i have created very few index because i've always been told there are some problems using them.. which are those problems ????&lt;/P&gt;&lt;P&gt;thanksss !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 14:54:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-exception/m-p/2216440#M475317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T14:54:57Z</dc:date>
    </item>
  </channel>
</rss>

