How to create variant for table/view ?

Hi,
When I go through SM30, I find a radio button called variant. I don't know the effect.
Can anyone tell me how to create variant for table / view ?
I want to know when we need to create variant for table/view.
Best regards,
Chris Gu

hi ,
Whenever you start a program in which selection screens are defined, the system displays a set of input fields for database-specific and program-specific selections. To select a certain set of data, you enter an appropriate range of values.
For further information about selection screens, refer to Selection Screens in the ABAP User's Guide.
If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a variant
Procedure
To create a new variant:
       1.      On the ABAP Editor initial screen, enter the name of the program for which you want to create a variant, select Variants, and choose Change.
       2.      On the variant maintenance initial screen, enter the name of the variant to be created.
Note the naming convention for variants (see below).
       3.      Choose Create.
If the program has more than one selection screen, a dialog box for screen assignment appears. The dialog box does not appear if the program only has one selection screen. The selection screen appears in this case.
       4.      If there is more than one selection screen, select the screens for which you want to create the variant
5.      Choose Continue.
The (first) selection screen for the report appears.
If your program has more than one selection screen, use the scroll buttons in the left-hand corner of the application toolbar to navigate between them and to fill the fields with values. If you keep scrolling forwards, the Continue button appears on the last selection screen.
       6.      Enter the desired selection values, including multiple selection and dynamic selection.
       7.      Choose Continue.

Similar Messages

  • How to create EVENTS for a View Cluster.

    Hi Tech Gurus,
    I have created a view cluster on 5 tables. I need to do a validation and this can be done by using events. But i am unable to create a EVENT for the View Cluster. Could anyone please tell me how to create events for a View Cluster.
    Thanks in advance for your esteemed replies.
    Regards,
    Raghavendra Goutham P.

    Hello Pasapula
    When you are in the View Cluster maintenance dialog (SE54) click on dialog "Events".
    Below the field for the view cluster you have an additional field <b>FORM routines main program</b>. There you have to add the main program containing the FORM routines called by the VC events.
    For example: I had defined a normal report containing an include with all the FORM routines. The report contains only the following lines of coding:
    report zus_0120_u1.
    * Common Data und access routines for user exits in VC maintenance
    include LSVCMCOD.
    include  zus_0120_f1. "FORM routines for VC events
    Now in the "Events" dialog of the view cluster maintenance you assign your FORM routines to the events.
    Regards
      Uwe

  • HOW TO Create  variants for transaction MASS on LFA1 object?

    hOW TO Create  variants for transaction MASS on LFA1 object?
    Edited by: cheppalliakr on Nov 10, 2011 1:09 PM
    Moderator message: please do more research before asking, show what you have done yourself and provide more information when asking.
    Edited by: Thomas Zloch on Nov 10, 2011 3:10 PM

    Hi Oscar ,
    You need to create optional date prompt variable  in BW which fills your requirement .
    Ex : If you require report should always run for 1st of the month to last of month .Then create Optional date variable in BW with interval .write customer exit ,
    if from date is left blank it should take 1st of the month and if todate is left blank it should take last of the month .
    when creating webi schedules , leave prompts as blank.

  • 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

  • Reg: How to create Variants for program SAPF120

    Hi SAP gurus,
    How to create variants for programm SAPF 120.
    with regards
    JK rao

    Hi,
    I suppose you intend to include 22 more Recurring Documents in the F.14 screen in an existing variant. Please check if these 22 are Recurring Docs in FBD3. And make sure that all 48 are appearing in the Document Number (Multiple Selection) tab of F.14. You can test (in a test system) by executing after inclusion and not necessarily saving as variant to make sure that BI session includes all 48 docs.
    Rgds.

  • How to create links in table view

    Hi
    I am working in IC WebClient.
    Can any body guide me how to create link on particular column of the table view and How can we navigate to another page by clicking on this link ?
    I am filling the internal table (for table view) by z tables. I do not have context node for that.
    Points will be rewarded.

    use Iterators. In the itarator you can create any BSP Object you wish to.
    in the method RENDER_CELL_START of the interface IF_HTMLB_TABLEVIEW_ITERATOR
    METHOD if_htmlb_tableview_iterator~render_cell_start.
      DATA: lo_text     TYPE REF TO cl_htmlb_textview,
            lo_link TYPE REF TO cl_htmlb_link,
            lv_link_click TYPE string,
            lv_link  TYPE string,
            lv_dim   TYPE string,
            lv_pernr TYPE string.
      FIELD-SYMBOLS: <dat> TYPE ANY.
      lv_link  = 'info.htm?pernr='.
      lv_dim   = 'left=300,top=220,width=620,height=200,menubar=0,scrollbars=yes,resizable=no'.
      row_ref = p_row_data_ref.
      CASE p_column_key.
        WHEN 'PERNR'.
          CREATE OBJECT lo_link.
          lo_link->id            = p_cell_id.
          lo_link->text          = get_column_value( p_column_key ).
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
            EXPORTING
              input  = lo_link->text
            IMPORTING
              output = lv_pernr.
          CONCATENATE `window.open('` lv_link lv_pernr `' , '` lo_link->text `', '` lv_dim `');` INTO lv_link_click.
          lo_link->text = lv_pernr.
          lo_link->onclientclick = lv_link_click.
          p_replacement_bee      = lo_link.
        WHEN OTHERS.
          CREATE OBJECT lo_text.
          lo_text->id       = p_cell_id.
          lo_text->wrapping = 'FALSE'.
          lo_text->text     = get_column_value( p_column_key ).
          lo_text->design   =  'STANDARD'.
          p_replacement_bee = lo_text.
      ENDCASE.
    ENDMETHOD.
    How to use Iterators.
    /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
    Hope this helps.
    Cheers
    Amandeep
    <i><b>Reward points for each helpful answer.</b></i>

  • How to create Variant for braodcasting in BI 7.0

    Hi,
    As we create variants in BW 3.x using table TVARVC and
    t-code STVARV to enter variable to be updated as per requirement and a code for the same.
    And we will get variant in selection screen of report with updated values.
    Can some one tell me how can we do the same in BI 7.0?
    Please reply soon.
    Thanks.
    Santosh

    In the old SAP BW 3.5 version, we used a program that runs everyday after midnite that sets date variables in TVARVC.  The end user could specify which variable from TVARVC to fill the data field in the variant.  We have the user save the workbook and then distribute it via the Web Broadcaster.
    The workbooks are sent via email if things work OK.
    Are you saying we can do something similar using RSRVARIANT?  If we insert a row into RSRVARIANT, will the user be able to replace a field in their variant with the value?
    Here are some of our variables in TVARVC:
    Table:          TVARVC                                                   
    Displayed Fields:   9 of   9  Fixed Columns:                 4  List Width
                                                                                    MANDT NAME                           TYPE NUMB SIGN OPTI LOW                                                                               
    010   Z_PRIOR_FISCAL_PERIOD          P    0000           10/2005      
       010   Z_PRIOR_FISCAL_PERIOD          S    0000 I    EQ   10/2005      
       010   Z_PRIOR_WEEKLY_PERIOD          P    0000           43/2005      
       010   Z_PRIOR_WEEKLY_PERIOD          S    0000 I    EQ   43/2005                                                                               
    This would be for the October 2005 time frame.  In November the Z_PRIOR_FISCAL_PERIOD
    would get bumped up to 11/2005 which would have been November 2005.
    We have a batch procedure that updates the values in TVARVC table.  The user
    can choose with date value to run with.  In the old version everytime the variant
    is accessed, the current value of the variable Z_PRIOR_FISCAL_PERIOD would be fetched,
    so this is the way we could have monthly and weekly batch jobs run for precalculation
    and not get the same date range over and over again.
    How can be give the user an option to choose a variable like the above?
    Do we need to use Microsoft Excel VBA to call SAP BW to call custom code?
    Yes, we can update rsvariant table contents with a program.  But how will we "know"
    which date range the user wants unless they can choose which variable they want to use?
    Has anyone been able to do this?
    Thanks,
    Chris

  • How to create transaction for table maintinance generator

    what is the procedure(steps) to create transaction for a table maintinance generator

    Hi,
    The link will be useful for ur requirement.
    allaboutsap.blogspot.com/2007/04/table-maintenance-in-sap-step-by-step.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc
    REgards,
    Sarosh

  • How to create variants for a sequence-f​ile?

    Hello,
    i have a testplan with custom teststeps. Each step has a new field with type "container" and name "myData",
    Inside of this container are numeric, string and bool parameter. The parameter inside this container are used to execute
    the teststep.
    I attached an example of this, if you open the right side of the sequence then the container "myData" can be seen.
    No i want to use the testplan for two different products, that means different parameters.
    Is the only thing that is included in teststand, the property-loader? If yes, can someone give me an example of how to
    use to property loader with my attached sequence?
    As far as i understand it, i have to create to different text files where i specify for each step-name the parameters.
    Does that mean when my testplan contains >1000 teststaps, that i have to create that manually by hand, or is there a function
    to export everything into a file (all parameters, skips, loop, ...)?
    I´m using TS 3.5 with LV 8.2
    Thanks for your help
    Message Edited by OnlyOne on 11-05-2007 07:29 AM
    Attachments:
    seq1.seq ‏21 KB

    Hey OnlyOne,
    Sounds like the perfect opportunity to tell you about this cool new feature in TS 4.0.  You can select multiple steps and change the same property for all selected steps in one swoop.  Finally!!!  I added five of your custom steps and tested it just to make sure.  And it works.
    However, if you can't afford to upgrade or you like 3.5 better then the best way is to use the Import/Export Properties Tool.  Look in the Tools menu and you'll see it there.  Tools>>Import/Export Properties.  It's basically the same thing as the Property Loader step except you can go both directions instead of only being able to read values from a file.  You can write the file with it!! In fact what most developers do is use the tool to create the file.  Copy the file multiple times and change the values in each file.  Then use the Property Loader step to dynamically read the different files for their tests. 
    The Property Loader step is dynamic as the Import/Export Properties tool is only during development.
    As for an example for the Property Loader: C:\Program Files\National Instruments\TestStand 3.5\Examples\LoadingLimits  That contains a couple examples from Excel, Txt and other file formats.
    Hope that helps some,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How to create variant for HIER reports

    Hello,
    I have to run program RKDBAT02(Background Processing for Drilldown Reports) from a FM that i created.
    i have to run this program with a variant that i need to update with the values from my FM.
    My problem is tha I am trying to use the regular variants FM as RS_VARIANT_VALUES_TECH_DATA to get the variants
    fields that i have to load or fm RS_CREATE_VARIANT and in the parameter report name i put the HIER report name.
    I keep getting an error that this is not a report. I can put the program hier report name which is a long string,
    but the string name change dynamically between clients.
    I need a way to load the variant of the hier report .
    TNX
    Yifat

    fill in the values in the selection screen and then hit the save as button.
    give it a name, enter. the variant is now save.
    M.

  • How to create query for tables with many to many relationship

    in my sql i'm unable to update the table using select clause...is there any way to update a table which is in many to many relationship.
    Ex:1st table student(student_id int primary key auto_increment, student_name varchar(30));
    2nd table contact (contact_id int primary key auto_increment, c_email varchar(40));
    3rd table student_contact(student_id int references student, contact_id int references contact);
    i would like to auto insert the both two columns in the student_contact while the student and the contact table being updated automatically.

    This is a JSP/JSTL forum, not a SQL forum. If you're using MySQL, better use their own forums at dev.mysql.com.
    I'll give some hints anyway: learn about SQL JOIN. In general there is good SQL documentation available at the website of the RDBMS manfacturer. Go check it out. There is also a nice SQL tutorial at w3schools.com. Good luck.

  • Create transaction for table

    Hi experts,
    Can anybody help how to create transaction for table maintenance generation?
    Thanks in advance,
    Zak.

    Hi
    Check this:
    Table maintennace generator is used to create screen to maintain values in a table. Once you create maint generator you can goto transaction SM30 and add data to table . In SAP it is more relevant to customizing data.
    Create a table maintance program for a z table :
    In transaction SE11, in the attribute tab of your z table check table maintenance check box. Go to SM30 transaction, enter the ztable name and click on maintain button. Here you can enter new entries into the ztable .
    Or
    You can create a PARAMETER TRANSACTION for the transaction for SM30 .
    Follow these steps :
    1. go to transaction SE93 , give your own transaction code say ztran_tab, for maintaining your ztable.
    2. Click on create button and check the radio button Transaction with parameters (PARAMETER TRANSACTION) and click on the tick button.
    3. In the next screen enter default values:
    transaction : SM30
    check the check box skip initial screen
    4. Scroll down you will find a table control for default values
    Name of the screen field | value
    VIEWNAME | your ztable name
    SHOW | X
    Save your work.
    Now as you have created a custom transaction for maintaining your ztable this transaction can be called from any program with CALL transaction 'XXX'.
    Regards,
    Vishwa.

  • Creating Variant for VA05???

    Hi SAPians,
    Could you please give me the step by step process on how to create variant for VA05 for column layout.
    Thanks in advance
    MM.

    hello, friend.
    first, execute VA05.  customize your layout by clicking on the "current" icon.
    next, save your layout by going SETTINGS > DISPLAY VARIANTS > SAVE.  please note that unless your user parameters include the appropriate profile, the "save" option remains greyed out and unavailable.  ask your BASIS consultant to assign you parameter = SD_VARIANT_MAINTAIN with value "A".  then you can save your own variant.
    regards.
    p.s.
    i got this idea from someone else.  i think it was lakshmipathi.  whoever it was, thanks.

  • How to create transaction for a maintenance view, Thank you.

    How to create transaction for a maintenance view,
    Thank you.
    deniz...

    Hi Deniz,
    Go to se93.
    Then create the new T.code.
    Under that select parameter Transaction.
    Then give the sm30 in the t.code in default values tab.
    check the checkbox skip initial screen.
    in classification tab.
    click checkbox inherit gui attributes..
    Now below..
    In the default values..
    select
    viewname and give ur table name.
    UPDATE= Xsave
    view - table name ( Should be upper case
    update X ( should be upper case).
    http://www.sap-basis-abap.com/sapbs011.htm
    Hope this helps you.
    Regards,
    Viveks

  • How to create a dynamic table were the JTable columns keep varying

    How to create a dynamic table were the JTable columns keep varying based on the input to the jtable

    Oooh, I lied. DefaultTableModel has an API for adding and
    removing columns. I didn't know that. You should have read
    the API.
    As for preferring to extend AbstractTableModel rather than
    DefaultTableModel, I think it's more correct. DefaultTableModel
    is a simple implementation of Abstract for basic cases. It isn't
    intended to be extended. I figure most people extending
    DefaultTableModel are also extending JFrame, JPanel, and Thread
    instead of encapsulating the first two and implementing
    Runnable for the third.

Maybe you are looking for

  • IF statement in Mapping is getting suppressed

    Hi all            in my mapping i am using IF statement , in which ,       one of my condition is that if - > condition exist then - > pass XXXXXXXX else _---- > pass YYYYYYY when i check my display queue . in the else part data is there but it is su

  • Adding movies to apple tv form external disk

    I want to be able to add a movie to Itunes from my external disk and then to apple tv, without erasin what has been added in the past but is not in itunes any more. The memory in my computer is limited and my movies are all in a external disk. when I

  • Server Setup Help - DNS

    Hi, Hopefully someone can shine a light on this for me. I am sure I have confused myself more by doing all this research. I am attempting to setup OS X Server (Leopard Server 10.5.4) on my server and am getting a little confused at the primary DNS Na

  • How to create a hierarchy info source

    Please give a step by step procrdure of how to create a hierarchy info source

  • Help! Cannot see User Data...

    I have been using Palm Desktop 4.2 for some time on my notebook (Windows XP SP3) for contacts/address book, calendar and memos but a couple of days ago Desktop doesn't see the data anymore. The files are still there in the user name folder and I can