To reuse a script with a different t-code, change the Transaction code property in the Properties panel. For example, you might want to run an MM02 script as an MM03 transaction code.
If you do not see the Transaction code property, click the Script button near the top of the panel.
Note:
Because of different transaction code requirements, you might need to add the Skip Field indicator to some fields.