<?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: Functional Method - Returning parameter typing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-method-returning-parameter-typing/m-p/6836962#M1472497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try typing the table giving key fields&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
types:  ty_t_letyps type standard table of ty_letyps with key field1 field2....
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This might be the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 09:14:31 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2010-03-25T09:14:31Z</dc:date>
    <item>
      <title>Functional Method - Returning parameter typing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-method-returning-parameter-typing/m-p/6836961#M1472496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts, i´ve got a question about typing of retruning parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, this is my class:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
class ZCL_TEST definition
  public

*"* public components of class ZCL_CLASS
*"* do not include other source files here!!!
public section.
  types:
    BEGIN OF ty_letyps
                  letyp type lvs_letyp 
           END OF ty_letyp.
 types:  ty_t_letyps type standard table of ty_letyps.
 class-methods GET_LETYPS
    importing
      !I_MATNR type MATNR
      !I_LGNUM type LGNUM
    returning
      value(RT_LETYPS) type TY_T_LETYPS.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i want to activae the class i get a syntax error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The type of a RETURNING parameter must be fully specified&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I  knew that returning parameters musst be fully specified - that says to me i must not use type any or type any table or other gerneric datatypes for returning parameter. But my type ty_t_letyp is not generic and i can it also use outside the class via &lt;/P&gt;&lt;P&gt;DATA: it_table type  ZCL_TEST definition=&amp;gt;ty_t_letyp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So can someone explain why i must not use local defined types for returning parameters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 08:18:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functional-method-returning-parameter-typing/m-p/6836961#M1472496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-25T08:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Functional Method - Returning parameter typing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-method-returning-parameter-typing/m-p/6836962#M1472497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try typing the table giving key fields&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
types:  ty_t_letyps type standard table of ty_letyps with key field1 field2....
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This might be the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 09:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functional-method-returning-parameter-typing/m-p/6836962#M1472497</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-03-25T09:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Functional Method - Returning parameter typing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-method-returning-parameter-typing/m-p/6836963#M1472498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great it works, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 09:21:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functional-method-returning-parameter-typing/m-p/6836963#M1472498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-25T09:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Functional Method - Returning parameter typing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-method-returning-parameter-typing/m-p/6836964#M1472499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It this was helpful some appreciation is also welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 09:28:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functional-method-returning-parameter-typing/m-p/6836964#M1472499</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-03-25T09:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Functional Method - Returning parameter typing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-method-returning-parameter-typing/m-p/6836965#M1472500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;done &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 09:33:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functional-method-returning-parameter-typing/m-p/6836965#M1472500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-25T09:33:42Z</dc:date>
    </item>
  </channel>
</rss>

