SAP Message 06167 - Please only use plants with company code &

Diagnosis
The plant you have entered does not belong to thecompany code that was determined via thepurchasing organization.

Procedure
Check the purchasing organization/plant entered.

197417 Message 06167 when settling an arrangement