Hi Anjikumar,
Check the partner determination procedure for sales documents. Set up partner determination procedure for sales document header. Check for the sales document type which you are using what is the procedure assigned.
Regards,
S.Himavanth.