<?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: S_RFC &amp; BAPI Excel ??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016682#M1608273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;For an important auth object it's not too much extra work to restrict properly &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Agree &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2011 14:05:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-25T14:05:10Z</dc:date>
    <item>
      <title>S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016672#M1608263</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;I have a question VB scripting stuff in Excel using BAPI.&lt;/P&gt;&lt;P&gt;Which authorization object must be added, whether it be S_RFC and specific functional groups? Can I possibly give a *, and the power to BAPI will be with current user privileges in the roles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;T,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 10:00:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016672#M1608263</guid>
      <dc:creator>former_member312761</dc:creator>
      <dc:date>2011-07-25T10:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016673#M1608264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomsie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Which authorization object must be added, whether it be S_RFC and specific functional groups? Can I possibly give a *&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. S_RFC with activity 16, and function group * is okay. I recommend check this fantastic article [How to Connect to SAP R3 and Call BAPI from MS Excel VBA|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/608058b4-81b7-2910-4598-8a66dcdba0a8] that gives all the required information on achieving this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 10:28:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016673#M1608264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T10:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016674#M1608265</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;Restrict the S_RFC access to only the FUGR's you need - this will depend on how you have set parameter auth/rfc_authority_check but should be very easy to pick up what's needed in a trace.  As a general point, don't give full access to this object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the rest of the access, I wouldn't rely on picking up the auths from the roles.  It's a bit of a hit-and-miss approach and really depends what you are trying to achieve through the excel interface.  If we can have a bit more info about what it will be used for then we can advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 10:52:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016674#M1608265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T10:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016675#M1608266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;users want to run reports, download data from Excel using VB.&lt;/P&gt;&lt;P&gt;If you get permission S_RFC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACTVT - 16&lt;/P&gt;&lt;P&gt;RFC_NAME - *&lt;/P&gt;&lt;P&gt;RFC_TYPE - FUGR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether or not you will be able to perform other actions than those that are in their roles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 11:10:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016675#M1608266</guid>
      <dc:creator>former_member312761</dc:creator>
      <dc:date>2011-07-25T11:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016676#M1608267</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;Yes. This should get the required access. However, as mentioned by Alex, put a trace to find out if any additional Function group authorizations are required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 11:40:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016676#M1608267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T11:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016677#M1608268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;users want to run reports, download data from Excel using VB.&lt;/P&gt;&lt;P&gt;&amp;gt; If you get permission S_RFC:&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; ACTVT - 16&lt;/P&gt;&lt;P&gt;&amp;gt; RFC_NAME - *&lt;/P&gt;&lt;P&gt;&amp;gt; RFC_TYPE - FUGR&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Whether or not you will be able to perform other actions than those that are in their roles?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; BR,&lt;/P&gt;&lt;P&gt;&amp;gt; T.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi, Don't give RFC_NAME - *.  Restrict it to the FUGR's (or FM's) that they actually need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are getting data from SAP then don't rely on their existing auths to get the info properly.  I would also question why they are not using the many standard reporting frameworks (standard reports, report painter/writer, sap query, BW etc) to get the data in a unified and consistent manner.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 12:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016677#M1608268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T12:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016678#M1608269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are using VBA, does it really matter with giving * for the RFC Names, since the Excel only picks up the data from the system using a communication user which has restrictions already??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please clarify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 12:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016678#M1608269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T12:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016679#M1608270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It really depends on how it's being used.  The OP was talking about current privileges in the users roles which indicates that it will be the end users that require the additional access as they will be initiating RFC connection with their own ID through VBA in Excel.   In the same way that I wouldn't want S_TCODE = *, it would effectively be doing the same for RFC's.  Even if it's a comms user it's still best (in my opinion) to restrict the ability to start FM's through S_RFC.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 12:47:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016679#M1608270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T12:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016680#M1608271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the clarification. But, it was just mentioned that the users will be using Excel to run reports. Might be you are right, if they are using their own user Ids to login from Excel. But, if if a communication user is used for reporting purpose, I hope it is okay to give a * to the function groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 13:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016680#M1608271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T13:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016681#M1608272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still wouldn't give * but each to their own.  For an important auth object it's not too much extra work to restrict properly &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 13:44:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016681#M1608272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T13:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016682#M1608273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;For an important auth object it's not too much extra work to restrict properly &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Agree &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 14:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016682#M1608273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T14:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016683#M1608274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one of the basic principles in security is POLA - Principle of Least Authority. If you don't follow this basic principle than you are really asking for trouble. Giving authorization to run any FM is a really dumb idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 01:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016683#M1608274</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2011-07-26T01:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: S_RFC &amp; BAPI Excel ???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016684#M1608275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note that as of release 7.10 the RFC_TYPE field domain is extended to include FUNC in addition to FUGR. This means that you can control RFC at the function module name level &lt;STRONG&gt;if&lt;/STRONG&gt; you first let the function group check fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much more granularity can be achieved this way and it makes building roles much easier because you can add the fuction modules to the menu and maintain FUNC as an SU24 proposal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 08:18:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-rfc-bapi-excel/m-p/8016684#M1608275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-26T08:18:42Z</dc:date>
    </item>
  </channel>
</rss>

