<?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 RFC Connection error - Invalid length. Check parameters. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-connection-error-invalid-length-check-parameters/m-p/1805083#M345604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Forum, Good Morning!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My ABAP Program will run in BACK Ground Job Processing(SM37) to download data to Presentation server( Local PC Directory). So I have created a RFC destination type TCP/IP to use 'RFC_REMOTE_FILE'  function module in my ABAP Program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am trying to test RFC connection It is giving following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR   Invalid length. Check parameters&lt;/P&gt;&lt;P&gt;LOCATION  SAP- Server dsapp05_R3D_10 on host dsapp05 (wp 2)&lt;/P&gt;&lt;P&gt;COMPONENT   CPIC&lt;/P&gt;&lt;P&gt;COUNTER   14&lt;/P&gt;&lt;P&gt;MODULE&lt;/P&gt;&lt;P&gt;LINE&lt;/P&gt;&lt;P&gt;RETURN CODE    240&lt;/P&gt;&lt;P&gt;SUBRC                0&lt;/P&gt;&lt;P&gt;RELEASE           640&lt;/P&gt;&lt;P&gt;TIME                   Mon Dec 11 10:08:05  2006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did following procedure before I test RFC destination..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created RFC Destination : BJRFC&lt;/P&gt;&lt;P&gt;Technical Settings: Selected Registered Server Program radio button&lt;/P&gt;&lt;P&gt;Program ID: BJACCESS&lt;/P&gt;&lt;P&gt;Gateway host : 172.22.149.199&lt;/P&gt;&lt;P&gt;gateway Service: sapdp10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my local machine Copied  &amp;#145;SAPRFC.INI&amp;#146; file from the TEXT folder to the BIN Folder. &lt;/P&gt;&lt;P&gt;Then open the SAPRFC.INI file in BIN folder and Register a RFC server program at a SAP Gateway. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DEST=R3D_R &lt;/P&gt;&lt;P&gt;TYPE=R &lt;/P&gt;&lt;P&gt;PROGID=BJACCESS.rfcexec &lt;/P&gt;&lt;P&gt;GWHOST=172.22.149.199&lt;/P&gt;&lt;P&gt;GWSERV=sapdp10 &lt;/P&gt;&lt;P&gt;RFC_TRACE=0 &lt;/P&gt;&lt;P&gt;DEST=R3D_R &lt;/P&gt;&lt;P&gt;TYPE=R &lt;/P&gt;&lt;P&gt;PROGID=BJACCESS.trfcexec &lt;/P&gt;&lt;P&gt;GWHOST=172.22.149.199 &lt;/P&gt;&lt;P&gt;GWSERV=sapdp10&lt;/P&gt;&lt;P&gt;RFC_TRACE=0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then entered below command in dos prompt. &lt;/P&gt;&lt;P&gt;C:\Program Files\SAP\FrontEnd\SAPgui\rfcsdk\bin&amp;gt;rfcexec -aBJACCESS &amp;#150;172.22.149.199 &amp;#150;xsapdp10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how do i proceed in this kind of case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help  please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Dec 2006 16:56:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-11T16:56:08Z</dc:date>
    <item>
      <title>RFC Connection error - Invalid length. Check parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-connection-error-invalid-length-check-parameters/m-p/1805083#M345604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Forum, Good Morning!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My ABAP Program will run in BACK Ground Job Processing(SM37) to download data to Presentation server( Local PC Directory). So I have created a RFC destination type TCP/IP to use 'RFC_REMOTE_FILE'  function module in my ABAP Program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am trying to test RFC connection It is giving following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR   Invalid length. Check parameters&lt;/P&gt;&lt;P&gt;LOCATION  SAP- Server dsapp05_R3D_10 on host dsapp05 (wp 2)&lt;/P&gt;&lt;P&gt;COMPONENT   CPIC&lt;/P&gt;&lt;P&gt;COUNTER   14&lt;/P&gt;&lt;P&gt;MODULE&lt;/P&gt;&lt;P&gt;LINE&lt;/P&gt;&lt;P&gt;RETURN CODE    240&lt;/P&gt;&lt;P&gt;SUBRC                0&lt;/P&gt;&lt;P&gt;RELEASE           640&lt;/P&gt;&lt;P&gt;TIME                   Mon Dec 11 10:08:05  2006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did following procedure before I test RFC destination..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created RFC Destination : BJRFC&lt;/P&gt;&lt;P&gt;Technical Settings: Selected Registered Server Program radio button&lt;/P&gt;&lt;P&gt;Program ID: BJACCESS&lt;/P&gt;&lt;P&gt;Gateway host : 172.22.149.199&lt;/P&gt;&lt;P&gt;gateway Service: sapdp10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my local machine Copied  &amp;#145;SAPRFC.INI&amp;#146; file from the TEXT folder to the BIN Folder. &lt;/P&gt;&lt;P&gt;Then open the SAPRFC.INI file in BIN folder and Register a RFC server program at a SAP Gateway. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DEST=R3D_R &lt;/P&gt;&lt;P&gt;TYPE=R &lt;/P&gt;&lt;P&gt;PROGID=BJACCESS.rfcexec &lt;/P&gt;&lt;P&gt;GWHOST=172.22.149.199&lt;/P&gt;&lt;P&gt;GWSERV=sapdp10 &lt;/P&gt;&lt;P&gt;RFC_TRACE=0 &lt;/P&gt;&lt;P&gt;DEST=R3D_R &lt;/P&gt;&lt;P&gt;TYPE=R &lt;/P&gt;&lt;P&gt;PROGID=BJACCESS.trfcexec &lt;/P&gt;&lt;P&gt;GWHOST=172.22.149.199 &lt;/P&gt;&lt;P&gt;GWSERV=sapdp10&lt;/P&gt;&lt;P&gt;RFC_TRACE=0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then entered below command in dos prompt. &lt;/P&gt;&lt;P&gt;C:\Program Files\SAP\FrontEnd\SAPgui\rfcsdk\bin&amp;gt;rfcexec -aBJACCESS &amp;#150;172.22.149.199 &amp;#150;xsapdp10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how do i proceed in this kind of case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help  please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 16:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-connection-error-invalid-length-check-parameters/m-p/1805083#M345604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T16:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Connection error - Invalid length. Check parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-connection-error-invalid-length-check-parameters/m-p/1805084#M345605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;   Just you check whether your program is registered or not.&lt;/P&gt;&lt;P&gt;   If it is registered then you can find in SMGW transaction and go to &lt;/P&gt;&lt;P&gt;   GOTO - Logged on clients &lt;/P&gt;&lt;P&gt;in that you will be able to see your program name if it registers succesfully.&lt;/P&gt;&lt;P&gt;you have typed rfcexec -aBJACCESS &amp;#150;172.22.149.199 &amp;#150;xsapdp10&lt;/P&gt;&lt;P&gt;in this way.&lt;/P&gt;&lt;P&gt;In this you have misseg 'g' in front of your sap ip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Rajehs Balusu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 07:13:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-connection-error-invalid-length-check-parameters/m-p/1805084#M345605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T07:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Connection error - Invalid length. Check parameters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-connection-error-invalid-length-check-parameters/m-p/1805085#M345606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ABAP Program running in background (Application Server)  can never save anything on the Presentation Server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 04:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-connection-error-invalid-length-check-parameters/m-p/1805085#M345606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T04:06:33Z</dc:date>
    </item>
  </channel>
</rss>

