<?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: Attribut STATIC type CLASS from a CLASS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665441#M29103</link>
    <description>&lt;P&gt;It isn’t.&lt;/P&gt;
  &lt;P&gt;If you explain the problem you’re trying to solve, someone may be able to offer an alternative solution.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Mar 2018 15:20:52 GMT</pubDate>
    <dc:creator>pokrakam</dc:creator>
    <dc:date>2018-03-08T15:20:52Z</dc:date>
    <item>
      <title>Attribut STATIC type CLASS from a CLASS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665440#M29102</link>
      <description>&lt;P&gt;Hi Gurus,&lt;/P&gt;
  &lt;P&gt;I would like to know, how it is possible to have a STATIC CLASS as an attribut from another CLASS as below:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;ZCL_STATIC_01=&amp;gt;ZCL_STATIC_02=&amp;gt;method_01( ) .&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I would like a stuff like that (and only in STATIC class and method):&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/120616-jpg.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 15:04:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665440#M29102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-08T15:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Attribut STATIC type CLASS from a CLASS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665441#M29103</link>
      <description>&lt;P&gt;It isn’t.&lt;/P&gt;
  &lt;P&gt;If you explain the problem you’re trying to solve, someone may be able to offer an alternative solution.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 15:20:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665441#M29103</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-03-08T15:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Attribut STATIC type CLASS from a CLASS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665442#M29104</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;It isn’t.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Why ?&lt;/P&gt;
  &lt;P&gt;Basically, I would like something like that without any instanciations.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/120614-jpg.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 15:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665442#M29104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-08T15:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Attribut STATIC type CLASS from a CLASS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665443#M29105</link>
      <description>&lt;P&gt;I still don’t see the point. If you want to make billing static the you no longer need the parts in front and can just use zcl_billing directly.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 15:38:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665443#M29105</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-03-08T15:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Attribut STATIC type CLASS from a CLASS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665444#M29106</link>
      <description>&lt;P&gt;To benefit an online tree structure based on the functional design with an entry point "ZCL_SERVICES" ...&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 15:51:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665444#M29106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-08T15:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Attribut STATIC type CLASS from a CLASS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665445#M29107</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Sorry to be blunt here, but if there is no functional reason and the purpose is having pretty code / editor capability is one of the worst possible reasons for choosing an OO design&lt;/P&gt;
  &lt;P&gt;Personally I would find this a pain to work with and harder to read. Those that work at that level should know what a billing document is, so what’s the point of making it longer and adding unnecessary info?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 16:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665445#M29107</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-03-08T16:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Attribut STATIC type CLASS from a CLASS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665446#M29108</link>
      <description>&lt;P&gt;But why not ZCL_CAD_SERVICES=&amp;gt;sd-&amp;gt;billing-&amp;gt;bapi_billingdoc_display ? It doesn't cost a lot to instantiate a few objects. If there are too many objects to instantiate, then use methods: ZCL_CAD_SERVICES=&amp;gt;sd( )-&amp;gt;billing( )-&amp;gt;bapi_billingdoc_display &lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 19:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665446#M29108</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2018-03-08T19:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Attribut STATIC type CLASS from a CLASS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665447#M29109</link>
      <description>&lt;P&gt;There is no nesting of classes in ABAP Objects.&lt;/P&gt;
  &lt;P&gt;If you want to model that, use Interfaces. Interfaces can be nested. But the benefits also appear with instantiated objects and interface reference variables only.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 15:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attribut-static-type-class-from-a-class/m-p/665447#M29109</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-03-09T15:56:57Z</dc:date>
    </item>
  </channel>
</rss>

