Hi,
I need to add a new entity to the search result collection. Since it does not have a parent entity i cannot use CREATE_RELATED_ENTITY method. And I do not want to add it as a value node.
I tried using CREATE method of class CL_CRM_BOL_ENTITY_FACTORY but it throws an exception, which on further debugging i found it is because of the method CREATE in class CL_CRM_GENERIC_IL_NEW. Here the object kind passed is 'E' and the expected object kind is 'A' (root object).
Thank you very much in advance.
Thanks,
Ahmed