<?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 Objects based on characteristics in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952398#M65441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This function module is used in a couple of programs, one being RCCLAUSPOLDNEW.   Does this program offer any hints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2005 16:35:03 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-08-10T16:35:03Z</dc:date>
    <item>
      <title>Search Objects based on characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952397#M65440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for an FM that would give me objects based on characteristics and valuations. I have tried CLSC_SEARCH_OBJECTS, but it seems I haven't specified the parameters correctly - the FM will give back all objects with the required class number. Good, but not good enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the documentation (and the interface parameters) it should be possible to pass selection criteria - but so far, the criteria I supplied are ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions or - even better - sample code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2005 16:29:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952397#M65440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-10T16:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Search Objects based on characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952398#M65441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This function module is used in a couple of programs, one being RCCLAUSPOLDNEW.   Does this program offer any hints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2005 16:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952398#M65441</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-10T16:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Search Objects based on characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952399#M65442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for your reply. After just a few hours of debugging I now think now I've got it &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2005 09:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952399#M65442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-11T09:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Search Objects based on characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952400#M65443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joerg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting the same problem as you with 'CLSC_SEARCH_OBJECTS'. Dispite I call it exactly as the CL30N it does return too many objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So could you please tell me what is the trick for the selections of charact. to be taken into account ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2005 10:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952400#M65443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-29T10:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Search Objects based on characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952401#M65444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bertrand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two answers to your question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) I now don't use CLSC_SEARCH_OBJECTS any more, but use BAPI_CLASS_SELECT_OBJECTS instead. It offers nearly the same functionality while being an "official" BAPI, i. e. release-stable etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) If you receive too many results that might be because of the parameter STATUS_INCOMPLETE. Maybe you should check there...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2005 11:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952401#M65444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-29T11:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Search Objects based on characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952402#M65445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi joerg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd discover the BAPI_CLASS_SELECT_OBJECTS while working on the CLSC_SEARCH_OBJECTS. Looking at the interface (quite simple) I immediatly move on it. Unfortunatly the BAPI_CLASS_SELECT_OBJECTS seems limited to a particular type of class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is why I continue to dig with the CLSC_SEARCH_OBJECTS which is definitly not a customer-friendly function ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After debugging a loooong time, I discover that all the attention should be put on the selection criteria table =&amp;gt; i_selection_criteria_tab. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;The table fields slcod, atfor must be filled correctly.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;Transaction CL30N for searching characteristics was used as a model but SAP use CTMS_DDB_CLOSE which is very specific to the transaction and not reusable. So I add to do it dirty ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway searching using characteristics is a wrong idea &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If I had to do it again I wonder if I would not do it by low-level dirty SELECT and JOIN &lt;SPAN __jive_emoticon_name="grin"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And thanks for your help Joerg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Bertrand LAFOUGERE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 08:50:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952402#M65445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T08:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Search Objects based on characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952403#M65446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bertrand!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well. Sometimes you have to use the dirty tricks to get the work done &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However: In Report RCCLAUSPOLDNEW the FM is called with all the preparation needed for a successful call. The report is quite simple - maybe you'll get an idea which FMs have to be called in what order to be successful?!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 09:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-objects-based-on-characteristics/m-p/952403#M65446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T09:22:21Z</dc:date>
    </item>
  </channel>
</rss>

