<?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: Using SEO_METHOD_ACTIVATE with methods implemented from Interface in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-seo-method-activate-with-methods-implemented-from-interface/m-p/4071957#M973552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have some Customer Exits in BI. I'm trying to develop a kind of program that will generate the code for a customer exit class. So probably I would have an FM take some params, create the class with some static member attributes (not yet fully designed), so that it is ready to be used as a customer exit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's all still nebulous - I'm finding the various things that I feel I will need. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CIFKEYS I think is the -&amp;gt; IF_RSCNV_EXIT&lt;/P&gt;&lt;P&gt;MTDKEYS-CLSNAME is IF_RSCNV_EXIT&lt;/P&gt;&lt;P&gt;MTDKEYS-CMPNAME is EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this, the name of the class ZKMOD_COPY is not used anywhere. But IF_RSCNV_EXIT is an interface, it can be implemented by any number of classes. So shouldn't the class name (ZKMOD_COPY) be mentioned somewhere? How would the system know which implementation of IF_RSCNV_EXIT should be activated? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At present I'm not in front of a system; I'll try this on Monday and get back to you. Thanks for the help anyway, Matthew!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jun 2008 15:35:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-27T15:35:52Z</dc:date>
    <item>
      <title>Using SEO_METHOD_ACTIVATE with methods implemented from Interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-seo-method-activate-with-methods-implemented-from-interface/m-p/4071954#M973549</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'm trying to create a class and activate it using some ABAP code. I began by copying a template class into a new class called ZKMOD_COPY. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to activate this class. I tried SEO_METHOD_ACTIVATE but all it does is set the flag to 'A' in the table. It doesn't really activate the whole class I see in SE24. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going through the forums, I came across &lt;A class="jive_macro jive_macro_community" href="https://community.sap.com/" __jive_macro_name="community" modifiedtitle="true" __default_attr="2021"&gt;&lt;/A&gt; where someone said to call these in order: SEO_ATTRIBUTE_ACTIVATE, SEO_EVENT_ACTIVATE,  SEO_METHOD_ACTIVATE, SEO_TYPE_ACTIVATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my class does not contain any attributes, events or types. It contains just one method, so I suppose except SEO_METHOD_ACTIVATE I don't really need the others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this method (called EXIT) is implemented from an Interface IF_RSCNV_EXIT. In the class definition of ZKMOD_COPY, it shows this method by the name IF_RSCNV_EXIT~EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I'm not able to activate this method. I can't figure out what parameters to give in CIFKEYand  MTDKEYS&lt;/P&gt;&lt;P&gt;I tried all permutations of "zkmod_copy", "if_rscnv_exit" as classes, "exit" and "if_rscnv_exit~exit" as the methods, but it kept throwing exceptions like not specified or not existing. Debugging the FM also did not give me any clues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I really need is, what parameters should I give there? Alternatively, is there any way I can programmatically activate my class? This may sound a silly question, since I'm a BI guy with not too much ABAP knowledge, but I'd be really grateful if someone could help out with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 12:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-seo-method-activate-with-methods-implemented-from-interface/m-p/4071954#M973549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T12:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using SEO_METHOD_ACTIVATE with methods implemented from Interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-seo-method-activate-with-methods-implemented-from-interface/m-p/4071955#M973550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; So what I really need is, what parameters should I give there? Alternatively, is there any way I can programmatically activate my class? This may sound a silly question, since I'm a BI guy with not too much ABAP knowledge, but I'd be really grateful if someone could help out with this.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm fascinated to understand why a BI guy is doing some heavy duty ABAP programming?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You definitely need to activate the class AND each component.  I'll have a little check and see if I can be more definite.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matthew Billingham on Jun 27, 2008 3:33 PM&lt;/P&gt;&lt;P&gt;--&amp;gt; read the question again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 13:32:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-seo-method-activate-with-methods-implemented-from-interface/m-p/4071955#M973550</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-06-27T13:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using SEO_METHOD_ACTIVATE with methods implemented from Interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-seo-method-activate-with-methods-implemented-from-interface/m-p/4071956#M973551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've created a class that implements an interface with one method.  When you do this manually, you have to activate seperately:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o  The private section&lt;/P&gt;&lt;P&gt;o  The public section&lt;/P&gt;&lt;P&gt;o  The protected section&lt;/P&gt;&lt;P&gt;o  The method&lt;/P&gt;&lt;P&gt;o  The class local types -&amp;gt; you might need the include name for this&lt;/P&gt;&lt;P&gt;o  The class local definitions -&amp;gt; you might need the include name for this&lt;/P&gt;&lt;P&gt;o  The class local implementations -&amp;gt; you might need the include name for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I think you have to activate these sections, even if not used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CIFKEYS I think is the -&amp;gt; IF_RSCNV_EXIT&lt;/P&gt;&lt;P&gt;MTDKEYS-CLSNAME is  IF_RSCNV_EXIT&lt;/P&gt;&lt;P&gt;MTDKEYS-CMPNAME is  EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might have to do a db commit to get changes in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 13:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-seo-method-activate-with-methods-implemented-from-interface/m-p/4071956#M973551</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-06-27T13:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using SEO_METHOD_ACTIVATE with methods implemented from Interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-seo-method-activate-with-methods-implemented-from-interface/m-p/4071957#M973552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have some Customer Exits in BI. I'm trying to develop a kind of program that will generate the code for a customer exit class. So probably I would have an FM take some params, create the class with some static member attributes (not yet fully designed), so that it is ready to be used as a customer exit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's all still nebulous - I'm finding the various things that I feel I will need. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CIFKEYS I think is the -&amp;gt; IF_RSCNV_EXIT&lt;/P&gt;&lt;P&gt;MTDKEYS-CLSNAME is IF_RSCNV_EXIT&lt;/P&gt;&lt;P&gt;MTDKEYS-CMPNAME is EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this, the name of the class ZKMOD_COPY is not used anywhere. But IF_RSCNV_EXIT is an interface, it can be implemented by any number of classes. So shouldn't the class name (ZKMOD_COPY) be mentioned somewhere? How would the system know which implementation of IF_RSCNV_EXIT should be activated? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At present I'm not in front of a system; I'll try this on Monday and get back to you. Thanks for the help anyway, Matthew!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 15:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-seo-method-activate-with-methods-implemented-from-interface/m-p/4071957#M973552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T15:35:52Z</dc:date>
    </item>
  </channel>
</rss>

