<?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: Rename method with class SEO_CLASS_CREATE_COMPLETE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-method-with-class-seo-class-create-complete/m-p/8573676#M1660224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;basically you have to do it in two steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) copy the method into a new one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'SEO_METHOD_COPY'
        exporting
          mtdkey              = mtdkey
          new_mtdkey          = new_cmpkey
          save                = seox_false
        exceptions
          not_existing        = 1
          deleted             = 2
          target_not_existing = 3
          is_event            = 4
          is_type             = 5
          is_attribute        = 6
          not_copied          = 7
          db_error            = 8
          others              = 9.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) delete the original&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;cmpkey-clsname = mtdkey-clsname.
      cmpkey-cmpname = mtdkey-cpdname.

      call function 'SEO_METHOD_DELETE_W_DEPS'
        exporting
          mtdkey       = cmpkey
          save         = seox_false
        exceptions
          not_existing = 1
          is_event     = 2
          is_type      = 3
          is_attribute = 4
          not_deleted  = 5
          db_error     = 6
          others       = 7.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at standard method PROCESS_OP_RENAME of class CL_OO_CLASS_BUILDER in order to have a sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2012 14:21:59 GMT</pubDate>
    <dc:creator>franois_henrotte</dc:creator>
    <dc:date>2012-02-27T14:21:59Z</dc:date>
    <item>
      <title>Rename method with class SEO_CLASS_CREATE_COMPLETE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-method-with-class-seo-class-create-complete/m-p/8573675#M1660223</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;&lt;/P&gt;&lt;P&gt;I am using SEO_CLASS_CREATE_COMPLETE to create class with methods ,In every call I send the new method's&lt;/P&gt;&lt;P&gt;with the respective implementation ,the issue here that I have case where we want to rename some method (during RT),&lt;/P&gt;&lt;P&gt;so how can I do that .how can I inform to the API that the method should be renamed ,I.e. keep the old implementation without add new source code.&lt;/P&gt;&lt;P&gt;or maybe should i use different FM for this issue? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I can use my own logic but there is option to read some method code in RT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Joy Stpr on Feb 27, 2012 1:54 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 09:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-method-with-class-seo-class-create-complete/m-p/8573675#M1660223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-23T09:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rename method with class SEO_CLASS_CREATE_COMPLETE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rename-method-with-class-seo-class-create-complete/m-p/8573676#M1660224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;basically you have to do it in two steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) copy the method into a new one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'SEO_METHOD_COPY'
        exporting
          mtdkey              = mtdkey
          new_mtdkey          = new_cmpkey
          save                = seox_false
        exceptions
          not_existing        = 1
          deleted             = 2
          target_not_existing = 3
          is_event            = 4
          is_type             = 5
          is_attribute        = 6
          not_copied          = 7
          db_error            = 8
          others              = 9.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) delete the original&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;cmpkey-clsname = mtdkey-clsname.
      cmpkey-cmpname = mtdkey-cpdname.

      call function 'SEO_METHOD_DELETE_W_DEPS'
        exporting
          mtdkey       = cmpkey
          save         = seox_false
        exceptions
          not_existing = 1
          is_event     = 2
          is_type      = 3
          is_attribute = 4
          not_deleted  = 5
          db_error     = 6
          others       = 7.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at standard method PROCESS_OP_RENAME of class CL_OO_CLASS_BUILDER in order to have a sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 14:21:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rename-method-with-class-seo-class-create-complete/m-p/8573676#M1660224</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2012-02-27T14:21:59Z</dc:date>
    </item>
  </channel>
</rss>

