Table maintenace - restrict changes to the existing entries
I have a created a table maintenance generator for a table. I have a requirement like this, I need to restrict changes to the existing entries based on perticular scenario. Is it possible to include this logic in the standard program generated by SAP for table maintenance. If so, how to achieve this.
Thanks in advance