<?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: Debugging RFC function module from ECC to CRM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143594#M1620615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendra ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could you please elaborate on the authorization part as i have got the same error saying that you are not authorized to use this function module for client xxx and transaction xxx .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kishore Vishwakarma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 11:15:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-04-23T11:15:34Z</dc:date>
    <item>
      <title>Debugging RFC function module from ECC to CRM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143585#M1620606</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;My requirement is to debug an RFC function module present in CRM(7.0) system from ECC(6.0) system. A report program in ECC will call CRM custom FM. I found many posts in SDN with the same issue and tried to implement suggestions provided there. But I couldn't succeed. The approach I followed is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I logged in to ECC report program and kept an external breakpoint just before the function module call. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I logged in to CRM system, opened the function module and kept an external breakpoint there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both the systems I provided the dialogue userid( id through which I log in to SAPGUI) in the system-&amp;gt;settings-&amp;gt;debugging option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In CRM I activated the external break point in  transaction SRDEBUG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I execute the report program in ECC, control stops at the breakpoint. If I press F5 at the function call, control is not going to the external break point set in the CRM FM. I am getting output of FM directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with different settings like turning on the check box for IP matching and session breakpoint active immediate, switching to classic debugger etc. I also tried to provide the RFC user id instead of dialogue user but system throws exception saying only dialogue userids are allowed. I found that by inserting an infinite loop statement, control goes inside the RFC CRM FM but I prefer not to change the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if I missed anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 09:14:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143585#M1620606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-29T09:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging RFC function module from ECC to CRM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143586#M1620607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check your connection (transaction code SM59) that is used to call the RFC. Edit that connection to allow you to enter user-id and password through dialog. &lt;/P&gt;&lt;P&gt;Or try setting a debug point for the user id that is used in RFC connection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 09:32:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143586#M1620607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-29T09:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging RFC function module from ECC to CRM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143587#M1620608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also try to enter in system debugging mode before pressing F5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 09:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143587#M1620608</guid>
      <dc:creator>arseni_gallardo</dc:creator>
      <dc:date>2011-08-29T09:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging RFC function module from ECC to CRM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143588#M1620609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at  this [Link|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0e8b21b-e1b4-2c10-49b5-fd6a95162976?quicklink=index&amp;amp;overridelayout=true]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 09:51:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143588#M1620609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-29T09:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging RFC function module from ECC to CRM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143589#M1620610</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;Debug RFC calls &lt;/P&gt;&lt;P&gt;When an RFC function module is called it is usually not possible to debug the call, using the below techniques we can achieve the same. For this example we are calling an RFC enabled FM in ECC system from CRM system. &lt;/P&gt;&lt;P&gt;Scenario 1: Calling a custom RFC FM &lt;/P&gt;&lt;P&gt;STEP 1: Add an infinite loop in the remote custom Function Module (adding a u201CDO. ENDDO.u201D statement at the start of the FM would be enough). &lt;/P&gt;&lt;P&gt;STEP 2: Execute your program in the CRM system. The execution stops at the RFC call, because of the infinite loop. &lt;/P&gt;&lt;P&gt;STEP 3: Now login to the ECC system and go to transaction SM51 select the process which is executing the RFC and navigate to the menu: u201CProgram/Session-&amp;gt;Program-&amp;gt;Debuggingu201D this triggers the debugger session in a separate window. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario 2: Calling a Standard RFC FM &lt;/P&gt;&lt;P&gt;When we are debugging a standard program we cannot add the infinite loop, hence we cannot go to SM51 and debug the work process. The RFC destination for the ECC system has a User specified, the RFC function module gets executed using this users credentials. Usually the basis team set up the RFC user as non Dialog user, this does not allow debugging. Contact your Basis team and get this changed to a dialog user enabling you to debug RFC function calls via the normal debugger. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Note: User name configured in the RFC destination (transaction SM59)  &lt;/P&gt;&lt;P&gt;Note: User type for the RFC User (transaction SU01D) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 10:18:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143589#M1620610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-29T10:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging RFC function module from ECC to CRM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143590#M1620611</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;As per my knowledge, you need authorization for RFC. check the role with BASIS team and ask them to assign proper role to debug in remote systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandu V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 11:03:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143590#M1620611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-29T11:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging RFC function module from ECC to CRM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143591#M1620612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this  link   below  with  screenshots   .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;SAPTechnical link removed&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Sep 5, 2011 12:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 05:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143591#M1620612</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2011-09-05T05:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging RFC function module from ECC to CRM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143592#M1620613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First things first, are you calling this RFC synchronously or Asynchronously. If asynchronous, you will not be able to debug the RFC through. If synchronous you should be fine with what you have done already, make sure you have added the system failure and communication failure exceptions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Post the code where in you are calling this RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 06:55:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143592#M1620613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-05T06:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging RFC function module from ECC to CRM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143593#M1620614</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;Thanks a lot for sharing your views. The issue is resolved finally after providing debugging authorizations for the RFC user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Narendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 09:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143593#M1620614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-05T09:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging RFC function module from ECC to CRM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143594#M1620615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendra ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could you please elaborate on the authorization part as i have got the same error saying that you are not authorized to use this function module for client xxx and transaction xxx .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kishore Vishwakarma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 11:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-rfc-function-module-from-ecc-to-crm/m-p/8143594#M1620615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-23T11:15:34Z</dc:date>
    </item>
  </channel>
</rss>

