<?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 Ranges, Field groups in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936777#M62339</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;&lt;/P&gt;&lt;P&gt;Here i have some doubts, Please clarify these....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. What are ranges? What are number ranges? &lt;/P&gt;&lt;P&gt;2. What is the "component idx of structure" clause with field groups?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2005 17:47:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-28T17:47:43Z</dc:date>
    <item>
      <title>Ranges, Field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936777#M62339</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;&lt;/P&gt;&lt;P&gt;Here i have some doubts, Please clarify these....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. What are ranges? What are number ranges? &lt;/P&gt;&lt;P&gt;2. What is the "component idx of structure" clause with field groups?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2005 17:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936777#M62339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-28T17:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ranges, Field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936778#M62340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ranges are like select-options on the selection screen.  The function the same way without the selection screen. You can use the IN statement with ranges as you can with select-options.  Number ranges are pre-defined ranges of numbers setup to be assigned to certain documents in the system.  For example.  SD Documents have a specific number range set up that when an order is created, it assigns that next available number in the range to the SD document.  You can see these via transaction SNRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compoent idx of structure is used with field symbols for accessing certain parts or components of something else.  More used when you are dealing with dynamic tables and structures.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2005 18:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936778#M62340</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-28T18:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ranges, Field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936779#M62341</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 this link for details about ranges and FieldGroups.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2005 03:49:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936779#M62341</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-29T03:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ranges, Field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936780#M62342</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;use assign component for big structures like bseg&lt;/P&gt;&lt;P&gt;(e.g. for that transfer)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 LOOP AT itab.
  clear str.    
  DO. 
  ASSIGN COMPONENT sy-index OF STRUCTURE itab TO &amp;lt;fw&amp;gt;. 
  IF sy-subrc &amp;lt;&amp;gt; 0.        EXIT.      ENDIF.     
   CONCATENATE str &amp;lt;fw&amp;gt; INTO str SEPARATED BY space.    
  ENDDO.   
 transfer str to file. 
 ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2005 06:08:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936780#M62342</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-07-29T06:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ranges, Field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936781#M62343</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;A hint on Number Ranges:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tcode SNRO us used for maintaining number ranges. &lt;/P&gt;&lt;P&gt;The 'NUMBER_GET_NEXT' FM Gets the next unique number in a number range. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While Range is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RANGES sel FOR f.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Which is similar to:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF sel OCCURS 10,
         SIGN(1),
         OPTION(2),
         LOW  LIKE f,
         HIGH LIKE f,
      END   OF sel.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2005 06:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936781#M62343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-29T06:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ranges, Field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936782#M62344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deleted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Manohar Reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 06:35:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936782#M62344</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-29T06:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ranges, Field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936783#M62345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Surya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form&lt;/P&gt;&lt;P&gt;RANGES sel FOR f. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Defines an internal table similar to a selection 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;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&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;... OCCURS occ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&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;Field Groups&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form&lt;/P&gt;&lt;P&gt;FIELD-GROUPS fg. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Defines a field group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A field group combines several existing fields together under one name. You use the INSERT statement to determine which fields belong to a field group at runtime. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-GROUPS: HEADER, ORDER, PRODUCT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Neither defining a field group (statically) using FIELD-GROUPS nor filling a field group (dynamically) with INSERT generates more memory. Rather, there exists for each field group element a pointer to an (existing) field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;  clear str.    &lt;/P&gt;&lt;P&gt;  DO. &lt;/P&gt;&lt;P&gt;  ASSIGN COMPONENT sy-index OF STRUCTURE itab TO &amp;lt;fw&amp;gt;. &lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.        EXIT.      ENDIF.     &lt;/P&gt;&lt;P&gt;   CONCATENATE str &amp;lt;fw&amp;gt; INTO str SEPARATED BY space.    &lt;/P&gt;&lt;P&gt;  ENDDO.   &lt;/P&gt;&lt;P&gt; transfer str to file. &lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 06:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936783#M62345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T06:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ranges, Field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936784#M62346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Rich Heilman.&lt;/P&gt;&lt;P&gt;This question &amp;lt;u&amp;gt;Have you used "component idx of structure" clause with field groups? &amp;lt;/u&amp;gt; puzzles me. After reading your answer, I think this question should be '&amp;lt;b&amp;gt;with field symbols&amp;lt;/b&amp;gt;'. Am I right?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;feng.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        feng zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2007 01:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges-field-groups/m-p/936784#M62346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-23T01:59:03Z</dc:date>
    </item>
  </channel>
</rss>

