<?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: How to read the source code of class method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-source-code-of-class-method/m-p/6468437#M1416836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at this thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="484460"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;link:[Download abap class|http://www.sapnet.ru/viewtopic.php?p=7706]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Dec 2009 08:29:40 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2009-12-30T08:29:40Z</dc:date>
    <item>
      <title>How to read the source code of class method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-source-code-of-class-method/m-p/6468436#M1416835</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 want to read the source code of a method which is in a BAdi implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used SEO_METHOD_GET_SOURCE function module where I passed interface name as class and method name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I didn't get the source code. Is there any other function module of method to read the source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 08:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-source-code-of-class-method/m-p/6468436#M1416835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-30T08:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the source code of class method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-source-code-of-class-method/m-p/6468437#M1416836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at this thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="484460"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;link:[Download abap class|http://www.sapnet.ru/viewtopic.php?p=7706]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 08:29:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-source-code-of-class-method/m-p/6468437#M1416836</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-30T08:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the source code of class method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-source-code-of-class-method/m-p/6468438#M1416837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You can still use the Function Module SEO_METHOD_GET_SOURCE with a small change in the parameter passing. It should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paramaters:&lt;/P&gt;&lt;P&gt;MTDKEY-CLSNAME : &amp;lt;Implementaion Classname&amp;gt; &lt;/P&gt;&lt;P&gt;MTDKEY-CPDNAME: &amp;lt;Interfacename~methodname&amp;gt;&lt;/P&gt;&lt;P&gt;STATE : 'A' for active or 'I' for inactive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;MTDKEY-CLSNAME :ZCL_IM_PLM_AUDIT_ALV_GRID&lt;/P&gt;&lt;P&gt;MTDKEY-CPDNAME: IF_EX_PLM_AUDIT_ALV_GRID~ON_USER_COMMAND&lt;/P&gt;&lt;P&gt;STATE: A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After executing you will get the source code in the form of string in the 'SOURCE' parameter.&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 09:11:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-source-code-of-class-method/m-p/6468438#M1416837</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2009-12-30T09:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the source code of class method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-source-code-of-class-method/m-p/6468439#M1416838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code derived from online docu of obsolete function module SEO_CLASS_GET_METHOD_INCLUDES:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:
  OREF        TYPE REF TO IF_OO_CLASS_INCL_NAMING,
  MTDS_W_INCL TYPE SEOP_METHODS_W_INCLUDE.
FIELD-SYMBOLS:
  &amp;lt;MWI&amp;gt;       TYPE LINE OF SEOP_METHODS_W_INCLUDE.

OREF ?= CL_OO_INCLUDE_NAMING=&amp;gt;GET_INSTANCE_BY_CIFKEY( CLSKEY ).
MTDS_W_INCL = OREF-&amp;gt;GET_ALL_METHOD_INCLUDES( ).

LOOP AT MTDS_W_INCL
  ASSIGNING &amp;lt;MWI&amp;gt;.

ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 09:12:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-source-code-of-class-method/m-p/6468439#M1416838</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-12-30T09:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the source code of class method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-source-code-of-class-method/m-p/6468440#M1416839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;An easy way to get all of the code from an SAP class into one screen for simple cut and past or download is to: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;1) retrieve the class in transaction SE24&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;2) click on the Source Code-Based button&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;The code will now appear in the ABAP editor including all types, attributes and methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt; -Ken&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;SAP CLASS CODE DOWNLOAD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 22:04:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-source-code-of-class-method/m-p/6468440#M1416839</guid>
      <dc:creator>kenneth_goldsetin</dc:creator>
      <dc:date>2014-03-25T22:04:35Z</dc:date>
    </item>
  </channel>
</rss>

