<?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: Function Module to read stack values. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-stack-values/m-p/3809812#M916403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to get the called function module name  in FM_C add one more paramter to differentiate the called functionmodule and pass the value while calling the fm_c and check the same in fm_c.&lt;/P&gt;&lt;P&gt;Do award points if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2008 12:48:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-22T12:48:13Z</dc:date>
    <item>
      <title>Function Module to read stack values.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-stack-values/m-p/3809811#M916402</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;Is there is any function module to read the stack values.&lt;/P&gt;&lt;P&gt;My requirement is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 FM modules say FM_A, FM_B &amp;amp; FM_C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM_A will call FM_C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM_B will call FM_C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In FM_C, I need to identify whether the call has been made from FM_A or FM_B without changing these two function modules and by changing only FM_C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 09:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-stack-values/m-p/3809811#M916402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T09:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to read stack values.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-stack-values/m-p/3809812#M916403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to get the called function module name  in FM_C add one more paramter to differentiate the called functionmodule and pass the value while calling the fm_c and check the same in fm_c.&lt;/P&gt;&lt;P&gt;Do award points if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 12:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-stack-values/m-p/3809812#M916403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T12:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to read stack values.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-stack-values/m-p/3809813#M916404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...without changing these two function modules ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If FM_A &amp;amp; FM_B in ont functional group - no way.&lt;/P&gt;&lt;P&gt;If functional groups of these FM is defferent you can try get any variable from top include.&lt;/P&gt;&lt;P&gt;Need add procedure in FM_C&lt;/P&gt;&lt;P&gt;ASSIGN ('(SAPLxxxx)yyyy') TO &amp;lt;FS&amp;gt;, where&lt;/P&gt;&lt;P&gt;  xxxx - function group name&lt;/P&gt;&lt;P&gt;  yyyy - variable from top include&lt;/P&gt;&lt;P&gt;IF field-symbol is assigned - FM from this group started our FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's will worked only if new LUW started and modules called by once.  Very ugly method and not 100% garanty, but I don't know any else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 13:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-stack-values/m-p/3809813#M916404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T13:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to read stack values.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-stack-values/m-p/3809814#M916405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How about FM 'SYSTEM_CALLSTACK'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 10:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-stack-values/m-p/3809814#M916405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T10:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to read stack values.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-stack-values/m-p/3809815#M916406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roger Zhong  ... Your reply was to the point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 13:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-read-stack-values/m-p/3809815#M916406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T13:38:13Z</dc:date>
    </item>
  </channel>
</rss>

