Hi Akash,
The error is in your case 2 lines above the one you highlighted : Assignment of internal <-> external business partner (vendor / EWM system) not possible.
Please check the following recent similar question:
Business Partner Issue- CRM004 vendor master | SCN
It has to do with the creation of the Business Partner for the vendor.
Regards,
Philippe