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: 

Old program variants

rt50896
Participant
0 Kudos

Hi,

I have a question: one program have its variants,but

if need to change program name,I know can use copy to copy its variants. In development it's ok,but in production server,copy program is not permit,how to keep the old program's variants to new program name?

Especially for the input criteria is more and complex,usually keep variants may help to execute program...

Regina

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Yes,

That's right.

In Production you can't change any programs.Copying is similar to changing the code.

The idea is to recreate the same set of variants there in the Production.

Regards,

Siva

7 REPLIES 7

Former Member
0 Kudos

How can you copy programs in PRODUCTION server ?

It's highly not possible .

If this is the case , then no need to copy variants too.

Usually system landscape denotes the number of the systems being used .

Development server is meant for all the dev/modification of the objects ...

In production server u can't copy any of the objects .

But you can create as many variants u want .

Variants are nothing but prefilled INPUT .

Hope it helps .

Regards,

J

Do Award points for helpful answers .

Former Member
0 Kudos

Yes,

That's right.

In Production you can't change any programs.Copying is similar to changing the code.

The idea is to recreate the same set of variants there in the Production.

Regards,

Siva

0 Kudos

Yes,I know in production can't do copy for program and variants. So you mean after new program exist in production,I need to create variants which refer from old program's?

0 Kudos

Hello Regina,

if you have a lot of variants for the old programm only in production system, you could transport them from production back to development. You could create a transport via SE38 -> Goto ->Variants and then Utilities -> transport request .

Then copy the Programm in development with variants and transport it all together to production.

It's complicatet, but i dan't know any way to copy variants between programms

Regards Wolfgang

0 Kudos

Hi

If old program and new program have the same selection-screen you can try to copy the variant by FM RS_COPY_SELECTION_SETS (it' FM used by system when it copies a program).

So go to SE37 and push ICON TEST, in the parameter SOURCE_REPORT insert old program, in TARGET_REPORT insert new program and run fm.

Now the variants of old record are copied in new record.

Max

Message was edited by: max bianchi

Message was edited by: max bianchi

Former Member
0 Kudos

Hi ,

There is no need to worry . When you change program name , all the dependant objects like TEXTS / GUI STATUS / SCREENS /VARIANT are renamed and attached to the new name. So in development system while renaming just see taht "varaiants" check box is selected as well. The transport created will have all the info and when you move this transport to TEST / PROD the behaviour will be same as developemnt i.e. the variants will be copied to new program. To be sure you can check it on your test system.

Also while renaming you can see theer is no option of deselecting variants , they are selected by default.

Cheers

Former Member
0 Kudos

Hi Regina

To your qiestion

So you mean after new program exist in production,I need to create variants which refer from old program's?

See my earlier post. You dont need to do anything the transport which you move to PRODUCTION ( I guess you would not directly rename the program on production ) will copy the varaiants also from old program to new program . Just try renaming a program on development server and you will see that all the variants are automatically copied.

Cheers