Hello Alan,
Thanks for your time and responding to me.
We are good at the config side. If there is something we are missing in the config, then the online process through VF04 should also split but it is working as we needed (consolidating all the deliveries with same PO and creating a single invoice).
I finally figured out a solution for this.
VF04 - Online processing looks the split criteria based on the copy control routine.
VF04 (background) or VF06 - This also executes the copy control routine BUT, there is a function module 'SD_COLLECTIVE_RUN_EXECUTE' which is triggered ONLY during the background process. So, in this FM the invoice document split is again happened based on different sold-to's.
Finally, I could find a user exit above this split and I could clear the sold to value. It works perfectly now in background process too.
I would like to thank Shiva for that note. It actually explains similar logic.
Thanks everyone for your time in responding to my post.
Thanks,
Sandy