That requierment seems to excedd the capacity of the dialog maintenance generator, you could code this in PBO of the generated screens (beware of deletion during further changes) or consider building your own report to manage the table.
You can build a simple maintenance dialog, where you will use of the SM30 functions to select or insert/update records calling FM like VIEW_GET_DATA or VIEW_MAINTENANCE_SINGLE_ENTRY)
Regards,
Raymond