08-29-2007 9:43 AM
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
08-29-2007 9:51 AM
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 ...
08-29-2007 9:50 AM
hi Kenny,
you can pull back the previous version(s) of all programs in SE38.
hope this helps
ec
08-29-2007 9:51 AM
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 ...
08-29-2007 9:58 AM
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
08-29-2007 9:59 AM
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
08-29-2007 10:01 AM
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
08-29-2007 10:02 AM
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
08-29-2007 10:08 AM
HI All,
How about for other objects aside from programs?
Thanks.
Tyken
08-29-2007 10:12 AM
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
08-29-2007 10:12 AM
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
08-29-2007 10:24 AM
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
08-29-2007 10:25 AM
Hi Nick and Gopi,
How about for other objects like sap enhancements, tables etc.? How do I restore the old version?
Thanks.
Tyken
08-29-2007 10:37 AM
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
08-29-2007 9:51 AM
I would look into getting the previous version of the programs and re-transporting that transport.
08-29-2007 9:52 AM
release another transport with the correct version of the program.....so that it replaces the incorrect program in production
08-29-2007 10:38 AM
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