Skip to Content
0
Former Member
Apr 29, 2011 at 12:24 PM

Which method in CL_CRM_BOL_DQUERY_SERVIC calls the BADI CRM_RF_SEARCH_EEW

262 Views

Hi All ,

I am new to CRM , and I have a requiremenmt where in I have to add certain customised filed in the serach criteria.

I am following the below stated method.

1. Add ZXXXto CRMD_ORDER_INDEX as append structure

2. Implement the BADI - CRM_ORDER_INDEX_BADI - to induce the field value into CRM ORDER INDEX table

put the logic to get the value of ZXXX for the order & fill this field in this METHOD if_ex_crm_order_index_badi~modify_index.

3. Then Run standard report - CRM_INDEX_REBUILD, which rebuilds the CRMD_ORDER_INDEX table to fill those fields for the already existing complaints. Now all the relevant data will be present in the ORDER INDEX table

4. Now we need to include these fields in the standard query as parameters. 1st step is to include these fields in CRMC_REPDY Table (through SM30)

5. Implement the BADI - CRM_RF_SEARCH_EEW which adds these fields as a part of the Query

Add these fields ZXXX to the search structure in the component

7. Implement the Search logic on Search event

Event: EH_ONSEARCH

query_service->add_selection_param( iv_attr_name = 'ZXXX' iv_sign = 'I' iv_option = 'EQ' iv_low = lv_code_low ).

But the BADI - CRM_RF_SEARCH_EEW never gets called ( which according to the code should get called when we use add_selection_param) , I have used Filter value Fieldname = ZXXX

What excatly i want to know , if I have miss any step or is there any other method in the CL_CRM_BOL_DQUERY_SERVIC which i can use to call the BADI - CRM_RF_SEARCH_EEW.

Regards,

Neelanjana TK