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

Version Management

Former Member
0 Likes
2,140

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

10 REPLIES 10
Read only

Former Member
0 Likes
1,636

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

Read only

Former Member
0 Likes
1,636

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

Read only

Former Member
0 Likes
1,636

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@

Read only

0 Likes
1,636

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...

Read only

0 Likes
1,636

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á

Read only

0 Likes
1,636

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

Read only

0 Likes
1,636

Well Is there any specfic particular Program or FM is there for restoring the previous version

Read only

0 Likes
1,636

thx

Read only

Former Member
0 Likes
1,636

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.

Read only

0 Likes
1,636

In this what is dir_f9_report,ls_vers_1-objtype..?