Diagnosis The entry in table TVKO is missing for the purchasing organization.
Procedure Define the sales organization in Customizing, under EnterpriseStructure -> Definition -> Sales and Distribution -> Define, Copy,Delete, Check Sales Organization>.