SAP Message 9J643 - Activity type &2 not allowed for material type &1

Diagnosis
Service type &v2& is not valid for material type &v1&.

Procedure
If service type &v2& should be valid for material type &v1&, inCustomizing define the relevant entry.
IF &DEVICE& = 'SCREEN'Execute function
ENDIF