Hello Faisal,
Thanks for your prompt reply.
It is an AET table view. I tried the given code, but it didnt work. Also had made lots of search but everytime ended up with code sample like;
IF_BOL_BO_COL~ADD
OR
IF_BOL_BO_COL~INSERT
From those weblinks;
how to insert row in to table view.
how to add entity to collection
BOL Programming - Basic Collection Operations - AbapLog
But none of them has worked.