<?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: Excluding one field in select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197377#M1202726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi Leads,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; My table has 150 fields in total. from that I want to select only 149 fields into Internal table. &lt;/P&gt;&lt;P&gt;&amp;gt; Is there any way to exclude only one field in the select statement, instead of writing all 149 fields?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards&lt;/P&gt;&lt;P&gt;&amp;gt; Sandip&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'd use SELECT *.  What difference does one extra field make anyway?  Unless it is a very long field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Feb 2009 11:23:10 GMT</pubDate>
    <dc:creator>christine_evans</dc:creator>
    <dc:date>2009-02-19T11:23:10Z</dc:date>
    <item>
      <title>Excluding one field in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197375#M1202724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leads,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table has 150 fields in total. from that I want to select only 149 fields into Internal table. &lt;/P&gt;&lt;P&gt;Is there any way to exclude only one field in the select statement, instead of writing all 149 fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 11:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197375#M1202724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-19T11:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding one field in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197376#M1202725</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;You can follow one smart trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Decalare a table type of same table by copying all fields.then remove the fields which do you not want to select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then write Select Query as belwo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from Database_Table name into corresponding fields of table Table_name....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 11:20:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197376#M1202725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-19T11:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding one field in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197377#M1202726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi Leads,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; My table has 150 fields in total. from that I want to select only 149 fields into Internal table. &lt;/P&gt;&lt;P&gt;&amp;gt; Is there any way to exclude only one field in the select statement, instead of writing all 149 fields?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards&lt;/P&gt;&lt;P&gt;&amp;gt; Sandip&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'd use SELECT *.  What difference does one extra field make anyway?  Unless it is a very long field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 11:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197377#M1202726</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2009-02-19T11:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding one field in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197378#M1202727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you can declare the internal table with all the 150 fields...&lt;/P&gt;&lt;P&gt;in select also &lt;/P&gt;&lt;P&gt;select * from db into itab where some condition...&lt;/P&gt;&lt;P&gt;so in your internal table you will have all the 150 fields...use 149 fields and let the 150th field be there..it wont cause any problem&lt;/P&gt;&lt;P&gt;try not to use move corresponding as far as possible..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 11:25:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197378#M1202727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-19T11:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding one field in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197379#M1202728</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;you have an option in SAP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GOTO ---&amp;gt; Pattern ---&amp;gt; radiobutton select * from  give the table name&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will ask you to select the fields you want you can check the fields you want and it will automatically write the select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sarves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 11:28:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197379#M1202728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-19T11:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding one field in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197380#M1202729</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; click on pattern -&amp;gt;structured data object-&amp;gt;with fields from structure-&amp;gt;enter the name of table select fields click on ok and youll get the table with selected fields&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viquar Iqbal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 11:43:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197380#M1202729</guid>
      <dc:creator>viquar_iqbal</dc:creator>
      <dc:date>2009-02-19T11:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding one field in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197381#M1202730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi..&lt;/P&gt;&lt;P&gt;I hav the requirement where I want to exclude MANDT field out of 150 fields.&lt;/P&gt;&lt;P&gt;So..I jus asked...&lt;/P&gt;&lt;P&gt;Anywayz...Got the short cut... and thanx for all the responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 11:45:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197381#M1202730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-19T11:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding one field in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197382#M1202731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi:&lt;/P&gt;&lt;P&gt;1st  -  create an internal table containing 149 fields &lt;/P&gt;&lt;P&gt;2nd  -  select * from table into corresponding fields of 1st &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 11:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excluding-one-field-in-select-statement/m-p/5197382#M1202731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-19T11:47:37Z</dc:date>
    </item>
  </channel>
</rss>

