<?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: Dynamically getting module name in program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788433#M1879604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not in the debugging mode, but in the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2014 09:32:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-11-19T09:32:18Z</dc:date>
    <item>
      <title>Dynamically getting module name in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788430#M1879601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way by which we can get the module name, i.e. are&amp;nbsp; we currently in PAI module or PBO in program execution, means is there any system variable which gets dynamically updated or can we get through any FM call. &lt;SPAN style="text-decoration: line-through;"&gt;Urgent&lt;/SPAN&gt; help would be greatly acknowledged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 09:08:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788430#M1879601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T09:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically getting module name in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788431#M1879602</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;If you want to see in the debugging you can find abap stack, screen stack in tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;laxman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 09:22:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788431#M1879602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T09:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically getting module name in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788432#M1879603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You check it this&amp;nbsp; in debugging. In debugging the desktop 2 (New debugger) will give you&amp;nbsp; in which module your control is at .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards&lt;/P&gt;&lt;P&gt;Arun VS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 09:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788432#M1879603</guid>
      <dc:creator>venuarun</dc:creator>
      <dc:date>2014-11-19T09:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically getting module name in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788433#M1879604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not in the debugging mode, but in the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 09:32:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788433#M1879604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T09:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically getting module name in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788434#M1879605</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;There is a function module that can give you the information but I think that it only gives programs and function modules. It is often used in user exits.&lt;/P&gt;&lt;P&gt;Maybe look for a class in the RTTS classes (runtime type services).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 09:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788434#M1879605</guid>
      <dc:creator>Phillip_Morgan</dc:creator>
      <dc:date>2014-11-19T09:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically getting module name in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788435#M1879606</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;Not possible in SYST. SY-CPROG only gives you the module pool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 09:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788435#M1879606</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2014-11-19T09:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically getting module name in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788436#M1879607</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;check thi sFM&amp;nbsp; SYSTEM_CALLSTACK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this you wil get ABAP STACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;logic:::&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;data&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;t_evnt &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;ABAP_CALLSTACK&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SYSTEM_CALLSTACK'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp; EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAX_LEVEL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALLSTACK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;t_evnt&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ET_CALLSTACK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;in t_evnt structure you wil have thae details.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 10:02:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788436#M1879607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T10:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically getting module name in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788437#M1879608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; In debug mode i can find the Modulename&amp;nbsp; in 'ABDBG-LEVENT'..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; For more info. put a break-point at where you want the module name &amp;amp; find the corresponding variable which gives you the exact name..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Let me know if you have any concerns ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 12:03:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788437#M1879608</guid>
      <dc:creator>Private_Member_65391</dc:creator>
      <dc:date>2014-11-19T12:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically getting module name in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788438#M1879609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the function SYSTEM_CALLSTACK gives you the information you are looking for&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 12:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-getting-module-name-in-program/m-p/10788438#M1879609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T12:16:20Z</dc:date>
    </item>
  </channel>
</rss>

