Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

copy program from prod to dev

Former Member
0 Likes
930

hi,

i have older version of fm in prod and i wont to copy it for new fm in dev

what is the best time to do that?

Regards

1 ACCEPTED SOLUTION
Read only

ferry_lianto
Active Contributor
0 Likes
771

Hi,

Please try to retrieve the older version function module program in DEV which is same as the older version in PROD via version management. I hope nobody created directly in PROD, otherwise, you may have to download from PROD and uplaod to DEV or cut and paste the codes.

Once retrieved, you can either save to new FM or overwrite the current version with the older version. Then later on you can transport to QA and PROD to syncronize the version.

Regards,

Ferry Lianto

3 REPLIES 3
Read only

matt
Active Contributor
0 Likes
771

You want to overwrite your DEV version with the older PROD version? If the FM is your own, then you can simply use version management to bring back the old version.

( From SE37, menu Utilities->Versions->Version Management )

Otherwise there's nothing technically to stop you, excepting authorisations, creating a transport in P, and taking it into D.

Be aware that a function module is part of a function group program. You may have to recover the entire function group.

If it is a standard SAP function module, then the answer is simple. Don't do it.

If you mean you want to copy from DEV to PROD, if the FM is heavily used, do a transport when the customers are asleep.

matt

Read only

Former Member
0 Likes
771

Hi

you need to create a new vertion in the older FM it self and transport it to the PRODUCTION

then next time onwords the new vertion will execute there in PRODUCTION also

so just do the new vertion in the older FM

Read only

ferry_lianto
Active Contributor
0 Likes
772

Hi,

Please try to retrieve the older version function module program in DEV which is same as the older version in PROD via version management. I hope nobody created directly in PROD, otherwise, you may have to download from PROD and uplaod to DEV or cut and paste the codes.

Once retrieved, you can either save to new FM or overwrite the current version with the older version. Then later on you can transport to QA and PROD to syncronize the version.

Regards,

Ferry Lianto