<?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: Information on the call mode inside an (RFC-enabled) function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073682#M429713</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;In most common, RFC is using an own user (f.e. RFC_USER) to log in to SAP, so you can check the SY-UNAME for this process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2007 10:49:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-21T10:49:29Z</dc:date>
    <item>
      <title>Information on the call mode inside an (RFC-enabled) function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073681#M429712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just working on and with some RFC-enabled own function modules. Normally these function modules are called via RFC from an business connector. &lt;/P&gt;&lt;P&gt;Now the situation is that i want to call the same function modules inside the SAP-system, but with a slightly other functionality. &lt;/P&gt;&lt;P&gt;The question: is there any field (sy-???) at runtime which gives me the information whether this function call came from outside or inside the SAP system ?&lt;/P&gt;&lt;P&gt;I'm at Rel.4.7 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards &lt;/P&gt;&lt;P&gt;Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 10:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073681#M429712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T10:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Information on the call mode inside an (RFC-enabled) function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073682#M429713</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;In most common, RFC is using an own user (f.e. RFC_USER) to log in to SAP, so you can check the SY-UNAME for this process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 10:49:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073682#M429713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T10:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Information on the call mode inside an (RFC-enabled) function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073683#M429714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tamas, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes , but: these function modules will be rolled out to more than one system. So i don't know, which users will be used there for rfc-calls.  Ok , i could check sy-uname being a communication user.. &lt;/P&gt;&lt;P&gt;But my hope is that there's a way by some flag set in system tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 12:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073683#M429714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T12:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Information on the call mode inside an (RFC-enabled) function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073684#M429715</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;If you check the user list in the transaction SM04, there is a field (Type), which can be useful for you. I'll try to find out, where is this field read from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course it is based on the user again, but not requires hard coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 13:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073684#M429715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T13:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Information on the call mode inside an (RFC-enabled) function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073685#M429716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tamas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's the idea. Looked it up - it's a c-call 'ThUsrInfo' return a table. &lt;/P&gt;&lt;P&gt;Reading that with sy-uname and setting a flag if RFC-called or not - a nice little form-routine. &lt;/P&gt;&lt;P&gt;Beside, there's still some more info which might be useful to me (ip-adress). &lt;/P&gt;&lt;P&gt;I'll try that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and best regards&lt;/P&gt;&lt;P&gt;Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 13:29:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073685#M429716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T13:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Information on the call mode inside an (RFC-enabled) function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073686#M429717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I didn't find any useful tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might check the coding of the program "RSM04000_ALV", this provides the results of SM04, I don't have time for this now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just spotted that you solved it, great job!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Tamás&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Tamás Nyisztor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 13:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-on-the-call-mode-inside-an-rfc-enabled-function-module/m-p/2073686#M429717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T13:35:03Z</dc:date>
    </item>
  </channel>
</rss>

