<?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: Field selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431977#M1052050</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;If you want to fetch only one value of one field then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select single &amp;lt;fieldname&amp;gt; into corresponding fields of &amp;lt;internal table name&amp;gt; from&lt;/P&gt;&lt;P&gt;&amp;lt;database table&amp;gt; where &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to select all the possible values of a field based on some criteria then dont use single keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select &amp;lt;fieldname&amp;gt; into corresponding fields of table &amp;lt;internal table name&amp;gt; from&lt;/P&gt;&lt;P&gt;&amp;lt;database table&amp;gt; where &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note one thing here we cannot use table keyword with single keyword.&lt;/P&gt;&lt;P&gt;it will give you an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Sep 2008 05:50:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-09T05:50:40Z</dc:date>
    <item>
      <title>Field selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431971#M1052044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to move a single field from database table to internal table? Specify the command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 05:37:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431971#M1052044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T05:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431972#M1052045</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;Could you please elaborate your query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram POnna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 05:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431972#M1052045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T05:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431973#M1052046</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;select single &amp;lt;field&amp;gt; from &amp;lt;dbtable&amp;gt; into &amp;lt;itab&amp;gt; &lt;/P&gt;&lt;P&gt;where &amp;lt;condition&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sathish reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 05:39:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431973#M1052046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T05:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431974#M1052047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;just declare one internal table containing only the field which you want to move.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let the internal table is i-tab anf field is f1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;types : begin of t_tab,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;          &lt;STRONG&gt;f1 type &amp;lt;dataelement of the field&amp;gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;         &lt;STRONG&gt;end of t_tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data : i_tab type standard table of t_tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select f1 from &amp;lt;database table name&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;into table i_tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Then the table will contain only the intended fields.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 05:43:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431974#M1052047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T05:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431975#M1052048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use query like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT matnr                         " Material Number
    FROM mara
    INTO TABLE i_mara
   WHERE matnr IN s_matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 05:47:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431975#M1052048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T05:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431976#M1052049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ABAP 21 Days&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 05:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431976#M1052049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T05:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431977#M1052050</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;If you want to fetch only one value of one field then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select single &amp;lt;fieldname&amp;gt; into corresponding fields of &amp;lt;internal table name&amp;gt; from&lt;/P&gt;&lt;P&gt;&amp;lt;database table&amp;gt; where &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to select all the possible values of a field based on some criteria then dont use single keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select &amp;lt;fieldname&amp;gt; into corresponding fields of table &amp;lt;internal table name&amp;gt; from&lt;/P&gt;&lt;P&gt;&amp;lt;database table&amp;gt; where &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note one thing here we cannot use table keyword with single keyword.&lt;/P&gt;&lt;P&gt;it will give you an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 05:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-selection/m-p/4431977#M1052050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T05:50:40Z</dc:date>
    </item>
  </channel>
</rss>

