<?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 PARAMETERS,SELECT-OPTIONS &amp;RANGES in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-select-options-ranges/m-p/2906243#M683679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHAT IS THE DIFFERENCE BETWEEN PARAMETERS,SELECT-OPTIONS AND RANGES?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2007 15:36:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-15T15:36:13Z</dc:date>
    <item>
      <title>PARAMETERS,SELECT-OPTIONS &amp;RANGES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-select-options-ranges/m-p/2906243#M683679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHAT IS THE DIFFERENCE BETWEEN PARAMETERS,SELECT-OPTIONS AND RANGES?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 15:36:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-select-options-ranges/m-p/2906243#M683679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-15T15:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: PARAMETERS,SELECT-OPTIONS &amp;RANGES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-select-options-ranges/m-p/2906244#M683680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Parameters -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defines Program Parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Objects that you define with this statement can have two functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   1. In executable (type 1) programs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      You can run executable programs using the r SUBMIT statement. The PARAMETERS and SELECT-OPTIONS statements form their interface. This is usually the interface between the program and the user, that is, the parameters and select-options are filled out by the user on the selection screen (see also the NO-DISPLAY addition and the SUBMIT statement without the VIA SELECTION-SCREEN addition).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   2. In any program (apart from a subroutine pool, that is, a program with type S):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Objects in a program, defined on a selection screen that is filled out by the user at runtime. &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variants:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SELECT-OPTIONS sel FOR f.&lt;/P&gt;&lt;P&gt;2. SELECT-OPTIONS sel FOR (f).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declaring a variable selection option&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declares a variable selection option.&lt;/P&gt;&lt;P&gt;Objects defined using this statement can have two purposes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   1. In reports (programs with type 1):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   2. You can execute reports with the SUBMIT statement. The statements SELECT-OPTIONS and PARAMETERS determine the technical interface and the user interface. The parameters and selection options you specify are displayed on the selection screen for the user to enter values (see also the addition NO-DISPLAY or SUBMIT without the addition VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   3. In all programs (except subroutine pools, that is, programs with type S):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   4. Program-internal objects, that are filled at runtime by user input on selection screens. The SELECT-OPTIONS filled in this way can then be used in the WHERE clause of a SELECT statement for selecting data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES sel FOR f.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... OCCURS n&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prohibit RANGES.&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defines an internal table similar to a selection&lt;/P&gt;&lt;P&gt;criterion sel defined using the SELECT-OPTIONS sel FOR f statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above statement is identical to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF sel OCCURS 10,&lt;/P&gt;&lt;P&gt;         SIGN(1),&lt;/P&gt;&lt;P&gt;         OPTION(2),&lt;/P&gt;&lt;P&gt;         LOW  LIKE f,&lt;/P&gt;&lt;P&gt;         HIGH LIKE f,&lt;/P&gt;&lt;P&gt;      END   OF sel.&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the IN operator in conjunction with SUBMIT, CHECK, IF, WHILE or SELECT, always define the associated internal table using SELECT-OPTIONS or RANGES (never directly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... OCCURS n&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changes the OCCURS value 10 to the value of occ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see this link for more details -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/rmtiwari/Resources/Utilities/ABAPReference/ABAPReference.html" target="test_blank"&gt;http://www.geocities.com/rmtiwari/Resources/Utilities/ABAPReference/ABAPReference.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 15:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-select-options-ranges/m-p/2906244#M683680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-15T15:41:08Z</dc:date>
    </item>
  </channel>
</rss>

