<?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 ABAP code tuning in BW extractor in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-tuning-in-bw-extractor/m-p/3701923#M891307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am enhancing a purchasing BW extractor to get Pricing details for a PO and its Item  . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The  ABAP code in the user exit is similar to this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select SINGLE knumh from &lt;STRONG&gt;A016&lt;/STRONG&gt; INTO T_KNUMH1&lt;/P&gt;&lt;P&gt;  WHERE EVRTN = EKPO-KONNR&lt;/P&gt;&lt;P&gt;  AND EVRTP = EKPO-KTPNR&lt;/P&gt;&lt;P&gt;  AND ( DATAB LE EKPO-AEDAT AND&lt;/P&gt;&lt;P&gt;  DATBI GE EKPO-AEDAT ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is &lt;STRONG&gt;A016&lt;/STRONG&gt; is a pooled table and when i check in SM50 while this user exit is running the code hangs in KAPOL ( Table pool) for a long time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are having long times during data loads. Does anyone know how to tune this code or any other tables from which i can take pricing related to purchasing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2008 16:04:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-14T16:04:39Z</dc:date>
    <item>
      <title>ABAP code tuning in BW extractor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-tuning-in-bw-extractor/m-p/3701923#M891307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am enhancing a purchasing BW extractor to get Pricing details for a PO and its Item  . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The  ABAP code in the user exit is similar to this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select SINGLE knumh from &lt;STRONG&gt;A016&lt;/STRONG&gt; INTO T_KNUMH1&lt;/P&gt;&lt;P&gt;  WHERE EVRTN = EKPO-KONNR&lt;/P&gt;&lt;P&gt;  AND EVRTP = EKPO-KTPNR&lt;/P&gt;&lt;P&gt;  AND ( DATAB LE EKPO-AEDAT AND&lt;/P&gt;&lt;P&gt;  DATBI GE EKPO-AEDAT ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is &lt;STRONG&gt;A016&lt;/STRONG&gt; is a pooled table and when i check in SM50 while this user exit is running the code hangs in KAPOL ( Table pool) for a long time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are having long times during data loads. Does anyone know how to tune this code or any other tables from which i can take pricing related to purchasing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 16:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-tuning-in-bw-extractor/m-p/3701923#M891307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T16:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP code tuning in BW extractor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-tuning-in-bw-extractor/m-p/3701924#M891308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     can you check the table : EKBO is this helpfull for you??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 16:21:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-tuning-in-bw-extractor/m-p/3701924#M891308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T16:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP code tuning in BW extractor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-tuning-in-bw-extractor/m-p/3701925#M891309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you look for the check tables for KONNR and KTPNR, it is EKKO and EKPO itself. that means, there shud be an entry in EKKO with your required KONNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so why dont you pick the knumv from EKKO itself ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select knumv from ekko where ebeln = ekpo-konnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, do whatever further selections you want to do, using this KNUMV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;knumv = a016-knumh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no need to do select from a016 at all, as we already have KNUMV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 17:11:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-tuning-in-bw-extractor/m-p/3701925#M891309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T17:11:03Z</dc:date>
    </item>
  </channel>
</rss>

