Dear Krishna
please read the important OSS note regarding SDS distribution. This OSS note is mentioned quite often here. It is nearly not possible to describe in "few" sentences the many pitfalls in context of your question and the vey specific set up. In >60% of the cases companies do not use the SAP standard as delivered. The sds distribution process is one of those there you need to do a lot of customizing; and in many places you can "exchange" SAP standard function module by customer specific one. And most pf the companies "exchange" thise function modules.
This is as well true for determination of "language"; the story is quite complex
C.B