09-29-2005 6:20 AM
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
09-29-2005 7:03 AM
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
09-29-2005 6:35 AM
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 .
09-29-2005 7:03 AM
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
09-29-2005 10:10 AM
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?
09-29-2005 10:32 AM
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
09-29-2005 10:36 AM
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
09-29-2005 7:09 AM
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
09-30-2005 4:55 AM
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