<?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: Substitute for SUBSTRING? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/substitute-for-substring/m-p/9079480#M1704221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Cond will be TABNAME for your case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2012 09:28:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-10-11T09:28:33Z</dc:date>
    <item>
      <title>Substitute for SUBSTRING?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/substitute-for-substring/m-p/9079477#M1704218</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;here's a seemingly very simple question - but then, the "egg of Columbus" was easy and everyone could do it - afterwards &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So - I simply need to enter a WHERE condition into a SELECT command which queries the first character in a string (in my case, in the field TABNAME in DD02T, I don't want any tables beginning with '/').&lt;/P&gt;&lt;P&gt;Everywhere I look I read the correct syntax is [fieldname]+(length) - so I would write &amp;gt;&amp;gt; WHERE TABNAME+0(1) &amp;lt;&amp;gt; '/' &amp;lt;&amp;lt; - right? Well, probably not, for that does not work. Neither does it when I use the proper OpenSQL syntax &amp;gt; DD02T~TABNAME &amp;lt;&lt;/P&gt;&lt;P&gt;Can anybody help me here?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 09:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/substitute-for-substring/m-p/9079477#M1704218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-11T09:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Substitute for SUBSTRING?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/substitute-for-substring/m-p/9079478#M1704219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE cond NOT LIKE '/%'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Shambu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 09:23:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/substitute-for-substring/m-p/9079478#M1704219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-11T09:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Substitute for SUBSTRING?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/substitute-for-substring/m-p/9079479#M1704220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shambu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the &amp;gt;cond&amp;lt; in your example, would I write TABNAME (the actual fieldname)?&lt;/P&gt;&lt;P&gt;To answer, no I haven't tried because I didn't know ABAP could use the % as a wildcard.&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 09:25:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/substitute-for-substring/m-p/9079479#M1704220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-11T09:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Substitute for SUBSTRING?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/substitute-for-substring/m-p/9079480#M1704221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Cond will be TABNAME for your case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 09:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/substitute-for-substring/m-p/9079480#M1704221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-11T09:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Substitute for SUBSTRING?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/substitute-for-substring/m-p/9079481#M1704222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The limitation on texts in just one language brings me much more of a reduction as it seems - the limitation on DDLANGUAGE = 'DE' reduces from 1,8mio to approx. 124k and this from 124k to 123k, but that is just as well.&lt;/P&gt;&lt;P&gt;I guess that way or in a similar way I could also exclude tabnames that have an _ somewhere? I doubt that these tables would ever be used by the average SAP user...&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 11:16:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/substitute-for-substring/m-p/9079481#M1704222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-11T11:16:37Z</dc:date>
    </item>
  </channel>
</rss>

