<?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: How do I get the ABAP Stack of another program? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634654#M26770</link>
    <description>&lt;P&gt;Hi Matthew,&lt;/P&gt;
  &lt;P&gt;Thanks for your time and helping me on this.There are hundreds of interfaces which are running currently in sap system ,These interfaces transfer the messages between systems (sap to non-sap ) based on some custom configuration.Unfortunately we don't having the track of these interfaces, running for which business process(business scenario). &lt;/P&gt;
  &lt;P&gt;we have the one base FM which will be called before the actual interface executes. So trying to find out ,is there any way to collect the ABAP stack when ever this Particular FM active/running.if we are able to collect this stack info , then we will get to know what is the triggering point of business process.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Purna&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2018 15:32:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-01-30T15:32:12Z</dc:date>
    <item>
      <title>How do I get the ABAP Stack of another program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634652#M26768</link>
      <description>&lt;P&gt;I want to get the complete ABAP stack of another program in my program.&lt;/P&gt;
  &lt;P&gt;For example, ZTEST1 is a program which is executing at the time.&lt;/P&gt;
  &lt;P&gt;I have a program ZTEST2 and I want to retrieve the ABAP stack information of ZTEST1 in ZTEST2.&lt;/P&gt;
  &lt;P&gt;Also, I do not wish to make any modifications in ZTEST1.&lt;/P&gt;
  &lt;P&gt;Is it possible to do this? If yes, any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 10:23:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634652#M26768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-01-30T10:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the ABAP Stack of another program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634653#M26769</link>
      <description>&lt;P&gt;Why do you want to do this? What are you trying to achieve?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 11:19:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634653#M26769</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-01-30T11:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the ABAP Stack of another program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634654#M26770</link>
      <description>&lt;P&gt;Hi Matthew,&lt;/P&gt;
  &lt;P&gt;Thanks for your time and helping me on this.There are hundreds of interfaces which are running currently in sap system ,These interfaces transfer the messages between systems (sap to non-sap ) based on some custom configuration.Unfortunately we don't having the track of these interfaces, running for which business process(business scenario). &lt;/P&gt;
  &lt;P&gt;we have the one base FM which will be called before the actual interface executes. So trying to find out ,is there any way to collect the ABAP stack when ever this Particular FM active/running.if we are able to collect this stack info , then we will get to know what is the triggering point of business process.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Purna&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 15:32:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634654#M26770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-01-30T15:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the ABAP Stack of another program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634655#M26771</link>
      <description>&lt;P&gt;Hi Purna,&lt;/P&gt;
  &lt;P&gt;Check out the code of FM TH_DUMP_ABAP_STACK. It should be a relatively simple task to convert this for your own purposes.&lt;/P&gt;
  &lt;P&gt;It will show you how to call C-function 'ABAP_CALLSTACK'. This provides the information you are looking for.&lt;/P&gt;
  &lt;P&gt;kr&lt;/P&gt;
  &lt;P&gt;mh&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 19:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634655#M26771</guid>
      <dc:creator>former_member147723</dc:creator>
      <dc:date>2018-01-30T19:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the ABAP Stack of another program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634656#M26772</link>
      <description>&lt;P&gt;Hi Purna,&lt;/P&gt;
  &lt;P&gt;Just to make sure I understood right: you can only retrieve the active call stack of the active program that you include the above code into...&lt;/P&gt;
  &lt;P&gt;I do not think there is any way to retrieve the active call stack of ANOTHER program that is executing at the same time... &lt;/P&gt;
  &lt;P&gt;kr&lt;/P&gt;
  &lt;P&gt;mh&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 19:46:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634656#M26772</guid>
      <dc:creator>former_member147723</dc:creator>
      <dc:date>2018-01-30T19:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the ABAP Stack of another program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634657#M26773</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;
  &lt;P&gt;Can you not check the ABAP stack using SPAM or using debugger ? &lt;/P&gt;
  &lt;P&gt;if you want in the ABAP program use FM SYSTEM_CALLSTACK &lt;/P&gt;
  &lt;P&gt; Read the code snipper in the links below &lt;/P&gt;
  &lt;P&gt; &lt;A href="http://zevolving.com/2013/04/read-call-stack-to-check-on-called-program/" target="test_blank"&gt;http://zevolving.com/2013/04/read-call-stack-to-check-on-called-program/&lt;/A&gt; &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://stackoverflow.com/questions/11499488/how-to-get-the-program-call-stack-trace-in-abap" target="test_blank"&gt;https://stackoverflow.com/questions/11499488/how-to-get-the-program-call-stack-trace-in-abap&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;let me know if that helps&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;vinita&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 20:12:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634657#M26773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-01-30T20:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the ABAP Stack of another program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634658#M26774</link>
      <description>&lt;P&gt;What about using a good old fashioned where-used list? &lt;/P&gt;
  &lt;P&gt;Or get the FM to dump some data into a trace table by which you can trace back the business context.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 21:42:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634658#M26774</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-01-30T21:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the ABAP Stack of another program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634659#M26775</link>
      <description>&lt;P&gt;Hi Hesen,&lt;/P&gt;
  &lt;P&gt;Thank you for replying . yes , FM is giving the active call stack of current running program.&lt;/P&gt;
  &lt;P&gt;My requirement is like &lt;/P&gt;
  &lt;P&gt;I have one FM which which Triggers when ever message goes out/come in to SAP but problem is like we dont know what the exact scenarios which is executing(Triggering point ) this FM. &lt;/P&gt;
  &lt;P&gt;So I am trying to find out, is there any way to backtrack the info (collecting abap stack ) from Current LUW to previous LUWs( if any) where the process started and already finished execution blocks info.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Purna&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 09:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-get-the-abap-stack-of-another-program/m-p/634659#M26775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-05T09:11:59Z</dc:date>
    </item>
  </channel>
</rss>

