<?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: Programmatically read the ABAP Stack in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/programmatically-read-the-abap-stack/m-p/3249091#M775681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try this class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_RECA_SYSTEM_CALLSTACK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jan 2008 18:34:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-10T18:34:22Z</dc:date>
    <item>
      <title>Programmatically read the ABAP Stack</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programmatically-read-the-abap-stack/m-p/3249090#M775680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to know if a particular program is in the ABAP stack at a specific point in my code.  The program I am looking for is not the calling program so SYST (CPROG, etc.) will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know a way (method or function module) to read the ABAP stack?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 18:03:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programmatically-read-the-abap-stack/m-p/3249090#M775680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T18:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically read the ABAP Stack</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programmatically-read-the-abap-stack/m-p/3249091#M775681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try this class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_RECA_SYSTEM_CALLSTACK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 18:34:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programmatically-read-the-abap-stack/m-p/3249091#M775681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T18:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically read the ABAP Stack</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programmatically-read-the-abap-stack/m-p/3249092#M775682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the  system call &lt;STRONG&gt;ABAP_CALLSTACK&lt;/STRONG&gt; like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;DATA:  BEGIN OF ls_abap_callstack,&lt;/P&gt;&lt;P&gt;           mainprogram LIKE sy-repid,&lt;/P&gt;&lt;P&gt;           include     LIKE sy-repid,&lt;/P&gt;&lt;P&gt;           line        TYPE i,&lt;/P&gt;&lt;P&gt;           eventtype   TYPE dbglevtype,&lt;/P&gt;&lt;P&gt;           event       TYPE dbglevent,&lt;/P&gt;&lt;P&gt;           flag_system,&lt;/P&gt;&lt;P&gt;       END OF ls_abap_callstack.&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;DATA:  lt_abap_callstack LIKE TABLE OF ls_abap_callstack.	&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; CALL 'ABAP_CALLSTACK'&lt;/P&gt;&lt;P&gt;    ID 'DEPTH'     FIELD 1&lt;/P&gt;&lt;P&gt;    ID 'CALLSTACK' FIELD lt_abap_callstack.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 19:57:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programmatically-read-the-abap-stack/m-p/3249092#M775682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T19:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically read the ABAP Stack</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programmatically-read-the-abap-stack/m-p/3249093#M775683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan. (I decided to use fm 'SYSTEM_CALLSTACK' instead of the system call).  Either way it works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 20:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programmatically-read-the-abap-stack/m-p/3249093#M775683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T20:16:35Z</dc:date>
    </item>
  </channel>
</rss>

