You should not directly modify the forms delivered by SAP but always copy them to your customer namespace and change this copy.
The generated function module needs to be called every time a form needs to be processed.