Skip to Content
0
Apr 12, 2009 at 07:24 PM

How to add new field to Inbox Search

160 Views

My client wants a dropdown list of Partner Functions, so they can search by any partner function. I was able to add the dropdown list to the Search controller. But in order to include it in the Query object I found out I need to modify a class that is very deep in the core sap. Here's the trace:

CL_CRM_IC_AUISEARCH_IMPL

->CL_CRM_IC_AUISEARCH_IMPL->EH_ONSEARCH

->CL_CRM_AUI_QUERY_SERVICE->get_query_result

-> get_1o_query_result

-> query_1o->get_query_result

-> CL_CRM_BOL_CORE->QUERY

-> CL_CRM_GENERIC_IL_NEW->GET_QUERY_RESULT

->CL_CRM_BTIL->if_genil_appl_intlay~get_query_result

->CL_CRM_INTLAY_BTIL->execute_query

->CL_CRM_QUERYAUI_RUN_BTIL->if_crm_query_runtime_btil~get_query_result

->CL_CRM_QUERYAUI_RUN_BTIL->READ_BUSINESS_TRANSACTIONS

How in the world am I going to modify the method READ_BUSINESS_TRANSACTIONS, without "core-mod"ing 12 classes?

Is there not an easier way to simply add a field to the query?

Thanks