In most Infotypes (if not all of them), it is possible for an ABAP programmer to add some code in the PAI (Process After Input) Block.
Through Screen Painter, look at the code for MP001400 dynpro, and search for PROCESS AFTER INPUT to find the appropriate MODULE.
Add comment