Every screen has a onLoad event and you can attach scripts to be executed when this event occurs. This event triggers when the screen gets loaded. In this script you can call an RFC and get the data you require and assign it to the custom field you have.
Using the same technique, when the screen gets loaded, you can clear any value of any standard/custom control.