Steps to copy or rename existing programs in SAP

Copy an existing program in SAP


To Copy an existing program in SAP, follow the below steps.

1. Go to SE38
2. Enter the program that you need to copy.
3. Press the copy button in the toolbar or press CTRL+F5.

Screen shot to explain copying in ABAP editor


In the popup screen, enter the target program name. This copies the source program to target program.

Pop up to name the target program for copy in ABAP Editor
Once done, you get an another popup screen for the elements to be copied. Select the elements according to your requirement that is shown in the below screen shot.

Press Copy and the source program is copied to the target program with the program elements you selected.


Renaming an existing program 


To Rename an existing program in SAP, follow the below steps.

1. Go to SE38
2. Enter the program that you need to rename.
3. Press the rename button in the toolbar or press CTRL+F6.


It is same as explained above for the copying.


Here all the program elements are transferred to the target program.
Includes are not renamed but you could select it to rename the includes in the program.



For more Tutorials, visit ABAP Tutorials, Tips & Tricks and Certification Questions