<?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: ABAP RFC flag in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-rfc-flag/m-p/3378958#M811326</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;This FM is determine RFC destination type. I'm calling RFC from external program (.net) or abap. I want to determine where called this program (abap or .net connector). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Altug Bayram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2008 17:01:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-07T17:01:01Z</dc:date>
    <item>
      <title>ABAP RFC flag</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-rfc-flag/m-p/3378956#M811324</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;I have a RFC enabled Funciton Module and I want to write a code running depends on connection type (RFC or dialog). I found a flag SY-CALLD. But I'm not sure about it. Can I use this flag for to determine connection type? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Altug Bayram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 16:26:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-rfc-flag/m-p/3378956#M811324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T16:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP RFC flag</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-rfc-flag/m-p/3378957#M811325</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;Try using the FM &lt;STRONG&gt;RFC_READ_DESTINATION_TYPE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bala.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 16:49:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-rfc-flag/m-p/3378957#M811325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T16:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP RFC flag</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-rfc-flag/m-p/3378958#M811326</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;This FM is determine RFC destination type. I'm calling RFC from external program (.net) or abap. I want to determine where called this program (abap or .net connector). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Altug Bayram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 17:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-rfc-flag/m-p/3378958#M811326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T17:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP RFC flag</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-rfc-flag/m-p/3378959#M811327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Altug,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try to use the following statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL 'RFCControl' ID 'CODE' FIELD '?'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sy-subrc will give you an information, if you'*re connected via rfc, or not. But be aware, that this statement is for SAP internal use only (i.e. can be changed without information, no documentation, ...). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check, if your connected via rfc, or if you're in a dialog mode, you can also try to get an information, if a GUI is available. I've used this in one of my function modules, that can be called from a web-application or from a SAP report.&lt;/P&gt;&lt;P&gt;Example: function module RFC_IS_GUI_ON (by the way- this function module is also using the CALL 'RFCControl' statement).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 21:27:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-rfc-flag/m-p/3378959#M811327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T21:27:43Z</dc:date>
    </item>
  </channel>
</rss>

