Hello George,
Go to SE54.
for regenerating table maintanance program automatically.
A-type your table name in table/view input box
B-Select generated object radio button. it will go to the table maintanance generator screen
C-click on chage button in table maintance screen. it will display popup screen where you need to select appropriate check box for regenerating table maintance program.
finally save .
D-test your chages by executing sm30 or created table transaction.
Try like this it may help you.
Thanks
Sam