SAP Message W5150 - Partne role &1 cannot be processed by BAPI &2

Diagnosis
Only the following roles are possible for BAPI &v2&:

  • IP - invoicing party

  • GS - goods supplier

668178BAPI_PO_CREATE: W5 150 - cannot use partner role