<?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 Performance improving in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991905#M1162745</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;I have written a select statement. It takes more time for execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eq: I am selecting GL acounts from SKB1 based on company code and Open Item management set = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After getting GL Accounts from SKB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find out the record in BSIS for each GL Account. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;based on selection Company code , GL account for all entries from SKB1 and Document Number of the Clearing Document (AUGBL) NE  space. In this BSIS table, if any one entry satisfies the condition i have to say Failure else success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;taking data from BSIS is taking long time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performance getting affected. hw can I incrs the performace?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2009 05:43:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-07T05:43:29Z</dc:date>
    <item>
      <title>Performance improving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991905#M1162745</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;I have written a select statement. It takes more time for execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eq: I am selecting GL acounts from SKB1 based on company code and Open Item management set = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After getting GL Accounts from SKB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find out the record in BSIS for each GL Account. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;based on selection Company code , GL account for all entries from SKB1 and Document Number of the Clearing Document (AUGBL) NE  space. In this BSIS table, if any one entry satisfies the condition i have to say Failure else success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;taking data from BSIS is taking long time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performance getting affected. hw can I incrs the performace?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 05:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991905#M1162745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T05:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991906#M1162746</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;do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 if not it_skb1[] is initial.

  SELECT bukrs
           hkont
           augdt
           augbl
           zuonr
           gjahr
           belnr
           buzei
           blart
           auggj
        FROM   bsas
    INTO  TABLE it_bsas
    FOR ALL ENTRIES IN it_skb1
    WHERE  bukrs = it_skb1-bukrs   AND
           hkont = it_skb1-hkont .

endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 05:48:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991906#M1162746</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2009-01-07T05:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991907#M1162747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection from BSIS should not give you problem since you are passing 3 primary keys of the table.&lt;/P&gt;&lt;P&gt;Could you please pass your piece of code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 05:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991907#M1162747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T05:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991908#M1162748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.Before fetching data from BSIS check whether SKB1 table is not initial..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if skb1 is not initial.&lt;/P&gt;&lt;P&gt;select ....from BSIS..&lt;/P&gt;&lt;P&gt;end if..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.After getting the data from BSIS,&lt;/P&gt;&lt;P&gt;check the sy-subrc and then proceed.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;endif..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 05:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991908#M1162748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T05:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991909#M1162749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can provide us the code, then we can comment on it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my issue is with &lt;STRONG&gt;Fiscal year (BSIS-GJAHR)&lt;/STRONG&gt; not being used. If you are not using it, the query will search for all the Fiscal Yrs and it will take time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 06:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991909#M1162749</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-07T06:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991910#M1162750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it wud be better if u provide us with ur code.&lt;/P&gt;&lt;P&gt;anyways if u  using For all entries replace it with inner joins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they are much better in performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 06:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991910#M1162750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T06:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991911#M1162751</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;While selecting data from the table BSAS, select all primary keys and also use FOR ALL ENTRIES statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jyothi CH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 06:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991911#M1162751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T06:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991912#M1162752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to check for one entry alone use 'UPTO 1 ROWS' statement in your select query this improves the performance of your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is like this......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT XXX from BSIS&lt;/P&gt;&lt;P&gt; up to 1 rows&lt;/P&gt;&lt;P&gt; for all etries in GL&lt;/P&gt;&lt;P&gt;where gl = ..........&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAILURE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUCCESS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 06:16:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991912#M1162752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T06:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991913#M1162753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if it_skb1[] is not initial.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  SELECT  F1 F2 ...       FROM   bsis&lt;/P&gt;&lt;P&gt;  INTO  TABLE it_bsis&lt;/P&gt;&lt;P&gt;  FOR ALL ENTRIES IN it_skb1&lt;/P&gt;&lt;P&gt;  WHERE  bukrs = it_skb1-bukrs  &lt;/P&gt;&lt;P&gt;  AND   hkont = it_skb1-hkont&lt;/P&gt;&lt;P&gt;  AND  AUGBL NE '  '.&lt;/P&gt;&lt;P&gt;  If sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      Failure message&lt;/P&gt;&lt;P&gt;  ELSE&lt;/P&gt;&lt;P&gt;      Success msg&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 06:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991913#M1162753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T06:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991914#M1162754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhavi,&lt;/P&gt;&lt;P&gt;Can i use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single statement within SKB1 internal table loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eq: Get the Gl Acc from SKB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at skb1.&lt;/P&gt;&lt;P&gt;select single hknot from bsis for where condition.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 06:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improving/m-p/4991914#M1162754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T06:41:34Z</dc:date>
    </item>
  </channel>
</rss>

