<?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: Performance Issue While fetching from BSEG Table. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378751#M8934</link>
    <description>&lt;P&gt;How can we use secondary indexed in my case. Can you explain.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2017 07:59:07 GMT</pubDate>
    <dc:creator>former_member196331</dc:creator>
    <dc:date>2017-01-17T07:59:07Z</dc:date>
    <item>
      <title>Performance Issue While fetching from BSEG Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378747#M8930</link>
      <description>&lt;P&gt;Need Small information. &lt;/P&gt;&lt;P&gt; SELECT * INTO CORRESPONDING FIELDS OF TABLE it_bseg-debit FROM bseg WHERE shkzg EQ 'S' AND umskz EQ 'A' AND ebeln EQ i_ekko-ebeln.&lt;/P&gt;&lt;P&gt;The above Query i am Writing.Based on the Purchase order ebeln. I need to fetch the Data.&lt;BR /&gt;In Development the query is working fine, But in Quality Bseg is having much of data.So, performance is very slow.&lt;/P&gt;&lt;P&gt;In Where condition i mentioned ebeln. Actually i need to pass key fields. For getting key fields also, Again i need to write the query. May i know how could i reduce the time. &lt;BR /&gt;Po number wise i need to fetch data.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 06:03:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378747#M8930</guid>
      <dc:creator>former_member196331</dc:creator>
      <dc:date>2017-01-17T06:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue While fetching from BSEG Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378748#M8931</link>
      <description>&lt;P&gt;Use so called secondary indexes like BSIS/BSAS to read the data, then if some fields are missing you can then read BSEG with primary keys of RFBLG the actual db table. You could also consider using table EKBE to get invoice documents associated to Purchase Orders, filtering on BEWTP to restrict to thoze.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Raymond&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 06:49:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378748#M8931</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2017-01-17T06:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue While fetching from BSEG Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378749#M8932</link>
      <description>&lt;P&gt;Ok, I will check it, EKBE i was forgotton. &lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 06:57:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378749#M8932</guid>
      <dc:creator>former_member196331</dc:creator>
      <dc:date>2017-01-17T06:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue While fetching from BSEG Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378750#M8933</link>
      <description>&lt;P&gt;Avoid using ''CORRESPONDING FIELDS OF..'' Instead&lt;/P&gt;&lt;P&gt;SELECT * FROM bseg INTO TABLE it_bseg-debit  WHERE shkzg EQ 'S' AND umskz EQ 'A' AND ebeln EQ i_ekko-ebeln....&lt;/P&gt;&lt;P&gt;Also, to further enhance the performance use fields instead of 'Select *'&lt;/P&gt;&lt;P&gt;Furthermore you can use secondary indexes.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 07:47:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378750#M8933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-17T07:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue While fetching from BSEG Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378751#M8934</link>
      <description>&lt;P&gt;How can we use secondary indexed in my case. Can you explain.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 07:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378751#M8934</guid>
      <dc:creator>former_member196331</dc:creator>
      <dc:date>2017-01-17T07:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue While fetching from BSEG Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378752#M8935</link>
      <description>&lt;P&gt;It depends on the queries you need to do.&lt;/P&gt;&lt;P&gt;For example my table has the following fields:&lt;/P&gt;&lt;P&gt;KEY1&lt;/P&gt;&lt;P&gt;KEY2&lt;/P&gt;&lt;P&gt;KEY3&lt;/P&gt;&lt;P&gt;FIELD1&lt;/P&gt;&lt;P&gt;FIELD2&lt;/P&gt;&lt;P&gt;FIELD3&lt;/P&gt;&lt;P&gt;If I often need to do a query using FIELD1 and FIELD2, I have to create an index with those two fields.&lt;/P&gt;&lt;P&gt;Every time I do a select like this:&lt;/P&gt;&lt;P&gt;SELECT * FROM &amp;lt;TABLE&amp;gt; WHERE FIELD1 = .....&lt;/P&gt;&lt;P&gt;AND FIELD2 = .....&lt;/P&gt;&lt;P&gt;The index'll be used.&lt;/P&gt;&lt;P&gt;But also if I do:&lt;/P&gt;&lt;P&gt;SELECT * FROM &amp;lt;TABLE&amp;gt; WHERE FIELD1 = .....&lt;/P&gt;&lt;P&gt;The index'll be used partially.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 08:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-fetching-from-bseg-table/m-p/378752#M8935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-17T08:50:11Z</dc:date>
    </item>
  </channel>
</rss>

