<?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: Generic standard table type in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-standard-table-type/m-p/6683166#M1449934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Teenu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Query#1&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;types tb2_type type tb_std_type.&lt;/P&gt;&lt;P&gt;This is giving me an error saying\&lt;/P&gt;&lt;P&gt;tb_std_type has a generic type.Use of this type is only possible for typing field symbols and formal parameters.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is the table generic? An excerpt from SAP documentation clearly states that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;An internal table that has no table key or an incomplete table key is generic with respect to the table key. A table type of this nature can be used only for typing formal parameters or field symbols.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Query#2&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;If thats true then how was i able to create a internal table out of it...&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP says: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;A standard table type with a generic primary table key can only be specified after TYPE when DATA is used. &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source: [http://help.sap.com/abapdocu_70/en/ABAPTYPES_KEYDEF.htm|http://help.sap.com/abapdocu_70/en/ABAPTYPES_KEYDEF.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Mar 2010 15:22:18 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2010-03-21T15:22:18Z</dc:date>
    <item>
      <title>Generic standard table type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-standard-table-type/m-p/6683165#M1449933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody please resolve my doubt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types tb_std_type type table of sflight.&lt;/P&gt;&lt;P&gt;--&amp;gt;this i understand as not a generic table type.'NON-UNIQUE" and DEFAULT KEYS are implicity defined .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data it_std type tb_std.--&amp;gt;Since i could declare an internal table of tb_std_type,i strongly belive tb_std_type is not a genric table type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i try to declare another type of same table type tb_std_type ie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types tb2_type type tb_std_type.&lt;/P&gt;&lt;P&gt;This is giving me an error saying\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tb_std_type has a generic type.Use of this type is only possible for typing field symbols and  formal parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If thats true then how was i able to create a internal table  out of it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of sorted and hashed tables it behaves as exactly as it is defined.(Like if  generic,can only  be used for typing formal params.field symbold..and if non generic--internal tables declaration and normal typing is possible)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please resolve this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Would be great if could avoid a copy paste from std.help..because i have been through it..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Mar 2010 13:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-standard-table-type/m-p/6683165#M1449933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-21T13:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Generic standard table type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-standard-table-type/m-p/6683166#M1449934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Teenu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Query#1&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;types tb2_type type tb_std_type.&lt;/P&gt;&lt;P&gt;This is giving me an error saying\&lt;/P&gt;&lt;P&gt;tb_std_type has a generic type.Use of this type is only possible for typing field symbols and formal parameters.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is the table generic? An excerpt from SAP documentation clearly states that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;An internal table that has no table key or an incomplete table key is generic with respect to the table key. A table type of this nature can be used only for typing formal parameters or field symbols.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Query#2&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;If thats true then how was i able to create a internal table out of it...&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP says: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;A standard table type with a generic primary table key can only be specified after TYPE when DATA is used. &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source: [http://help.sap.com/abapdocu_70/en/ABAPTYPES_KEYDEF.htm|http://help.sap.com/abapdocu_70/en/ABAPTYPES_KEYDEF.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Mar 2010 15:22:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-standard-table-type/m-p/6683166#M1449934</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-03-21T15:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Generic standard table type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-standard-table-type/m-p/6683167#M1449935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh okay..&lt;/P&gt;&lt;P&gt;so with that 'data' declaration,a bound table type with a standarad key is generated ..right..and &lt;/P&gt;&lt;P&gt;it happens only with standard tables....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that was a good piece of help&lt;/P&gt;&lt;P&gt;Thanks alot Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Mar 2010 15:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-standard-table-type/m-p/6683167#M1449935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-21T15:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generic standard table type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-standard-table-type/m-p/6683168#M1449936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Mar 2010 15:54:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-standard-table-type/m-p/6683168#M1449936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-21T15:54:57Z</dc:date>
    </item>
  </channel>
</rss>

