<?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: RFC error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517310#M237981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search the forum for "debugging RFC calls."  Missing leading zeroes is a common problem when making calls from external systems.  Make sure the request parameters are accurate.  Can you get a dump of the data being passed immediately before the RFC call from Biztalk?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Sep 2006 14:40:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-06T14:40:07Z</dc:date>
    <item>
      <title>RFC error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517309#M237980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am accessing HRP tables in a RFC function call, to select Training and Event management data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defined a stucture and am populating fields in an internal table  of the declared structured type.&lt;/P&gt;&lt;P&gt;This internal table is passed as a TABLES parameter to the RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The RFC works fine when tested within SAP. The Event details are correctly retrived using the HRP1000, HRP1001, HRP1024, HRP1025 tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the RFC returns with an empty table when called from Biztalk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I hardcode values in the RFC, these hardcoded values are correctly passed to Biztalk.&lt;/P&gt;&lt;P&gt;So it seems that the SELECT statements are not getting executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could there be a problem in table authorisation?&lt;/P&gt;&lt;P&gt;Can anyone give me a clue as to where I can start looking?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 14:30:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517309#M237980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T14:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: RFC error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517310#M237981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search the forum for "debugging RFC calls."  Missing leading zeroes is a common problem when making calls from external systems.  Make sure the request parameters are accurate.  Can you get a dump of the data being passed immediately before the RFC call from Biztalk?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 14:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517310#M237981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T14:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: RFC error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517311#M237982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The RFC is exopecting only one parameter, which is EVENT_ID. I am passing the entire 8 digits of the numeric field of the input parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can  I get the data dump before the Biztalk call? Please advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 14:45:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517311#M237982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T14:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: RFC error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517312#M237983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have any experience with Biztalk, so I don't know if it can provide a dump of the data or not.  It should have some trace ability on the RFC call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something else you could try is to add an infinite loop into your function.  Something like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you initiate the call from Biztalk, go to transaction SM50 and find your process.  Select it and go to Program/Mode-&amp;gt;Program-&amp;gt;Debugging and you should jump into the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then step through the code in debug to see what is happening (or not happening in yuor case).  Then change SY-SUBRC = 0 here to exit the loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 14:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517312#M237983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T14:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: RFC error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517313#M237984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;Thankyou very much.&lt;/P&gt;&lt;P&gt;I was able to put an infinite loop and look at the input parameters.&lt;/P&gt;&lt;P&gt;Biztalk is passing in '00000000' as Event Id to the RFC. Thats the reason the RFC returns no values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to find out why the input parameter comes in as a blank!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 15:35:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517313#M237984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T15:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: RFC error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517314#M237985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 15:36:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-error/m-p/1517314#M237985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T15:36:43Z</dc:date>
    </item>
  </channel>
</rss>

