<?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 PB in RFC function declaring table as CHANGING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-in-rfc-function-declaring-table-as-changing/m-p/7565286#M1564802</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;I wrote an RFC function to get data between 2 SAP systems. I've to transmit to this function select-options felds. Therefor I've created a changing parameter in the function  I_LFDAT type RSPARAMS_TT which is a table type with structure RSPARAMS.&lt;/P&gt;&lt;P&gt;I did it by this way as 'Tables are obsolete' in RFC functions.&lt;/P&gt;&lt;P&gt;My problem is that by calling the function I've a dump saying ' (ungültiger Datentyp 17)'. This means the parameter is not correct.&lt;/P&gt;&lt;P&gt;I checked anything and the table I'm sending has the same structure as the receiving parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jan 2011 08:01:58 GMT</pubDate>
    <dc:creator>frederic_r</dc:creator>
    <dc:date>2011-01-14T08:01:58Z</dc:date>
    <item>
      <title>PB in RFC function declaring table as CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-in-rfc-function-declaring-table-as-changing/m-p/7565286#M1564802</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;I wrote an RFC function to get data between 2 SAP systems. I've to transmit to this function select-options felds. Therefor I've created a changing parameter in the function  I_LFDAT type RSPARAMS_TT which is a table type with structure RSPARAMS.&lt;/P&gt;&lt;P&gt;I did it by this way as 'Tables are obsolete' in RFC functions.&lt;/P&gt;&lt;P&gt;My problem is that by calling the function I've a dump saying ' (ungültiger Datentyp 17)'. This means the parameter is not correct.&lt;/P&gt;&lt;P&gt;I checked anything and the table I'm sending has the same structure as the receiving parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 08:01:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-in-rfc-function-declaring-table-as-changing/m-p/7565286#M1564802</guid>
      <dc:creator>frederic_r</dc:creator>
      <dc:date>2011-01-14T08:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: PB in RFC function declaring table as CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-in-rfc-function-declaring-table-as-changing/m-p/7565287#M1564803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you changing the select-option table ? or else use it in the table parameter.&lt;/P&gt;&lt;P&gt;Is &lt;STRONG&gt;I_LFDAT&lt;/STRONG&gt; is select option of date then use this &lt;STRONG&gt;RANGE_DATE&lt;/STRONG&gt; structure .&lt;/P&gt;&lt;P&gt;&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;Madhukar Shetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 09:00:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-in-rfc-function-declaring-table-as-changing/m-p/7565287#M1564803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-14T09:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: PB in RFC function declaring table as CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-in-rfc-function-declaring-table-as-changing/m-p/7565288#M1564804</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;In RFC function module, did you change paramters..have you tried with it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 09:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-in-rfc-function-declaring-table-as-changing/m-p/7565288#M1564804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-14T09:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: PB in RFC function declaring table as CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-in-rfc-function-declaring-table-as-changing/m-p/7565289#M1564805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I'm not changing the select option table but I've another table in wich I write some records and send them back to the calling system.&lt;/P&gt;&lt;P&gt;I put all the tables in the TABLE tab instead of the CHANGING tab and it works... but by saving the FM I've the message 'TABLES are obsolete'...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 09:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-in-rfc-function-declaring-table-as-changing/m-p/7565289#M1564805</guid>
      <dc:creator>frederic_r</dc:creator>
      <dc:date>2011-01-14T09:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: PB in RFC function declaring table as CHANGING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pb-in-rfc-function-declaring-table-as-changing/m-p/7565290#M1564806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Fred&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not really a fan of CHANGING parameters in fm's.&lt;/P&gt;&lt;P&gt;Since you have the table type RSPARAMS_TT I would recommend to use the following approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA:
  lt_seloptions   TYPE rsparams_tt.  " itab with select-options

" fm signature with 2 parameters:
...
  IMPORTING
    it_selopts = lt_seloptions
...
  EXPORTING
   et_selopts = lt_seloptions
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The RFC-fm gets IT_SELOPTS as input, can change them, and returns them as EXPORTING parameter ET_SELOPTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 10:04:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pb-in-rfc-function-declaring-table-as-changing/m-p/7565290#M1564806</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2011-01-14T10:04:19Z</dc:date>
    </item>
  </channel>
</rss>

