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

Similar Messages

  • BEx workbook Default variant not working with Broadcaster

    Hi,
    We are broadcasting a BEx workbook, which has more than 1 queries. We have a default variant to populate all the input variables. But while broadcasting, this default variant is not populated sometimes, So the query returns wrong results. It happens randomly. I have checked broadcast logs also nothing unusual found. Can someone throw some light.
    Thanks

    Hi,
    We are broadcasting a BEx workbook, which has more than 1 queries. We have a default variant to populate all the input variables. But while broadcasting, this default variant is not populated sometimes, So the query returns wrong results. It happens randomly. I have checked broadcast logs also nothing unusual found. Can someone throw some light.
    Thanks

  • Default variant to be picked for QGA3 when run through QE01/QE02/QE03.

    Hi Gurus,
    I need help regarding one requirement, Our client want to have default variant which will have custom form name of selection screen of QGA3, along with the inspection lot number carried from QE01/QE02/QE03.
    Our client did not get convinced for any alternative like custom transaction code or transaction variant for QGA3, they want only during std t-code run only.
    I will explain the requirement once again, During QE01/QE02/QE03 when we click on "Inspection result print" it will take to QGA3 screen. The inspection lot is carry forward from QE01/QE02/QE03 to QGA3 screen and along with this the default variant also to be picked automatically .
    Thanks in advance for your help
    Nag.

    Explore function module exit EXIT_SAPLQEEM_022 & EXIT_SAPLQEEM_026

  • Create new transaction with default variant

    Dear all,
    I want to create a new tcode, which will be a replica of IW58 and save a default variant only in this replica.
    Is this possible? If yes how to do it please?
    Thanks a lot for your kind consideration
    David

    Maintain the variant you would like to use with IW58
    Goto SE80, navigate to your Customer Package (Z*), open the node "Transactions". Right Klick -> Create Transaction.
    Set a Transaction-Code and an apropriate Start Object (Most likely Dialog Transaction or Report Transaction). Assign the Report RIQMEL20.
    Then fill in the Field "Start with variant" by selecting the variant you would like to use.
    Hope that helps.

  • User specific default variant in  a selectio screen

    Is it possible to provide an option to create user specific default variant in a selection screen?
    I have developed a custom report program. Now I want to allow users to choose one of their variants as default variant ?  Please help.

    Hi very Simple and easy solution:
    In SE93 when u are creating the transaction for the program use the option 'Start with variant' and give your own vaiant name for the program start. This will help you in starting your proam always with your default variant.
    Hope That Helps
    Anirban M.

  • How to set a Default variant for VL06O (Outbound Delivery Monitor)?

    Hi All,
    I want to set a DEFAULT VARIANT for  VL06O (Outbound Delivery Monitor) selection screen with "For Picking", "For Confirmation", "For Goods Issue" and "List of Outbound Deliveries" button option.
    I have already created a variant with those 4 buttons. But I cant find a way to set it as DEFAULT.
    Appreciate your help on this.
    Please note I'm using SAP ERP 6.0 Ehp 4.
    Thanks & best regards,
    Anupa

    Hi Indranil,
    Superb !
    This is what I was searching for.
    That works really fine. Thanks a lot!
    Best regards,
    Anupa

  • Reg: Test Configuration with Default variant

    Hi Guru's
      I am new here.. Guide me to achieve this.
      I do created the Test script ,Test data and also the Test Configuration
      Whats my problem is  I do run the TC with external variant (File that i have mapped) .
       its works fine but Default variant is not triggering all other variant are triggering.
       What to do to run all the external variant including default variant . Guide me with steps.
    Thanks in advance
    Regards
    Anandh

    Hi Anandh,
    ECATTDEFAULT is a special variant which is not intended to be uploaded from external files.
    If you use the download option to prepare your external variant file as a sample, you will see that ECATTDEFAULT is deactivated by using * in front. It's only downloaded to the sample file for giving the scripts import parameter defaults as a reference.
    If you like use these default values for individual fields of other variants simply leave those fields blank in the other variants.
    To have your test executed with the whole record of ECATTDEFAULT simply copy the *ECATTDEFAULT line in your external data file and give it an other similar name, e.g. ECATTDEFAULT1.
    Kind regards
    Jens

  • New T-Code with default variant

    Hello Guru:
    I create new t-code via copy standard t-code.
    but how to set default variant to this new t-code.
    seems like new variant still tied with old-t-code.
    pls advise.

    Hi Manthana99,
    From what I know the variants are tied with the REPORT and not with the TRANSACTION.
    Please see the tables below:
    VARID (Variant directory)
    VARIS (Assignment of variant to selection screen)
    VARIT (Variant Texts)
    VARI (ABAP/4: Variant storage (similar to INDX))
    Regards
    Bruno Xavier.

  • 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

  • Default Variant at user specific in FB50,FB60 & FB70

    Hi,
    I have a created variant in T.Codes: FB50, FB60 & FB70, user wants invisible some of the fileds. This Vairant I have created in configuration(middle in the left side small box) and I used administration selected  few of the fileds as invisible and activated. but still all fields are appearing, when I check those fields it is selected as invisible. How can I restrict those fields and  I want to use this variant as default at user specific level. Please advise me how can I set as default variant.
    Thanks
    VS Rao

    HI,
    First you suppress the fields in Field status group and then create variant for those fields.
    Regards,
    Azeem

  • Default variant for VL10C

    Hello All,
    My user wants to have a default variant loaded automatically, when VL10C is launched.
    Any idea how to do that?
    I tried to set up parameter in user profile LE_SHP_DEL_MON_LISTT but it doesnt work.
    Your help would be really appreciated.
    Thanks
    Michal

    I have one additional question. .
    When I go to transaction Vl10c and execute it with some selection criteria i get the work list. I modify the layout of the work list and save it. Then i want to go to settings-layout-administration to make a layout default but for some reason i am missing Settings option in my menu. I have only System and Help.
    Regular menu for this transaction should be List Edit Goto Settings System Help. I have only System and Help.
    Any idea how to deal with that?
    Thanks for help!
    Mike
    Edited by: Szafran on Sep 21, 2010 3:59 PM

  • 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

  • Selection of default variant on MF60 pull list

    Hello,
    I am working in REM, using Pull list --MF60 in ECC 6.0
    My requirement is to set default variant on the MF60 screen for a User ID.
    The user will save his screen input in the variant and it is attached as default to the user profile.
    When the user comes to MF60 screen , he need not have to select the variant.The variant will come automatically , as it is attached to the user id.
    Is the above requirement possible?
    PP experts , please let me know about the same.
    Waiting for your reply.
    Regards,
    Ravindra

    Go to MF60
    On menu bar
    Goto--> Variants --> get variant (here select variant)
    Now again Goto --> Variants --> Save as variant
    pls see if useful

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

Maybe you are looking for

  • Error while doing production order settlement

    Hi frds, When I am doing the production order settlement, I am getting the following error " There are no accrued amounts; settlement is not possible". The status of the order is TECO CNF DLV PRC BASC BCRQ GMPS MANC. Rajnish

  • Encrypted Live System on USB-thumb drive

    Hey all, I am fed up with the different systems on various computers. So I want an Arch Linux Live System on an USB thumb drive I can carry around and plug into the computers I stumble upon. I want to be able to have some data (emails, favourites and

  • High sea purchase and sale

    dear all can anybady furnish how to address high sea pruchasing process? this is very urgent requirement for my client? Rgs mrs

  • Built-in libcurl equivalent

    Hi In PHP, if I wanted to login into some site via HTML, I would use cURL functions which are built-in when compiling PHP. Is there an equivalent in Java ? Built-in API for URL processing ? Any libcurl equivalent by Sun ? Thanks

  • What are the error messages that turns up while working query designer?

    hi all, Can anyone list me out what are the erros turns up while working on query designer. and how to debug it. Can any one send me docs to my email id [email protected] thanxs in advance regds hari