Marcos,
I think you can use a field exit in this case
http://wiki.sdn.sap.com/wiki/display/ABAP/Field+exits
In this way you will associate a function module in your field and there you can call the function module F4IF_FIELD_VALUE_REQUEST <- the input help Z
Let me know if you need more details
Regards,
Paulo.