<?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 Help sql substring column in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-sql-substring-column/m-p/6717450#M1454812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm tying to execute this query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selecy matnr (sonum,1,10) as zsonum1 (sonum,11,16) as zsinum2 gesme &lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE wt_stabr&lt;/P&gt;&lt;P&gt;from linv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words I wish to split the sql field sonum (16) into two fields of my internal table (zsonum1 (10) and zsonum2 (6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't execute the query because I have a sintax error about the comma.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be well appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your kind support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Luigi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Mar 2010 15:48:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-22T15:48:26Z</dc:date>
    <item>
      <title>Help sql substring column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-sql-substring-column/m-p/6717450#M1454812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm tying to execute this query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selecy matnr (sonum,1,10) as zsonum1 (sonum,11,16) as zsinum2 gesme &lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE wt_stabr&lt;/P&gt;&lt;P&gt;from linv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words I wish to split the sql field sonum (16) into two fields of my internal table (zsonum1 (10) and zsonum2 (6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't execute the query because I have a sintax error about the comma.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be well appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your kind support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Luigi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 15:48:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-sql-substring-column/m-p/6717450#M1454812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T15:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help sql substring column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-sql-substring-column/m-p/6717451#M1454813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I wish to launch this query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT substr(sonum,1,10) as ZSONUM1  substr(sonum,11,16) as ZSONUM2 &lt;/P&gt;&lt;P&gt;FROM linv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;Any help will be well appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Luigi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-sql-substring-column/m-p/6717451#M1454813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T09:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help sql substring column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-sql-substring-column/m-p/6717452#M1454814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think there is any such provision in ABAP to split the column value directly in the select query. The only option is to select the fields as they are and do the spliting and manipulations manually after the select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-sql-substring-column/m-p/6717452#M1454814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T09:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help sql substring column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-sql-substring-column/m-p/6717453#M1454815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello, what would be the benefit of doing that in the SELECT statement? You can do that easily in the following ABAP code. I would never ask this question, because I know that I cannot do any complex mathematical operations with ABAP which would be much easier to implement and nobody has ever done that:)) I am sorry to tell you, this is 99,5% not possible and will not be possible in the future of SAP:)))&lt;/P&gt;&lt;P&gt;Regards Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 10:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-sql-substring-column/m-p/6717453#M1454815</guid>
      <dc:creator>OttoGold</dc:creator>
      <dc:date>2010-03-23T10:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help sql substring column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-sql-substring-column/m-p/6717454#M1454816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 03:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-sql-substring-column/m-p/6717454#M1454816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T03:37:40Z</dc:date>
    </item>
  </channel>
</rss>

