<?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: Call a Function as a different User in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-function-as-a-different-user/m-p/6401403#M1406344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can set up an RFC destination to the local system using a different user id/password.  Then callt his function in your program using the DESTINATION extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Call Function 'Z_THIS_FUNCTION' DESTINATION 'your_RFC_Destination'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Dec 2009 16:44:01 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2009-12-11T16:44:01Z</dc:date>
    <item>
      <title>Call a Function as a different User</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-function-as-a-different-user/m-p/6401402#M1406343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to call a function as a different user in a programm? i have to call a function which a normal Sap user is not allowed to call but i have to use this function in my program. So is there a way to call this very function as a different user as the user who is using my program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i thought to make a background job which calls another abap report as CENTRALADMIN who is able to call this specific function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but maybe there is another way to reach this without making a background job for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THX in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2009 16:33:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-function-as-a-different-user/m-p/6401402#M1406343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-11T16:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Call a Function as a different User</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-function-as-a-different-user/m-p/6401403#M1406344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can set up an RFC destination to the local system using a different user id/password.  Then callt his function in your program using the DESTINATION extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Call Function 'Z_THIS_FUNCTION' DESTINATION 'your_RFC_Destination'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2009 16:44:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-function-as-a-different-user/m-p/6401403#M1406344</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2009-12-11T16:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Call a Function as a different User</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-function-as-a-different-user/m-p/6401404#M1406345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your information. but could you be a little bit more precise about that 'your_RFC_Destination' please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how exactly can i define the user who should call the function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2009 16:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-function-as-a-different-user/m-p/6401404#M1406345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-11T16:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Call a Function as a different User</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-function-as-a-different-user/m-p/6401405#M1406346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;allright. got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help. saved my weekend &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2009 17:34:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-function-as-a-different-user/m-p/6401405#M1406346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-11T17:34:11Z</dc:date>
    </item>
  </channel>
</rss>

