<?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: Help with a select in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001517#M407471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;If you want to keep endselet then remove table keywod in select stmnt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2007 15:01:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-21T15:01:50Z</dc:date>
    <item>
      <title>Help with a select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001512#M407466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this is a dumb question but I can't figure out why this select statement gives me a syntax error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT mblnr budat mjahr from mkpf INTO CORRESPONDING FIELDS OF table it_docnum
     WHERE budat IN s_budat.
ENDSELECT.     &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 14:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001512#M407466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T14:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001513#M407467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;drop the endselect.. you don't need it with inTO table option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT mblnr budat mjahr from mkpf INTO CORRESPONDING FIELDS OF table it_docnum&lt;/P&gt;&lt;P&gt;     WHERE budat IN s_budat.&lt;/P&gt;&lt;P&gt;is enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 14:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001513#M407467</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-03-21T14:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001514#M407468</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; No need of &amp;lt;b&amp;gt;ENDSELECT&amp;lt;/b&amp;gt; as you are passing into internal tbale by saying &amp;lt;b&amp;gt;into table&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 14:59:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001514#M407468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T14:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001515#M407469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Davis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;remove ENDSELECT statment ..&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>Wed, 21 Mar 2007 15:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001515#M407469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T15:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001516#M407470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all for your help.  When do you use an endselect?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 15:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001516#M407470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T15:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001517#M407471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;If you want to keep endselet then remove table keywod in select stmnt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 15:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001517#M407471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T15:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001518#M407472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you are &amp;lt;u&amp;gt;not&amp;lt;/u&amp;gt; selecting the records using the primary key and you are &amp;lt;u&amp;gt;not&amp;lt;/u&amp;gt; moving the selected records into an internal table in one single shot by using INTO TABLE option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 15:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001518#M407472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T15:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001519#M407473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;refer this &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/endselec.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/endselec.htm&lt;/A&gt;&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>Wed, 21 Mar 2007 15:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001519#M407473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T15:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001520#M407474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Davis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  When you are passing records into an internal table by using INTO TABLE or &lt;/P&gt;&lt;P&gt;  when you are using SELECT SINGLE , then there is no need of ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 15:03:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001520#M407474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T15:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001521#M407475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one more is,&lt;/P&gt;&lt;P&gt;better avoid &amp;lt;b&amp;gt;into corresponding fields&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that the order of field in internal table and select statement must be same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it_docnum occurs 0,&lt;/P&gt;&lt;P&gt;        mblnr like mkpf-mblnr,&lt;/P&gt;&lt;P&gt;        budat like mkpf-budat,&lt;/P&gt;&lt;P&gt;        mjahr like mkpf-mjahr,&lt;/P&gt;&lt;P&gt;     end of it_docnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT mblnr&lt;/P&gt;&lt;P&gt;             budat&lt;/P&gt;&lt;P&gt;            mjahr&lt;/P&gt;&lt;P&gt;           from mkpf INTO  table it_docnum&lt;/P&gt;&lt;P&gt;     WHERE budat IN s_budat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 15:04:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001521#M407475</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2007-03-21T15:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001522#M407476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot to everybody for all of your help!  I apologize for the dumb, easy question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 15:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001522#M407476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T15:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001523#M407477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Santhosh, that answers the question of why I wasn't getting any records!  I would love to reward you points for this but I'm all out for this question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 15:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-select/m-p/2001523#M407477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T15:07:58Z</dc:date>
    </item>
  </channel>
</rss>

