<?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: Range type in ABAP OO. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-type-in-abap-oo/m-p/899380#M54909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, R_VKORG is an internal table. So VKORG_IN should be an internal table too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The line type can be something like : VORG_RANGE or VKO_RANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also refer it to a table type defined in the ABAP Dictionary like, GDS_SELRANGE_VKORG_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finallly, you can have a local types declaration for the class, with the suitable structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2005 10:02:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-04-11T10:02:24Z</dc:date>
    <item>
      <title>Range type in ABAP OO.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-type-in-abap-oo/m-p/899378#M54907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Having problem in ABAP OO.&lt;/P&gt;&lt;P&gt;I have defined a working range. (r_vkorg)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what kind of associated type should I use for this in my method.&lt;/P&gt;&lt;P&gt;In other words: what type should "vkorg_in" be ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA r_vkorg TYPE RANGE OF A004-vkorg.&lt;/P&gt;&lt;P&gt;data: wa_vkorg like line of r_vkorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case werks_in.&lt;/P&gt;&lt;P&gt;  when 3100.&lt;/P&gt;&lt;P&gt;  wa_vkorg-sign = 'I'.&lt;/P&gt;&lt;P&gt;  wa_vkorg-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  wa_vkorg-low = '2000'.&lt;/P&gt;&lt;P&gt;  append wa_vkorg to r_vkorg.&lt;/P&gt;&lt;P&gt;  wa_vkorg-sign = 'I'.&lt;/P&gt;&lt;P&gt;  wa_vkorg-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  wa_vkorg-low = '3000'.&lt;/P&gt;&lt;P&gt;  append wa_vkorg to r_vkorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  when 4100.&lt;/P&gt;&lt;P&gt;  wa_vkorg-sign = 'I'.&lt;/P&gt;&lt;P&gt;  wa_vkorg-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  wa_vkorg-low = '4000'.&lt;/P&gt;&lt;P&gt;  append wa_vkorg to r_vkorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  when others.&lt;/P&gt;&lt;P&gt;  exit.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method me-&amp;gt;getpricecondition&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;    vkorg_in    = r_vkorg   ' PROBLEM&lt;/P&gt;&lt;P&gt;    date_in     = sy-datum&lt;/P&gt;&lt;P&gt;  changing&lt;/P&gt;&lt;P&gt;    price_inout = i_PriceTab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 09:49:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-type-in-abap-oo/m-p/899378#M54907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T09:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Range type in ABAP OO.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-type-in-abap-oo/m-p/899379#M54908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can define a range type in your global / local class, for example you can define a type &lt;/P&gt;&lt;P&gt; TYPE :  gtyp_vkorg_range type range of vkork and use this type both in your range and method parameter definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sükrü&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 09:57:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-type-in-abap-oo/m-p/899379#M54908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T09:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Range type in ABAP OO.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-type-in-abap-oo/m-p/899380#M54909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, R_VKORG is an internal table. So VKORG_IN should be an internal table too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The line type can be something like : VORG_RANGE or VKO_RANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also refer it to a table type defined in the ABAP Dictionary like, GDS_SELRANGE_VKORG_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finallly, you can have a local types declaration for the class, with the suitable structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 10:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-type-in-abap-oo/m-p/899380#M54909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-11T10:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Range type in ABAP OO.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-type-in-abap-oo/m-p/899381#M54910</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;I am not sure.Just try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES: r_vkorg FOR A004-vkorg.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;J.Jayanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2005 10:05:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-type-in-abap-oo/m-p/899381#M54910</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-04-11T10:05:36Z</dc:date>
    </item>
  </channel>
</rss>

