Skip to Content
author's profile photo Former Member
Former Member

Copy variants between programs

Hi!

I've copied a Z program into an another Z program in the development system. Unfortunately there are a lot of variants to the old program in the productive system. Because these variants are only in the productive syste I could not copy them.

After the new program is transported into the productive system I have to restore the variants also.

I see a few ways to it, but I don't have experience in it yet, and I don't know, which one is possible to solve:

- download from the old and upload the variants to the new program

- copy them using a standard program/FM

If you know a solution, feel free to share it with me.

Thank you

Tamá

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2008 at 01:02 PM

    Use program RGRVARI1 or

    RGRVARIX.

    Add a comment
    10|10000 characters needed characters exceeded

    • sorry, I was wrong. The FM you have to use for saving the variant is RS_CREATE_VARIANT (same function group). (I know, because I did exactly the same in an earlier project.) However I cannot remember with which FM did I read the variants and cannot find it now... 😔

      All I remember that it was the same function group...

  • Posted on Oct 13, 2008 at 01:04 PM

    check function group SVAR. You can use the FM RS_VARIANT_COPY in this group.

    (hope you mean report variants...)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2008 at 01:44 PM

    Use FM:

    RS_COPY_SELECTION_SETS

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2008 at 02:25 PM

    And once again, the day is saved, thanks to the PowerMax boy!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.