<?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 single with ranges in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087131#M732165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purpose of 'select single' is fetching single row and for that it is recomendable to provide values with '=' of primery keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, you are using range, so it has chance to fetch more than one rows at a time;&lt;/P&gt;&lt;P&gt;and which is not applicable in 'select single'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here you use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select &amp;lt;filed names&amp;gt; up to 1 rows......&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krishnendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2007 06:29:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-29T06:29:48Z</dc:date>
    <item>
      <title>select single with ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087129#M732163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello pls look at thuis statement its thrwoing dump,&lt;/P&gt;&lt;P&gt;select single yygdatum yygdebitor yygvertrnr yygnachtnr yygpreisab yygpreisbi FROM&lt;/P&gt;&lt;P&gt;ygvabbv_30 INTO  wa_ygvabbv_30_new&lt;/P&gt;&lt;P&gt;WHERE yygdebitor = wa_veda-yygdebitor AND&lt;/P&gt;&lt;P&gt;yygvertpos IN r1_vertpos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since the value in ranges is 0,&lt;/P&gt;&lt;P&gt;can anybody suggest me wht 2 do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnkx&lt;/P&gt;&lt;P&gt;bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 06:24:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087129#M732163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T06:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: select single with ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087130#M732164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you are using IN ranges should not be a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single yygdatum yygdebitor yygvertrnr yygnachtnr yygpreisab yygpreisbi FROM&lt;/P&gt;&lt;P&gt;ygvabbv_30 INTO CORRESPONDING FIELDS OF wa_ygvabbv_30_new&lt;/P&gt;&lt;P&gt;WHERE yygdebitor = wa_veda-yygdebitor AND&lt;/P&gt;&lt;P&gt;yygvertpos IN r1_vertpos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 06:27:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087130#M732164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T06:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: select single with ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087131#M732165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purpose of 'select single' is fetching single row and for that it is recomendable to provide values with '=' of primery keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, you are using range, so it has chance to fetch more than one rows at a time;&lt;/P&gt;&lt;P&gt;and which is not applicable in 'select single'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here you use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select &amp;lt;filed names&amp;gt; up to 1 rows......&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krishnendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 06:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087131#M732165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T06:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: select single with ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087132#M732166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My problem is i am not getting any value in ranges thats y its throwing dump!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anybody suggest me for that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 06:30:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087132#M732166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T06:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: select single with ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087133#M732167</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;we use range table like this..cehck how u have done&lt;/P&gt;&lt;P&gt;Ranges: bukrs for zstock-bukrs. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;The difference is, because ranges doesn't show on the selection screen, you will have to fill it yourself, meaning you will have to fill bukrs-sign, bukrs-option, bukrs-low &amp;amp; bukrs-high all manually. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Some tips: &lt;/P&gt;&lt;P&gt;Sign is always I (for Include) or E (for Exclude) &lt;/P&gt;&lt;P&gt;Option can be a whole range, which includes: &lt;/P&gt;&lt;P&gt;EQ        (Equal)  &lt;/P&gt;&lt;P&gt;BT        (Between))  &lt;/P&gt;&lt;P&gt;CP        (Contain Pattern) &lt;/P&gt;&lt;P&gt;So let's say you want to have the range check for all company codes not starting with AB, you will set your code as follow: &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;ranges: bukrs for zstock-bukrs. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;bukrs-sign = 'E'.             "Exclude &lt;/P&gt;&lt;P&gt;bukrs-option = 'CP'.        "Pattern &lt;/P&gt;&lt;P&gt;bukrs-low = 'AB*'.            "Low Value &lt;/P&gt;&lt;P&gt;bukrs-high = ''.                "High Value &lt;/P&gt;&lt;P&gt;append bukrs. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Always remember to APPEND your range when you fill it, as the WHERE clause checks against the lines of the range table, not against the header line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare the workarea wa_ygvabbv_30_new with the sequence in which u have selected from the fields from the table....Now u won't get any dump..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 06:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087133#M732167</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-11-29T06:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: select single with ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087134#M732168</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;If you want the code not to be executed if the ranges doesn't have any value,&lt;/P&gt;&lt;P&gt;use the statements as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not r1_vertpos[] is initial.&lt;/P&gt;&lt;P&gt;select single yygdatum yygdebitor yygvertrnr yygnachtnr yygpreisab yygpreisbi FROM&lt;/P&gt;&lt;P&gt;ygvabbv_30 INTO wa_ygvabbv_30_new&lt;/P&gt;&lt;P&gt;WHERE yygdebitor = wa_veda-yygdebitor AND&lt;/P&gt;&lt;P&gt;yygvertpos IN r1_vertpos.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don't think the dump is coming because there is no value in range.Check the statements you used for populating ranges are correct.&lt;/P&gt;&lt;P&gt;You should have used sign,option,high and low in that properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;    r1_vertpos-sign = 'I'.&lt;/P&gt;&lt;P&gt;    r1_vertpos-option = 'EQ'.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;    append r1_vertpos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 06:37:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087134#M732168</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-11-29T06:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: select single with ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087135#M732169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bhanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u please paste the DUMP Text and the Data Declaration of wa_ygvabbv_30_new ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saekt Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 06:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087135#M732169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T06:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: select single with ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087136#M732170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have declared the ranges correctly &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dump is coming for this select itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 07:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087136#M732170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T07:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: select single with ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087137#M732171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DUMP TEXT---&amp;gt;CNT ACCEPT '  '  IN RANGES &lt;/P&gt;&lt;P&gt;THAT IS VALUE IN DUMP IS COMING NULL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 07:20:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-with-ranges/m-p/3087137#M732171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T07:20:38Z</dc:date>
    </item>
  </channel>
</rss>

