Skip to Content
author's profile photo
Former Member

Old program variants

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    author's profile photo
    Former Member
    Sep 29, 2005 at 06: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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • author's profile photo
    Former Member
    Sep 29, 2005 at 05: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 .

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 29, 2005 at 06: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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 30, 2005 at 03: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

    Add comment
    10|10000 characters needed characters exceeded