<?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: Data error (invalid data type 17) in a Remote Function Call in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-error-invalid-data-type-17-in-a-remote-function-call/m-p/7579458#M1566229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;check out this example&lt;/P&gt;&lt;P&gt;[LINK|http://abap.googlar.eu/viewtopic.php?f=5&amp;amp;t=28]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have several ranges that you can use like RANGE_AUF.&lt;/P&gt;&lt;P&gt;Function example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FUNCTION zexemple.
*"----------------------------------------------------------------------
*"*"Interface local:
*"  IMPORTING
*"     REFERENCE(R_HORA) TYPE  FLAG
*"     REFERENCE(R_DIA_1) TYPE  FLAG
*"     REFERENCE(P_IDOC) TYPE  FLAG
*"  EXPORTING
*"     REFERENCE(MSG) TYPE  CHAR255
*"  TABLES
*"      T_OIFSPBL STRUCTURE  OIFSPBL
*"      SL_PBLNR STRUCTURE  RANGE_PBLNR
*"      SL_MATNR STRUCTURE  RANGE_MATNR
*"      SL_HORA STRUCTURE  RANGE_UZEIT
*"      T_ERROS STRUCTURE  ZARSTRING

ENDFUNCTION.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT-OPTIONS: sl_pblnr FOR oirbpblb-pblnr,
                              sl_matnr FOR a361-matnr.
....
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final question:&lt;/P&gt;&lt;P&gt;You are passing the values using TABLES and not IMPORTING right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jan 2011 09:34:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-07T09:34:01Z</dc:date>
    <item>
      <title>Data error (invalid data type 17) in a Remote Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-error-invalid-data-type-17-in-a-remote-function-call/m-p/7579457#M1566228</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; I am passing 2 select-option tables to RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Tables have structures - &lt;/P&gt;&lt;P&gt;   Table1  SIGN(C1)&lt;/P&gt;&lt;P&gt;               OPTION(C2)&lt;/P&gt;&lt;P&gt;               HIGH(C6)&lt;/P&gt;&lt;P&gt;               LOW(C6)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Table2  SIGN(C1)&lt;/P&gt;&lt;P&gt;               OPTION(C2)&lt;/P&gt;&lt;P&gt;               HIGH(C20)&lt;/P&gt;&lt;P&gt;               LOW(C20)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; At the destination side, I have created two table types which have same structure.&lt;/P&gt;&lt;P&gt; But when I call the RFC , program terminates with error - "Data error (invalid data type 17) in a Remote Function Call"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Not able to understand the reason for this error. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks,&lt;/P&gt;&lt;P&gt; Sujeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 08:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-error-invalid-data-type-17-in-a-remote-function-call/m-p/7579457#M1566228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-07T08:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data error (invalid data type 17) in a Remote Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-error-invalid-data-type-17-in-a-remote-function-call/m-p/7579458#M1566229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;check out this example&lt;/P&gt;&lt;P&gt;[LINK|http://abap.googlar.eu/viewtopic.php?f=5&amp;amp;t=28]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have several ranges that you can use like RANGE_AUF.&lt;/P&gt;&lt;P&gt;Function example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FUNCTION zexemple.
*"----------------------------------------------------------------------
*"*"Interface local:
*"  IMPORTING
*"     REFERENCE(R_HORA) TYPE  FLAG
*"     REFERENCE(R_DIA_1) TYPE  FLAG
*"     REFERENCE(P_IDOC) TYPE  FLAG
*"  EXPORTING
*"     REFERENCE(MSG) TYPE  CHAR255
*"  TABLES
*"      T_OIFSPBL STRUCTURE  OIFSPBL
*"      SL_PBLNR STRUCTURE  RANGE_PBLNR
*"      SL_MATNR STRUCTURE  RANGE_MATNR
*"      SL_HORA STRUCTURE  RANGE_UZEIT
*"      T_ERROS STRUCTURE  ZARSTRING

ENDFUNCTION.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT-OPTIONS: sl_pblnr FOR oirbpblb-pblnr,
                              sl_matnr FOR a361-matnr.
....
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final question:&lt;/P&gt;&lt;P&gt;You are passing the values using TABLES and not IMPORTING right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 09:34:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-error-invalid-data-type-17-in-a-remote-function-call/m-p/7579458#M1566229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-07T09:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Data error (invalid data type 17) in a Remote Function Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-error-invalid-data-type-17-in-a-remote-function-call/m-p/7579459#M1566230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It helped. Actually it was silly mistake; I had passed structure instead of table. missed [] after the name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 10:00:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-error-invalid-data-type-17-in-a-remote-function-call/m-p/7579459#M1566230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-07T10:00:14Z</dc:date>
    </item>
  </channel>
</rss>

