<?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: methods declared in interfaces in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390858#M531653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinayak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementation of methods of interfaces can be found in classes that implement the interface. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So using "where used list" you can find the classes that implement the interface and then find which class implements the required method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if found useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Indrajit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2007 11:42:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-22T11:42:33Z</dc:date>
    <item>
      <title>methods declared in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390853#M531648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where can I see the implementation of methods, declared in Interfaces?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;For ex:&amp;lt;/b&amp;gt; There is one interface &amp;lt;b&amp;gt;if_ixml_element&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;get_value()&amp;lt;/b&amp;gt; is its method. Now where can I see the implementation of get_value() method, as methods are not implemented in interfaces, please provide some information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 07:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390853#M531648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T07:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: methods declared in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390854#M531649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;          look here:&lt;/P&gt;&lt;P&gt;Methods of Class CL_GUI_ALV_GRID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/0a/b5533cd30911d2b467006094192fe3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/0a/b5533cd30911d2b467006094192fe3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also see this&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/0a/b5531ed30911d2b467006094192fe3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/0a/b5531ed30911d2b467006094192fe3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refresh grid display&lt;/P&gt;&lt;P&gt;Use the grid method REFRESH_TABLE_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD go_grid-&amp;gt;refresh_table_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 07:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390854#M531649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T07:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: methods declared in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390855#M531650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;But you are telling about methods of class. I am concerned with methods of interfaces&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 07:28:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390855#M531650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T07:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: methods declared in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390856#M531651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vinayak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The classes and interfaces for XML handling are somewhat special.&lt;/P&gt;&lt;P&gt;Have a look at the sample report &amp;lt;b&amp;gt;T_PARSING_FILE&amp;lt;/b&amp;gt; (package &amp;lt;b&amp;gt;SIXML&amp;lt;/b&amp;gt;):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* create the ixml main factory
  ixml = cl_ixml=&amp;gt;create( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the coding of the CREATE method (in include &amp;lt;b&amp;gt;BCCIIXML_LCLD&amp;lt;/b&amp;gt;):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;method create.
 if not the_iXML is initial.
    rval = the_iXML.
  else.
    data: begin of classes,
...
           ref_14 type ref to cl_ixml_element,  " class of our interest
           iid_15 type i value 140,
...
ENDMETHOD.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double-click on CL_IXML_ELEMENT leads to the class definition (same include):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*--------------------------------------------------------
* cl_ixml_element definition
*--------------------------------------------------------


class cl_ixml_element definition
  inheriting from cl_ixml_node.

  public section.

  interfaces:
    if_ixml_element.  " the class implements the interface IF_IXML_ELEMENT

  methods:
    destructor not at end of mode.

endclass.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find the class implementation in include &amp;lt;b&amp;gt;BCCIIXML_LCLI&amp;lt;/b&amp;gt;:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*--------------------------------------------------------
* cl_ixml_element implementation
*--------------------------------------------------------


class cl_ixml_element implementation.

    method destructor.
       system-call c-destructor 'xm_CDestr_Unknown' using m_pointee.
    endmethod.

    method if_ixml_element~get_attribute
       by kernel module abkm_iXMLElement_GetAttribute.
    endmethod.

    method if_ixml_element~get_attribute_ns
       by kernel module abkm_iXMLElement_GetAttributeNS.
    endmethod.

    method if_ixml_element~set_attribute
       by kernel module abkm_iXMLElement_SetAttribute.
    endmethod.

    method if_ixml_element~set_attribute_ns
       by kernel module abkm_iXMLElement_SetAttributeNS.
    endmethod.
...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus, it appears that the implementation of these classes are integrated into the SAP-kernel.&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 07:39:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390856#M531651</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-06-18T07:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: methods declared in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390857#M531652</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;We can see the implementation of interface method in&lt;/P&gt;&lt;P&gt;the  &amp;lt;b&amp;gt;IMPLEMENTATION CLASS of INTERFACE&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;analyse this program, you clearly find where the methods of interface are implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INTERFACE I_COUNTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  METHODS: SET_COUNTER IMPORTING VALUE(SET_VALUE) TYPE I,&lt;/P&gt;&lt;P&gt;           INCREMENT_COUNTER,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           GET_COUNTER EXPORTING VALUE(GET_VALUE) TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDINTERFACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS C_COUNTER1 DEFINITION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;    INTERFACES I_COUNTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PRIVATE SECTION.&lt;/P&gt;&lt;P&gt;    DATA COUNT TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS C_COUNTER1 IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  METHOD I_COUNTER~SET_COUNTER.&lt;/P&gt;&lt;P&gt;    COUNT = SET_VALUE.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  METHOD I_COUNTER~INCREMENT_COUNTER.&lt;/P&gt;&lt;P&gt;    ADD 1 TO COUNT.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt;METHOD I_COUNTER~GET_COUNTER.&lt;/P&gt;&lt;P&gt;    GET_VALUE = COUNT.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCLASS.&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;Ashokreddy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ashok Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 07:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390857#M531652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T07:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: methods declared in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390858#M531653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinayak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementation of methods of interfaces can be found in classes that implement the interface. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So using "where used list" you can find the classes that implement the interface and then find which class implements the required method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if found useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Indrajit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 11:42:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/methods-declared-in-interfaces/m-p/2390858#M531653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T11:42:33Z</dc:date>
    </item>
  </channel>
</rss>

