SAP Message W-045 - Purchasing organization cannot be entered without vendor number

Diagnosis
During maintenance of vendor hierarchy assignments, a vendor number anda purchasing organization are always specified for both dependent nodesand higher-level nodes.
If a node is not dependent on a higher-level node, you specify neitherthe vendor number nor the purchasing organization for the higher levelnode.