abap 恢复已经删除程序/函数

I recently deleted a custom program (which is already transported to production) accidentally and was wondering if there is any method of retrieving the program back. After some research, I found a way of getting back the program.

Following are the steps in getting back the program:
1) Create a program with the same name as earlier (which is deleted)
2) Click on “Utilities” –> “Versions” –> “Version Management”
3) Select the version of your earlier program and click on display.
4) Your earlier program is displayed here.