<?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: Select statement doubt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129365#M447448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ABAP Runtime error : TSV_TNEW_BLOCKS_NO_ROLL_MEMORY&lt;/P&gt;&lt;P&gt;No roll storage space of length 1546896 available for internal storage.Each transaction requires some main memory space to process                    &lt;/P&gt;&lt;P&gt;application data. If the operating system cannot provide any more              &lt;/P&gt;&lt;P&gt;space, the transaction is terminatedThe internal table "IT_134" could not be enlarged further.                     &lt;/P&gt;&lt;P&gt;You attempted to create a block table of length 1546896 for the internal       &lt;/P&gt;&lt;P&gt;table "IT_134". This happens whenever the OCCURS area of the internal table    &lt;/P&gt;&lt;P&gt;is exceeded. The requested storage space was not available in the roll         &lt;/P&gt;&lt;P&gt;area.                                                                          &lt;/P&gt;&lt;P&gt;The amount of memory requested is no longer available.                         &lt;/P&gt;&lt;P&gt;WAIT UP TO 12 SECONDS.                                        &lt;/P&gt;&lt;P&gt;024970     REFRESH int_vbfa.                                             &lt;/P&gt;&lt;P&gt;024980     SELECT vbeln                                                 &lt;/P&gt;&lt;P&gt;024990        INTO TABLE int_vbfa                                        &lt;/P&gt;&lt;P&gt;025000        FROM vbfa                                                   &lt;/P&gt;&lt;P&gt;025010        FOR ALL ENTRIES IN int_vbeln                                       &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt;        WHERE vbelv = int_vbeln-vbeln.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2007 10:42:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-06T10:42:21Z</dc:date>
    <item>
      <title>Select statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129358#M447441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT vbeln                                              &lt;/P&gt;&lt;P&gt;     INTO TABLE int_vbfa                                    &lt;/P&gt;&lt;P&gt;     FROM vbfa                                              &lt;/P&gt;&lt;P&gt;     FOR ALL ENTRIES IN int_vbeln&lt;/P&gt;&lt;P&gt;     WHERE vbelv = int_vbeln-vbeln&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code is causing the program to fail in background mode, bacause of memory in buffer overflowing, any way to fine tune this query please. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 09:20:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129358#M447441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T09:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129359#M447442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is the most preferable way what you have done. You can just check once with the read statement within the loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 09:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129359#M447442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T09:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129360#M447443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if not int_vbeln[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbeln &lt;/P&gt;&lt;P&gt;INTO TABLE int_vbfa &lt;/P&gt;&lt;P&gt;FROM vbfa &lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN int_vbeln&lt;/P&gt;&lt;P&gt;WHERE vbelv = int_vbeln-vbeln&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just check whether int_vbeln contains value or not if it does not contain any value it will fetch all the rows irrespective of where clause...&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 09:27:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129360#M447443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T09:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129361#M447444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope u have one more common feild to compare.&lt;/P&gt;&lt;P&gt;thats waht they are asking.. try put some more condition in where clause.&lt;/P&gt;&lt;P&gt;i dont know what are the table ur using, other wise i would have helped more..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if useful reward with some points...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 09:29:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129361#M447444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T09:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129362#M447445</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;U should split that statament because or you have too many hits in int_vbeln or you're trying to load too many hits into int_vbfa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U should consider every program can use a limitated memory space, if the program needs more spaces than limit a dump occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U should ask to you basis to increase the memory space but it's not good solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway remember if INT_VBELN is initial your select statament load the whole VBFA, so you should check that table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;F NOT INT_VBELN[] IS INITIAL.
  SELECT * FROM VBFA INTO TABLE INT_VBFA
               FOR ALL ENTRIES IN INT_VBELN
                     WHERE VBELN = INT_VBELN-VBELN.      
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 09:30:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129362#M447445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T09:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129363#M447446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The complete query is &lt;/P&gt;&lt;P&gt;WAIT UP TO 12 SECONDS.                                    &lt;/P&gt;&lt;P&gt;  REFRESH int_vbfa.                                         &lt;/P&gt;&lt;P&gt;  SELECT vbeln                                              &lt;/P&gt;&lt;P&gt;     INTO TABLE int_vbfa                                    &lt;/P&gt;&lt;P&gt;     FROM vbfa                                              &lt;/P&gt;&lt;P&gt;     FOR ALL ENTRIES IN int_vbeln&lt;/P&gt;&lt;P&gt;     WHERE vbelv = int_vbeln-vbeln.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 09:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129363#M447446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T09:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129364#M447447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you  are refreshing the table int_vbeln then what is the need of for all entries? here it is fetching all the records from vbfa because your int table does not contain any data when you are using for all entries.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 09:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129364#M447447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T09:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129365#M447448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ABAP Runtime error : TSV_TNEW_BLOCKS_NO_ROLL_MEMORY&lt;/P&gt;&lt;P&gt;No roll storage space of length 1546896 available for internal storage.Each transaction requires some main memory space to process                    &lt;/P&gt;&lt;P&gt;application data. If the operating system cannot provide any more              &lt;/P&gt;&lt;P&gt;space, the transaction is terminatedThe internal table "IT_134" could not be enlarged further.                     &lt;/P&gt;&lt;P&gt;You attempted to create a block table of length 1546896 for the internal       &lt;/P&gt;&lt;P&gt;table "IT_134". This happens whenever the OCCURS area of the internal table    &lt;/P&gt;&lt;P&gt;is exceeded. The requested storage space was not available in the roll         &lt;/P&gt;&lt;P&gt;area.                                                                          &lt;/P&gt;&lt;P&gt;The amount of memory requested is no longer available.                         &lt;/P&gt;&lt;P&gt;WAIT UP TO 12 SECONDS.                                        &lt;/P&gt;&lt;P&gt;024970     REFRESH int_vbfa.                                             &lt;/P&gt;&lt;P&gt;024980     SELECT vbeln                                                 &lt;/P&gt;&lt;P&gt;024990        INTO TABLE int_vbfa                                        &lt;/P&gt;&lt;P&gt;025000        FROM vbfa                                                   &lt;/P&gt;&lt;P&gt;025010        FOR ALL ENTRIES IN int_vbeln                                       &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt;        WHERE vbelv = int_vbeln-vbeln.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 10:42:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129365#M447448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T10:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129366#M447449</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;Check the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrain.com" target="test_blank"&gt;http://www.sapbrain.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 17:23:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-doubt/m-p/2129366#M447449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T17:23:21Z</dc:date>
    </item>
  </channel>
</rss>

