Application Development 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: 

Restore Original Versions of Programs!- VERY URGENT!

Former Member
0 Kudos

Hi All,

We accidentally released all transports to production, including the transports that didnt need to be transported. We now have to restore the system to its old version.

Anyone know how to do this fast?

Thanks.

Tyken

null

1 ACCEPTED SOLUTION

Former Member
0 Kudos

If I am not wrong... go the program which you have transported..

then goto utilities -> versions - > Version management - > select the version you want to retrieve -> press the retrieve button...

Please be careful... if possible have a copy of the program in local file ...

15 REPLIES 15

JozsefSzikszai
Active Contributor
0 Kudos

hi Kenny,

you can pull back the previous version(s) of all programs in SE38.

hope this helps

ec

Former Member
0 Kudos

If I am not wrong... go the program which you have transported..

then goto utilities -> versions - > Version management - > select the version you want to retrieve -> press the retrieve button...

Please be careful... if possible have a copy of the program in local file ...

0 Kudos

Hi,

Thanks for the reply.

Is it possible to retrieve the old version even IF the programmer didn't generate a version? Does sap automatically save a version of a program?

Thanks all.

Tyken

0 Kudos

A version is automatically generated when a transport is released, the programmer doesn't need to do anything.

Sorry to hear about this problem, it sounds a real nightmare.

Regards,

Nick

0 Kudos

When ever a request is transported to production a version is being created with respect to that request.

In order to retrieve the older versions of the program you do it in Development and then retransport to Production which contains its ealier version.

Regards

Gopi

0 Kudos

Hi Nick,

The new version is created but how about the old one? I need to restore it to the old version. For example, program was modified yesterday, released and transported. Today another modification was done and transported. How do I restore it to the old version or to yesterdays version?

Thanks all.

Tyken

0 Kudos

HI All,

How about for other objects aside from programs?

Thanks.

Tyken

0 Kudos

Hi Tyken,

suppose you do a change yesterday and release to production Version280807

suppose you do a change today and release to production Version290807

now you want the version Version280807, now go to Development and retrieve the version Version280807 and then do a release to the production again, which creates a new version under a transport request.

this will restore the version as of 28th Aug'2007.

Hope you understood now

Regards

Gopi

0 Kudos

Hi Tyken,

Take a program ZPROG, it was created on Monday, changed on Tuesday and the transport released, then changed on Wednesday and transported. The version history looks like this.

active 29/08/2007

0003 29/08/2007 -- created by wednesday's transport

0002 28/08/2007 -- created by tuesday's transport

0001 27/08/2007 -- created by monday's transport

To restore to tuesday's version select version 0002 and choose restore, for monday's choose version 0001. This will create another version, so you can still look back at wednesday's changes if you need to reapply them in future.

Regards,

Nick

0 Kudos

Most development object have some form of version management (table definitions etc) but not all.

If you've applied any configuration transports you may have more of a challenge. The configuration does not automatically create change history, you will need system parameter rec/client to be set. If this parameter is set for your development client you will be able to look back at the changes made to customising and create new transports to set the values back. If not, you're probably reliant on documentation and the people who understand the config.....

Regards,

Nick

0 Kudos

Hi Nick and Gopi,

How about for other objects like sap enhancements, tables etc.? How do I restore the old version?

Thanks.

Tyken

0 Kudos

Hi

The version management is available for program and dictionary objects only.

U should get out the list of all requests hadn't to be transports: here get out the abap objects and check which versions was active before the last transport.

But for the objects (like sapscript) without version management, you should find the last request transported before transporting the wrong requests and import it again.

Max

Former Member
0 Kudos

I would look into getting the previous version of the programs and re-transporting that transport.

Former Member
0 Kudos

release another transport with the correct version of the program.....so that it replaces the incorrect program in production

Former Member
0 Kudos

follow the path

T.code SE38.

Utilities -> Version -> Version Management.

it holds all the version of your program. Restore watever u want to restore.

WHILE TRANSPORTING UR PROGRAM KEEPS A CREATES A VERSION AND WHICH U CAN USE TO RESTORE THE PREVIOUS VERSION ANYTIME.

reward if nessasary and get in ytouch for more clarity