‎2009 Dec 18 7:33 AM
Hi all,
How to activate the previous version through any program or Function module(Not from SapGUI).
By means Now i am using version 2.But i want to restore the version 1 by any program or function modules.
CM
‎2009 Dec 18 7:36 AM
Hi,
The way to retrieve an oldest version is if it has been in a released transport order.
Transaction Se80 goto utilities -> version -> version management
You will see previous and current active version with the request numbers.
Edited by: nihad omerbegovic on Dec 18, 2009 8:37 AM
‎2009 Dec 18 7:42 AM
hi.
select the version do you want and press the retrive button on the application tool bar henc it will show the selcted version.
go and activate it. it will work.
~linganna
‎2009 Dec 18 7:59 AM
Why you want to do it with a program or function module is there any specific reason for tht. You can go to SE80 and find all the versions of a particular program. Orelse if u r authorized to use se09 you can see each request number which
was saved for a particular version will be saving the source code. Just double click on the version(in yur case program name) in
SE09 immediately it will pick the version of the program in that request and double clicking you will go tht program which was saved for that request just save check and activate then the version of the program that u have selected will be activated.
Cheers!!
VEnk@
‎2009 Dec 18 8:54 AM
yes,we have to do restore for the previous version seperetely like we give the older version no and it will restore the previous version...
‎2009 Dec 18 9:14 AM
Hi!
Well, if the older version are in one transport request, you can transport WITH STMS the older request into the QUA and PROD servers, so the code will contain the previous versions in the QUA and PROD servers.
However it is not recommended, because in the DEV system you'll have to actual state.
The best way, if you recall the older versions in DEV, using SE80's version managemenet.
Regards
Tamá
‎2009 Dec 18 9:18 AM
Hi,
Goto SE38 and give your program name and display it
From the Menu bar Utilities -> versions -> Version Management
Uncheck activ version and check required version and press retrieve button it will ask for new Transport request and activate it.
It will give one more Version( This is ur required version)
Hope it helps you.
Regards,
KK
‎2009 Dec 18 9:44 AM
Well Is there any specfic particular Program or FM is there for restoring the previous version
‎2009 Dec 24 3:56 AM
‎2009 Dec 18 9:23 AM
Hi Chandramohan,
DATA: lv_objname_l LIKE vrsd-objname,
ls_infoline_1_a LIKE vrsinfolna,
ls_infoline_1_b LIKE vrsinfolnb.
SUBMIT (dir_f9_report) AND RETURN
WITH objtype = ls_vers_1-objtype
WITH objname = lv_objname_l
WITH versno = ls_vers_1-versno
WITH infolna = ls_infoline1a
WITH infolnb = ls_infoline1b.where;
dir_f9_report = RSEDTVE1
LS_VERS_1-OBJNAME = Report name
LV_OBJNAME_L = report name
LS_INFOLINE1A = report name
Cheers,
Amit.
‎2009 Dec 18 11:10 AM