Check the partner schema which is assign to your purchasing document type.
SPRO-IMG-MM-Purchasing-Partner Determination-Partner Settings in Purchasing Documents-Define Partner Schemas
Additionally check the thread
PI partner not fetching from Vendor master while creating PO