<?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: Data selection from BSEG in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132976#M744361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u please tell me how to use sy-index.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Dec 2007 05:48:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-14T05:48:11Z</dc:date>
    <item>
      <title>Data selection from BSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132972#M744357</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;My requirement is to fetch data from BSEG for whole fiscal year, now problem is that for a single fiscal year there are about 170000 records. Now when i try to select this , i got time exceed error. We also cant inner join or index for BSEG. Is there any way to solve this problem? can we set internally like it will select data inslot like 100000 records at a time? Please suggest me proper solurion..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 05:42:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132972#M744357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T05:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Data selection from BSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132973#M744358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PKB,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try adding the Package size for the internal table , so that only that many records will be fetched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if USeful..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 05:43:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132973#M744358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T05:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Data selection from BSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132974#M744359</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;  Use FOR ALL ENTRIES its performance wise better and pass all the keys.s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  sub_read_bseg&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM sub_read_bseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT it_bsak[] IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Select data from BSEG table&lt;/P&gt;&lt;P&gt;    SELECT belnr&lt;/P&gt;&lt;P&gt;           gjahr&lt;/P&gt;&lt;P&gt;           shkzg&lt;/P&gt;&lt;P&gt;           kostl&lt;/P&gt;&lt;P&gt;           hkont&lt;/P&gt;&lt;P&gt;           ebeln&lt;/P&gt;&lt;P&gt;           ebelp&lt;/P&gt;&lt;P&gt;           FROM bseg&lt;/P&gt;&lt;P&gt;           INTO TABLE it_bseg&lt;/P&gt;&lt;P&gt;           FOR ALL ENTRIES IN it_bsak&lt;/P&gt;&lt;P&gt;           WHERE belnr EQ it_bsak-belnr&lt;/P&gt;&lt;P&gt;           AND   gjahr EQ it_bsak-gjahr&lt;/P&gt;&lt;P&gt;           AND   shkzg EQ 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;*--Sort table by accounting document&lt;/P&gt;&lt;P&gt;      SORT it_bseg BY belnr.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " sub_read_bseg&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;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 05:45:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132974#M744359</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-12-14T05:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Data selection from BSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132975#M744360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make use of sy-index&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 05:45:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132975#M744360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T05:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data selection from BSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132976#M744361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u please tell me how to use sy-index.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 05:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132976#M744361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T05:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Data selection from BSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132977#M744362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of BSEG, try to fetch data from BSAD/BSID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 05:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-from-bseg/m-p/3132977#M744362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T05:49:52Z</dc:date>
    </item>
  </channel>
</rss>

