<?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: TYPE REF TO XXX    in a Remote-enabled function??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599884#M1276247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i suppose you have to try wrap your results in "defined" structure (b.e. name - value pair)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bogdan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2009 12:07:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-07T12:07:04Z</dc:date>
    <item>
      <title>TYPE REF TO XXX    in a Remote-enabled function???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599878#M1276241</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;&lt;/P&gt;&lt;P&gt;I wrote an FM which collects table contents of given table name in IMPORTING parameters and returns as EXPORTING paramater as a data object. It runs perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i change Processing type to "Remote-enabled module", system gives a message "You can only use LIKE and TYPE to specify types in RFC".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to define paramaters as object. Or anything else to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Note : I tried something to solve this problem but i cant reach the exact solution.&lt;/P&gt;&lt;P&gt;For example, i moved DATA parameter from Exporting tab to Tables tab with &lt;STRONG&gt;no&lt;/STRONG&gt; TYPE or LIKE specification and system gives "You cannot use generic types in RFC".)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION YTABLES_GET_ROWS.
*"----------------------------------------------------------------------
*"*"Local interface:
*"  IMPORTING
*"     VALUE(ROWS) TYPE  I DEFAULT 0
*"     VALUE(TABNAME) TYPE  TABNAME DEFAULT 'ORDCOM'
*"  EXPORTING
*"     VALUE(DATA) TYPE REF TO  DATA
*"----------------------------------------------------------------------

  field-symbols : &amp;lt;fs&amp;gt; type standard table.

  condense tabname.

  catch system-exceptions CREATE_DATA_UNKNOWN_TYPE = 5.
      CREATE DATA data TYPE STANDARD TABLE OF (tabname).
  endcatch.

  if sy-subrc is initial.
      assign data-&amp;gt;* to &amp;lt;fs&amp;gt;.

      if rows &amp;gt; 0.
          select * up to rows rows from (tabname) into table &amp;lt;fs&amp;gt;.
      else.
          select * from (tabname) into table &amp;lt;fs&amp;gt;.
      endif.

  endif.

ENDFUNCTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 11:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599878#M1276241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-07T11:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: TYPE REF TO XXX    in a Remote-enabled function???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599879#M1276242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;it is prohibited toi use a references as parameter in Remote-enabled function.&lt;/P&gt;&lt;P&gt; Regards&lt;/P&gt;&lt;P&gt;Bogdan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 11:12:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599879#M1276242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-07T11:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: TYPE REF TO XXX    in a Remote-enabled function???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599880#M1276243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, what do you think about generic types in Tables Tab ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need use some parameters which must not has a type or structure. Coz i will return given transparent table contents with their structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also i need to use this function across-systems with RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;ibrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 11:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599880#M1276243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-07T11:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: TYPE REF TO XXX    in a Remote-enabled function???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599881#M1276244</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 think generic type is allowed in table types with RFC, but reference types and changing parameters are not allowed in RFC...&lt;/P&gt;&lt;P&gt;if you keep reference types then between two different system it is not possible to give the memory reference... that is the reason why reference type does not work, but generic types does not give reference to memory it only transfers the data of table from one place to another....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 11:34:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599881#M1276244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-07T11:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: TYPE REF TO XXX    in a Remote-enabled function???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599882#M1276245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;it is not allowed too i'm afreid:(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bogdan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 11:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599882#M1276245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-07T11:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: TYPE REF TO XXX    in a Remote-enabled function???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599883#M1276246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah you right. They all are prohibited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still staying unresolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 11:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599883#M1276246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-07T11:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: TYPE REF TO XXX    in a Remote-enabled function???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599884#M1276247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i suppose you have to try wrap your results in "defined" structure (b.e. name - value pair)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bogdan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 12:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599884#M1276247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-07T12:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: TYPE REF TO XXX    in a Remote-enabled function???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599885#M1276248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah i know it will work if i specify table type or structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this time, FM will loose its table indepency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;up....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 12:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599885#M1276248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-07T12:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: TYPE REF TO XXX    in a Remote-enabled function???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599886#M1276249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have sugested an univesal stucture not a special structuire for a particular DB Table&lt;/P&gt;&lt;P&gt;Regards Bogdan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 11:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ref-to-xxx-in-a-remote-enabled-function/m-p/5599886#M1276249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T11:07:15Z</dc:date>
    </item>
  </channel>
</rss>

