<?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: Forward Declaration in Class Builder in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434396#M1550797</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;Here u can insert the type pools or class or interface where elements you need are defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if you need the type for ALV you need to insert the type pool SLIS, in this way you'll be able to define your variablea as a type defined in SLIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Nov 2010 10:19:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-15T10:19:29Z</dc:date>
    <item>
      <title>Forward Declaration in Class Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434392#M1550793</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;   In the Class Builder (SE24)when i create a new Class, There is an option of Forward declaration  in the Property Tab. In this, we can add Type Group Interface and Class. What is the Purpose of this forward declaration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The F1 help does not provide any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kapil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 09:42:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434392#M1550793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-15T09:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Forward Declaration in Class Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434393#M1550794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Forward Declaration" is a programming style &amp;amp; is not specific to OO-ABAP. (Source: [http://en.wikipedia.org/wiki/Forward_declaration]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These definitions are added in the PUBLIC SECTION of the class as TYPE-POOLS, CLASS DEFINITION LOAD, INTERFACE DEFINITION LOAD etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 09:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434393#M1550794</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-11-15T09:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Forward Declaration in Class Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434394#M1550795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  This is the thing written in the F1 Help only. I want to make use of this or need a Use case where it is used exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kapil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 10:09:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434394#M1550795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-15T10:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Forward Declaration in Class Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434395#M1550796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you've a look at the class CL_ABAP_TYPEDESCR you'll have a idea how this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this class the type pool ABAP is defined in the "Forward Declaration" section &amp;amp; its' elements are used in defining the Attributes &amp;amp; Types of the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW why do you think you need to use the "Forward Declaration" feature?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 10:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434395#M1550796</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-11-15T10:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Forward Declaration in Class Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434396#M1550797</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;Here u can insert the type pools or class or interface where elements you need are defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if you need the type for ALV you need to insert the type pool SLIS, in this way you'll be able to define your variablea as a type defined in SLIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 10:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434396#M1550797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-15T10:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Forward Declaration in Class Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434397#M1550798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in addition to above replies, it can be used for classes and interfaces in that case &lt;STRONG&gt;Forward declaration&lt;/STRONG&gt; is equivalent to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLASS &amp;lt;class_name&amp;gt; DEFINITION LOAD. 

interface &amp;lt;interface_name&amp;gt; load&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statements which are normally used in Program ( case for local classes )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use of &lt;EM&gt;Load&lt;/EM&gt; from SAP docu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... LOAD &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The variant with the LOAD addition loads a global class class from the Class Library. This statement was needed before Release 6.20 if you wanted to access one of the static components of class from within a program, or to declare an event handler for class before class had been loaded automatically. From Release 6.20 onwards, the LOAD addition is only needed if the compilation of an ABAP program fails because it includes recursive accesses of a globa l class. In such cases, you may be able to make the program compilable by explicitly loading the class before recursion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;kranthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 10:59:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forward-declaration-in-class-builder/m-p/7434397#M1550798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-15T10:59:47Z</dc:date>
    </item>
  </channel>
</rss>

