<?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: Selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213209#M474304</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;&lt;/P&gt;&lt;P&gt;create one more parameters like that and use as shown below.&lt;/P&gt;&lt;P&gt;PARAMETERS:L_GL LIKE SKB1-SAKNR.&lt;/P&gt;&lt;P&gt;PARAMETERS:H_GL LIKE SKB1-SAKNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from SKB1 into &amp;lt;wa&amp;gt; where SAKNR &amp;gt;= L_GL and SAKNR &amp;lt;=H_GL.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyway the best solution for this is select-options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2007 07:28:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-11T07:28:13Z</dc:date>
    <item>
      <title>Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213205#M474300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;i have an selection statement like&lt;/P&gt;&lt;P&gt;PARAMETERS:GL LIKE SKB1-SAKNR.&lt;/P&gt;&lt;P&gt;Now i need to specify to ranges for this how can i do that like i need to mention in Low-High values at the same time i cannot use the SELECT-OPTIONS statement...please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 07:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213205#M474300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T07:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213206#M474301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Refer the following:&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES rtab FOR dobj [OCCURS n]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Effect&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;Obsolete declaration of a Ranges-table. This statement (not allowed in classes) is a short form of the following statement sequence which is also not allowed in classes: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF rtab OCCURS {10|n}, &lt;/P&gt;&lt;P&gt;        sign   TYPE c LENGTH 1, &lt;/P&gt;&lt;P&gt;        option TYPE c LENGTH 2, &lt;/P&gt;&lt;P&gt;        low    LIKE dobj, &lt;/P&gt;&lt;P&gt;        high   LIKE dobj, &lt;/P&gt;&lt;P&gt;      END OF rtab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An internal table rtab with the structure of a selection table and a header line is declared. Without the addition OCCURS, the initial memory requirement (see DATA - ranges-tables) of the ranges-table is set to ten rows. With the addition OCCURS, you can specify a numeric literal or a numeric constant n to determine a different initial memory requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;It is not allowed to declare internal tables with header lines. Due to this, the statement RANGES is not allowed in header lines. To declare a ranges-table in classes, you can use the addition TYPE|LIKE RANGE OF (see TYPES - ranges-table type and DATA - ranges-tables).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 07:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213206#M474301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T07:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213207#M474302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;use ranges

PARAMETERS:GL LIKE SKB1-SAKNR.

ranges : r_GL for GL.

r_GL-sign = 'I'.
r_GL-option = 'BT'.
r_GL-low = GL.
r_GL-high = ''.
append r_GL.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 07:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213207#M474302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T07:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213208#M474303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to declare a table in the code like the above and have to feed the data of the table manually.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 07:27:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213208#M474303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T07:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213209#M474304</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;&lt;/P&gt;&lt;P&gt;create one more parameters like that and use as shown below.&lt;/P&gt;&lt;P&gt;PARAMETERS:L_GL LIKE SKB1-SAKNR.&lt;/P&gt;&lt;P&gt;PARAMETERS:H_GL LIKE SKB1-SAKNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from SKB1 into &amp;lt;wa&amp;gt; where SAKNR &amp;gt;= L_GL and SAKNR &amp;lt;=H_GL.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyway the best solution for this is select-options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 07:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213209#M474304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T07:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213210#M474305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just go through ranges statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 09:09:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213210#M474305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T09:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213211#M474306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: BEGIN OF NUMBERS, &lt;/P&gt;&lt;P&gt;        ONE   TYPE P VALUE 10, &lt;/P&gt;&lt;P&gt;        TWO   TYPE P VALUE 20, &lt;/P&gt;&lt;P&gt;        THREE TYPE P VALUE 30, &lt;/P&gt;&lt;P&gt;        FOUR  TYPE P VALUE 40, &lt;/P&gt;&lt;P&gt;        FIVE  TYPE P VALUE 50, &lt;/P&gt;&lt;P&gt;      END   OF NUMBERS, &lt;/P&gt;&lt;P&gt;      SUM   TYPE I VALUE 1000, &lt;/P&gt;&lt;P&gt;      INDEX TYPE I. &lt;/P&gt;&lt;P&gt;RANGES SELECTION FOR INDEX. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SIGN   = 'I'. &lt;/P&gt;&lt;P&gt;SELECTION-OPTION = 'BT'. &lt;/P&gt;&lt;P&gt;SELECTION-LOW    = 2. &lt;/P&gt;&lt;P&gt;SELECTION-HIGH   = 4. &lt;/P&gt;&lt;P&gt;APPEND SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ADD NUMBERS-ONE THEN NUMBERS-TWO &lt;/P&gt;&lt;P&gt;                UNTIL NUMBERS-FIVE &lt;/P&gt;&lt;P&gt;                ACCORDING TO SELECTION &lt;/P&gt;&lt;P&gt;                GIVING SUM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM now contains 90. Only the sub-fields TWO to FOUR were selected from the structure NUMBERS and added together. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this mR. Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 09:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection/m-p/2213211#M474306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T09:42:37Z</dc:date>
    </item>
  </channel>
</rss>

