<?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 Syntax error: generic typing? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-generic-typing/m-p/1030572#M83676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I'm on WAS 620, ABAP patch 41.&lt;/P&gt;&lt;P&gt;I tried to create a deep table type as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF s_fname_pair,
           fname_itab TYPE fieldname,
           fname_ddic TYPE fieldname,
         END OF s_fname_pair,
         ty_t_fname_mapping
                TYPE STANDARD TABLE OF s_fname_pair,
         ty_tt_fname_mappings
                TYPE STANDARD TABLE OF ty_t_fname_mapping.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, I get a syntax error saying that "TY_T_FNAME_MAPPING" is a generic type. &lt;/P&gt;&lt;P&gt;Why is it generic? It seems to me that it's a fully typed table. When I declare the same types as dictionary types, everything works fine.&lt;/P&gt;&lt;P&gt;What is wrong here?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2005 06:45:24 GMT</pubDate>
    <dc:creator>former_member185943</dc:creator>
    <dc:date>2005-10-27T06:45:24Z</dc:date>
    <item>
      <title>Syntax error: generic typing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-generic-typing/m-p/1030572#M83676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I'm on WAS 620, ABAP patch 41.&lt;/P&gt;&lt;P&gt;I tried to create a deep table type as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF s_fname_pair,
           fname_itab TYPE fieldname,
           fname_ddic TYPE fieldname,
         END OF s_fname_pair,
         ty_t_fname_mapping
                TYPE STANDARD TABLE OF s_fname_pair,
         ty_tt_fname_mappings
                TYPE STANDARD TABLE OF ty_t_fname_mapping.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, I get a syntax error saying that "TY_T_FNAME_MAPPING" is a generic type. &lt;/P&gt;&lt;P&gt;Why is it generic? It seems to me that it's a fully typed table. When I declare the same types as dictionary types, everything works fine.&lt;/P&gt;&lt;P&gt;What is wrong here?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 06:45:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-generic-typing/m-p/1030572#M83676</guid>
      <dc:creator>former_member185943</dc:creator>
      <dc:date>2005-10-27T06:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error: generic typing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-generic-typing/m-p/1030573#M83677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u need to define an internal table, u need to do it using the DATA statement and not TYPES statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF s_fname_pair,&lt;/P&gt;&lt;P&gt;           fname_itab TYPE fieldname,&lt;/P&gt;&lt;P&gt;           fname_ddic TYPE fieldname,&lt;/P&gt;&lt;P&gt;         END OF s_fname_pair.&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF ty_t_fname_mapping,&lt;/P&gt;&lt;P&gt;     d1 TYPE s_fname_pair,&lt;/P&gt;&lt;P&gt;END OF ty_t_fname_mapping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :&lt;/P&gt;&lt;P&gt;         ty_tt_fname_mappings&lt;/P&gt;&lt;P&gt;                TYPE STANDARD TABLE OF ty_t_fname_mapping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;PJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 06:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-generic-typing/m-p/1030573#M83677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-27T06:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error: generic typing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-generic-typing/m-p/1030574#M83678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code will work but you need to add 'WITH DEFAULT KEY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF s_fname_pair,&lt;/P&gt;&lt;P&gt;           fname_itab TYPE fieldname,&lt;/P&gt;&lt;P&gt;           fname_ddic TYPE fieldname,&lt;/P&gt;&lt;P&gt;         END OF s_fname_pair,&lt;/P&gt;&lt;P&gt;         ty_t_fname_mapping&lt;/P&gt;&lt;P&gt;                TYPE STANDARD TABLE OF s_fname_pair WITH DEFAULT KEY,&lt;/P&gt;&lt;P&gt;         ty_tt_fname_mappings&lt;/P&gt;&lt;P&gt;                TYPE STANDARD TABLE OF ty_t_fname_mapping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this you have to use the DATA statement to define the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinod C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 07:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-generic-typing/m-p/1030574#M83678</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-10-27T07:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error: generic typing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-generic-typing/m-p/1030575#M83679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works - thanks, Vinod!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. You'll get your points as soon as those option buttons decide to show at my screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Igor Barbaric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 08:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-generic-typing/m-p/1030575#M83679</guid>
      <dc:creator>former_member185943</dc:creator>
      <dc:date>2005-10-27T08:01:48Z</dc:date>
    </item>
  </channel>
</rss>

