Set Standard Variant in Tx: SHD0

Hi guys,
Do you know how to set the default standard variant for a transaction in SHD0?
I'm trying to set the the standard variant to SMALL_SALES_VARIANT against Transaction Code VA01. When I check VA01 no changes appear to have occured. I've activated the variant in the first tab in TX:SHD0.
Any help would be greatly appreciated.
Many Thanks,
Philip Johannesen

parking document

Similar Messages

  • How to set up standard variant in ABAP report

    Hi,
    I would like to create a standard variant for running ABAP report so that users don't have to select the variant each time.
    I know we can specify the variant name as a standard variant on changing query by SQ01 but is there any way to give the function in ABAP report?
    Does anybody know how to code or set up to do that?
    Thank you very much in advance.
    Best regards,
    Miki
    Edited by: Miki Komatsu on May 20, 2011 9:46 AM

    Use the   RS_VARIANT_CONTENTS FM
    CALL FUNCTION 'RS_VARIANT_CONTENTS'
        EXPORTING
          report                      = sy-repid
          variant                     = 'PRUEBA' "Your Variant
    *     MOVE_OR_WRITE               = 'W'
    *     NO_IMPORT                   = ' '
         EXECUTE_DIRECT              = 'X'
    *   IMPORTING
    *     SP                          =
        tables
    *     L_PARAMS                    =
    *     L_PARAMS_NONV               =
    *     L_SELOP                     =
    *     L_SELOP_NONV                =
          valutab                     = VALUE_TAB
    *     OBJECTS                     =
    *     FREE_SELECTIONS_DESC        =
    *     FREE_SELECTIONS_VALUE       =
       EXCEPTIONS
         VARIANT_NON_EXISTENT        = 1
         VARIANT_OBSOLETE            = 2
         OTHERS                      = 3  .
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    The variant Reports are in VARI Table

  • Set specific variant as standard in the repository infosystem

    Hello,
    in the search help of the point "Test Script" (Transaction "SECATT")  i have created a new variant that should only show the active scripts .
    How can i set this variant as standard variant which is shown when a user starts the search help?
    Can someone help me?
    Thanks

    You could make a KM document with these 3 hyperlinks and make a KM document Iview out of it.
    Then in the Default Framework page, you can add this iView so that it always appears for everyone.
    Hope this helped.

  • SHDO-how to create transactional ,screen , standard variants for a t code..

    hi experts,,,,,
    1)can u explain the use of it.......
    how to create diff type of variants.......
    2)......how to give batch number assignment alpha numerically.......
    here in the system only numbe\rically available, and i have to assign the batch number  internal assignment.........for a particular production order.

    Hi,
    <b>creating Transaction Variants</b>
    Step 1:
    Execute transaction SHD0 and create a Transaction Variant against the original transaction.
    Step 2:
    As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.
    Step 3:
    When you are back on the Transaction Variant (SHD0) screen, press shift+F6 or click the goto menu and press the create variant transaction button. Through this transaction SE93 will be executed. Enter the transaction name you want to create and any other required field and now press the save button.
    Step 4:
    Now execute the transaction you create through create Transaction Variant and enjoy the results.
    Case two for creating Transaction Variants
    Step 1:
    Create a dialogue transaction through SE93 and enter the program name and screen number of the original transaction you want to make a variant on (e.g., PFCG). Press the save button and check whether the replica transaction (PFCG) has been created successfully by executing it on a new session.
    Step 2:
    Execute transaction SHD0 to create a Transaction Variant. Specify the transaction name (replica of PFCG) which you have just created and create a Transaction Variant against the replica transaction.
    Step 3:
    As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.
    Step 4:
    When you are back on the main screen of the SHDO (Transaction Variant) click the edit option on the menu tab and activate Standard Variant. Through this a Standard Variant will be assigned to the transaction specified (replica transaction).
    Note: Make sure you activate the Standard Variant against a replica transaction and not on the original one.
    Regards
    Sudheer

  • Set dynamic variant for time

    Hi,
    I have selection options for field as defined as TIME . I need to set dynamic variant for this field as
    TIME should be "from"='current time-30 minutes' and "to"='24:59:59'.
    This report going to run in 00 hours and 30 hours (48 times ie 24 X 2)
    PS : Pl. remember this is for a SAP standard report
    Any Info?

    Naimesh Patel wrote:
    > I digged more deeper and found one FM RS_VARI_V_INIT_TIME which fill the options like Current Time, Current Time +/- ???, From Start of Day to Now etc. and Surprisinly all 3 options are hardcoded in it..!!
    As you suggested due to hardcoded values here , we could not able to do much on this.
    So i came in round away solution. Whenever program A called ( program with TIME selection input) i have called another custom program C . (This custom program will using the following function module RS_VARIANT_CONTENTS, and RS_VARIANT_CHANGE , So get the DEFAULT variant content of program A and change the variant content with LOW as current time - 30 and HIGH with 24:59:59)  as preceding job.
    In PI 7.01 system program A always called in JOB mode
    Thanks for info.

  • Default the transaction variant created in SHD0 for MIRO

    Hi,
    We have a requirement where the subsequent Dr/Cr field in MIRO must be invisible.
    Used SHD0 and created transaction variant and activated the same in standard variant.
    1. The variant is showing up in MIRO but it is not defaulting.
    2. How can we transport the same to different clients as transport request is not populated on saving.(Saved as local object).
    Appreciate if you can please guide me.
    Thank you

    Hi:
              In SHD0 , have you activated the z screen variant to the transaction variant you created for MIRO....
              Regards

  • FB50 FB60 FB70 - Setting screen variant as default

    Hello all,
    I searched the web, I searched the forum but  I did not found a solution.
    Is it possible that I can set screen variant that I created with SHD0 as default? That means if the users are accessing the above mentioned transactions that a dedicated screen variant is automatically selected by the system?
    If it is possible, please tell me who!
    Thank you very much in advance!
    Regards,
    Steffen

    Hi,
    I think you can set the default document screen variant at the company code level. In transaction code OBY6 -> Global settings for a company code . you can set the default document screen variant.
    Thanks,
    Veer.

  • Setting  a variant in WEB-DYNPRO application

    Hi expert,
    I want to set a variant in WEB DYNPRO ABAP application so how it is possible could you give me a any example. ASAP.
    REGARD'S
    VIKASH

    HI Vikash,
    If your problem of variants is still there check this link for customize variant.......
    This is for creating variant.......
    /people/sharad.agrawal/blog/2008/08/25/creating-and-using-variant-in-select-options-with-web-dynpro-for-abap-2
    This is for getting variants.........
    /people/sharad.agrawal/blog/2008/08/26/creating-and-using-variant-in-select-options-with-web-dynpro-for-abap-3
    regards
    Pranav

  • Standard variant of SAP query is loaded automatically

    Hi!
    I have created SAP query and standard variant via SQ01.
    When I run my query (via transaction) values of variant are loaded automatically in a selection screen and in my case I need empty selection screen at the beginning and values should appear in a selection screen only after choosing a variant, but not before this.
    Probably it is something about attributes of variant? Any ideas?
    <b><REMOVED BY MODERATOR></b>
    Mindaugas.
    Message was edited by:
            Alvaro Tejada Galindo

    Hi,
    What type of custom transaction code did you create?
    Was Dialog Transaction or Report Transaction?
    For your purpose, you can create with dialog transaction with specifying program name and screen number. If you want to execute with specific variant then choose report transaction.
    Regards,
    Ferry Lianto

  • Transport standard variant of SAP Query

    Hey,
    I made a SAP Query with SQO1. Within the attributes of the query, I defined a standard variant.
    How can I transport this variant.
    When I go to maintain variant, I can click to program RSTRANSP.
    When I try to execute, I get the following message "Function not possible for local/private objects". In the help it says that I have to create a transport for my program.
    But my query is in a transport. I already transported the query to QAS and it works fine.
    Do I have to put the program also in a transport? The program is SAP generated code with the following name "AQZZZISU========CP_METERS=====". I haven't transported the program but it is available in QAS. So I think I don't need to transport it.
    Does anyone how I can transport my variant?
    Thanks
    Steven

    I have attached the sap Query based on your idea. But I geting small probelm. Please help me on this.
    The varient is created as Protected by default. I can't able to create the varient unprotected. Can you tell me how to create unprotected varient for SAP Query? becuase other user can't able to change the varient it is giving the error message with my user name as " No authorization to change the varient <varient name> Protected by <my user name>".
    Please could you help me how to fix it. this issue?

  • How to set "Configuration Variant" for a sales order item using function

    Hello All,
    I use function module 'SD_SALES_DOCU_MAINTAIN'  to create Customer Indep. Requirements but how to set "Configuration Variant" for a sales order item.
    Is their any idea or sample code?

    Hi Zhijun zhang,
    <u>http://help.sap.com/saphelp_nw2004s/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm</u>
    <u>http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm</u>
    A variant is simply an SAP report where the parameters for running the report have been set by the user and then saved with unique name. This allows future retrieval and execution of the report faster without reentering the parameters. As a convention the variant name should start with with the digits 50 so searchs for LHU variants is easier and quicker.
    The first link will guide you by screen shot wise.
    Award points if it adds information.
    Thanks
    Mohan

  • Setting default variant in QA32

    Hi Everybody,
    When the user goes to transaction QA32, the plant and other values which were there in his variant are replaced by other values. Please let me know how can a user set a variant as default so that whenever he comes to transaction QA32, his variant is used automatically without being selected from the variant list.
    Regards,
    Manish.

    Hi Sarasu,
    In QA32 screen, select Customize local layout tab(Alt+F12) - it is available very close to 'help tab'.
    QA32 -
    >Customize local layout tab(Alt+F12)---->Options-->Local data--->History---->Immediately
    If immediately is selected, you can see the last entered will be displayed.
    Hope your question is solved.
    Further you can change the output of QA32, by using change layout tab in Change data for Inspection lot / worklist screen and select options as required, save the same by your name. And you can input the same as layout in QA32 input screen.
    Reg,
    VRMP.

  • Standard Variant Dump

    Hi Experts,
    The isssue occurs in Upgrade Project 4.6c - ECC6 Version.
    We are getting standard variant dump in transaction code 4KE5 - Execute Actual Distribution.When am trying to execute tcode by using variant CCD100_CCD110, its going to dump. But its working fine with the test variant (which contains same value) .We are not able to see the contents of Standard variant in SE38 editor also...(going for dump)
    There was no program version difference between 4.6c and ECC6.Transaction code 4ke5 is working fine in 4.6c.
    Kindly suggest..
    Regards,
    Priya.

    Please look at SAP note : 712297

  • Is it possible to set table-variant from one user to another one?

    Is it possible to set table-variants from a t-code like fb60 from one user to another one?
    I mean that both user have the same table-variants.

    You mean screen variant, where you will need to anter the GL line items in FB50?
    then you can set your desired variant as DEFAULT for all users, when it is configured.
    Else thru SU10, for all of your users, add parameter ID SCRVAR and give your parameter value (screen variant name) and SAVE.

  • Set Transaction Variant to specific user

    Hi all,
    Is it possible to set a defined Transaction Variant (SHD0) to a specific user or to a user group?
    I want only some users run a transaction thought the variant, and other users run thought standard transaction.
    Thanks and Regards in advance.
    Urtzi

    Hi Subramanian,
    Do you mean that if I create a transacation variant i.e.: for the transaction AS01 called U_USERNAME would be specific for my user?
    Is tha t correct?
    Thanks

Maybe you are looking for