Skip to Content

Help needed in enhancing Search attribute Created at - Parameters

Hi All,

I am facing a strange issue in enhancing search criteria maintained for sales contracts search.

I have brought in CREATED AT Field. By default, it is diplaying only IS Option in WEB UI. as per the req, we should display Contains, Does not contain, is on or earlier than etc.

for this we identified the Maintenance view table, CRMC_DQ_ATTROP and selected the needed values by ticking the needed options. Now the parameters displayed on UI are coming as expected but Search is not working with these parameters.

Any idea on this will be of great help.

Thanks,

udaya

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 04, 2008 at 08:31 AM

    Hi,

    if the parameters are disabled by default there is often a catch to it.

    I saw in the business partner search classes that there are some search parameters for which all other options then EQ are filtered out and not regarded in the search.

    Have a look at the GenIL implementation class of the search and see if your parameters are supplied via the interface to the search and if so, if they are filtered out.

    cheers Carsten

    Add comment
    10|10000 characters needed characters exceeded

    • Carsten Kasper Udaya Bhaskar Perecharla

      Hi,

      I do not have the time to research this completely, but I had a short look into the class you posted.

      In the GET_DYNAMIC_QUERY_RESULT there is a call to CL_CRM_QCOD_HELPER->PREPROCESS( )

      A little bit lower there are blocks marked by comments for the single searches that are handled by this class. I had a look into the campaign_serach() method. There if you scroll a little bit down (around line 123) they set all search parameters to SIGN = 'I' OPTION = 'EQ'. This is done several times below as well.

      Set a breakpoint in the proprocess() method and check which of the blocks is called and how they handle your search criteria.

      Hope it helps.

      cheers Carsten