SAP Message VR540 - Partner type &1 for partner function &2 is not supported

Diagnosis
You can only select according to partner functions that are supportedin SD.
The specified partner function &2 has assigned partner type &1 but thisis not supported.

Procedure
Check whether you specified a supported partner type (CU, LI, PE, AP)when you defined the partner function (table TPAR).