<?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: difference between interface pool and class pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-interface-pool-and-class-pool/m-p/3626704#M873752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Class is a description of an object, which contains both definition and implementation of methods which also includes interface methods.&lt;/P&gt;&lt;P&gt;In contrast, Interfaces contains only methods definition with signature but no methods implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can refer this link &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ec/d9ab291b0b11d295400000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/ec/d9ab291b0b11d295400000e8353423/content.htm&lt;/A&gt;&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;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Apr 2008 10:14:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-17T10:14:28Z</dc:date>
    <item>
      <title>difference between interface pool and class pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-interface-pool-and-class-pool/m-p/3626701#M873749</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 any body tell me the difference between Interface pool and Class pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 09:35:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-interface-pool-and-class-pool/m-p/3626701#M873749</guid>
      <dc:creator>former_member192432</dc:creator>
      <dc:date>2008-04-17T09:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: difference between interface pool and class pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-interface-pool-and-class-pool/m-p/3626702#M873750</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interface Pools (J)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contain interfaces. Classes and interfaces are managed (administered)&lt;/P&gt;&lt;P&gt;in the Class Builder; program type J cannot be changed in the attributes.&lt;/P&gt;&lt;P&gt;it contains: propporties, intrefaces, attibutes, methods, events types, and aliases&lt;/P&gt;&lt;P&gt;where as class pools have : propporties, intrefaces, attibutes, methods, events types, and aliases&lt;/P&gt;&lt;P&gt;Interfaces &lt;/P&gt;&lt;P&gt;The components of a class are divided into visibility sections, and this forms the external point of contact between the class and its users. For example, the components of the public section form the public interface of the class, since all attributes and method parameters can be accessed by any user. The protected components form an interface between the class and those classes that inherit from it (subclasses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classes &lt;/P&gt;&lt;P&gt;The type of an object is known as its class. A class is an abstract representation, or, metaphorically speaking, a set of instructions for building objects. So that you can describe the properties of objects, classes contain components, which define the state and behavior of objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global and Local Classes &lt;/P&gt;&lt;P&gt;You can define classes globally in the class library in the repository or locally in an ABAP program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global classes are coded in a special ABAP program, a class pool, whereas local classes can be coded in almost every ABAP program. Global classes can be used and are visible in all ABAP programs, which is the case for local classes only in their own program. When a global class is used for the first time, the class pool is loaded into the internal mode of the user. The local classes of a class pool can be used by the pool's global classes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class Pools (K)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contain interfaces. Classes and interfaces are managed (administered)&lt;/P&gt;&lt;P&gt;in the Class Builder; program type K cannot be changed in the attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class is a description of an object, which contains both definition and implementation of methods which also includes interface methods.&lt;/P&gt;&lt;P&gt;In contrast, Interfaces contains only methods definition with signature but no methods implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the link,it's useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ec/d9ab291b0b11d295400000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/ec/d9ab291b0b11d295400000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 09:39:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-interface-pool-and-class-pool/m-p/3626702#M873750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T09:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: difference between interface pool and class pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-interface-pool-and-class-pool/m-p/3626703#M873751</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;Class and Interface Pools &lt;/P&gt;&lt;P&gt;This section discusses the structure and special features of class and interface pools for global classes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global Classes and Interfaces&lt;/P&gt;&lt;P&gt;Classes and interfaces are object types. You can define them either globally in the Repository or locally in an ABAP program. If you define classes and interfaces globally, special ABAP programs called class pools or interface pools of type K or J serve as containers for the respective classes and interfaces. Each class or interface pool contains the definition of a single class or interface. The programs are automatically generated by the Class Builder when you create a class or interface. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A &lt;STRONG&gt;class pool&lt;/STRONG&gt; is comparable to a module pool or function group. It contains both declarative and executable ABAP statements, but cannot be started on its own. The runtime system can create runtime instances (objects) through a request using the CREATE OBJECT statement. These objects execute the statements of the class pool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Interface pools&lt;/STRONG&gt; do not contain any executable statements. Instead, they are used as containers for interface definitions. When you implement an interface in a class, the interface definition is implicitly included in the class definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure of a Class Pool&lt;/P&gt;&lt;P&gt;Class pools are structured as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class pools contain a definition part for type declarations, and the declaration and implementation parts of the class. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Differences From Other ABAP Programs&lt;/P&gt;&lt;P&gt;Class pools are different from other ABAP programs for the following reasons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        ABAP programs such as executable programs, module pools, or function modules, usually have a declaration part in which the global data for the program is defined. This data is visible in all of the processing blocks in the program. Class pools, on the other hand, have a definition part in which you can define data and object types, but no data objects or field symbols. The types that you define in a class pool are only visible in the implementation part of the global class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        The only processing blocks that you can use are the declaration part and implementation part of the global class. The implementation part may only implement the methods declared in the global class. You cannot use any of the other ABAP processing blocks (dialog modules, event blocks, subroutines, function modules).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        The processing blocks of class pools are not controlled by the ABAP runtime environment. No events occur, and you cannot call any dialog modules or procedures. Class pools serve exclusively for class programming. You can only access the data and functions of a class using its interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Since events and dialog modules are not permitted in classes, you cannot process screens in classes. You cannot program lists and selection screens in classes, since they cannot react to the appropriate events. It is intended to make screens available in classes. Instead of dialog modules, it will be possible to call methods of the class from the screen flow logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Local Classes in Class Pools&lt;/P&gt;&lt;P&gt;The classes and interfaces that you define in the definition part of a class pool are not visible externally. Within the class pool, they have a similar function to local classes and interfaces in other ABAP programs. Local classes can only be instantiated in the methods of the global class. Since subroutines are not allowed in class pools, local classes are the only possible modularization unit in global classes. Local classes have roughly the same function for global classes as subroutines in function groups, but with the significant exception that they are not visible externally&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 09:43:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-interface-pool-and-class-pool/m-p/3626703#M873751</guid>
      <dc:creator>ak_upadhyay</dc:creator>
      <dc:date>2008-04-17T09:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: difference between interface pool and class pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-interface-pool-and-class-pool/m-p/3626704#M873752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Class is a description of an object, which contains both definition and implementation of methods which also includes interface methods.&lt;/P&gt;&lt;P&gt;In contrast, Interfaces contains only methods definition with signature but no methods implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can refer this link &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ec/d9ab291b0b11d295400000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/ec/d9ab291b0b11d295400000e8353423/content.htm&lt;/A&gt;&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;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 10:14:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-interface-pool-and-class-pool/m-p/3626704#M873752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T10:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: difference between interface pool and class pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-interface-pool-and-class-pool/m-p/3626705#M873753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 12:14:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-interface-pool-and-class-pool/m-p/3626705#M873753</guid>
      <dc:creator>former_member192432</dc:creator>
      <dc:date>2009-12-10T12:14:03Z</dc:date>
    </item>
  </channel>
</rss>

