<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675958#M1099663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Valter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But VBFA does not seems to contain any secondary index. Its primary index also has 5 fields VBELV,POSNV,&lt;/P&gt;&lt;P&gt;VBELN,POSNN,VBTYP_N.. From where can we get all these &lt;/P&gt;&lt;P&gt;values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we have these values then we can try with this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is my understanding correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2008 13:02:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-10T13:02:20Z</dc:date>
    <item>
      <title>TIME_OUT error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675953#M1099658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The below select statement is causing time_out error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbeln t1&lt;SUB&gt;vkorg t1&lt;/SUB&gt;kunnr t2~werks&lt;/P&gt;&lt;P&gt;  INTO TABLE t_likp&lt;/P&gt;&lt;P&gt;  FROM likp AS t1&lt;/P&gt;&lt;P&gt;  INNER JOIN t001w AS t2&lt;/P&gt;&lt;P&gt;  ON t1&lt;SUB&gt;kunnr = t2&lt;/SUB&gt;kunnr&lt;/P&gt;&lt;P&gt;  WHERE lfart IN s_lfart&lt;/P&gt;&lt;P&gt;    AND t1~kunnr IN s_kunnr&lt;/P&gt;&lt;P&gt;    AND wadat_ist IN s_budat&lt;/P&gt;&lt;P&gt;    AND ( t2~werks = p_werks1&lt;/P&gt;&lt;P&gt;       OR t2~werks = p_werks2 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is one more select statement which is selecting kunnr and werks values into table t_t001w.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this error can be avoided by using for all entries in t_t001w.If not please correct me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me your valuable suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 11:20:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675953#M1099658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T11:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_OUT error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675954#M1099659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that you are using "ON t1&lt;SUB&gt;kunnr = t2&lt;/SUB&gt;kunnr", and T001W has not an index to kunnr. When you use INNER JOIN, try to link the tables by proper index like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also use  t1~ prefix when refering to all LIKP table fields.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT t1~vbeln t1~vkorg t1~kunnr t2~werks
  INTO TABLE t_likp
  FROM likp AS t1 INNER JOIN t001w AS t2
    ON t1~werks = t2~werks
 WHERE t1~lfart IN s_lfart
   AND t1~kunnr IN s_kunnr
   AND t1~wadat_ist IN s_budat
   AND ( t2~werks EQ p_werks1 OR t2~werks EQ p_werks2 ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 11:25:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675954#M1099659</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-10-10T11:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_OUT error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675955#M1099660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another serious problem is that you are selecting from the potentially very large table LIKP without providing key fields. "For all entries" will not help to resolve this. Maybe you can speed up the retrieval by using tables VAKPA and VBFA.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 12:33:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675955#M1099660</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-10-10T12:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_OUT error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675956#M1099661</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; VBFA is Sales doc flow table. Isn't it worse than LIKP?  My guess&lt;/P&gt;&lt;P&gt;is its too huge to fetch and Join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 12:38:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675956#M1099661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T12:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_OUT error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675957#M1099662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;VBFA is Sales doc flow table. Isn't it worse than LIKP? My guess is its too huge to fetch and Join&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't agree ... the thing here is about using proper index (and with kunnr you can fetch data from VAKPA and then, with vbeln, you can fetch data from VBFA). The size of the table doesn't matter if you use it's primary (or any secondary) index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 12:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675957#M1099662</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-10-10T12:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_OUT error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675958#M1099663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Valter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But VBFA does not seems to contain any secondary index. Its primary index also has 5 fields VBELV,POSNV,&lt;/P&gt;&lt;P&gt;VBELN,POSNN,VBTYP_N.. From where can we get all these &lt;/P&gt;&lt;P&gt;values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we have these values then we can try with this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is my understanding correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 13:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675958#M1099663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T13:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_OUT error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675959#M1099664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kotland.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From VAKPA you get VBELN, and this field you can use in VBFA-VBELV, and 'J' in vbtyp_n (get likp vbeln). Using VBELV and VBTYP_N makes a nice selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 13:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-out-error/m-p/4675959#M1099664</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-10-10T13:10:27Z</dc:date>
    </item>
  </channel>
</rss>

