<?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: BADI code executes only when called by a Remote Enabled FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-code-executes-only-when-called-by-a-remote-enabled-fm/m-p/9208332#M1716089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Atrinandan,&lt;/P&gt;&lt;P&gt;i think, You can use&amp;nbsp; function SYSTEM_CALLSTACK to check badi is called from RFC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2012 13:44:23 GMT</pubDate>
    <dc:creator>basarozgur_kahraman</dc:creator>
    <dc:date>2012-12-19T13:44:23Z</dc:date>
    <item>
      <title>BADI code executes only when called by a Remote Enabled FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-code-executes-only-when-called-by-a-remote-enabled-fm/m-p/9208331#M1716088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to execute a BADI implementation only in case called from certain transaction codes or a remote enabled FM.&lt;/P&gt;&lt;P&gt;For transaction codes we have used the system variable sy-tcode check. &lt;/P&gt;&lt;P&gt;But need help on how to check for the remote enabled Z function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 13:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-code-executes-only-when-called-by-a-remote-enabled-fm/m-p/9208331#M1716088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-19T13:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: BADI code executes only when called by a Remote Enabled FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-code-executes-only-when-called-by-a-remote-enabled-fm/m-p/9208332#M1716089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Atrinandan,&lt;/P&gt;&lt;P&gt;i think, You can use&amp;nbsp; function SYSTEM_CALLSTACK to check badi is called from RFC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 13:44:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-code-executes-only-when-called-by-a-remote-enabled-fm/m-p/9208332#M1716089</guid>
      <dc:creator>basarozgur_kahraman</dc:creator>
      <dc:date>2012-12-19T13:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: BADI code executes only when called by a Remote Enabled FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-code-executes-only-when-called-by-a-remote-enabled-fm/m-p/9208333#M1716090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Atrinandan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if you're trying to detect a particular z-RFC or just whether or not the caller is an RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at function RFC_WITHIN_SAME_SYSTEM to see if meets your needs. Exception NO_RFC_COMMUNICATION can be used to determine if you have an RFC caller, and parameter CALLER_IN_SAME_SYSTEM can be used to determine whether the caller is in the current system or another. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also function RFC_GET_ATTRIBUTES for more details about a caller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Amy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 14:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-code-executes-only-when-called-by-a-remote-enabled-fm/m-p/9208333#M1716090</guid>
      <dc:creator>amy_king</dc:creator>
      <dc:date>2012-12-19T14:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: BADI code executes only when called by a Remote Enabled FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-code-executes-only-when-called-by-a-remote-enabled-fm/m-p/9208334#M1716091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Atrinandan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can find from table TFDIR. pass the FM name, if FMODE = R then it is RFC else it will be blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 14:05:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-code-executes-only-when-called-by-a-remote-enabled-fm/m-p/9208334#M1716091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-19T14:05:25Z</dc:date>
    </item>
  </channel>
</rss>

