SAP Message GB027 - Exit & has the incorrect type

Diagnosis
The exit type of the system exit or user exit cannot be used in thiscondition.
This may be the case, if:
in a condition, you have used a user exit that does not match yourvalidation or substitution callup point.
Beispiel in fi, you cannot use a
user exitthat refers to the complete document structure for callup point"document line".
in the substitution, you have used a user exit whose definition of theparameters (in the FORM routine GET_EXIT_TITLES) does not coincide withhow it is used.
Beispiel if you select the option "only exit" when choosing the
substitution fields,you cannot enter a user exit that is defined with a parameter.

Procedure
Use a different exit or check the definition in the exit form pool.The routine GET_EXIT_TITLES in the form pool specifies the exit type.

48121User Exits in Validations/Substitutions