SAP Message 5A395 - Interface for function module does not follow convention

Diagnosis
The interface of the function module does not follow the convention.

Procedure
Adjust the function module interface to suit the templates.
For object types 'P' (employee) and 'AP' (applicant), this is functionmodule 'HR_EVENT_RUELES_PA0001'.
For all other object types, this is function module'HR_EVENT_OT_NNNN_UUUU_TEMPLATE'.