<?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 select statment error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161281#M1370150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All experts,&lt;/P&gt;&lt;P&gt;    i got a problem in select statment about this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select count( * ) into var-verno from nast&lt;/P&gt;&lt;P&gt;                      where objky = nast-objky&lt;/P&gt;&lt;P&gt;                        and kschl = nast-kschl&lt;/P&gt;&lt;P&gt;                        and aende = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Dev system, it works well, but in QAS, it get long time to run this, and then got errors,  can ervery one tell thow deal with this, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2009 08:12:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-07T08:12:53Z</dc:date>
    <item>
      <title>select statment error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161281#M1370150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All experts,&lt;/P&gt;&lt;P&gt;    i got a problem in select statment about this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select count( * ) into var-verno from nast&lt;/P&gt;&lt;P&gt;                      where objky = nast-objky&lt;/P&gt;&lt;P&gt;                        and kschl = nast-kschl&lt;/P&gt;&lt;P&gt;                        and aende = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Dev system, it works well, but in QAS, it get long time to run this, and then got errors,  can ervery one tell thow deal with this, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 08:12:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161281#M1370150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T08:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: select statment error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161282#M1370151</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;What value does nast-objky and nast-kschl hold in the where conditions of the select? Are you populating any value in those before the select? Else it would just take them as blank values and try to get the count of the table records whose aende = 'X' which is not a primary key. That must be the reason why its taking long time in QAS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 08:20:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161282#M1370151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T08:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: select statment error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161283#M1370152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, &lt;/P&gt;&lt;P&gt;both the conditions get values, and i also tested them in database nast by SE11, it can select value from database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don not know why it can not select value in this select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it the database config error, or others?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 08:28:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161283#M1370152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T08:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: select statment error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161284#M1370153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 08:30:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161284#M1370153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T08:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: select statment error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161285#M1370154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;venkat,&lt;/P&gt;&lt;P&gt;please  test ONCE at least if your code is giving syntax error or not. ( count can be added with fieldnames only with come only with DISTINCT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kevin,&lt;/P&gt;&lt;P&gt;dev server has very less data. so you can get it in small time... but in QR or PRD you have too much data.. so that takes time.. and might giving you dump for this &lt;/P&gt;&lt;P&gt;'time out error' - is it so??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do one thing..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select * from nast into table gt_nast "gt_nast is a standard table of type nast
where objky = nast-objky
and kschl = nast-kschl. " i have removed aende.
if sy-subrc = 0.
   delete gt_nast where aende NE 'X'. " deleted  not required entries
   describle table gt_nast lines var-verno.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 08:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161285#M1370154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T08:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: select statment error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161286#M1370155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, it got time out errors,&lt;/P&gt;&lt;P&gt;i will try this, tks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 08:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment-error/m-p/6161286#M1370155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T08:47:34Z</dc:date>
    </item>
  </channel>
</rss>

