Save variants in a package

Hi,
can anybody let me know whether variants can be saved in a
package.
thanks,
Mamatha

do you mean report variants with selection values?
these are no development objects of their own and so are not part of a package.
You can put them in a transport using program RSTRANSP.
Greetings
Thomas

Similar Messages

  • How to save a query in package and transport it?

    i have saved a query as local object? now without making any changes to it, how to save it in a package? and please give me step by step procedure to transport query from one server to another server?

    Hi,
    Query Transport
    Query transport
    Query Transport
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/cb46da455611d189710000e8322d00/frameset.htm
    How to transport queries?
    Changing Package Assignments
    http://help.sap.com/saphelp_nw70/helpdata/en/04/733a3e5069eb6ce10000000a114084/frameset.htm
    Change package
    Hope this helps.
    Thanks,
    JituK

  • Use button "save" in a dynpro to save "variants"

    Hello,
    I Have a dynpro. I activate the save button but it doesn´t let save a variant.
    How can I do it ?
    Thanks

    this program may be helpful for you
    Ref : Re: Save variant problem
    *   TABLES                                                        *
    TABLES: SPFLI.
    *   TYPE-POOLS                                                    *
    TYPE-POOLS: SLIS.
    *   INTERNAL TABLES                                               *
    DATA: T_RKEY TYPE STANDARD TABLE OF RSVARKEY WITH HEADER LINE,
          T_SELCTAB TYPE STANDARD TABLE OF RSSCR WITH HEADER LINE,
          T_VARI TYPE STANDARD TABLE OF RVARI WITH HEADER LINE,
          IT_EXTAB TYPE SLIS_T_EXTAB,
          WA_EXTAB LIKE LINE OF IT_EXTAB.
    *   VARIABLES                                                     *
    DATA: OK_CODE TYPE SY-UCOMM,
          W_VARIANT TYPE RSVAR-VARIANT,
          W_USER_VARI TYPE RSVAR-VARIANT,
          W_VARI_REPORT TYPE RSVAR-REPORT,
          SEL_VARIANT TYPE RSVAR-VARIANT,
          SEL_VARIANT_TEXT TYPE RSVAR-VTEXT,
          W_REPORT TYPE RSVAR-REPORT,
          VARIANT_EXISTS TYPE C.
    *   SELECTION-SCREEN                                              *
    SELECTION-SCREEN BEGIN OF SCREEN 101 AS SUBSCREEN.
    SELECT-OPTIONS: S_CARRID FOR SPFLI-CARRID,
                    S_CONNID FOR SPFLI-CONNID.
    SELECTION-SCREEN END OF SCREEN 101.
    *   INITIALIZATION                                                *
    INITIALIZATION.
    W_REPORT = SY-REPID.
    PERFORM VARIANT_EXISTS.
    *   START-OF-SELECTION                                            *
    START-OF-SELECTION.
      CALL SCREEN 0100.
    *&      Module  STATUS_0100  OUTPUT                               *
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS '100' EXCLUDING IT_EXTAB.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT                          *
    MODULE USER_COMMAND_0100 INPUT.
      OK_CODE = SY-UCOMM.
      CASE OK_CODE.
        WHEN 'SAVE'.
          PERFORM SAVE_VARIANT.
          PERFORM VARIANT_EXISTS.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'GET_VAR'.
          PERFORM LOAD_VARIANT.
        WHEN 'DEL_VAR'.
          PERFORM DELETE_VARIANT.
          PERFORM VARIANT_EXISTS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  SAVE_VARIANT                                        *
    FORM SAVE_VARIANT.
      T_RKEY-REPORT = SY-REPID.
      APPEND T_RKEY.
      CALL FUNCTION 'RS_VARIANT_SAVE_FROM_SELSCREEN'
           EXPORTING
                CURR_REPORT          = SY-REPID
                VARI_REPORT          = SY-REPID
           IMPORTING
                VARIANT              = W_VARIANT
           TABLES
                P_SSCR               = T_SELCTAB
                P_VARI               = T_VARI
           EXCEPTIONS
                ILLEGAL_VARIANT_NAME = 1
                NOT_AUTHORIZED       = 2
                NO_REPORT            = 3
                REPORT_NOT_EXISTENT  = 4
                REPORT_NOT_SUPPLIED  = 5
                OTHERS               = 6.
      T_RKEY-VARIANT = W_VARIANT.
      MODIFY T_RKEY INDEX 1.
      CALL FUNCTION 'RS_RWSET_SAVE_VARIANT'
           EXPORTING
                RKEY    = T_RKEY
           TABLES
                SELCTAB = T_SELCTAB.
    ENDFORM.                    " SAVE_VARIANT
    *&      Form  LOAD_VARIANT                                        *
    FORM LOAD_VARIANT.
      PERFORM CHOOSE_VARIANT CHANGING SEL_VARIANT.
      IF SEL_VARIANT NE SPACE.
        CALL FUNCTION 'RS_SUPPORT_SELECTIONS'
             EXPORTING
                  REPORT               = W_REPORT
                  VARIANT              = SEL_VARIANT
             EXCEPTIONS
                  VARIANT_NOT_EXISTENT = 1
                  VARIANT_OBSOLETE     = 2
                  OTHERS               = 3.
      ENDIF.
    ENDFORM.                    " LOAD_VARIANT
    *&      Form  DELETE_VARIANT                                      *
    FORM DELETE_VARIANT.
      PERFORM CHOOSE_VARIANT CHANGING SEL_VARIANT.
      IF SEL_VARIANT NE SPACE.
        CALL FUNCTION 'RS_VARIANT_DELETE'
             EXPORTING
                  REPORT               = W_REPORT
                  VARIANT              = SEL_VARIANT
                  FLAG_CONFIRMSCREEN   = 'X'
                  FLAG_DELALLCLIENT    = 'X'
             EXCEPTIONS
                  NOT_AUTHORIZED       = 1
                  NOT_EXECUTED         = 2
                  NO_REPORT            = 3
                  REPORT_NOT_EXISTENT  = 4
                  REPORT_NOT_SUPPLIED  = 5
                  VARIANT_LOCKED       = 6
                  VARIANT_NOT_EXISTENT = 7
                  NO_CORR_INSERT       = 8
                  VARIANT_PROTECTED    = 9
                  OTHERS               = 10.
      ENDIF.
    ENDFORM.                    " DELETE_VARIANT
    *       FORM CHOOSE_VARIANT                                       *
    FORM CHOOSE_VARIANT CHANGING L_SEL_VARIANT.
      CALL FUNCTION 'RS_VARIANT_CATALOG'
           EXPORTING
                REPORT               = W_REPORT
                MASKED               = 'X'
           IMPORTING
                SEL_VARIANT          = L_SEL_VARIANT
                SEL_VARIANT_TEXT     = SEL_VARIANT_TEXT
           EXCEPTIONS
                NO_REPORT            = 1
                REPORT_NOT_EXISTENT  = 2
                REPORT_NOT_SUPPLIED  = 3
                NO_VARIANTS          = 4
                NO_VARIANT_SELECTED  = 5
                VARIANT_NOT_EXISTENT = 6
                OTHERS               = 7.
    ENDFORM.
    *&      Form  VARIANT_EXISTS                                      *
    FORM VARIANT_EXISTS.
    CALL FUNCTION 'RS_VARIANT_FOR_ONE_SCREEN'
           EXPORTING
                PROGRAM        = W_REPORT
                DYNNR          = '0101'
           IMPORTING
                VARIANT_EXISTS = VARIANT_EXISTS.
      IF VARIANT_EXISTS EQ 'X'.
        CLEAR: WA_EXTAB, IT_EXTAB.
        REFRESH IT_EXTAB.
      ELSE.
        CLEAR: WA_EXTAB, IT_EXTAB.
        REFRESH IT_EXTAB.
        WA_EXTAB-FCODE = 'GET_VAR'.
        APPEND WA_EXTAB TO IT_EXTAB.
      ENDIF.
    ENDFORM.                    " VARIANT_EXISTS

  • Save variant button

    HI all..
    how to make a save variant button in a report...
    ..Thank you..

    ok.. sorry for all..
    what my user want is that save button ... that they thought is the get variant button...
    i ve just told them how the save variant button works...
    we could done  that alll with the standard SAP save variants procedures...
    problem solved...

  • TS2647 My keynote files keeps saving my document as a package even though "Save new documents as packages" is not selected. I also do not have Stuffit Expander on my system. Any ideas why this is happening?

    My Keynote file is NOT creating a single file but creating a folder with all the decks files.
    1. I have "Save new documents as packages" deselected in Keynote preferences. And…
    2. I do not have StuffIt Expander on my system.
    Any suggestions.

    OK, restart in Safe Mode, this will clear some caches. It's possible one or more is corrupt. To restart in Safe Mode when you hear the start up tone hold down the Shift Key until you see a progress bar. Let it fully boot then restart normally and test.
    Also I am assuming you have checked Finder - Preferences  - General and see what boxes are checked in "Show these items on desktop." You can also mount an item in Disk Utility, simply highlight it and then look in the File menu for Mount.....

  • REUSE_ALV_GRID_DISPLAY_LVC can't save variant

    Hi I'm using that FM but the SAVE variant button isn't activated.
    I tried with all I_SAVE possible values ('X', 'A', 'U'). With and without IS_VARIANT parameter. But it isn't working yet.
    The call looks like that:
    Maybe the problem is because I'm using a field symbol for internal table? But the data is displayed so I don't think...
    Note: Don't tell me to use the new ALV way because my SAP version doesn't have the necessary classes.
      DATA: gs_variant TYPE disvariant.
      gs_variant = sy-cprog.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
        EXPORTING
          it_fieldcat_lvc                   = gt_fcat
          i_save                            = 'A'
          is_variant                        = gs_variant
        TABLES
          t_outtab                          = <gt_bom_alv>
        EXCEPTIONS
          OTHERS                            = 1.
    Thank you.

    I think you need to change this:
    DATA:
    gs_variant TYPE disvariant,
    v_repid TYPE sy-repid.
    v_repid = sy-repid.
    gs_variant-repid = sy-repid. "Change this
      gs_variant = sy-cprog.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
        EXPORTING
          i_callback_program         = v_repid "Add this
          it_fieldcat_lvc                  = gt_fcat
          i_save                             = 'A'
          is_variant                        = gs_variant
        TABLES
          t_outtab                          = <gt_bom_alv>
        EXCEPTIONS
          OTHERS                            = 1.
    BR,
    Suhas
    Edited by: Suhas Saha on Feb 18, 2010 5:53 PM

  • Save a Copy of package as with SQL server 2012

    Hello,I want to save a copy of my package on sql server.
    I use this procedure : http://msdn.microsoft.com/en-us/library/ms137565(v=sql.110).aspx
    But the dialog box is not the "Save Copy of Package" with package location, but it's the dialog box to save on the disk.
    I can't save on sql server.
    Can you help me ?

    Hi olivier,
    When we click “Save Copy of <package file> As” on the File menu in Project Deployment Model, we can only save the package on the disk.
    Please note that the procedures in the article is about Package Deployment Model. So if we want to save a copy of package to SQL Server, we should change the Model first, then refer the steps in the article.
    To convert the Model from Project Deployment Model to Package Deployment Model, please right-click the project to select “Convert to Package Deployment Model” option in the Solution Explorer. If a package uses features unique to the project
    deployment model, such as parameters, then the package cannot be converted. So please avoid use features unique to the project deployment model.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Save variant

    Hi All
    we are trying to save the variant in the report S_ALR_87012013
    i have selected 10 asset classes and save the variant. again i go back to variant display it is selecting only one asset class.
    i asked authorization team to create a test userid with same roles. But with test user id i am not facing any problem.
    is this goes to authorization team or I need to do some changes.
    It's very urgent plz suggest me
    useful answers will be rewarded with points
    Regards
    Prasad

    Hi,
    I've checked the same here and its working fine here.
    I doubt if you have save it properly. If saved properly, the next time when you go to this transaction, you need to select your variant and then only execute.
    Hope your problem gets solved.
    Cheers
    P O I N T S

  • Save variant configuration data with BAPI or FM

    Hi experts,
    I created a PP production order by using a configured material.
    I can see internal object number in table AFPO-CUOBJ.
    I'd like to change and save a value of characteristics by using ABAP.
    Could you tell me it if there is a BAPI or FM to save values of characteristics in variant configuraion?
    BR,

    you can chnage the variant configuration data using below bapi with strcture    order_cfgs_value      =
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument        
          order_header_in       =
          order_header_inx      =
           TABLES
          return                = return_lt
          order_item_in         =
          order_item_inx        =
          partners              =
          partnerchanges        =
          partneraddresses      =
          order_cfgs_ref        =
          order_cfgs_inst       =
          order_cfgs_part_of    =
          order_cfgs_value      =

  • How can one save variants for module pool screens.

    hai all,
         i have done a module pool screen for taking information from user..later i leave to list processor and give a report to the user.
      i am testing the program with many input parameters.i don't want to enter the values each time i execute the program.can i not save a variant like i save for normal abap editor programs?
    any other solution ?

    Hii..
    Variants can be created in Selection Screen only...
    For ur Scenario:
    To leave to the list use the Statements
    <b>LEAVE TO LIST-PROCESSING And return .</b>
    then the Data will be automatically retained.
    <b>Reward if Helpful</b>

  • Save new documents as packages?

    Can some one please explain this to me, I have turned it on in my settings as Pages kept making copy documents with out me asking it to it seems to be doing this whilst backing up the documents?
    I am not actaully sure I want this setting turned on as I am confused to what it is really doing, if it was a thing I wanted I would have assumed it would be on as a defult setting.
    Thanks

    You are mixing this up a little. Packages has nothing to do with the saved "copies". The latter is a copy of an earlier version a saved document.
    Documents can be saved as flat files or packages. I save as flat files. Packages can be opened and you can see the content of a file. I never leart which is the better option

  • Save keynote as non package from a package file

    Hi
    I have several keynotes that have been saved as package. Althought saving keynote as package present many advantages, I need to turn those files as non package files.
    I uncheck the option (save as package) in the preference and selected save as but that did not work. I checked on the net but could not find the answer.
    If somoene knows how to do this, that would be very helpful.
    I do know how to change a non package keynote to a package one but not the other way around.
    Thanks in advance.
    Sebastien  

    If I purchase keynote will it bring in all the animations/transistions that I have created
    2. Will it be able to save it with all the animiations/transisitions as a DVD?
    Only if the fonts, animations and transitions used in the PowerPoint file are compatible with Keynote. Many are not so you will need to test it thoroughly.

  • Relating to save variant in alv objects

    Hi,
       i had a requirement to select or deselect few fields and these fields ahould be able to save, in our case they are using abapobject to display alv using container, can any one please let me know what is the solution.
    regards.
    venkat.

    HI Venkat
    just go to this PDF which described about ALV Objects
    <b>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907</b>
    and here search for Variant then you can find the necessary Information regarding Variants
    Regards Rk

  • Save Variant Web Dynpro Select Options

    Hello experts, im working with select options in a WEB Dynpro.
    It is poosible to save select options varaint?
    I hope anybody had an idea to do this.
    THANKS!
    Markus

    Hi,
      After fetching the values from DB, here is the code snippet to pre fill them in the select option screen
    DATA: lt_range_table TYPE REF TO data,
          rt_range_table TYPE REF TO data,
          read_only TYPE abap_bool,
          typename TYPE string.
    * create a range table that consists of this new data element
      lt_range_table = lo_r_helper_class->create_range_table( i_typename = 'DATA_ELEMENT' ).
    FIELD-SYMBOLS: <tab> TYPE INDEX TABLE,
    <struct> TYPE ANY,
    <wa> TYPE ANY,
    <option> TYPE char2,
    <sign> TYPE char1,
    <high> TYPE ANY,
    <low> TYPE ANY,
    <wa_values> TYPE ANY.
    ASSIGN lt_range_table->* TO <tab>.
    APPEND INITIAL LINE TO <tab> ASSIGNING <wa>.
    ASSIGN COMPONENT 'OPTION' OF STRUCTURE <wa> TO <option>.
    ASSIGN COMPONENT 'HIGH' OF STRUCTURE <wa> TO <high>.
    ASSIGN COMPONENT 'LOW' OF STRUCTURE <wa> TO <low>.
    ASSIGN COMPONENT 'SIGN' OF STRUCTURE <wa> TO <sign>.
    <sign> = 'I'. "Default sign which you want to give
    <option> = 'EQ'. "Default option you want to give
    <low> = 'VALUE_LOW." pass your valriable name here
    *<high> = 'High_value'.
      " using this code snippet, you can prefill multiple rows too
    * add a new field to the selection
      lo_r_helper_class->add_selection_field( i_id = 'S_ID'
      i_description = 'Field 1'
      it_result = lt_range_table ).
       You can also find an useful e-learning for the same [here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd]
    Regards,
    Manne.

  • How to save a vairant ?

    Friends,
    I've a start vairant in a process chain. I'm able to save Process chain in a package to transport. But the variant belongs to $TMP. How to save variant in a package so that i can make it as transportable?
    Joe joe.

    Try following steps in this link(not sure though,if this can be done for variants)
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/content.htm

Maybe you are looking for

  • My Macbook Pro 2010 is very slow, I know its old but can I speed it up?

    I have had my Macbook pro for nearly 4 years so I expect it to have slowed down, but now its getting ridiculous and difficult to use. Does anyone have any ideas on how to speed it up? I have removed all my larger files and the most memory is now take

  • CIT310 Out of range

    Dear Hello i have a CIT310 it was working fine now it gives me out of range message..!! when i try to register it it only give me base 1 ... 4 i press the register button fot a couple of seconds untill i hear two beeps and after whn trying to registe

  • Distinct values in an internal table

    How can I extract the distinct values of a particular field in an internal table?

  • Changing default schema

    Hi: I would like to know if there is a way to change the default schema a user references. For example, I login as user "bill" with a schema associated with that user. But I want to reference the tables in someone else's schema, maybe user joe's sche

  • I currently use Robohelp 9 and would like to upgrade to RH 11.

    The first thing I need is a a quote for the upgrade price. Can anyone help me? Thanks, David ...