Transaction Variant for Selection Screen

Hi, experts!
A question regarding transaction variants: Is it possible to create screen variants and transaction variants via SHD0 for selection screens? I' ve created a customer report with one selection screen including parameters and select options and would like to provide the users with a variant transaction for this.
Utilizing the "Save as variant" option from the selection screen itself works out perfectly, but this variant cannot be transported. And trying to create a transaction variant via SHD0 fails because values entered in the selection screen parameters and select options help screens are not saved and presented.
Any hints are more than welcome!
Regards,
Thomas

You wrote
Utilizing the "Save as variant" option from the selection screen itself works out perfectly, but this variant cannot be transported.
But, give the variant a name beginning with "CUS&" and this variant will be transported. Variant beginning with "CUS&" or "SAP&" are so-called "system variant" and are  transported automatically. You can then copy the transaction code and use this new variant in the new transaction.
Regards,
Raymond

Similar Messages

  • How to create variant for selection screen which is in subscreen

    Hi,
    How to create variant for selection screen which is in subscreen in a module pool program?
    it is very urgent.
    Thanks in advance.

    Hi,
    You can create the 'Parameter Transaction' so that whenever you run the particular transaction it will run with the initial value given when the Tcode was created and hence you can skip the initial screen of the module pool program.
    To create Parameter transaction from SE93 you have to choose the last option i.e Parameter Transaction.
    Regards
    Sudheer

  • Dinamic variant for selection screen

    Hi,
    I got a requirement where i need  a Dynamic variant for selection screen .There is a date field in the selection screen i want to create  a variant such that when i choose it,it should give the current day date in selection screen.can anyone help me.
    Regards,
    Ravi

    Hi,
    Using Customer Exit code you can give it.
    Create a Customer Exit Variable and write simple code in CMOD. See the usefull Exit code for reports in the following url.
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    WHEN 'ZV_DAT'.
        IF i_step = 1 .
          CLEAR l_s_range.
          l_s_range-low = sy-datum.
          l_s_range-opt = 'EQ'.
          l_s_range-sign = 'I'.
          APPEND l_s_range TO e_t_range.
        ENDIF.
    Thanks
    Reddy

  • How to set default variant for selection screen

    Hi,
    I want to make one variant as default for selection screen for one user.
    For eg., take COOIS. For the selection screen, i have 3 variants. But i want one variant to be default. Thsi is not for all users. Thsi is for particular user.
    I am not seeing any way to do this. please help me..
    Thanks
    Srini

    Hi,
    If you are using Z program then you can ask your developer to get Variant name Runtime from Parameter ID.
    This means you decide a Parameter ID name : ZVAR in your Z program and ask your developer to load variant each time your Z program loads.
    Now, second step will be using SU01 transaction you can set value of ZVAR in Parameters tab for the user. This value will be the variant which you created for this user.
    This will solve your problem and you can make n number of variants and assign it to different users.
    Regards,
    Arpit

  • Variant for selection screen with the Table control entries in another Tab

    Hi Guys,
      The requirement is to create a variant for the two tabs on a selection screen.
      First tab contains the select options and the second contains table control for making entries.
      So will it be possible to create a variant when the user makes entries in the fields in one tab and the table on other tab?

    You wrote
    Utilizing the "Save as variant" option from the selection screen itself works out perfectly, but this variant cannot be transported.
    But, give the variant a name beginning with "CUS&" and this variant will be transported. Variant beginning with "CUS&" or "SAP&" are so-called "system variant" and are  transported automatically. You can then copy the transaction code and use this new variant in the new transaction.
    Regards,
    Raymond

  • Creating Transaction code for selection screen of one ztable

    Hi ,
        i have one Ztable in order see the data in it , he wants one new transaction . by executing tht transaction he wants to view the data inside the table.
    i have created one transaction code by taking the transaction type as report transaction and program name i gave the selection screen program of tht table.
    when i executed tht t code  selection screen of table contents should come and on executing it i have to get  data.
    but im not getting data on executing tht selection screen .
    why? for this scenario which tcode type i have to select.

    Hi Pavan,
    Check this,
    Step 1
    Create parameter transaction (i.e. via SE93)
    Select the fourth options
    Step 2
    Enter transaction details. Within the Proposed values section there are a number of value which
    can be setup, simply use drop down menu to view the list. The 2 values assigned in the following
    example are as follows:
                   VIEWNAME:        Set table name to maintained
                   UPDATE:               Open table for update
    Mohinder

  • Loading user defined variants for selection screens

    hi everybody,
    i want to add a feature to my report which automatically loads a variant for a report.just like iw38, where the variant for the main selection-screen is automatically set when you name it like "U_<username>". sadly i couldnt find anything helpful by debugging the report.
    is there a certain function module to load specific screen-variants?
    thanks,
    dsp

    Hi dsp,
    There is a table
    VARID - Variant directory.
    it consists of all the variants according to the user name, date & time.
    You can do something like this,
    data: it_variant type standard table of varid,
          wa_variant type varid.
    Initialization.
    select * into corresponding fields of table it_variant
    from varid
    where report = sy-repid
    and ename = sy-uname.
    sort it_variant descending by edat etime.
    delete adjacent duplicates from it_variant comparing ename.
    loop at it_variant into wa_variant.
    *CLEAR W_VARIANT.
    *W_VARIANT = wa_variant.
    CALL FUNCTION 'RS_SUPPORT_SELECTIONS'
      EXPORTING
        report                     = sy-repid
        variant                    = wa_variant-variant
    EXCEPTIONS
      VARIANT_NOT_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.
    endloop.
    Hope it helps you,
    Regards,
    Abhijit G. Borkar

  • Transaction variant for VA02 is not working for few fields

    Hi All,
    I have created a transaction variant for VA02. Made the necessary code changes for populating the variant name in MV45AFZZ. It is working fine for all the screens and all the fields except for second screen of VA02.
    First screen - Enter sales order number.
    Second screen - Overview screen.
    In second screen, I have disabled all the screen fields. When I run the variant, all fields are disabled except sold-to party, ship-to party and create sold to party ICON. All these fields belongs to screen 4701.
    In the transaction variant I can see that these fields screen attributes set to output only. I don't see anything different for these fields compared to other fields.
    First I thought it is because of mandatory fields. But some other mandatory fields are disabled after my changes. Why is this happening only for these 3 fields (Only for screen 4701 I can say).
    Surprisingly, if I do any action like enter/select other tab, these fields are getting disabled.
    Your inputs on this are highly appriciated.
    Thanks,
    Vinod.
    Edited by: Vinod Kumar Vemuru on Dec 31, 2009 10:01 AM

    Thanks, happy to see the reply.
    But I have given the correct names as suggested by you.
    I have also created a Transaction ZVA02 as i dont want this variant to be applied on standard VA02.
    It is working on first screen but not on subsequent screens. Am i missing something, some link or activation?
    Transaction Code VA02                  Change Sales Order
    Transaction Variant  ZTRN_VA02                       testing
    ZTRN_VA02_0102                                        SAPMV45A     102
    ZTRN_VA02_4001                                        SAPMV45A     4001
    ZTRN_VA02_4021                                        SAPMV45A     4021
    ZTRN_VA02_4050                                        SAPMV45A     4050
    ZTRN_VA02_4401                                        SAPMV45A     4401
    ZTRN_VA02_4701                                        SAPMV45A     4701
    ZTRN_VA02_4900                                        SAPMV45A     4900
    when I run this the first screen is applied correctly but what happens next.

  • Transaction Variant for T. Code - FBL1N

    Hi,
    I want to create a Transaction Variant for T. Code - FBL1N.
    Actually, My requirement is that I want to give a Dynamic Selection "Reconciliation acct-XXXXXX"... After Create  the variant for this, i want to disable the Dynamic Selections Icon. I want both things at a time..
    Please tell...
    Regards....

    Hi,
    Even though question is already marked as answered, I think that Pince Kummar requirement was not fulfilled.
    Those are the steps that you should execute:
    1. Create a Selection Variant:
    In FBL1N transaction, enter your required field values, and click on the save icon. Maintain variant attributes as you need. Assign to your selection variant a name beginning with CUS&. With that prefix you specify that is a customer system variant.
    2. Assign the created selection variant as default for tcode FBL1N.
    Go to SE93 and change FBL1N, on "Start with variant" field select your created CUS& variant and save.
    At this time you can notice that FBL1N transaction always begin with your selection variant.
    3. If you also want to disable Dynamic selections function, you should create a Standard transaction variant.
    Go to SHD0, enter the transaction code name (FBL1N). In the Standard Variants tab enter a name and choose create function. Automatically FBL1N selection image will be showed, click back button to return. In the screen that now is showed, choose "Menu Functions" and enter Program "RSSYSTDB" and gui status "%_00" and click Menu Functions, then in the tree that come out, find and select Dyamic Selections function (%_00->Edit->DYNS), next click disable button and then continue button.
    Now you return to Transaction variants maintenance screen. Make sure that in deactive functions list, for Dynamic selections function is only active "For Transaction" check box. Now save and activate your transaction variant.

  • Transaction Variant for tcode SP01

    Hi All,
    I am trying to create the transaction variant for the tcode SP01 by using tcode SHD0.
    Steps I followed are:-
    1. Create tcode ZSP01
    2. In SHD0, tcode as ZSP01 and hit the Create
    3. Control goes to Screen SP01 inital selection screen
    I need to change 'created by' as display only and cannot get the screen attributes.
    Any help will be greatly appreciated.
    Regards,
    Azhar

    Thanks for the quick reply.
    I found that SP01 is a module pool program with screen 2000 then I should be able to create the transaction variant.
    I tried creating the tcode with your suggested authorization object getting warning message 'Check object has been maintained(Press enter to reset)'  and when I press enter the auth object field will get reset.
    Thanks for your quick response and suggestions.

  • Transaction Variant for Transaction FV60 (Parked AP Invoice)

    Hi All:
    I have been successful in creating a transaction variant for transaction code FV60 (Park AP Invoice). My objective was to get rid of the post and save as completed buttons on the FV60 screen. But when I simulate the document, the post and save as completed buttons appear again and I have been unsuccessful in getting rid of these and deactivating/hiding them.
    Can anyone please help me or has anyone done this before?
    you help is very appreciated
    thanks
    Brian

    Hi you can hide the button as follows;
    While doing SHDO Variant Creation , in the confirm screen entries dialog press Menu Functions button and in the dialog expand Function setting tree and select BU (POST) and press Deactivate button (or F2 key) then select PBBP(Save as completed) and press F2 again.
    Now save the variant and activate it.
    Now check the tcode, those two buttons will be hidden.
    This will solve your problem.
    Regards
    Karthik D

  • Transaction variant for SM37

    Hi all,
    I am trying to create a transaction variant for the "job overview" screen - this is the screen after you have selected the list of jobs. I have the deactivated some items "menu functions" - program SAPLBTCH - status - JOV_STATUS, but there are not working when I test these.
    Any ideas ?

    Hi JC,
    This is how it works (sorry for the German :-):
    *   Pruefen der Loesch-Berechtigung,
    *   Eigene Jobs duerfen ohne weitere Pruefung gelscht werden.
    *   Jobs anderer Benutzer drfen nur gelscht werden, wenn Lsch-
    *   berechtigung bzw. Batchadministratorberechtigung vorliegt.
      IF tbtco-sdluname <> sy-uname.
        AUTHORITY-CHECK OBJECT 'S_BTCH_JOB'
          ID 'JOBGROUP'  FIELD '*'
          ID 'JOBACTION' FIELD 'DELE'.
        IF sy-subrc > 0.
          PERFORM check_batch_admin_privilege.
          IF batch_admin_privilege_given EQ btc_no .
            PERFORM deq_tbtco_entry
              USING
                jobname jobcount retcode.
            MESSAGE s125
              WITH
                tbtco-jobname sy-uname.
            RAISE no_delete_authority.
          ENDIF.
        ENDIF.
      ENDIF.
    ... and check_batch_admin_privilege is...
    *      FORM CHECK_BATCH_ADMIN_PRIVILEGE                               *
    * Prüfe, ob Benutzer Batchadministratorberechtigung hat. Diese Routine*
    * setzt die globale Variable BATCH_ADMIN_PRIVILEGE.                   *
    FORM check_batch_admin_privilege.
      AUTHORITY-CHECK
        OBJECT 'S_BTCH_ADM'
            ID 'BTCADMIN' FIELD 'Y'.
      IF sy-subrc EQ 0.
        batch_admin_privilege_given = btc_yes.
      ELSE.
        batch_admin_privilege_given = btc_no.
      ENDIF.
    ENDFORM. " CHECK_BATCH_ADMIN_PRIVILEGE.
    So, if you do not give up the S_BTCH_ADM to be able to use the S_BTCH_JOB job_action 'DELE', then you cannot.
    But it works like this for many of the S_BTCH_JOB checks, so perhaps the support users do not really need the S_BTCH_ADM?
    As a compensating control, you can consider SAP note 850885 with some organizational measures (e.g. training) around it.
    Cheers,
    Julius

  • Variants without Selection Screen

    Hi,
    if i have a normal Dynpro Screen, and no selection screen, how can i then use the Variants of SAP? I found some FM like RS_CREATE_VARIANT but this does not work. The coding of these Variant helpers always try to read out the fields from the report. But my report has no fields, because it is a dynpro screen and no selection screen.
    Do you know if i can use variants for dynpros?
    Thanks

    Hi Johnny,
    You can create Transaction Variants using SHD0 transaction.
    Have a look at the below SAP link:-
    [Transaction Variants and Screen Variants  |http://help.sap.com/erp2005_ehp_03/helpdata/EN/5b/7bc3895d1111d295ad0000e82de14a/frameset.htm]
    Also Have a look at the below wiki :-
    [Creating variants for custom screens|Creating variants for custom screens;
    <removed by moderator>
    Regards
    Abhii
    Edited by: Thomas Zloch on Sep 1, 2010 5:56 PM - please leave this to the original poster

  • Transaction IW32 for touch screen

    Good evening,
    I need release transaction IW32 for touch-screen(display for work by touch hand).
    I need something as http://img221.imageshack.us/img221/5707/r3touchmn9.jpg
    (i have done this in Graph Editor).
    Create all features of IW32 in Web Dynpro from NULL is very difficult.
    I think, that ITS server and webgui (transaction call from web) can help me.
    But how i can edit standard style.css of webgui and can i, for example, create height button? (for example: width=200, height=200).
    But maybe standard ABAP can help me?
    It is very important for me.
    Please, answer. <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

    You wrote
    Utilizing the "Save as variant" option from the selection screen itself works out perfectly, but this variant cannot be transported.
    But, give the variant a name beginning with "CUS&" and this variant will be transported. Variant beginning with "CUS&" or "SAP&" are so-called "system variant" and are  transported automatically. You can then copy the transaction code and use this new variant in the new transaction.
    Regards,
    Raymond

  • Transaction Variant -Skip first screen of sm30

    Hi ,
    I have created a transaction variant for a ztransaction using shd0.This is for transaction sm30.
    I need to skip the first screen and directly switch to table maintenance screen of the table.
    While creating a transaction variant for sm30 I came across the maintain button , but I could not set its value to X.
    Any idea how I can do this ?? or how i can directly switch to the maintainance screen?
    Regards,
    Shital

    Hi,
    You can make use of teh FM involved in SM30.
    See the example code below
    PARAMETERS: y_p_lgnm TYPE lgnum.
    DATA : y_v_string   TYPE string.
    CONSTANTS: y_k_u        TYPE char1   VALUE 'U',
              y_k_x        TYPE char1   VALUE 'X',
              y_k_lgnum    TYPE char7   VALUE 'LGNUM',
              y_k_lgtyp    TYPE char5   VALUE 'LGTYP',
              y_k_eq       TYPE char2   VALUE 'EQ',
              y_k_viewname TYPE tabname VALUE 'YLOMANAGTROL'.
    DATA: y_i_seltab TYPE STANDARD TABLE OF vimsellist.
    DATA: y_wa_seltab TYPE vimsellist.
    START-OF-SELECTION.
    *authority check for warehouse number
    AUTHORITY-CHECK OBJECT 'L_LGNUM'
                 ID y_k_lgnum FIELD y_p_lgnm
                 ID y_k_lgtyp FIELD '*'.
    IF sy-subrc NE 0.
    * user not authorised
       CONCATENATE y_p_lgnm text-003 INTO y_v_string SEPARATED BY space.
       MESSAGE s015(ylo1) WITH text-001
                               sy-uname
                               text-002
                               y_v_string.
    ELSE.
    *Clear Internal Table
       CLEAR y_i_seltab.
       CLEAR y_wa_seltab.
    *passing the selection parameters to the function module
    *view_maintenance_call.
       y_wa_seltab-viewfield = y_k_lgnum.
       y_wa_seltab-value     = y_p_lgnm.
       y_wa_seltab-operator  = y_k_eq.
    APPEND y_wa_seltab TO y_i_seltab.
       CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
         EXPORTING
           action               = y_k_u
           view_name            = y_k_viewname
           show_selection_popup = y_k_x
         TABLES
           dba_sellist          = y_i_seltab.
    ENDIF.
    Here i am having my Y table 'YLOMANAGTROL'
    It has primary key field warehouse number
    I am creating a report with a parameter where user will give the warehouse number which he wants to change data for.
    Then I check the authoity for this warehouse and then directly call the table in change mode using the FM.
    I hope it is useful for you.
    Regards,
    Ankur Parab

Maybe you are looking for

  • Macbook Pro Video Screen Blank - Transfer Data to New Unit

    My 2008 Macbook Pro went to sleep and woke up with a dead screen.  Same thing with the Pismo 6 years ago; will not go through nor will I throw away my money again with multiple service providers like I did during that episode.  Want to purchase a new

  • BackPLane Replacement CUCM MCS-7828-I4

    Hi experts,  I have some issue in raid controller, Cisco will send me a new backplane and new hard disk (Disk in slot 2, it's no the boot disk). My question is with 1 new disk and backplane Do I need rebuild the raid right? Regards.

  • App-v 4.6 Q: drive "access denied" Windows 7 SP1

    I'm troubleshooting an app-v application in windows 7 I've customize the osd file to start with cmd.exe On the commandline (which is in the bubble) i'm trying to access the Q: drive but I get access denied. I've never experienced this in windows XP A

  • How to Automatically display new mail as it comes in.

    I would prefer to see new mail in the inbox without having to click Get Messages or having to scroll down. Is this possible? Thanks

  • COPA Planning using KEPM

    Hello, Does anyone know of any site where I could get some quality explanation, tutorial or documentation on how setup planing in COPA? For example on how to enter excel tables for our sales estimations in COPA planning (KEPM) by months? Thanks.