<?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 Call problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890266#M679184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hie there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got 2 systems and i need to pass data (structure) to the other system using an RFC call to Function Z_*&lt;STRONG&gt;_&lt;/STRONG&gt;*_xxxx_CREATE.&lt;/P&gt;&lt;P&gt; this function has a structure say IS_XXXX as importing parameter. and EX_CREATED and EX_RETURN as Exporting parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a method in system1 iam am calling this function as,&lt;/P&gt;&lt;P&gt;where c_rfc = Z_*&lt;STRONG&gt;_&lt;/STRONG&gt;*_xxxx_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;gt;&amp;gt;CALL FUNCTION c_rfc DESTINATION l_rfc_dest&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        IS_FTD_DATA = it_DATA&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        ES_CREATED  = it_create&lt;/P&gt;&lt;P&gt;        ET_RETURN   = lt_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created / declared internal tables it_DATA,it_create,lt_return in the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However i am getting this error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Data error (invalid data type 17) in a Remote Function Call"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above internal tables are created in such a way that the are similar with the structures used in System2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will reward points for helpful answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2007 11:18:43 GMT</pubDate>
    <dc:creator>former_member746838</dc:creator>
    <dc:date>2007-10-15T11:18:43Z</dc:date>
    <item>
      <title>RFC Call problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890266#M679184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hie there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got 2 systems and i need to pass data (structure) to the other system using an RFC call to Function Z_*&lt;STRONG&gt;_&lt;/STRONG&gt;*_xxxx_CREATE.&lt;/P&gt;&lt;P&gt; this function has a structure say IS_XXXX as importing parameter. and EX_CREATED and EX_RETURN as Exporting parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a method in system1 iam am calling this function as,&lt;/P&gt;&lt;P&gt;where c_rfc = Z_*&lt;STRONG&gt;_&lt;/STRONG&gt;*_xxxx_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;gt;&amp;gt;CALL FUNCTION c_rfc DESTINATION l_rfc_dest&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        IS_FTD_DATA = it_DATA&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        ES_CREATED  = it_create&lt;/P&gt;&lt;P&gt;        ET_RETURN   = lt_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created / declared internal tables it_DATA,it_create,lt_return in the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However i am getting this error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Data error (invalid data type 17) in a Remote Function Call"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above internal tables are created in such a way that the are similar with the structures used in System2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will reward points for helpful answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 11:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890266#M679184</guid>
      <dc:creator>former_member746838</dc:creator>
      <dc:date>2007-10-15T11:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Call problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890267#M679185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post the structure of your tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 11:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890267#M679185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-15T11:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Call problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890268#M679186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how are you passing tables in IMPORT EXPORT parameter for a Function Module. &lt;/P&gt;&lt;P&gt;You should use the TABLES parameter for passing Internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 11:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890268#M679186</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2007-10-15T11:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Call problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890269#M679187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which one s? do you mean both the internal tables and the referenced tables in the called FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 12:03:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890269#M679187</guid>
      <dc:creator>former_member746838</dc:creator>
      <dc:date>2007-10-15T12:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Call problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890270#M679188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need the data of the Internal table to be passed. Then you have to use TABLES parameter. You can try with TABLES parameter and then Try calling the FM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 13:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890270#M679188</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2007-10-15T13:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Call problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890271#M679189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using importing/exporting for tables is fine (TABLES statement is obsolete anyway), just make sure that when you define the function module interface that in the exporting parameter IS_FTD_DATA refers to a table type. If it refers to a structure it will only be a structure. Only for a parameter referring to a table type you will be able to pass a internal table to. The same is true for the importing parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error suggests that you are using an invalid data type in the RFC, certain fields are not allowed in the interface of a RFC. E.g. you can't use fields of type STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you call your RFC are you getting a dump or is it just an error message? Can you give more details regarding the dump or error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 14:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890271#M679189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-15T14:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Call problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890272#M679190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When debugging at this tage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;CALL FUNCTION c_rfc DESTINATION l_rfc_dest&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        IS_FTD_DATA = it_ZBS_FTD_DATA&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        ES_CREATED  = it_ftd_create&lt;/P&gt;&lt;P&gt;        ET_RETURN   = lt_return.&lt;/P&gt;&lt;P&gt;thats where i am getting this error below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         CALL_FUNCTION_ILLEGAL_DATA_TYP&lt;/P&gt;&lt;P&gt;Date and Time          15.10.2007 11:15:34&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    A data error occurred when executing a Remote Function Call.&lt;/P&gt;&lt;P&gt;    One field does not have the supported data type 17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to correct the error&lt;/P&gt;&lt;P&gt;    Check whether the communication partner uses a more recent release than&lt;/P&gt;&lt;P&gt;    the own system.&lt;/P&gt;&lt;P&gt;    If the called function module uses a data type that is not supported by&lt;/P&gt;&lt;P&gt;    the communication partner, then the two systems are unable to&lt;/P&gt;&lt;P&gt;    communicate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    In the newer system, create a wrapping function module that uses only&lt;/P&gt;&lt;P&gt;    "older" data types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made all the data type in the internal table am passing to the RFC the same type with the structure i am passing to but i am still getting this error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 06:09:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890272#M679190</guid>
      <dc:creator>former_member746838</dc:creator>
      <dc:date>2007-10-16T06:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Call problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890273#M679191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Noleen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the dump, you are using a data type that is not supported for RFC's. Can you post the structure of your parameters with the data types you are using. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 11:48:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-call-problem/m-p/2890273#M679191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T11:48:15Z</dc:date>
    </item>
  </channel>
</rss>

