<?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: SEARCH pattern in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953927#M1602098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA result_tab TYPE match_result_tab.

FIND ALL OCCURRENCES OF REGEX '(ad)' IN TABLE t_table
RESULTS result_tab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jun 2011 13:31:51 GMT</pubDate>
    <dc:creator>SharathYaralkattimath</dc:creator>
    <dc:date>2011-06-07T13:31:51Z</dc:date>
    <item>
      <title>SEARCH pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953924#M1602095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have text parameter on selection screen. if the text entered as &lt;STRONG&gt;ad&lt;/STRONG&gt; then it should give all possible strings which will containg "ad".&lt;/P&gt;&lt;P&gt;I am using SEARCH statement but it is not working with &lt;STRONG&gt;ad or ad&lt;/STRONG&gt; or &lt;STRONG&gt;ad&lt;/STRONG&gt;. It is giving me blank output.&lt;/P&gt;&lt;P&gt;I have all the data in the internal table and just want to display records which will have this kind of pattern.&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 11:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953924#M1602095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-07T11:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953925#M1602096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Move the values from the internal to a range table and provide information like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ra_data type range of ty_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_data-sign = 'I'
wa_data-info = 'CP'
wa_data-low = wa_itab-pattern
append wa_data to ra_data.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then use search statement in this range table.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SEARCH 'ad' IN ra_data.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else try like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIND ALL OCCURRENCES OF REGEX 'ad' 
  IN TABLE itab 
  RESULTS results.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 12:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953925#M1602096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-07T12:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953926#M1602097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you are at programming it anyway, let you be told that SEARCH is obsolete. Adopting to the modern times you should use FIND instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 12:36:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953926#M1602097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-07T12:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953927#M1602098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA result_tab TYPE match_result_tab.

FIND ALL OCCURRENCES OF REGEX '(ad)' IN TABLE t_table
RESULTS result_tab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 13:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953927#M1602098</guid>
      <dc:creator>SharathYaralkattimath</dc:creator>
      <dc:date>2011-06-07T13:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953928#M1602099</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;I donot think &lt;STRONG&gt;search&lt;/STRONG&gt; is required here. Instead of parameters declare it as select option with no intervals and extension ( looks similar to parameter ). Then use a loop statement like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it where field in s_so1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;keshav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 14:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953928#M1602099</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-06-07T14:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953929#M1602100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nice solution, just dont forget to check if s_so1 is empty before doing so, since an empty select option states always correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 14:45:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-pattern/m-p/7953929#M1602100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-07T14:45:37Z</dc:date>
    </item>
  </channel>
</rss>

