<?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 tunning in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580501#M861989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: begin of it_bseg1 occurs 0,&lt;/P&gt;&lt;P&gt;ZUONR type ZUONR&lt;/P&gt;&lt;P&gt;BELNR type BELNR&lt;/P&gt;&lt;P&gt;BUZEI...&lt;/P&gt;&lt;P&gt; LIFNR ...&lt;/P&gt;&lt;P&gt;KUNNR ..&lt;/P&gt;&lt;P&gt;GSBER.. &lt;/P&gt;&lt;P&gt;PRCTR ..&lt;/P&gt;&lt;P&gt;KOSTL&lt;/P&gt;&lt;P&gt; SGTXT &lt;/P&gt;&lt;P&gt;SHKZG &lt;/P&gt;&lt;P&gt;DMBTR &lt;/P&gt;&lt;P&gt;BUKRS&lt;/P&gt;&lt;P&gt;GJAHR &lt;/P&gt;&lt;P&gt;HKONT&lt;/P&gt;&lt;P&gt;end of it_bseg1.&lt;/P&gt;&lt;P&gt;data: itab_bkpf like standard table of it_bkpf1.&lt;/P&gt;&lt;P&gt;if it_bkpf1[] is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab_bkpf[] = it_bkpf1[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete adjecent duplicates from itab_bkpf comparing belnr bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab_bjkf by belnr bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT ZUONR BELNR BUZEI LIFNR KUNNR GSBER PRCTR KOSTL SGTXT SHKZG DMBTR BUKRS GJAHR HKONT&lt;/P&gt;&lt;P&gt;FROM BSEG INTO  TABLE IT_BSEG1&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN IT_BKPF1&lt;/P&gt;&lt;P&gt;WHERE GJAHR IN FYEAR AND&lt;/P&gt;&lt;P&gt;BELNR = IT_BKPF1-BELNR AND BUKRS = IT_BKPF1-BUKRS.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please define your internal table in same sequence as their field in query.&lt;/P&gt;&lt;P&gt;reward if helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and please be specify what error you r getting..in dump..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Mar 2008 09:43:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-26T09:43:20Z</dc:date>
    <item>
      <title>performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580499#M861987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi abaper's &lt;/P&gt;&lt;P&gt;                   i am having the problem in this query   &lt;/P&gt;&lt;P&gt;SELECT ZUONR BELNR  BUZEI LIFNR KUNNR GSBER PRCTR KOSTL SGTXT SHKZG DMBTR BUKRS GJAHR HKONT&lt;/P&gt;&lt;P&gt;          FROM BSEG INTO CORRESPONDING FIELDS OF TABLE IT_BSEG1&lt;/P&gt;&lt;P&gt;          FOR ALL ENTRIES IN IT_BKPF1&lt;/P&gt;&lt;P&gt;          WHERE  GJAHR IN FYEAR AND&lt;/P&gt;&lt;P&gt;          BELNR = IT_BKPF1-BELNR AND BUKRS = IT_BKPF1-BUKRS.&lt;/P&gt;&lt;P&gt;please give me best way to write this select query.&lt;/P&gt;&lt;P&gt;this query is giving me dump error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks &lt;/P&gt;&lt;P&gt;pardeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 07:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580499#M861987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T07:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580500#M861988</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;Remove INTO Corresponding Fields and also sequence of the fields shoudl be same in ITAB with table position &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF IT_BSEG1 is having duplicate entries then move the same into IT_BSEG2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_BSEG2 delete duplicate entreis from it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USE index for the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 07:36:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580500#M861988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T07:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580501#M861989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: begin of it_bseg1 occurs 0,&lt;/P&gt;&lt;P&gt;ZUONR type ZUONR&lt;/P&gt;&lt;P&gt;BELNR type BELNR&lt;/P&gt;&lt;P&gt;BUZEI...&lt;/P&gt;&lt;P&gt; LIFNR ...&lt;/P&gt;&lt;P&gt;KUNNR ..&lt;/P&gt;&lt;P&gt;GSBER.. &lt;/P&gt;&lt;P&gt;PRCTR ..&lt;/P&gt;&lt;P&gt;KOSTL&lt;/P&gt;&lt;P&gt; SGTXT &lt;/P&gt;&lt;P&gt;SHKZG &lt;/P&gt;&lt;P&gt;DMBTR &lt;/P&gt;&lt;P&gt;BUKRS&lt;/P&gt;&lt;P&gt;GJAHR &lt;/P&gt;&lt;P&gt;HKONT&lt;/P&gt;&lt;P&gt;end of it_bseg1.&lt;/P&gt;&lt;P&gt;data: itab_bkpf like standard table of it_bkpf1.&lt;/P&gt;&lt;P&gt;if it_bkpf1[] is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab_bkpf[] = it_bkpf1[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete adjecent duplicates from itab_bkpf comparing belnr bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab_bjkf by belnr bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT ZUONR BELNR BUZEI LIFNR KUNNR GSBER PRCTR KOSTL SGTXT SHKZG DMBTR BUKRS GJAHR HKONT&lt;/P&gt;&lt;P&gt;FROM BSEG INTO  TABLE IT_BSEG1&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN IT_BKPF1&lt;/P&gt;&lt;P&gt;WHERE GJAHR IN FYEAR AND&lt;/P&gt;&lt;P&gt;BELNR = IT_BKPF1-BELNR AND BUKRS = IT_BKPF1-BUKRS.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please define your internal table in same sequence as their field in query.&lt;/P&gt;&lt;P&gt;reward if helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and please be specify what error you r getting..in dump..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 09:43:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580501#M861989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T09:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580502#M861990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Sort the it_bseg1 table before using for all entries.&lt;/P&gt;&lt;P&gt;    Check  it_bseg1 table is not initial.&lt;/P&gt;&lt;P&gt;    avoid into corresponding.&lt;/P&gt;&lt;P&gt;    check the sequence of fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srikanth.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 13:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580502#M861990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T13:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580503#M861991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What type of dump you are getting ? Is it memory dump or time out dump ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First thing is BKPF-BSEG tables should be be heat unless there is absolute necessity of doing that. Discuss with your functional consultant and try to use other tables like BSIS, BSID etc etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not try the suggestions given by others like sort the driver table before select etc etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are getting memory dump, you might have to mention the fetch size and restrict the size of the internal table processed - this might take some more time but won't give memory dump.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 14:16:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580503#M861991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T14:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580504#M861992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 10:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/3580504#M861992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T10:42:40Z</dc:date>
    </item>
  </channel>
</rss>

