<?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: converting values in internal table to range values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-in-internal-table-to-range-values/m-p/3875662#M931591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make a range table (TYPE RANGE OF) with SIGN, OPTION, LOW and HIGH fields, loop through your itab, and for each value of the field you're interested in, create a record in the range table with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-SIGN = 'I'&lt;/P&gt;&lt;P&gt;-OPTION = 'EQ'&lt;/P&gt;&lt;P&gt;-LOW = &lt;EM&gt;field value&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;-HIGH = &lt;EM&gt;blank&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 May 2008 11:57:49 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2008-05-26T11:57:49Z</dc:date>
    <item>
      <title>converting values in internal table to range values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-in-internal-table-to-range-values/m-p/3875661#M931590</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;     Can anyone tell me how to convert values in a field on an internal table into range? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 11:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-in-internal-table-to-range-values/m-p/3875661#M931590</guid>
      <dc:creator>suhaskrishna_sondur</dc:creator>
      <dc:date>2008-05-26T11:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: converting values in internal table to range values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-in-internal-table-to-range-values/m-p/3875662#M931591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make a range table (TYPE RANGE OF) with SIGN, OPTION, LOW and HIGH fields, loop through your itab, and for each value of the field you're interested in, create a record in the range table with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-SIGN = 'I'&lt;/P&gt;&lt;P&gt;-OPTION = 'EQ'&lt;/P&gt;&lt;P&gt;-LOW = &lt;EM&gt;field value&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;-HIGH = &lt;EM&gt;blank&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 11:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-in-internal-table-to-range-values/m-p/3875662#M931591</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-05-26T11:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: converting values in internal table to range values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-in-internal-table-to-range-values/m-p/3875663#M931592</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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Declaration of ranges&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data: r_extid type range of TABLENAME,&lt;/P&gt;&lt;P&gt;      r_exitid_l like line of r_extid.&lt;/P&gt;&lt;P&gt;Now loop on your internal table:&lt;/P&gt;&lt;P&gt;loop at it_itab into wa_itab.&lt;/P&gt;&lt;P&gt;  r_exitid_l-sign = 'I'.&lt;/P&gt;&lt;P&gt;  r_exitid_l-OPTION = 'EQ'.&lt;/P&gt;&lt;P&gt;  r_exitid_l-LOW = wa_itab-FIELDNAME.&lt;/P&gt;&lt;P&gt;  r_exitid_l-high = ' '.&lt;/P&gt;&lt;P&gt;  append r_exitid_l to r_extid.&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;Hope this is helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 12:06:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-in-internal-table-to-range-values/m-p/3875663#M931592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T12:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: converting values in internal table to range values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-in-internal-table-to-range-values/m-p/3875664#M931593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Make a range table (TYPE RANGE OF) with SIGN, OPTION, LOW and HIGH fields, loop through your itab, or take BAPI structure for the range...for every field der will be range structure...den u can use that as IT...search for structure first ...for range...if not available...den go for Range Of.....and for each value of the field you're interested in, create a record in the range table with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-SIGN = 'I'&lt;/P&gt;&lt;P&gt;-OPTION = 'EQ' &lt;/P&gt;&lt;P&gt;-LOW = field value..&lt;/P&gt;&lt;P&gt;-HIGH = field value...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;anilreddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 12:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-in-internal-table-to-range-values/m-p/3875664#M931593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T12:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: converting values in internal table to range values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-in-internal-table-to-range-values/m-p/3875665#M931594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your replies...cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 12:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-in-internal-table-to-range-values/m-p/3875665#M931594</guid>
      <dc:creator>suhaskrishna_sondur</dc:creator>
      <dc:date>2008-05-26T12:14:23Z</dc:date>
    </item>
  </channel>
</rss>

