User default variants

Hi,
Is there a way to assign a variant to a user or group of users in a transaction such as IH08? I refer to those selected by the 'Get variant...' button on the initial screen before the report is run.
The customer would always like the report to exclude deleted vehicles, but does not want to have to select a variant every time they run the transaction.
Thanks,
Richard

Hi,
Thought I'd report back to help anyone else with this query.
Basically I found this could be achieved on a per user basis, by creating a default variant. This is done by naming the variant U_XXXXXX where XXXXXX = User ID. When the specified user runs the transaction the saved variant will always be applied.
I believe you can also create a standard system wide variant by using the naming convention SAP_TCODE_XXXX where XXXX is the transaction code, but I have not tested this.
Thanks,
Richard.

Similar Messages

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

  • User specific default variant setting

    Hi gurus,
    My requirement is Report should get executed with default  user specific Variant.
    For example while running MB51 system should pick the corresponding variant based on the user who is executing the report.
    Based on threads i created variants with U_userid like U_RAM & U_LAX.
    I checked with user ids of RAM and LAX, But system is not picking automatically.
    can u help me

    hi,
    see this.
    https://forums.sdn.sap.com/click.jspa?searchID=14929390&messageID=5872211

  • 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

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

  • 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

  • Report layout with User default and gobal default

    hi,
    any authorization to control report layout, only some user ID can use "user default" layout, and part of user available to set the layout as default
    thanks

    Is is a custom-developed ALV report or an SAP-supplied one?
    If if is custom-developed, you can register the following user-commands
    &AVE - Save layout
    &OL0 - Change layout
    &OAD - Select layout
    in parameter IT_EVENT_EXIT  of REUSE_ALV_LIST_DISPLAY.  When these user-commands are triggered, control passes to the user command routine in your callback program.  In the callback routine, you can implement authorization/security checks.
    Also look at parameters IS_VARIANT and I_SAVE to control use of variants.,
    If it is an SAP-supplied program, try using the auth-object mentioned in my earlier post.

  • 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

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

  • 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

  • Default Variant for Txn.

    I have made two Variants
    VAR1 and VAR2 for txn. ME28 i want that whenever USER1 open that txn by default VAR1 values will come and same for USER2 :- VAR2 will come by default
    user doesn't have to select from the Variant Window it will come be default user wise.
    how can it be possible ?
    abhishek suppal

    Hi,
    Create the variants as U_username1 and U_username2.
    Whenever user1 executes the transaction, he will get only his selection screen.
    U_ is user specific variant declaration.
    Regards
    Subramanian

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

  • Web Dynpro SRM 7.0 - Access Shopping Cart One Screen User Default Settings

    Hi all,
    In my current project I have a requirement which includes to validate the user default values on shop on one screen functionality, my question is, how can I access to this information? In web dynpro there's no reference to this information and in addition is not stored in the database as is only "available" during the current Shopping Cart creation.
    Many Thanks in Advance,
    Sara.

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • 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

Maybe you are looking for

  • How to call the 'DETAIL' function in ALV for a program?

    Dear Friends, I have a prf_tree (TYPE REF TO cl_gui_alv_tree), and I added below codes to add an new button for displaying the detail record, it works fine: CALL METHOD prf_toolbar->add_button     EXPORTING       fcode     = prf_tree->mc_fc_detail   

  • 875pneo bios not recognising optical drives anymore ?

    Hi all, I have just swapped my sata drives for 2 new ide drives, only 1 ide drive is installed at the moment after a quick swap over with ghost. Everything seemed ok until I realised my 2 cd / dvd drives are no longer present in my computer ? I have

  • How can i place unplaced photos in a new book

    I have been making photo books, but find I'm left with unplaced photos I don't want to put in the same book. How can I select the remaining photos and place them in another book? I know I can add extra pages, but is there then a way to split the book

  • Use of structure in handling repetitve structure

    Hi!, I have a problem with read/modify the repetitve structure. I feel that to read/modify the repetitve structure I cant use just a new structure as the structure will hold only one record. To hold more than one record I will have to use a stru/tabl

  • Multiple profiles, automated browsing results in crash

    I use 5 different profiles of Firefox at the same time. They all are browsing sites at a regular rate. A program Autoit uses handle ID's to navigate between them. Firefox uses 25% of my RAM at that rate what i think isnt bad. After an hour maximum on