Hi Khushdeep,
I am using CDS's for quite some time, I can not really imagine such case that you mentioned. In my opinion instead of using a internal table as input you may try to put the logic which creates the internal table in your CDS using joins etc or If you will call the view via ABAP you can use below alternative in ABAP Select ( Open SQL ) to have for all entries logic.
"Select * from cds_view for all entries in internal table"
Regards,
Gungor