Hi Anton,
There is a very good example of modifying the System forms in the samples provided by SAP itself.
Usually we override the system form to do any kind of editing.
Check the sample and you will get to know where to write the code and how it will work.
Thanks