<?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: REG. performance issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-performance-issue/m-p/3684272#M887193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The only suggestion i can give is to run the rerport in background and also put all the key field in order of the table/secondary index in the where condition of your select statements..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Apr 2008 10:16:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-21T10:16:30Z</dc:date>
    <item>
      <title>REG. performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-performance-issue/m-p/3684271#M887192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am having one report with following code i have to change it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_CSSL INTO WA_CSSL.&lt;/P&gt;&lt;P&gt;    LOOP AT IT_AUFK INTO WA_AUFK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       SELECT SINGLE BELNR PERIO WOGBTR MEGBTR OBJNR GJAHR PAROB1 OWAER MEINH MEINB WERKS MATNR BUKRS&lt;/P&gt;&lt;P&gt;             FROM COEP INTO WA_COEP WHERE WRTTP = '04' AND GJAHR = S_GJAHR&lt;/P&gt;&lt;P&gt;                              AND OBJNR = WA_AUFK-OBJNR AND PAROB1 = WA_CSSL-OBJNR.&lt;/P&gt;&lt;P&gt;     IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;       APPEND WA_COEP TO IT_COEP.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i modified with for all entries that also not used like below. the following works for single objnr only for more it  takes more time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT BELNR PERIO WOGBTR MEGBTR OBJNR GJAHR PAROB1 OWAER MEINH MEINB WERKS MATNR BUKRS&lt;/P&gt;&lt;P&gt;             FROM COEP INTO TABLE IT_COEP FOR ALL ENTRIES IN IT_AUFK  WHERE WRTTP = '04' AND GJAHR = S_GJAHR&lt;/P&gt;&lt;P&gt;                              AND OBJNR = IT_AUFK-OBJNR.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_CSSL,WA_COEP1.&lt;/P&gt;&lt;P&gt;LOOP AT IT_CSSL INTO WA_CSSL.&lt;/P&gt;&lt;P&gt;   READ TABLE IT_COEP INTO WA_COEP WITH KEY PAROB1 = WA_CSSL-OBJNR.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        APPEND WA_COEP TO IT_COEP1.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; REFRESH: IT_COEP.&lt;/P&gt;&lt;P&gt; IT_COEP[] = IT_COEP1[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT IT_COEP BY BELNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i create the seondary index  for COEP table with key fields mandt, wrttp, gjahr and objnr that is also not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me for this performance change&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 10:06:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-performance-issue/m-p/3684271#M887192</guid>
      <dc:creator>mohan_subramania</dc:creator>
      <dc:date>2008-04-21T10:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: REG. performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-performance-issue/m-p/3684272#M887193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The only suggestion i can give is to run the rerport in background and also put all the key field in order of the table/secondary index in the where condition of your select statements..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 10:16:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-performance-issue/m-p/3684272#M887193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T10:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: REG. performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-performance-issue/m-p/3684273#M887194</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;Check if IT_AUFK  has duplicate entries before suing FOR ALL ENTRIES to fetch data. aslo check the IT_AUFK is not initial before selecting the data into IT_COEP.&lt;/P&gt;&lt;P&gt;make sure u have data in s_gjahr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 10:33:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-performance-issue/m-p/3684273#M887194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T10:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: REG. performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-performance-issue/m-p/3684274#M887195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i checked that it_aufk is not initial.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 10:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-performance-issue/m-p/3684274#M887195</guid>
      <dc:creator>mohan_subramania</dc:creator>
      <dc:date>2008-04-21T10:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: REG. performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-performance-issue/m-p/3684275#M887196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when u r selecting data from coep &lt;/P&gt;&lt;P&gt;then in the selection criteria u dnt have any promary ker parameter to make selection from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be u dnt have that kind of requirement if you can some how get one then its ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then one more thing that i can suggest you is that just put all the primary key fields in the selection criteria&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and make rages for and and every one and put star in each of them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i knw its the same means gettign all the data but it recudes soem time for fetching records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT   BELNR&lt;/P&gt;&lt;P&gt;                PERIO&lt;/P&gt;&lt;P&gt;                WOGBTR &lt;/P&gt;&lt;P&gt;                MEGBTR &lt;/P&gt;&lt;P&gt;                OBJNR&lt;/P&gt;&lt;P&gt;                GJAHR&lt;/P&gt;&lt;P&gt;                PAROB1&lt;/P&gt;&lt;P&gt;                OWAER&lt;/P&gt;&lt;P&gt;                MEINH&lt;/P&gt;&lt;P&gt;                MEINB &lt;/P&gt;&lt;P&gt;                WERKS&lt;/P&gt;&lt;P&gt;                MATNR&lt;/P&gt;&lt;P&gt;                BUKRS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM COEP INTO TABLE IT_COEP &lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN IT_AUFK &lt;/P&gt;&lt;P&gt;WHERE KOKRS IN R_KOKRS&lt;/P&gt;&lt;P&gt;AND      BELNR  IN R_BELNR&lt;/P&gt;&lt;P&gt;AND      BUZEI   IN  R_BUZEI&lt;/P&gt;&lt;P&gt;AND WRTTP = '04' &lt;/P&gt;&lt;P&gt;AND GJAHR = S_GJAHR&lt;/P&gt;&lt;P&gt;AND OBJNR = IT_AUFK-OBJNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALL THE THREE RANGES WILL HAVE 'I'  'CP'  '' * ' IN IT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND I THINK U R GETTiNG BELNR BEFORE COMING TO THE THIS TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CANT U ENTER BELNR IN THIS AS SELECTION CRITERIA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN AUFK U R GETTING CONTROLLING AREA IF YOU CAN PUT THAT I HTINK IT CAN HELP YOU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN AUFK YOU HAVE ONE MORE FILED  KDAUF ,IN CAN PUT THAT  IN BELNRIN COEP THEN WILL IT HELP YOU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE CHECK ALL THIS ACCORDING TO YOU CRITERIA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOPE IT HELPS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 10:41:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-performance-issue/m-p/3684275#M887196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T10:41:49Z</dc:date>
    </item>
  </channel>
</rss>

