Adding entity objects (cl_crm_bol_entity) to collection (if_bol_bo_col) ?
I have an internal table of specific structure. I have to add them to entities with same structure and again i have add the entities to collection of type if_bol_bo_col. Here the code is to be written within badi, which gets empty collection as input. I tried with the ways that i know. But, they result in exception. Anyone can point me to working code that shows how to create entities of specific structure and add them to collection ?
Thanks & Regards,