<?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: determine method name by include name (program name) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-method-name-by-include-name-program-name/m-p/1281030#M152767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I dont think that there is any such function module...&lt;/P&gt;&lt;P&gt;Also, more than one method can have same include.&lt;/P&gt;&lt;P&gt;But consider this scenario..&lt;/P&gt;&lt;P&gt;when you try to delete an  include, i guess it shows warning that some report or method uses it..&lt;/P&gt;&lt;P&gt;Debugging that piece of code can give you your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanveer.&lt;/P&gt;&lt;P&gt;Mark helpful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2006 18:22:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-25T18:22:31Z</dc:date>
    <item>
      <title>determine method name by include name (program name)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-method-name-by-include-name-program-name/m-p/1281028#M152765</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 am looking for a function that is able to determine the name of a method by its include name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example for the class CL_GUI_ALV_GRID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include name: CL_GUI_ALV_GRID===============CM002&lt;/P&gt;&lt;P&gt;method name:  ACTIVATE_REPREP_INTERFACE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 15:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determine-method-name-by-include-name-program-name/m-p/1281028#M152765</guid>
      <dc:creator>Fabian_Kegel</dc:creator>
      <dc:date>2006-04-25T15:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: determine method name by include name (program name)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-method-name-by-include-name-program-name/m-p/1281029#M152766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There isn´t such FM, But you can access table TMDIR with class name and method index, you can obtain this values spliting the report name by '='.&lt;/P&gt;&lt;P&gt;Reward points if helps.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 17:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determine-method-name-by-include-name-program-name/m-p/1281029#M152766</guid>
      <dc:creator>LucianoBentiveg</dc:creator>
      <dc:date>2006-04-25T17:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: determine method name by include name (program name)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-method-name-by-include-name-program-name/m-p/1281030#M152767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I dont think that there is any such function module...&lt;/P&gt;&lt;P&gt;Also, more than one method can have same include.&lt;/P&gt;&lt;P&gt;But consider this scenario..&lt;/P&gt;&lt;P&gt;when you try to delete an  include, i guess it shows warning that some report or method uses it..&lt;/P&gt;&lt;P&gt;Debugging that piece of code can give you your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanveer.&lt;/P&gt;&lt;P&gt;Mark helpful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 18:22:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determine-method-name-by-include-name-program-name/m-p/1281030#M152767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T18:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: determine method name by include name (program name)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-method-name-by-include-name-program-name/m-p/1281031#M152768</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 found the class cl_oo_include_naming. You can use this class to determine the method name for an include. Here is a part of my coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      lr_include_naming ?= cl_oo_include_naming=&amp;gt;get_instance_by_include( progname = lv_incl_name ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      lv_method_name = lr_include_naming-&amp;gt;get_mtdname_by_include( progname = lv_incl_name ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 06:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determine-method-name-by-include-name-program-name/m-p/1281031#M152768</guid>
      <dc:creator>Fabian_Kegel</dc:creator>
      <dc:date>2006-04-26T06:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: determine method name by include name (program name)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-method-name-by-include-name-program-name/m-p/1281032#M152769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can also try this static method: &lt;/P&gt;&lt;P&gt;data: l_source TYPE trdir-name value 'CL_WB_SOURCE_REQ_DISPATCHER===CM008',&lt;/P&gt;&lt;P&gt;      l_obj_name       TYPE rseuap-obj_name,&lt;/P&gt;&lt;P&gt;      l_obj_type       TYPE rseuap-obj_type.&lt;/P&gt;&lt;P&gt;CALL METHOD cl_wb_source_req_dispatcher=&amp;gt;get_ta_object_from_sourcename&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          p_source_name       = l_source&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          p_object_type       = l_obj_type&lt;/P&gt;&lt;P&gt;          p_object_name       = l_obj_name&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          no_objecttype_found = 1&lt;/P&gt;&lt;P&gt;          OTHERS              = 2.&lt;/P&gt;&lt;P&gt;Walter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 18:15:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determine-method-name-by-include-name-program-name/m-p/1281032#M152769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T18:15:58Z</dc:date>
    </item>
  </channel>
</rss>

