<?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: select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184907#M126881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;arrenge field in iternal table.....&lt;/P&gt;&lt;P&gt;select aufnr xloek kzear into table&lt;/P&gt;&lt;P&gt;      t_det from resb for all entries in t_comp&lt;/P&gt;&lt;P&gt;                                 where aufnr = t_comp-aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: kishan negi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2006 07:34:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-10T07:34:26Z</dc:date>
    <item>
      <title>select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184906#M126880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I have a select statement and it is taking lot of time.&lt;/P&gt;&lt;P&gt;How can i reduce it?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  select aufnr xloek kzear into corresponding fields of table
      t_det from resb for all entries in t_comp
                                 where aufnr = t_comp-aufnr.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 07:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184906#M126880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-10T07:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184907#M126881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;arrenge field in iternal table.....&lt;/P&gt;&lt;P&gt;select aufnr xloek kzear into table&lt;/P&gt;&lt;P&gt;      t_det from resb for all entries in t_comp&lt;/P&gt;&lt;P&gt;                                 where aufnr = t_comp-aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: kishan negi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 07:34:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184907#M126881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-10T07:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184908#M126882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaki,&lt;/P&gt;&lt;P&gt;use my below code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of wa,&lt;/P&gt;&lt;P&gt;       aufnr like resb-aufnr,&lt;/P&gt;&lt;P&gt;       xloek like resb-xloek,&lt;/P&gt;&lt;P&gt;       kzear like resb-kzear,&lt;/P&gt;&lt;P&gt;      end of wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data itab like table of wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not t_comp is initial.&lt;/P&gt;&lt;P&gt; select aufnr xloek kzear from resb into table itab for all entries in t_comp where aufnr = t_comp-aufnr.&lt;/P&gt;&lt;P&gt;endif.       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 07:38:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184908#M126882</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-02-10T07:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184909#M126883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope t_det has only 3 fields, that are aufnr,xloek,kzear in the same order of select.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if not t_comp[] is initial.
  select aufnr
         xloek
         kzear 
   into  table t_det 
    from resb for all entries in t_comp    
   where aufnr = t_comp-aufnr.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 07:39:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184909#M126883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-10T07:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184910#M126884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the replies.&lt;/P&gt;&lt;P&gt;points alloted&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;kaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 07:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184910#M126884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-10T07:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184911#M126885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If RESB is large, since you aren't using an index, this SELECT will always take a long time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 14:40:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1184911#M126885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-10T14:40:36Z</dc:date>
    </item>
  </channel>
</rss>

