SAP Message WN517 - Please enter a company code and/or a purchasing organization

Diagnosis
The vendor already exists in the system. This transaction only allowsyou to add company code and/or purchasing segments to the vendor.

System Response

Procedure
Enter the company code and/or purchasing organization which you want toadd to the existing vendor.