Message SAP WZ351 - Method &1 of object type &2 cannot be executed via forms

Diagnosis
A method can only be executed using a PC form (SAP Form) if it wasinherited from method 'process' of object type 'FORM'. This is not thecase, however, for method &v1& of object type &v2&.

Procedure
Use another method or object type.