When saving ABAP program as local objects, it gets saved in $TMP package. To transfer ABAP Program from local object to a package, use the same technique of transferring ABAP Program from one package to another. In this case, we transfer ABAP program from $TMP to a custom package.
- Open the ABAP program in editable mode in SE38
- From the main menu, choose Goto – Object Directory Entry
- In the dialog window, click the display/change button to make Package field editable
- Enter package of your choice and click Save
- Choose the transport request and click Continue.
The ABAP program is transferred from $TMP or one package to another package.