Hi,
I need to enhance the Case search in such a way that when cases are searched for a partner, in addition to cases of that partner, other cases related to old account of the same partner should also be retrieved. I have some logic to retrieve the old accounts/partner numbers of same partner. The question is how to enhance the query in such a way that we retrieve all cases.
I have tried creating a copy of CL_CRM_CMG_IL, redefining SET_SEARCH_CRITERI_BO_GENERIC for adding the old partners to ct_bo_criteria and placing the Z class in transaction SAPLCRM_GENIL_CUST in Genil Component definition in place of CL_CRM_CMG_IL. While this did retrieve all cases of even older partners, clicking on any of the cases for details results in a dump in CL_ICCMP_CM_CMGATTRIBUTE_CN00->SET_DATA.
I am not sure what i am missing here. If anyone can throw some light, it would be great. Also, i am not sure if this is the best approach for a small enhancement i need to do. If there is an alternate simple approach to realise this requirement, please let me know.
Thank You.