SCI Change global default variant

Hi,
For a group of programmer I like to create a particular Default variant common for all. But I think I can Change the Global Variant...?
Thanks
Martin

Martín Piattini,
answering to your question I´ll give you this steps:
1. Go to transaction 'SCI', make a copy of global DEFAULT variant and give other name, like DEFAULT_AISHI;
2. Make your changes, setting all the flags your need at the categories;
3. Go to transaction 'SE16', at the table 'SCICHKV_ALTER', set the item DEFAULT flag and click on EDIT BUTTON.
4. Change the field 'CHECKVNAME_NEW', 'RESPONSIBL', 'CREADATE' and clik on SAVE BUTTON.
Ready!
Enjoy your new GLOBAL DEFAULT VARIANT.

Similar Messages

  • How to Restrict the users from changing the Default variant of report.

    Hello everybody,
    The requirement is to restrict the users to save and overwrite  the default layout variant (Layout for higher managenet)set for the report, but at the same time they should be able to change and save the other layouts for which they are having access.
    I have written the logic in the program which is working fine for all the scenario when we execute the report. But the logic doesnt work if the user is selecting the layout on the output screen of the report.
    for e.g if the user runs the report using the layout varaint for which he is having the authorization then he gets the all 4 options so he then he can select the layout for which he is not authorized and he can overwrite.
    i have debugged and check as i have found that after the report output is shown all the layout paramater is controllled by the statndard SAP objects.
    Can anyone help me out in this issue.
    Thankyou in advance.
    *to get the default layout variant.
      w_save = 'A'.
      if p_vari is initial.
        clear disvariant.
        disvariant-report = sy-repid.
        w_variant = disvariant.
        call function 'REUSE_ALV_VARIANT_DEFAULT_GET'
          exporting
            i_save     = w_save
          changing
            cs_variant = w_variant
          exceptions
            not_found  = 2.
        if sy-subrc = 0.
          p_vari = w_variant-variant.
        endif.
      endif.
    *logic to check user authorization to change the layout setting.
      if p_vari = c_layout.
        if not sy-uname is initial.
          select single * from agr_users
                  where agr_name = c_role
                  and   uname    = sy-uname.
          if sy-subrc = 0.
            w_save = 'A'.
          else.
            w_save = ' '.
          endif.
        endif.
      endif.
    Regards,
    Satish.

    Hi Maine,
    Thanks for your reply.
    As you mentioned for your own program, you can control the parameter "I_SAVE", when calling "REUSE_ALV_GRID_DISPLAY".
    so already i have use the same logic and control the parameter through I_SAVE and here i am calling method ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY instead of "REUSE_ALV_GRID_DISPLAY".
    and it works fine when we execute the report but the logic doesnt work when the user tries to change and save the layout variant on the output screen of the report.
    Regards,
    Satish

  • Layout Variants - global defaults

    Is there a way for users to be able to setup a global layout variant, save it as their personal default and not affect anyone elseu2019s default global layout variant?
    In other words, say a manager wants to set up a layout variant for all of their subordinates; the manager sets up a global layout variant, the subordinates display and save that global layout variant as their personal default layout variant (without first saving it as a user-specific variant). It then becomes their personal default layout variant without changing the default global layout variant across the system.
    Thanks.

    Sorry my earlier solution won't work(I did't test).
    I think there is no straight option for doing this.but i'm sure some work around this would achieve our purpose.
    See,in this way you may need to create two exact same layouts for each user.One layout should be set as user-specific and  default both.
    And other one should not be set neither user-specific nor default just simply save and this one will be available for all other users.
    so this kind of work around and maintaining two exact layouts per user would solve our problem surely.

  • ALV - How to default variant change.

    I have coded one report with ALV output.
    I have /DEFAULT variant in my ALV output  and the output contains 12 fields.
    When I execute the this report
    problem 1). How can i shift the 7th field to 12 th field and save as a new variant.
    Problem 2).If I rerun this new variant, how can I keep new set of arranged fields of new variant in the new order( means 7th field in 12 th position ).
    I mean in while re-running the program the fields are arranged in old manner (  7 th field in 7th position only - my functional consultant told me ) .
    Could you please help me ?

    are you sure that g_variant has got the correct value in it? Here's the components I use for programs that need the variant logic:
    PARAMETERS: p_varint LIKE disvariant-variant.
    initialization.
    perform alv_setup_layout_variant.
    AT SELECTION-SCREEN.
      PERFORM alv_validate_layout_variant.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_varint.
      PERFORM alv_f4_for_layout_variant.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
    ...............etc
          i_save             = 'A'
          is_variant         = w_variant
    ............................etc
        EXCEPTIONS
          OTHERS             = 0.
    FORM alv_setup_layout_variant .
      DATA: lw_variant LIKE disvariant. " Layout structure
      CLEAR w_variant.
      w_variant-report = sy-repid.
      w_save = 'A'.
    Get default variant
      lw_variant = w_variant.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save     = w_save
        CHANGING
          cs_variant = lw_variant
        EXCEPTIONS
          not_found  = 2.
      IF sy-subrc = 0.
        p_varint = lw_variant-variant.
      ENDIF.
    ENDFORM.                    " alv_setup_layout_variant
    FORM alv_validate_layout_variant.
      DATA: lw_variant LIKE disvariant. " Layout structure
      IF NOT p_varint IS INITIAL.
        lw_variant = w_variant.
        lw_variant-variant = p_varint.
        CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
          EXPORTING
            i_save     = w_save
          CHANGING
            cs_variant = lw_variant.
        w_variant = lw_variant.
      ENDIF.
    ENDFORM.                    " alv_validate_layout_variant
    FORM alv_f4_for_layout_variant.
      DATA: lw_variant LIKE disvariant.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                is_variant          = w_variant
                i_save              = w_save
              it_default_fieldcat =
           IMPORTING
                e_exit              = w_exit
                es_variant          = lw_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.
    Store returned variant
        IF w_exit = space.
          p_varint = lw_variant-variant.
        ENDIF.
      ENDIF.
    ENDFORM.                    " alv_f4_for_layout_variant

  • Change default variant in ALV grid on runtime

    Hello colleagues,
    where is the place in a code (CL_ALV_VARIANT, CL_GUI_ALV_GRID, ...) where I can change the deault layout. Customer require a modification which change default layout in ALV under specific circumstances.
    Kind regards
    Radim Benek

    It depend when these "specific circumstances" are occurring?
    Before displaying the ALV, then force the value of the variant used in set_table_for_first_display,
    CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
      EXPORTING
        I_STRUCTURE_NAME = 'SFLIGHT'
        IS_VARIANT = GS_variant
        I_SAVE = X_SAVE
      CHANGING
        IT_OUTTAB = GT_SFLIGHT.
    If you want to simulate multiple "default variant" you should "mislead" the ALV by changing the report name used for storing variant (IS_VARIANT-REPORT) But in this case you will no longuer see every variant  when in the ALV, only those of the "report name" passed when setting for first display.
    Regards

  • How do I change the default paper size in Firefox if Printer Properties does nothing?

    I print on different including a receipt printer with roll paper.
    I had to reset Firefox yesterday because of a bug, and then changed the Printer Properties to be able to print again in the right format on the receipt paper. But now everything I print from Firefox (even when I change the paper size to Letter on the Printer properties for the regular printer) is in the receipt paper format (long and narrow.) When I do Print Preview, I can see that the paper looks like the roll paper, even if I'm trying to print on letter size.
    I tried resetting both printers with about:config, I tried changing in the printer properties for both printers and nothing works.
    Is there a way to change the default paper size in Firefox?

    Hello,
    My understanding is that Firefox uses the global printer settings. I am not familiar with the Windows 8 interface, but can you change the printer settings in its Devices and Printers and see if it changes the default for Firefox as well?

  • How do I change the default font in Comments?

    I'm a professor and I grade papers with the Pages' Comments feature. I would like to change the default font and font size for Comments when doing Tracking so that my comments consistently use the same font and font size no matter what font the student has used in their paper. The only way I can do that now is to change each individual comment. Is there a way to do that globally? Thanks!

    I apologize but I know that this question was asked and answered several times (I wrote the answers).
    So, taking time to search in the existing threads with a request like :
    comment AND font AND default
    built from words extracted from your title returned 15 entries.
    The first one is :
    https://discussions.apple.com/message/15158099
    and it contain what you need.
    Yvan KOENIG (VALLAURIS, France) samedi 15 octobre 2011 22:09:10
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please :
    Search for questions similar to your own
    before submitting them to the community

  • When I want to save a PDF attachment to an email, it defaults to a temp folder.  How do I change the default folder?

    When saving a PDF attachment to an email, I want to change the default folder.  How do I do that?

    Hi brs texas,
    Do I understand correctly that you're downloading a PDF that you received in an email? The default save location is a function of the email client, not of Acrobat or the PDF, so steps to change that folder would vary by email client. Please check the documentation for your email.
    Best,
    Sara

  • Where does one change the default formatting for a URL (href)

    I want to have change the appearance of my href="#" tags so that they are not blue and underlined
    Want to do that with a CSS
    Do not know where to find and change the default setting in DW CS5 so that I make the changes globally
    Could I have different styles of href="#"?
    In the property list under what name is it in?
    Thanks
    erik

    Best practice would be to create an external style sheet and link to it in the <head> like this:
    <link rel="stylesheet" media="all" type="text/css" href="style_sheets/main_styles.css" />
    of course edit for your folder structure and file names.
    But you could test various styles by placing them in the <head> directly, like this:
    <style type="text/css">
    <!--
    a:link {
    color:#ffffff;
    text-decoration: none;
    a:visited {
    color:#ffffff;
    text-decoration: none;
    a:active {
    color:#ffffff;
    text-decoration: none;
    a:link:hover {
    color:#ffffff;
    text-decoration: none;
    a.home:link {
    color:#0099FF;
      text-decoration: none;
    a.home:visited {
    color:#0099FF;
      text-decoration: none;
    a.home:hover {
    color:#0099FF;
      text-decoration: none;
    a.home:active {
    color:#0099FF;
      text-decoration: none;
    -->
    </style>
    More info on how to include CSS:
    http://www.w3schools.com/css/css_howto.asp
    Best wishes,
    Adninjastrator

  • Default variant

    Hi All,
    I have created a variant for VA01 Transaction and selected fields which we need   Using configuration button  activated the variant  and it is available throughout the client.. and it is working fine.
    I want to know how to make  this variant as default for all users in the system? some of the users have their own variant now we want to make one variant as  default variant for all.
    pls let me know if any one know abt this....
    Thanks & Regards,
    sksk.

    Hi,
    Following are the setps for creating variant, attaching it to the target transaction & making available for all the users -
    1. Transaction SHD0 - Create a variant for the required transaction by changing the layout through hiding fields and screens.
    2. Transaction SE93 - Create a variant transaction (e.g. for VA02 = ZVA02). Next allocate the transaction variant to this variant transaction.
    In 4.6c, you can default your transaction variant as the standard variant. (SHD0 - Edit -> Activate/Deactivate as standard variant)
    For more details, find the following link -
    [variants|http://help.sap.com/saphelp_nw04/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm]
    regards,
    Archana

  • Change the default one-click audio call option on Lync clients

    I know that the Lync client looks to AD for the telephone number (of which I have the txt file normalizing the number there) and that is working properly. I would like to know how I can change the default to make a "Lync call" as oppose to dialing the
    number from AD.Bob Ausmus

    You need to set the client policy:
    EnableVOIPCallDefault
    Optional
    Boolean
    When set to True, a Lync 2010 call will be placed any time a user employs the click-to-call feature.
    This policy setting only affects the initial state of the click-to-call feature. If the user modifies the value of the click-to-callsetting then the user-selected value will override this
    policy setting. After a user has modified the click-to-call setting that setting will remain in use and will not be affected by the EnableVOIPCallDefault policy.
    http://technet.microsoft.com/en-us/library/gg398300.aspx
    Set-CsClientPolicy -Identity Global -EnableVOIPCallDefault $true
    Regards,
    Jamie Schwinn

  • Setting Default Variant for Report Trans

    Hi All,
    Is there a way to set a default Variant to a reporting transaction? for example for ME2N how do I set a default Variant to be imported to the selection screen automatically once the report transaction is called?
    This is useful if the user uses the same variant all the time.
    Thanks in advance!

    Pls try the below example
    I give you one example,
    Enter t-code ME2N, Then click on Dynamic field selection button.
    Then double click on created by field enter enter any user id in it.
    Then click on save button.After click on this screen your can see one other screen for variant.
    Here you have to assign variant name and meaning. You can also change field status for report with help of this screen.
    Before click on save button, tick on protect check box button and then click on save.
    Then exit from transaction and enter ME2N.
    Click on Get variant button. Here you can see list of variant, select your variant and get report as per your requirement.
    by
    Rajj

  • Set default variant for user in ME5A

    Hi gurus,
    It's possibile to set a default variant for the ME5A transaction for a user? Which parameter I must use in SU01?
    Thanks
    regards.

    There's a way to add entries to that table.
    Go to the table ESDUS through SE16N and activate the editing mode by entering &SAP_EDIT in the command field. It will give you information message in the bottom "SAP editing function activated" ("Maintain entries" check box will be visible).
    Let us examine the ABAP code for the program behind ME5A
    DATA: l_action  LIKE esdus_s-action VALUE 'RM06BA00'.
    CALL FUNCTION 'ME_SET_REPORT_USERVARIANT'
       EXPORTING
         im_report           = l_report
         im_esdus_action     = l_action
         im_standard_variant = l_variant.
    MOVE l_action      TO my_esduscom-action.
    MOVE 'USERVARIANT' TO my_esduscom-element.
    MOVE sy-slset      TO my_esduscom-active.
    Stay in SE16N and in the field "Act." enter RM06BA00 and execute. You'll see all the users who executed the ME5A (a.k.a program RM06BA00) and the default variant SAP selects is "SAP&STANDARD" which is a system variant, in the "Active" field. Change that value to what user want to be defaulted. Keep the value 'USERVARIANT' in the El. field. Click save on the top. It will popup a window records inserted, deleted, changed. Just hit enter.
    Now whenever the user executes it will be defaulted to whatever you rewrote in the table.
    Caution: Do not use &SAP_EDIT with other tables especially which share common primary keys it can serious problems in your database.

  • Report always shows default variant

    Hello,
    I've got a report where we can choose a variant in the selection screen.
    SELECTION-SCREEN BEGIN OF BLOCK SEL2 WITH FRAME TITLE TEXT-002.
    PARAMETERS p_layout TYPE slis_vari.
    SELECTION-SCREEN END OF BLOCK SEL2.
    I've got it setup so that when the user runs the report, the field p_layout is filled with his default variant or if he has none it's empty.
    My problem is when the field is empty the result ALV is always shown with the default variant.
    For example:
    User has 2 variants - SAV1 and SAV2 (default).
    User enters selection screen and p_layout is filled with SAV2.
    Scenario 1:
    User presses F8 and the ALV is shown with the variant SAV2
    Scenario 2:
    User changes p_layout to SAV1 and presses F8. ALV is shown with SAV1 variant
    Scenario 3:
    User emptys p_layout (p_layout IS INITIAL), presses F8 and ALV is shown with SAV2 variant - the default one
    What can I do so that when p_layout IS INITIAL the ALV shows all the columns?
    This is how I define the layout:
           gr_layout = gr_alv->get_layout( ).
           MOVE sy-repid TO gs_layout_key-report.
           gr_layout->set_key( gs_layout_key ).
           gr_layout->set_save_restriction( if_salv_c_layout=>restrict_none ).
           gr_layout->set_default( 'X' ).
           gr_layout->set_initial_layout( p_layout ).
    F4 help for p_layout:
       ls_layout_key-report = sy-repid.
       ls_layout_info = cl_salv_layout_service=>f4_layouts( ls_layout_key ).
       p_layout = ls_layout_info-layout.
    Initialization of p_layout:
       gs_variant-report = sy-repid.
       CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
         EXPORTING
           I_SAVE        = 'A'
         CHANGING
           CS_VARIANT    = gs_variant
         EXCEPTIONS
           WRONG_INPUT   = 1
           NOT_FOUND     = 2
           PROGRAM_ERROR = 3
           OTHERS        = 4.
       IF sy-subrc = 2 OR sy-subrc = 0.
         p_layout = gs_variant-variant.
       ELSE.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    the sy-subrc = 2 is there to prevent error if user has no layouts => p_layout stays empty
    Thank you in advance!

    Thank you Thanga Prakash for your help, it lead me to the an awnser.
    Even after I cleared the p_layout I still had the same issue but after reviewing the code once more I deleted the following line
    gr_layout->set_default( 'X' ).
    With this, if no layout was specified (p_layout IS INITIAL) the default variant was always called.

  • How enhance the default variant in standard transaction COOIS (SAP&COOIS) as per the user requirement

    Hi,
    I have one query that how to enhance the standard default variant (SAP&COOIS) for standard transaction COOIS.
    If any one know solution pls share.
    Thanks & Regards,
    J.Goud

    Hi Maine,
    Thanks for your reply.
    As you mentioned for your own program, you can control the parameter "I_SAVE", when calling "REUSE_ALV_GRID_DISPLAY".
    so already i have use the same logic and control the parameter through I_SAVE and here i am calling method ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY instead of "REUSE_ALV_GRID_DISPLAY".
    and it works fine when we execute the report but the logic doesnt work when the user tries to change and save the layout variant on the output screen of the report.
    Regards,
    Satish

Maybe you are looking for

  • Can I use mini mac with my G5 second generation

    I have a g5 second generation I mac Can I use it with a mini mac?

  • Add more photos to a photo book album after it is created

    I have created a photo book but i have just been sent a photo which i want to add before printing but can't figure out how to add it to the list of photos to choose from.  Please tell me i don't have to start all over again-..  thanks

  • Connecting to a PI Data Historian with xMII 12.0

    I'm trying to connect to a PI data historian from xMII 12.0. The PI connection was running OK on my xMII 11.5 server with the UDS 2.5 framework and PI UDS installed on the PI server.  The UDS 2.5 stuff is still running on the PI server but I'm not su

  • Emails being cut off

    hi, some of my outbound emails are being cut off when the reach the senders. is this a common problem with notes? i think the setup is ok and it is only something that has happened in the last coulple of weeks? thanks R

  • Peformance fine tunning of query

    Am using co related subquery, please help because it's taking more time when dealing with more number of rows below is my sample query. SELECT EM.ENTITY_ID, EM.ENTITY_DESC, EM.UNIT_ID, EM.UNIT_DESC, EM.OC_ID, EM.OC_DESC, EM.SBU_ID, EM.SBU_DESC, EM.CO