<?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 enhance processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566141#M255793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in which module u are working right now ? So we can give different option based on the module.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Sep 2006 09:17:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-08T09:17:57Z</dc:date>
    <item>
      <title>how to enhance processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566140#M255792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to select info from table mseg , bkpf. ( anyway I am more familiar with HR module )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link (told by my functional guy) is via &lt;/P&gt;&lt;P&gt;bkpf-awkey = mseg-mblnr + mseg-mjhar  &lt;/P&gt;&lt;P&gt;and company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then with the doc no from bkpf to retrieve bseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The process is very slow. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any tips for enhanceing the process, is this the only link?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 09:13:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566140#M255792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T09:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to enhance processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566141#M255793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in which module u are working right now ? So we can give different option based on the module.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 09:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566141#M255793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T09:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to enhance processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566142#M255794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The process will be very slow due to very large amount of data in that tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway if posiible - use primary keys or indexes in your &lt;/P&gt;&lt;P&gt;Where condition of your select statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YOu can also check your requirement for data retrival form bseg and if possible use table with another indexin (BSID, BSIK, BSAD etc..... )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&amp;lt; Jacek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jacek Slowikowski&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 09:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566142#M255794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T09:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to enhance processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566143#M255795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rather how to check for the right index?&lt;/P&gt;&lt;P&gt;any example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: SG Duxton&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 09:23:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566143#M255795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T09:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to enhance processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566144#M255796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in se11 transaction when viewing the table you can also view indexes for it.&lt;/P&gt;&lt;P&gt;Tu use them simly you have to use that filds in you where statemnt with '=' operator,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example TABLE 1. has index fot fields (a1,a5, a8)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in your select you should have...&lt;/P&gt;&lt;P&gt;select (field list) from TABLE wher&lt;/P&gt;&lt;P&gt;a1 = somenthing and&lt;/P&gt;&lt;P&gt;a5 = something and&lt;/P&gt;&lt;P&gt;a8 = somenthing and..&lt;/P&gt;&lt;P&gt;rest of needed conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&amp;lt; JAcek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 09:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566144#M255796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T09:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to enhance processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566145#M255797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you have defined the link between the MSEG and BKPF table ...the information is part of primary key of the table so it should not make much difference with using any other index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MSEG (Key)&lt;/P&gt;&lt;P&gt;MBLNR+MJAHR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BKPF (Key)&lt;/P&gt;&lt;P&gt;BUKRS&lt;EM&gt;BELNR&lt;/EM&gt;GJAHR&lt;/P&gt;&lt;P&gt;AWKEY = BELNR &amp;amp; BUKRS &amp;amp; GJAHR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest to fetch the data from MSEG into internal table for the filtered range and use the FOR ALL ENTRIES to get data from BKPF and BSEG tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example ---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select MBLNR MJAHR into table itab from mseg&lt;/P&gt;&lt;P&gt;where {filters)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select awkey belnr bukrs gjahr into table itab1 from bkpf&lt;/P&gt;&lt;P&gt;for all entries in itab&lt;/P&gt;&lt;P&gt;where belnr = itab-mblnr&lt;/P&gt;&lt;P&gt;and gjahr = itab-mjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;later you cane select from bseg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 09:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566145#M255797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T09:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to enhance processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566146#M255798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You just have to add &amp;lt;b&amp;gt;BKPF-AWTYP&amp;lt;/b&amp;gt; to the select you have. The value you want &amp;lt;b&amp;gt;may&amp;lt;/b&amp;gt; be BKPF-AWTYP = 'MKPF'. This will allow you to use the index that's there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 13:35:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enhance-processing/m-p/1566146#M255798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T13:35:22Z</dc:date>
    </item>
  </channel>
</rss>

