<?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 BAPI with different user ID in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-bapi-with-different-user-id/m-p/6729130#M1456790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jamie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes it is possible...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In RFC destination SM59 created to all system 2, change the user id and pwd with which you need to call to system 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then BAPI will execute with username you provided in RFC destination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;normally it will be provided with service user which carries current system user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Syed A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Mar 2010 16:08:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-16T16:08:56Z</dc:date>
    <item>
      <title>Call a BAPI with different user ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-bapi-with-different-user-id/m-p/6729128#M1456788</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;Here is my scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                  CALL  BAPI&lt;/P&gt;&lt;P&gt;System 1 -&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------" /&gt;&lt;P&gt;&amp;gt;   System 2&lt;/P&gt;&lt;P&gt;               &amp;lt;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------" /&gt;&lt;P&gt;                                            TRANSFER DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is when I call the BAPI in System 2 with a different user ID than is actually logged into System 1&lt;/P&gt;&lt;P&gt;executing the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 16:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-bapi-with-different-user-id/m-p/6729128#M1456788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T16:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Call a BAPI with different user ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-bapi-with-different-user-id/m-p/6729129#M1456789</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 suppose you use a Trusted RFC connection in your BAPI call and not an RFC destination with a dedicated user in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do in the source system is calling your BAPI from a background process (job).&lt;/P&gt;&lt;P&gt;You can change the user ID in the step of the job.&lt;/P&gt;&lt;P&gt;In this case trusted RFC will make sure that the BAPI is called in the target system with the user specified in the step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If trusted RFC is not an option you can use an RFC destination with a dedicated user ID in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 16:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-bapi-with-different-user-id/m-p/6729129#M1456789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T16:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Call a BAPI with different user ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-bapi-with-different-user-id/m-p/6729130#M1456790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jamie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes it is possible...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In RFC destination SM59 created to all system 2, change the user id and pwd with which you need to call to system 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then BAPI will execute with username you provided in RFC destination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;normally it will be provided with service user which carries current system user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Syed A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 16:08:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-bapi-with-different-user-id/m-p/6729130#M1456790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T16:08:56Z</dc:date>
    </item>
  </channel>
</rss>

