SAP Message 37270 - Function type "Local GUI function" not allowed

Diagnosis
You tried to assign function type P "Local GUI function" to a function.
This is currently only supported for tab titles in tabstrip controls.

System Response
The system cannot assign the function type.