<?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 Determine Internal Table Type using inline declaration in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-internal-table-type-using-inline-declaration/m-p/374583#M8657</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Is it possible to determine the type of internal table while we declare inline internal table in select statement. By default it is coming as standard internal table. &lt;/P&gt;&lt;P&gt;Ex&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Select field1, field2 from DBtable into table @data(itab).

**/- I need itab to be sorted internal table. I know that sorted, hashed table needs to be/can be further qualified with unique/non-unique sorted keys. But anyways of achieving the same using inline declaration as of 7.40 or 7.5 or any future plans to bring the same. &lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 12 Dec 2016 11:56:30 GMT</pubDate>
    <dc:creator>philipdavy</dc:creator>
    <dc:date>2016-12-12T11:56:30Z</dc:date>
    <item>
      <title>Determine Internal Table Type using inline declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-internal-table-type-using-inline-declaration/m-p/374583#M8657</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Is it possible to determine the type of internal table while we declare inline internal table in select statement. By default it is coming as standard internal table. &lt;/P&gt;&lt;P&gt;Ex&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Select field1, field2 from DBtable into table @data(itab).

**/- I need itab to be sorted internal table. I know that sorted, hashed table needs to be/can be further qualified with unique/non-unique sorted keys. But anyways of achieving the same using inline declaration as of 7.40 or 7.5 or any future plans to bring the same. &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Dec 2016 11:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determine-internal-table-type-using-inline-declaration/m-p/374583#M8657</guid>
      <dc:creator>philipdavy</dc:creator>
      <dc:date>2016-12-12T11:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Internal Table Type using inline declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-internal-table-type-using-inline-declaration/m-p/374584#M8658</link>
      <description>&lt;P&gt;Up to now, the answer is no.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 12:02:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determine-internal-table-type-using-inline-declaration/m-p/374584#M8658</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2016-12-12T12:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Internal Table Type using inline declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-internal-table-type-using-inline-declaration/m-p/374585#M8659</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/users/3970/horstkeller.html"&gt;Horst Keller&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I really appreciate your quick answer. You people did a great job by introducing great features in ABAP and your timely response for the ABAP 7.40/50 related queries is highly commendable.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;PS: Ever had any internal discussion/thought  about the query which I raised. Because sometimes it looks strange that you can have inline declaration for standard table but not for others.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 12:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determine-internal-table-type-using-inline-declaration/m-p/374585#M8659</guid>
      <dc:creator>philipdavy</dc:creator>
      <dc:date>2016-12-12T12:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Internal Table Type using inline declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determine-internal-table-type-using-inline-declaration/m-p/374586#M8660</link>
      <description>&lt;P&gt;&lt;EM&gt;Ever had any internal discussion/thought about the query which I raised.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Of course, but there's so much to do.&lt;/P&gt;&lt;P&gt;A very dirty workaround:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF 'X' = 'Y'.
  SELECT SINGLE ... 
         FROM ... 
         WHERE 'X' = 'Y'
         INTO @DATA(wa).
ENDIF.

DATA itab LIKE ... TABLE OF wa WITH ...

SELECT ...
       INTO TABLE @itab.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Dec 2016 17:00:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determine-internal-table-type-using-inline-declaration/m-p/374586#M8660</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2016-12-12T17:00:59Z</dc:date>
    </item>
  </channel>
</rss>

