<?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 error while executing an ABAP report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111344#M1509723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds like alot of data to process in the foreground and I don't know much about HR.  I would suspect there's a performance limiter in that function call which could be tracked with a trace.  If there isn't and you absolutely have to run the thing in the foreground, you can always bypass the TIME_OUT with a strategically placed commit work.  Not that I recommend it as a performance workaround; I'm just saying it's an option &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jul 2010 15:07:53 GMT</pubDate>
    <dc:creator>brad_bohn</dc:creator>
    <dc:date>2010-07-13T15:07:53Z</dc:date>
    <item>
      <title>TIME_OUT error while executing an ABAP report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111341#M1509720</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;I have an ABAP report in which the code looks like below&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT pernr_tab . " *Internal table consists of  around 25k records*  
   IF last_run_date IS INITIAL. " Initial Load
      PERFORM fill_data USING pernr_tab-pernr last_run_date CHANGING lv_flag.
      lv_flag = 'x'.
      initial_count = initial_count + 1.
    ELSE.
      PERFORM fill_data USING pernr_tab-pernr last_run_date CHANGING lv_flag.
      IF pernr_tab-status EQ '3' AND pernr_tab-begda GE today. " Future Hire records during delta load
        lv_flag = 'x'.
      ENDIF.
      IF lv_flag EQ 'x'.
        delta_change_count = delta_change_count + 1.
      ENDIF.
    ENDIF.
    IF lv_flag = 'x'. "initial load or changes in some infotype for delta load
      PERFORM append_data.
      CLEAR: p0000_tab[],p0000,p0001_tab[],p0001,p0002_tab[],p0002,p0006_tab[],p0006,p0006_phone,
p0007_tab[],p0007,p0027_tab[],p0027,p0032_tab[],p0032,p0105_tab_usr[],p0041_tab[],p0041.
      CLEAR: p0105_usr,p0105_tab_ven[],p0105_ven,p0105_tab_mgr[],p0105_mgr,p0709_tab[],p0709,pos_id,
functional_title,p0521_tab[],p0521,p2001_tab[],p2001,corporate_band_code,corporate_title_code,wa_pernr_tab.
    ENDIF.
  ENDLOOP.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the loop i am fetching data from 10 different infotypes and adding into another internal table.When I execute this program it is giving TIME_OUT error.Is there any way i can resolve this issue(I dont want to run this program in the background)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bala Duvvuri&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bala Duvvuri on Jul 13, 2010 8:25 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Jul 13, 2010 4:58 PM - line width reduced&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 14:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111341#M1509720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-13T14:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_OUT error while executing an ABAP report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111342#M1509721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to paste the code from the routines FILL_DATA and APPEND_DATA for analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 14:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111342#M1509721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-13T14:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_OUT error while executing an ABAP report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111343#M1509722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fill_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reading 10 infotypes&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'HR_READ_INFOTYPE'
  exporting
*     TCLAS                 = 'A'
    pernr                 = p_pernr_tab_pernr
    infty                 = '0000'
   begda                 = '18000101'
   endda                 = '99991231'
*   bypass_buffer         = 'X'
  tables
    infty_tab             = p0000_tab
 exceptions
   infty_not_found       = 1
   others                = 2
          .
  if sy-subrc &amp;lt;&amp;gt; 0.
  endif.
  if p0000_tab[] is not initial.
    sort p0000_tab by endda  descending.
    read table p0000_tab into p0000 index 1.
    if p0000-aedtm ge last_run_date.
      lv_flag = 'X' ." Infotype 0 has been changed
    endif.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;append_data&lt;/P&gt;&lt;P&gt;assigning 50 different fields from above infotypes to ls_emp_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ls_emp_data-functional_title = functional_title.
  ls_emp_data-last_update = today.
  if ( p2001-awart = '5006' and p2001-begda &amp;lt;= today and p2001-endda &amp;gt;= today ) or
 ( p0521-atzph = 'AB' AND p0521-begda &amp;lt;= today AND p0521-endda &amp;gt;= today ).
    ls_emp_data-absent = text-007.
  ELSE.
    ls_emp_data-absent = text-008.
  ENDIF.
  ls_emp_data-corporate_band_code = corporate_band_code.
  ls_emp_data-corporate_title_code = corporate_title_code.
  APPEND ls_emp_data TO lt_emp_data.
  CLEAR:ls_emp_data,lv_flag.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bala Duvvuri&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Jul 14, 2010 2:48 PM - code tags added&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 14:40:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111343#M1509722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-13T14:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_OUT error while executing an ABAP report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111344#M1509723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds like alot of data to process in the foreground and I don't know much about HR.  I would suspect there's a performance limiter in that function call which could be tracked with a trace.  If there isn't and you absolutely have to run the thing in the foreground, you can always bypass the TIME_OUT with a strategically placed commit work.  Not that I recommend it as a performance workaround; I'm just saying it's an option &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 15:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111344#M1509723</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-07-13T15:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_OUT error while executing an ABAP report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111345#M1509724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I followed this thread and it got solved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="251127"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bala Duvvuri&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 02:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111345#M1509724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-14T02:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_OUT error while executing an ABAP report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111346#M1509725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;25000 sorts in the LOOP can easily kill you, and of cours the Call function coding is still missing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;sort p0000_tab by endda descending.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A code sicussion will not help you, you must analyse the execution! There is definitely nonlinear coding, you must figure out where.&lt;/P&gt;&lt;P&gt;The following 3 blogs can help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nonlinearity: The problem and background&lt;/P&gt;&lt;P&gt;/people/siegfried.boes/blog/2007/02/12/performance-problems-caused-by-nonlinear-coding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Z_SE30_COMPARE&lt;/P&gt;&lt;P&gt;/people/siegfried.boes/blog/2008/01/15/a-tool-to-compare-runtime-measurements-zse30compare&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nonlinearity Check&lt;/P&gt;&lt;P&gt;/people/siegfried.boes/blog/2008/01/24/nonlinearity-check-using-the-zse30compare&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must solve the problem otherwise it will even run in background much too long. Whether it fits in a dialog step depends on what is done and how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 08:30:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error-while-executing-an-abap-report/m-p/7111346#M1509725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-14T08:30:35Z</dc:date>
    </item>
  </channel>
</rss>

