<?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: how to solve in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756198#M641364</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;use INTO TABLE KEYWORD which will take less time when compared with normal SELECT st and also check whether in where condition that any select options are used or not. if used then give appropriate conditional operator&lt;/P&gt;&lt;P&gt;for exx:&lt;/P&gt;&lt;P&gt; UDATE IN (ZDATE-LOW, ZDATE-HIGH ). instead of between as it is a select option parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Sep 2007 04:29:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-10T04:29:00Z</dc:date>
    <item>
      <title>how to solve</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756196#M641362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         I used the following code in my program, but it leads to dump error says that  time exeeds, how to change this query and what could be the reason for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls advise me on this. thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajaram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if zdate-high is not initial.&lt;/P&gt;&lt;P&gt; select  OBJECTCLAS&lt;/P&gt;&lt;P&gt;         OBJECTID&lt;/P&gt;&lt;P&gt;         CHANGENR&lt;/P&gt;&lt;P&gt;         UDATE&lt;/P&gt;&lt;P&gt;         UTIME&lt;/P&gt;&lt;P&gt;         TCODE&lt;/P&gt;&lt;P&gt;            from cdhdr&lt;/P&gt;&lt;P&gt;            into corresponding fields of table it2&lt;/P&gt;&lt;P&gt;            for all entries in it1&lt;/P&gt;&lt;P&gt;            where&lt;/P&gt;&lt;P&gt;            OBJECTCLAS = it1-OBJECTCLAS and&lt;/P&gt;&lt;P&gt;            OBJECTID = it1-OBJECTID and&lt;/P&gt;&lt;P&gt;            CHANGENR = it1-CHANGENR and&lt;/P&gt;&lt;P&gt;            TCODE = 'VA02' and&lt;/P&gt;&lt;P&gt;                  ( UDATE BETWEEN ZDATE-LOW AND ZDATE-HIGH ).&lt;/P&gt;&lt;P&gt; else.&lt;/P&gt;&lt;P&gt; select  OBJECTCLAS&lt;/P&gt;&lt;P&gt;         OBJECTID&lt;/P&gt;&lt;P&gt;         CHANGENR&lt;/P&gt;&lt;P&gt;         UDATE&lt;/P&gt;&lt;P&gt;         UTIME&lt;/P&gt;&lt;P&gt;         TCODE&lt;/P&gt;&lt;P&gt;            from cdhdr&lt;/P&gt;&lt;P&gt;            into corresponding fields of table it2&lt;/P&gt;&lt;P&gt;            for all entries in it1&lt;/P&gt;&lt;P&gt;            where&lt;/P&gt;&lt;P&gt;            OBJECTCLAS = it1-OBJECTCLAS and&lt;/P&gt;&lt;P&gt;            OBJECTID = it1-OBJECTID and&lt;/P&gt;&lt;P&gt;            CHANGENR = it1-CHANGENR and&lt;/P&gt;&lt;P&gt;            TCODE = 'VA02' and&lt;/P&gt;&lt;P&gt;                 ( UDATE = ZDATE-LOW ).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 03:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756196#M641362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T03:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756197#M641363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajaram , &lt;/P&gt;&lt;P&gt;  Few observations&lt;/P&gt;&lt;P&gt;1. Do not use &amp;lt;b&amp;gt;into correspondin&amp;lt;/b&amp;gt;g , change the sequence of the fields in the internal table and use into table .&lt;/P&gt;&lt;P&gt;2. I think ZDATE is a range/select-option so use IN operation instead of Between,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 04:03:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756197#M641363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T04:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756198#M641364</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;use INTO TABLE KEYWORD which will take less time when compared with normal SELECT st and also check whether in where condition that any select options are used or not. if used then give appropriate conditional operator&lt;/P&gt;&lt;P&gt;for exx:&lt;/P&gt;&lt;P&gt; UDATE IN (ZDATE-LOW, ZDATE-HIGH ). instead of between as it is a select option parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 04:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756198#M641364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T04:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756199#M641365</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;&lt;/P&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;time exceeds because there is large data present in the cdhdr table, i think its cluster table. use function module to reset the runtime it helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'PROGRESS_INDICATOR'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;I_TEXT = ' Fetching Info records'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it resets the runtime to initial value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this it helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 04:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756199#M641365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T04:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756200#M641366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to use INTO TABLE in select stmt , actually i have many fields in internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 04:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756200#M641366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T04:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756201#M641367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if zdate-high is not initial.&lt;/P&gt;&lt;P&gt;select OBJECTCLAS&lt;/P&gt;&lt;P&gt;OBJECTID&lt;/P&gt;&lt;P&gt;CHANGENR&lt;/P&gt;&lt;P&gt;UDATE&lt;/P&gt;&lt;P&gt;UTIME&lt;/P&gt;&lt;P&gt;TCODE&lt;/P&gt;&lt;P&gt;from cdhdr&lt;/P&gt;&lt;P&gt;into  table it2&lt;/P&gt;&lt;P&gt;for all entries in it1&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;OBJECTCLAS = it1-OBJECTCLAS and&lt;/P&gt;&lt;P&gt;OBJECTID = it1-OBJECTID and&lt;/P&gt;&lt;P&gt;CHANGENR = it1-CHANGENR and&lt;/P&gt;&lt;P&gt;TCODE = 'VA02' and&lt;/P&gt;&lt;P&gt;( UDATE BETWEEN ZDATE-LOW AND ZDATE-HIGH ).&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;select OBJECTCLAS&lt;/P&gt;&lt;P&gt;OBJECTID&lt;/P&gt;&lt;P&gt;CHANGENR&lt;/P&gt;&lt;P&gt;UDATE&lt;/P&gt;&lt;P&gt;UTIME&lt;/P&gt;&lt;P&gt;TCODE&lt;/P&gt;&lt;P&gt;from cdhdr&lt;/P&gt;&lt;P&gt;into table it2&lt;/P&gt;&lt;P&gt;for all entries in it1&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;OBJECTCLAS = it1-OBJECTCLAS and&lt;/P&gt;&lt;P&gt;OBJECTID = it1-OBJECTID and&lt;/P&gt;&lt;P&gt;CHANGENR = it1-CHANGENR and&lt;/P&gt;&lt;P&gt;TCODE = 'VA02' and&lt;/P&gt;&lt;P&gt;( UDATE = ZDATE-LOW ).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 05:02:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-solve/m-p/2756201#M641367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T05:02:48Z</dc:date>
    </item>
  </channel>
</rss>

