SAP Message UPF171 - Type &2 of parameter &1 is invalid

Diagnosis
Type &V1& of parameters &V2& is not permitted. The only types that arepermitted are types F, I, D, STRING or data elements.

Procedure
Modify the function module interface accordingly.