<?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 - endselect in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045555#M421174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear all,i manage to figure out the problem d..some of the storage location din get hard coded..thanks anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2007 05:53:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-26T05:53:47Z</dc:date>
    <item>
      <title>select - endselect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045549#M421168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,i have this statment&lt;/P&gt;&lt;P&gt;select  * from mkol where matnr eq intab-matnr and lgort in tem.&lt;/P&gt;&lt;P&gt; if.....endif.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;and it is working fine,but if i use the following statement,then it str8 go to endselect without go thru the if endif block.&lt;/P&gt;&lt;P&gt;select  * from mkol where matnr eq intab-matnr and lgort in tem and not lgort in temc and not logrt in tempd.&lt;/P&gt;&lt;P&gt;if....endif.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wat has gone wrong? previously i used in other program,it works,but this time it din work...pls help..thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 05:34:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045549#M421168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T05:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: select - endselect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045550#M421169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think for the 2nd select no data are found so it is not going through the select endselect loop. just check it in debug mode the value of sy-subrc and whether any data is fetching or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 05:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045550#M421169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T05:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: select - endselect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045551#M421170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it din fetch any data,but infact there's one record to be fetched..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 05:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045551#M421170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T05:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: select - endselect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045552#M421171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so it is not oing through the if end if..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just check your where condition..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are temc tempd are they select-options?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 05:46:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045552#M421171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T05:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: select - endselect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045553#M421172</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;check whether ur condition is satisfing ur record or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 05:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045553#M421172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T05:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: select - endselect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045554#M421173</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;  this is a thread exactly similar to your case posted yesterday..within select...endselect, if sy-subrc ne 0, it will not chk the conditions as every time, select..endselect begins with sy-subrc 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="356431"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 05:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045554#M421173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T05:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: select - endselect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045555#M421174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear all,i manage to figure out the problem d..some of the storage location din get hard coded..thanks anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 05:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045555#M421174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T05:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: select - endselect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045556#M421175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Reason is your select statement returning the SY-SUBRC NE 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mkol where matnr eq intab-matnr&lt;/P&gt;&lt;P&gt;                                  and lgort in tem&lt;/P&gt;&lt;P&gt;                                  and not ( lgort in temc &lt;/P&gt;&lt;P&gt;                                                and logrt in tempd.&lt;/P&gt;&lt;P&gt;if....endif.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 06:01:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect/m-p/2045556#M421175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T06:01:22Z</dc:date>
    </item>
  </channel>
</rss>

