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

Similar Messages

  • 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...

  • 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 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>

  • 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.

  • 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

  • Unable to save the ALV layout variant and display of selection screen on F4

    Hi All,
    The end user wants to directly select the layout variant (SLIS_VARI). I have used the following code to display the layout variant on selection screen. But, I am unable to save the variant on ALV. Whenever I am trying to select the layout variants (by doing F4 on selection screen) its displaying "No Layout found".
    Following is the code for displaying layout variant:
    PARAMETERS: p_var TYPE slis_vari.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_var.
      PERFORM f4_variant CHANGING p_var.
    FORM f4_variant  CHANGING c_variant TYPE slis_vari.
      DATA: ls_variant TYPE disvariant,
                l_exit     TYPE char1.
      ls_variant-report = sy-repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          is_variant = ls_variant
          i_save     = 'A'
        IMPORTING
          e_exit     = l_exit
          es_variant = ls_variant
        EXCEPTIONS
          not_found  = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        IF l_exit EQ space.
          c_variant = ls_variant-variant.
        ENDIF.
      ENDIF.
    ENDFORM.                    " f4_variant
    and following is the code for displaying the ALV:
    FORM edition_alv.
      ws_variant2 = ls_variant.
    * Call ALV editor in list mode
      IF p_list = 'X'.
        CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
            i_callback_program      = ws_extract1-report
            i_callback_user_command = ws_user_command
            is_layout               = ws_layout
            it_fieldcat             = wt_fieldcat
            it_sort                 = wt_sort
            i_save                  = 'A'
            is_variant              = ws_variant2
            it_events               = wt_events[]
          TABLES
            t_outtab                = wt_edition.
    * Call ALV editor in grid mode
      ELSE.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program      = ws_extract1-report
            i_callback_user_command = ws_user_command
            it_fieldcat             = wt_fieldcat
            it_sort                 = wt_sort
            i_save                  = 'A'
            is_variant              = ws_variant2
            it_events               = wt_events[]
          TABLES
            t_outtab                = wt_edition.
      ENDIF.
    ENDFORM.  
    I am not sure whats going wrong, but I am unable to save variants.
    Please help.
    Thanks,
    Vishal.

    The F4 will display you the existing layouts only. So you need to save the layout first & then execute the report again & check if you are getting F4 values for that field.
    The Layout needs to get stored with variant.
    Regards,
    Mahesh

  • Find option and variant save feature  in Value help  in VC application

    Hi,
        i want "save variant (like in R/3 you can make your variant and save it so no need to do same selection again and agian)" and find option in value help for the user friendly. can it possible in VC and if it is, then how i can do it ? reply me as soon as possible

    resolved by me

  • Save an input mask as variant for a method of a Z class

    Hi all,
    quite a dumb question, but I switched to OO abap recently and can't find this feature...
    When I'm creating a custom function module, I can test in debug simply lauching it and saving parameters of the input mask iin a Variant, so that I can try the run with these params whenever I want simply loading the variant I saved.
    Now... I'm working on a method in a custom class; I'd like to test but everytime I have to populate the parameter mask since I can't find a "save variant" option. Is there any way to accomplish this? Thanks in advance.

    Could write an ABAP UNIT class and definition and perform ABAP UNIT test on the object...ABAP Unit is regression testing for programmers but I do development testing with the tool.

  • Select layout & save layout button missing in the toolbar

    Hi guys,
    I've just developed my first ALV using ABAP objects, but the tollbat doesn't contain buttons select &save layout.
    what could be worng?
    Thanks a lot!
    olian

    Look at ALV display variant related parameters
    - is_variant Don't forget to give the report name is_variant-report = sy-repid before calling set_table_for_first_display.
    - is_save Give to is_save a value allowing to save variant to get the save icon. (X-standard, A-all, U-user variants, not space)
    (Also take a look at [ALV Gird Control (BC-SRV-ALE)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf])
    Regards

  • Tricky dynamic date variant in ABAP query

    Hello All,
    In an abap query there is a date field in the selection screen with from & to values.
    I am trying to create a dynamic variant that will fill the following data into those fields:
    From date: will be left blank
    To date: will show today's date - 90 days
    For example, if today's date is 01/12/2006 the variant should fill the following data into the fields:
    From date: <blank>
    To date: 01/09/2006
    I have tried all the methods I know with dynamic dates calculation in the variant definition but did not manage to create such variant.
    Any help will be very appreciated and points would be rewarded generously !
    Thank you very much,
    Ronen

    If the "from" date is meant to be left blank (beginning of time) and the "to" date is some date plus or minus number of days from today, you use the "current +/- days" dynamic date calculation format as was mentioned earlier.  Likewise if the "from" date is some date plus or minus today's date, and the "to" date is infinity -- you only need the one Dynamic Date calculation.
    To do this, first don't think about this as a date range, think of your Dynamic Date calculation as if this were a single parameter and not a select-option.  You are really saying "my date is anything LT/LE this date" or "my date is anything GT/GE this date" -- not a range
    In the Save Variant screen, find the desired date select-option and:
    1. Choose in column "Selection Variable", a "D" (Dynamic date calculation)
    2. Use F4 in the "Name of Variable" column
    3. Find "Current date +/- ??? days" or "Current date +/- ??? work days" in the popup, as appropriate
    4. For "I/E" (include/exclude) column select as appropriate
    5. For "Option" column, choose "LE", "LT", "GE", "GT", "NE" as appropriate
    6. After clicking green check mark, enter your plus or minus days (and factory calendar if using work days).
    7. Finish saving your variant.
    8. You may not see your changes in your variant until you back all the way out of the variant and then redisplay it.  You'll see a greyed out date along with the symbol matching your choice (LT, LE, etc.)
    Unfortunately if you don't have infinity on either end of the date you are limited to 999 days differences as far as I am aware.  If that is the case you can populate TVARVC table with parameter or selection variables, maintain them with STVARV transaction by hand, or use an ABAP program in batch to regularly calculate the values.  Then you can reference the TVARVC values in your variant instead of the Dynamic Date calculation.
    If someone knows a way to bypass the use of TVARVC for date ranges that are more than 999 days apart please let me know.  TVARVC works well but it is extra effort whereas Dynamic Date calculation would be much easier to maintain if the date range could be made larger than 999 days.

  • How to save varaint in a report program with tabstrip in selection-screen

    Hi Gurus,
    We have a custom report program and selection screen of this program has a tabstrip of 9 tabs. This program will run in background job and we are facing problem to save variant for this report program. 
    We saved one variant with 'TAB2' populated. But when we execute the report and select that variant and we are not navigated to 'TAB2' automatically. So, code for TAB2 is not triggerd and we are not getting desired output.
    When we set this program with variant in Job, program is not navigated to 'TAB2' as per variant setup.
    Is there any way to save variant for this kind of report ?
    Please help with your suggestions
    Thanks & Regards
    Chandan

    Thanks for your help.
    I found during debugging that it is holding the sy-ucomm of the first tab as default value.  So, I declared a new field in selection screen with No-Display option. When user will select a tab, this new field will hold the value of that sy-ucomm. As this field is in selection screen, it is getting stored in variant also.
    In start-of-selection of program I am checking this field value and accordingly set the TABSTRIP.
    Thanks again for your help.....
    Regards,
    Chandan

Maybe you are looking for

  • How do I download Mountain Lion to a flash drive after hard drive failure?

    My hard drive failed and I have purchased Mountain Lion, but do not have a way to get back to the app store to download to a flash drive to install on my new hard drive.  How can I go about getting a copy?

  • Aperture 1.1.1 out..

    Aperture 1.1.1 Update addresses several issues related to performance, stability, color correction, and display compatibility. This update is recommended for all Aperture users. Note: You must first update to Aperture 1.1 and Mac OS X 10.4.6 or later

  • Is the CALL LOG feature GONE???!?!?!?!?!?

    Someone PLEASE, PLEASE, PLEASE tell me that BB did not remove the CALL LOG feature (that was on the Torch)!  This is HORRIBLE!!!  If I wanted a phone that did not allow me to be productive, I would have activated my iPhone!!! PLEASE BRING THE CALL LO

  • I tried to use bootcamp to install windows, but now I can't access OS X

    All of the files are still I'm the partition. I have files on that  partition that are vital. Help, please?

  • Capture Entire Beta Tape

    I'm using FCP 6 with a Sony J-30 Beta Cam player, I just learned how to use Log and Capture to get clips from the beta cam player, but I was wondering if anyone knows how to get the entire content of a tape without the need for loging, will there be