<?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: Conversion to Combination in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-to-combination/m-p/3104147#M736782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks , any usage of class , can you just guide me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Dec 2007 15:52:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-05T15:52:29Z</dc:date>
    <item>
      <title>Conversion to Combination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-to-combination/m-p/3104145#M736780</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 want to get a function module which will &amp;lt;b&amp;gt;convert abc&amp;lt;/b&amp;gt; &amp;lt;b&amp;gt;to all the combination of abc like ABC , aBC , Abc etc&amp;lt;/b&amp;gt; , and then fetch data depending on this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 15:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-to-combination/m-p/3104145#M736780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-05T15:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion to Combination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-to-combination/m-p/3104146#M736781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is any FM which can solve your purpose. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best possible way, I can think is..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get all the description into internal table from database&lt;/P&gt;&lt;P&gt;translate the description to Upper case&lt;/P&gt;&lt;P&gt;translate your input, e.g. ABC to upper case&lt;/P&gt;&lt;P&gt;delete the entries from the interal table which are not suitable for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code which is similar to your requirment.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  ZTEST_NP.
 
TABLES: MAKT.
 
TYPES: BEGIN OF TY_MAKT,
       MATNR TYPE MATNR,
       MAKTX TYPE MAKTX,
       DESC  TYPE MAKTX,
       END   OF TY_MAKT.
 
DATA: IT_MAKT TYPE STANDARD TABLE OF TY_MAKT,
      WA_MAKT TYPE TY_MAKT.
 
SELECT-OPTIONS: S_MAKTX FOR MAKT-MAKTX VISIBLE LENGTH 15.
 
START-OF-SELECTION.
  SELECT MATNR MAKTX
         INTO  TABLE IT_MAKT
         FROM  MAKT.
  LOOP AT IT_MAKT INTO WA_MAKT.
    WA_MAKT-DESC = WA_MAKT-MAKTX.
    TRANSLATE WA_MAKT-DESC TO UPPER CASE.
    MODIFY IT_MAKT FROM WA_MAKT.
    CLEAR  WA_MAKT.
  ENDLOOP.
 
  LOOP AT S_MAKTX.
    TRANSLATE S_MAKTX TO UPPER CASE.
    s_maktx-option = 'CP'.
    concatenate '*' s_maktx-low  '*' into s_maktx-low.
    if not s_maktx-high is initial.
    concatenate '*' s_maktx-high '*' into s_maktx-high.
    endif.
    MODIFY S_MAKTX.
    CLEAR  S_MAKTX.
  ENDLOOP.
 
  DELETE IT_MAKT WHERE NOT DESC IN S_MAKTX.
 
  WRITE: 'Material contains entered pattern'.
  LOOP AT IT_MAKT INTO WA_MAKT.
    WRITE: / WA_MAKT-MATNR,
             WA_MAKT-MAKTX.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 15:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-to-combination/m-p/3104146#M736781</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-12-05T15:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion to Combination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-to-combination/m-p/3104147#M736782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks , any usage of class , can you just guide me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 15:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-to-combination/m-p/3104147#M736782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-05T15:52:29Z</dc:date>
    </item>
  </channel>
</rss>

