<?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: Partial field selection in SELECT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384714#M812664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - do you mean any department that has 'A' anywhere in the first three characters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2008 20:45:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-07T20:45:52Z</dc:date>
    <item>
      <title>Partial field selection in SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384709#M812659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we do a partial field selection in ABAP SELECT like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select department first 3 characters &amp;lt; DEPT+0(3)&amp;gt;&lt;/P&gt;&lt;P&gt;from emp_table &lt;/P&gt;&lt;P&gt;where   employee first name start with 'A'  &amp;lt; EMP_NAME+0(1) = 'A'&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for listing dept first 3 char for Emp name starting with 'A' . How we can implement in ABAP ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we do this without putting in to an internal table ( that is in a single select statement ) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 19:32:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384709#M812659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T19:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Partial field selection in SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384710#M812660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;select * from table 
      into itab
      where emp+(3) like 'ABC'  "&amp;lt;&amp;lt; employe starting with ABC.
        and  id+(2)  like '12'.     "&amp;lt;&amp;lt; id number starting with 12.

or you can create a range and use that..

         where emp in ra_emp and
                   id in ra_id.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it right Rob?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 19:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384710#M812660</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-02-07T19:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Partial field selection in SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384711#M812661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you of the answer .. if I want to select only the first 3 character of department , what will be the selection look like ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 19:47:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384711#M812661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T19:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Partial field selection in SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384712#M812662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use LIKE in the WHERE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 20:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384712#M812662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T20:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Partial field selection in SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384713#M812663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you cant get only first three characters of the department... you can select the data based on the first three characters (using offset as per my previous post).. as Rob suggested we need to use LIKE in the where Clause..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks Rob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 20:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384713#M812663</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-02-07T20:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Partial field selection in SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384714#M812664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - do you mean any department that has 'A' anywhere in the first three characters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 20:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/partial-field-selection-in-select/m-p/3384714#M812664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T20:45:52Z</dc:date>
    </item>
  </channel>
</rss>

