<?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: Generic Buffering issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095144#M1705537</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;with this statement we can't access the buffer. Maybe there are not all generic regions in the buffer.&lt;/P&gt;&lt;P&gt;As Thorsten said there is only the two options (changing buffer type, or add the 2nd field). Otherwise we will read from the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2012 07:17:44 GMT</pubDate>
    <dc:creator>HermannGahm</dc:creator>
    <dc:date>2012-10-05T07:17:44Z</dc:date>
    <item>
      <title>Generic Buffering issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095141#M1705534</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;I am fetching all fields of data from a generic buffered DB table into an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I perform a select * statement It bypasses the buffer and hits the DB each time i execute the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT * from &amp;lt;DBTABLE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO TABLE &amp;lt;ITAB&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE &amp;lt;field1&amp;gt; = &amp;lt;value&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the above DBTABLE has generic keys: &amp;lt;field1&amp;gt; and &amp;lt;field2&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence it bypasses the buffer area and hits the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code inspector states that I have to specify all the generic key in the where clause of the select statement to use this type of buffering, But I want fetch all the fields without using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How should I use my code to access the buffer area and not bypass it?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 12:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095141#M1705534</guid>
      <dc:creator>former_member217916</dc:creator>
      <dc:date>2012-10-04T12:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Buffering issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095142#M1705535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karan, &lt;/P&gt;&lt;P&gt;I think you either have to change the buffering type or specify all fields of the generic area. &lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 18:47:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095142#M1705535</guid>
      <dc:creator>schneidertho</dc:creator>
      <dc:date>2012-10-04T18:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Buffering issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095143#M1705536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thorsten,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my scenario I have to fetch all data from a standard ABAP table, So I dont want to change the buffering type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there any better way to get the all data into the internal table without specifying all the fields in the generic key fields. Because in my case field1 is LANGKEY, field2 and field3 values have are all different. I just want to fetch all the data in that table into the internal table without having specify all the generic key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 04:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095143#M1705536</guid>
      <dc:creator>former_member217916</dc:creator>
      <dc:date>2012-10-05T04:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Buffering issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095144#M1705537</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;with this statement we can't access the buffer. Maybe there are not all generic regions in the buffer.&lt;/P&gt;&lt;P&gt;As Thorsten said there is only the two options (changing buffer type, or add the 2nd field). Otherwise we will read from the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 07:17:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095144#M1705537</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2012-10-05T07:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Buffering issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095145#M1705538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright I guess I will have to read from the database only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the prompt response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 08:05:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095145#M1705538</guid>
      <dc:creator>former_member217916</dc:creator>
      <dc:date>2012-10-05T08:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Buffering issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095146#M1705539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the table is buffered, I guess it is not changed frequently. Can you do the analysis and check if the 2nd field of the table has only a limited set of values that is constant in your system? If it is the case, then I think you can build a table of values of the 2nd field and either check if "IN" list is working with the buffer, if not - do multiple SELECT statements with field1 = xxx and field2 = yyy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 08:25:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095146#M1705539</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2012-10-05T08:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Buffering issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095147#M1705540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That did it. Thanks a ton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 12:10:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095147#M1705540</guid>
      <dc:creator>former_member217916</dc:creator>
      <dc:date>2012-10-05T12:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Buffering issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095148#M1705541</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;i assume the multiple select (&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;SELECT statements with field1 = xxx and field2 = yyy.&lt;/SPAN&gt;) worked.... not the in list, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 12:17:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095148#M1705541</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2012-10-05T12:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Buffering issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095149#M1705542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;If it is the case, then I think you can build a table of values of the 2nd field and either check if "IN" &amp;gt;list is working with the buffer&lt;/P&gt;&lt;P&gt;The IN bypasses the buffer, if it contains more than value (there is corresponding code inspector check).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab_field2 INTO wa2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;SELECT statements with field1 = xxx and field2 = wa2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;ENDLOOP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;would work and can be useful, if the values of field2 come from a small customizing table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 11:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095149#M1705542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-08T11:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Buffering issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095150#M1705543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siegfried,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, the 'IN' construct bypasses the buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the idea for using a customizing table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 15:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-buffering-issue/m-p/9095150#M1705543</guid>
      <dc:creator>former_member217916</dc:creator>
      <dc:date>2012-10-08T15:02:33Z</dc:date>
    </item>
  </channel>
</rss>

