Hi Tejaswini,
Thanks for replying.
Actually I can't delete the entity to remove it from the collection. These entities are being used at some other views too, specifically in the bol-trees at some locations. Deleting them like this will affect the functionality of other views too, and might even result in dumps.
Can I try any other way? May be converting the bol-entity of type cl_crm_bol_entity into entity of type cl_crm_iu_ic_bol_tree_node somehow. Obviously simply type-casting the two doesn't work.
Any help would be highly appreciated.
Thanks.