Hiding a column in WAD

I have a dropdown box for calendar year
Intitally when I run my webtemplate it should show me the values for all the years in the below format
Industry  -
Value2006  -
  Value2005
When I select from the dropdown value of the calendar year = 2006 then it should me only the values of 2006 & hide value of 2005 & when I select calendar year = 2005 then it should me only the values of 2005
Pls provide me the code for this in WAD 3.5
Thanks
SVR

SVR,
Your web item Drop Down box is linked to the data provider that is display the results?
If it is, surely when you make a selection from the Drop Down box the dataproviders associated with it (there can be more than one) will change automatically.  You shouldn't need any additional code bar standard functionality?
Maybe I'm missing something in the query you are asking.
Regards
Gill

Similar Messages

  • Hiding Table Columns with the Spry Element Selector

    I am trying to set up a toggle button that will show/hide
    rows >1 when clicked. I've used Adobe's
    "Hiding
    Table Columns with the Spry Element Selector" example and it
    worked fine with an HTML list, until I linked to actual XML data.
    Now it works in reverse. What gives?
    Here's the example:
    http://a44.awardspace.com/testing/toggleShowHideRows.htm

    That's what I started with. Same result:
    http://a44.awardspace.com/testing/toggleShowHideRows.htm

  • Hiding a column in the ALV in a webdynpro component(standrad one)

    Hi,
       i have an requirement of hiding a column inside a ALV output of a web dynpro component which is a standrad one. please help me finding the way to do the same.
    thanks,
    selvakumar M.

    data: l_ref_usage type ref to if_wd_component_usage.
    l_ref_usage = wd_this->wd_CpUse_Alv( ).
    if l_ref_usage->has_active_component( ) = abap_false.
      l_ref_usage->create_component( ).
    endif.
    DATA: l_ref_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
    l_ref_INTERFACECONTROLLER =   wd_This->wd_CpIfc_Alv( ).
      data:
        l_VALUE type ref to Cl_Salv_Wd_Config_Table.
      l_VALUE = l_ref_INTERFACECONTROLLER->Get_Model(
    data: lr_column type ref to CL_SALV_WD_COLUMN.
    lr_column =
    l_value->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'CARRID' ).
    lr_column->set_visible( CL_WD_UIELEMENT=>E_VISIBLE-NONE ).
    Abhi

  • Hiding the column data. What is the point of DBMS_CRYPTO package?

    DB version:10g R2
    A requirement has come where we need to hide some columns' data from end users.
    Trasparent Data Encryption feature wouldn't do the trick as it encrypts the data only at the storage level not at user level.
    I've seen PL/SQL codes using DBMS_CRYPTO which encrypts and decrypts input strings like the code mentioned in
    Re: Need some hints on using dbms_crypto
    What is point of these PL/SQL codes?
    They can only be used to create functions which will be called in VIEWS. That is the only use of DBMS_CRYPTO package. Right?
    Do you guys have any suggestion in hiding/obfuscating column data? Is creating a view my only option?

    One solution to "hide" data (columns or rows) from end users is simply to create a view.
    The end user will be granted only access to the view and not to the base tables behind the view. The view will only expose those cloumns and rows that the end users is supposed to see.
    Of cause this has nothing to do with encryption. But I don't see anything in your business requirements that needs to use encryption methods.

  • Changing the Column Header and Hiding the Column dynamically???

    Hi friends..
    I'm new to OBIEE field. I'm working in a OBIEE project that requires to dynamically change the column header, and dynamically hide the column depending on the prompt value.
    I know we can dynamically change the table header using the presentation variable but I couldn't do that same thing with column header.
    I searched some forums that suggest to use java script for this purpose but I'm not able to do the same also. If anyone had same issue before please help.

    toony, I'm not sure it's possible to do all that you want exactly the way you want, but here are some ideas you can pursue.
    To dynamically change column headers without javascript, check this blog out...
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
    As far as dynamically hiding a column, I don't think you can do this, but since you don't provide any details on how the PV is supposed to hide a column based on the value, are you talking about hiding a column for one PV value and another (different) column for a different PV value? Or are you talking about hiding one column when a PV has certain values and displaying it when the PV has a different set of values?
    I have managed to create both scenarios via a work-around, but the procedures require some writing so I don't want to put both. Please detail how you want your PV to "hide" a column or columns.
    P.S. I don't think column selectors will do the trick for you. Basically column selectors work like this: Say you have a report using Sales Region ID, Region Name, and Sales. Now let's say you want the user to choose if he/she wants to see annual sales, or quarter sales or weekly sales, etc. The column selector view would allow you to put the various columns (Year Sales, Quarter Sales, Weekly Sales) as an option the user can select. Once selected, the sales figure will change for the time period selected. For an example of how this is done, check out the section in this "Oracle by Example" link.
    Waited too long to publish this... Madan beat me to it, so there is some overlap here...
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/saw/saw.html
    Edited by: LC143 on Oct 27, 2008 9:21 AM

  • Hiding few columns before displaying alv grid output

    Hi All,
    I struck up at hiding few columns before displaying alv output. I have used used FM: REUSE_ALV_GRID_DISPLAY. By using this i am displaying 29 fields to the output. But before displaying the output i want to hide few columns among them, and also those fields have to be avialable for further selection by the user by using layout.
    Kindly help me in this,
    Regards
    Srinivas K

    Hi,
    In field catalog set NO_OUT='X' for all the columns you want to hide. They will be available when changing layout for ALV, so you can show them at any time.
    Regards
    Marcin

  • Freeze Data Columns in WAD

    Hi,
    I want to freeze the Row Header as well as some data columns in WAD.
    Eg
                                                    FY        HY1      Jan   Feb .....       HY2  July...
    Sales Org   DistrCh    Site         1200      600       100                      500
    Now I want to fix the the columns till HY1. Out out these 5 columns I am able to fix the header thats is the first three columns but I am not able to Fix FY and HY1 aswell.
    Best wishes, Dheeraj

    Hi,
    To Freeze column in WAD;On the properties tab select table. goto web item tab. in number of data columns displayed put value as 4. (you can change as per ur need).
    Also Pls go through thes links
    http://web.tampabay.rr.com/bmerkey/examples/locked-column.css.html
    http://web.tampabay.rr.com/bmerkey/examples/locked-column-csv.html
    For visiblity
    you can set visible rows and columns in the specific properties of web item table! Just click the table in the Web Application Designer and than look into the specific properties. Select "Number of Data Rows..." or "Number of Data Columns..." as you wish!
    Hope this helps
    Regards
    CSM Reddy

  • Updating a JTable by hiding/displaying columns

    I have a customizable JTable where I display/hide columns according to a users' selection criteria. My code works fine for hiding/displaying columns if the Jtable is opened for the fist time, but doesnot work if I want to hide columns in already displayed table.How do I do it?? Any clue?? I tried
    myTabModel.fireTableDataChanged();
    but this only works for updating the table data...it does not hide columns for me... when I hide column I just remove desired column like this:
    myTable.removeColumn(myTable.getColumn("Column 3"));

    Here is the sample code I tried. It worked without any invalidate or repaint or updateUI(). generated using NetBeans
    check for <==== for the line of code doing this
    * TableTest.java
    * Created on October 9, 2002, 1:42 PM
    * @author  Anki Reddy Nelaturu
    public class TableTest extends javax.swing.JFrame {
        /** Creates new form TableTest */
        public TableTest() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        private void initComponents() {
            jScrollPane1 = new javax.swing.JScrollPane();
            jTable1 = new javax.swing.JTable();
            jButton1 = new javax.swing.JButton();
            jTextField1 = new javax.swing.JTextField();
            menuBar = new javax.swing.JMenuBar();
            fileMenu = new javax.swing.JMenu();
            openMenuItem = new javax.swing.JMenuItem();
            saveMenuItem = new javax.swing.JMenuItem();
            saveAsMenuItem = new javax.swing.JMenuItem();
            exitMenuItem = new javax.swing.JMenuItem();
            editMenu = new javax.swing.JMenu();
            cutMenuItem = new javax.swing.JMenuItem();
            copyMenuItem = new javax.swing.JMenuItem();
            pasteMenuItem = new javax.swing.JMenuItem();
            deleteMenuItem = new javax.swing.JMenuItem();
            helpMenu = new javax.swing.JMenu();
            contentsMenuItem = new javax.swing.JMenuItem();
            aboutMenuItem = new javax.swing.JMenuItem();
            getContentPane().setLayout(null);
            addWindowListener(new java.awt.event.WindowAdapter() {
                public void windowClosing(java.awt.event.WindowEvent evt) {
                    exitForm(evt);
            jTable1.setModel(new javax.swing.table.DefaultTableModel(
                new Object [][] {
                    {null, null, null, null},
                    {null, null, null, null},
                    {null, null, null, null},
                    {null, null, null, null}
                new String [] {
                    "Title 1", "Title 2", "Title 3", "Title 4"
            jScrollPane1.setViewportView(jTable1);
            getContentPane().add(jScrollPane1);
            jScrollPane1.setBounds(80, 30, 230, 120);
            jButton1.setText("jButton1");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            getContentPane().add(jButton1);
            jButton1.setBounds(170, 180, 81, 26);
            jTextField1.setText("jTextField1");
            getContentPane().add(jTextField1);
            jTextField1.setBounds(60, 190, 63, 20);
            fileMenu.setText("File");
            openMenuItem.setText("Open");
            fileMenu.add(openMenuItem);
            saveMenuItem.setText("Save");
            fileMenu.add(saveMenuItem);
            saveAsMenuItem.setText("Save As ...");
            fileMenu.add(saveAsMenuItem);
            exitMenuItem.setText("Exit");
            exitMenuItem.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    exitMenuItemActionPerformed(evt);
            fileMenu.add(exitMenuItem);
            menuBar.add(fileMenu);
            editMenu.setText("Edit");
            cutMenuItem.setText("Cut");
            editMenu.add(cutMenuItem);
            copyMenuItem.setText("Copy");
            editMenu.add(copyMenuItem);
            pasteMenuItem.setText("Paste");
            editMenu.add(pasteMenuItem);
            deleteMenuItem.setText("Delete");
            editMenu.add(deleteMenuItem);
            menuBar.add(editMenu);
            helpMenu.setText("Help");
            contentsMenuItem.setText("Contents");
            helpMenu.add(contentsMenuItem);
            aboutMenuItem.setText("About");
            helpMenu.add(aboutMenuItem);
            menuBar.add(helpMenu);
            setJMenuBar(menuBar);
            pack();
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
            jTable1.removeColumn(jTable1.getColumnModel().getColumn(Integer.parseInt(jTextField1.getText())));        // <========
        private void exitMenuItemActionPerformed(java.awt.event.ActionEvent evt) {
            System.exit(0);
        /** Exit the Application */
        private void exitForm(java.awt.event.WindowEvent evt) {
            System.exit(0);
         * @param args the command line arguments
        public static void main(String args[]) {
            new TableTest().show();
        // Variables declaration - do not modify
        private javax.swing.JScrollPane jScrollPane1;
        private javax.swing.JMenu fileMenu;
        private javax.swing.JMenuItem exitMenuItem;
        private javax.swing.JButton jButton1;
        private javax.swing.JMenuItem saveAsMenuItem;
        private javax.swing.JMenuItem saveMenuItem;
        private javax.swing.JMenuItem copyMenuItem;
        private javax.swing.JMenuItem pasteMenuItem;
        private javax.swing.JMenuItem cutMenuItem;
        private javax.swing.JMenuItem openMenuItem;
        private javax.swing.JMenuBar menuBar;
        private javax.swing.JMenu editMenu;
        private javax.swing.JMenuItem aboutMenuItem;
        private javax.swing.JMenuItem contentsMenuItem;
        private javax.swing.JMenu helpMenu;
        private javax.swing.JTextField jTextField1;
        private javax.swing.JMenuItem deleteMenuItem;
        private javax.swing.JTable jTable1;
        // End of variables declaration
    }

  • Add a Link Column in WAD Report

    Dear All.
    my requirement is to show the link column as a first or last column of the table, user want that if he click the link the outlook should open with the email taking from the vendor.
    All i want to add a new column and place the following (<mailto:vendorattribute?subject=xyz>).
    Can you please let me know how can i achive this in WAD application through Java script or any other way how can i read the value of vendor attribute.
    any help will be highly appreciatable.

    Gurus,
    Any advice?

  • Hiding a column in smartform

    Hi,
    We have a requirement where we should be able to hide columns in smarforms based on input from webdynpro.
    We can pass info as to which column is to be hidden. But we do not want blank columns in between.Columns are separated by lines.
    Please help as to what is the best way to achieve this.
    Thanks and Regards
    NM

    hi nithya
    could you please refer
    Hiding column in table in smartform
    and
    Hide table columns in smart form?
    these are the only two ways of achieving what you have set out for
    hope this helps ....
    Regards
    Manthan.

  • Hiding a column in JTable

    Hi,
    I want to hide a column when i select Hide option from a popup menu and
    again bring it back when i select show option again from the popup menu.
    How to get this done?

    Hi!
    The simplest way to do that, is to set the column width to 0 for hiding and back to its normal size to show it again.
    Cheers
    K.

  • Hiding a column in Cross tab

    Hi all,
    Could any one provide me a solution to hide a cross tab column.
    My cross tab has the Dimension in the rows and date values in the columns
              Dec'06 Dec'07 Jan'08 Feb'08..........Dec 08
    DIM1     20         10       35        28                 26
    DIM1    30          20       15         14                 22
    Some reason am bringing Dec'06 data and this data is coming from the universe.
    So now I would like to hide this Dec'06 column in the cross tab how can I achieve this?
    or is there any solution to hide first column in the cross tab?
    Any help would be highly appreciated.
    Thanks

    Hi all,
    For this I just created a variables as below first for Prior Prior year end as I always need to hide prior prior year Dec data so created a variable as below
    Prior prior year end=ToDate("31/12/"+FormatNumber(Year([Date]);"0000");"dd/MM/yyyy")
    after that created another variable like
    If([date]=[Prior prior year end];"Y";"N")
    Now created a filter saying filter cal date="N"
    It is hiding all the years december data but I only want to filter only prior prior year end
    any help pls
    Edited by: VP S on Feb 10, 2011 5:21 PM

  • How to add columns for wad in web apllication designer

    hi,
    can any one tell me how to add new columns for analysis item in wad.
    i found an option of adding new rows but not able to find a option of new columns in analysis item.
    please suggest me.
    i will assign points

    Hi,
    There is no functionlaity to add new columns.
    For adding new combinations to the transaction data, the input ready new rows are used. Why do you need new columns?

  • Hiding Status column in MSS Status Overview for Personnel Change Requests

    Hi,
    We have MSS implemented in SAP Portal.
    We are using Status Overview for Personnel Change Requests iview for which we have multiple columns displayed with data.
    We need to hide Status column in Status Overview for Personnel Change Requests iview for all the users.
    Can any body please let me know how it can be done.
    Regards,
    Pradeep B
    Edited by: pradeep balam on May 17, 2011 4:01 PM

    Hi Pradeep,
    Preview the portal page which you want to edit, in this case status overview in PCR. In the preview press the CTRL-key and right-click on the column that you want to edit. Here, you will be able to perform your customizations like hiding columns, labels etc
    Hope it helps,
    Prathamesh

  • Hide/Unhide Column in WAD via Button

    Hi,
    I would like to create a Button in WAD that hides or unhides a certain column (key figure) from a DP in the WebReport. What is the INSTRUCTION to Hide/Unhide a column?
    Thanks for your help!

    Hi Andreas,
    Use Generic Navigation Block to hide or unhide a keyfigure.
    Use generic Navigation web item
    Assign the report to the data provider
    After execution select the navigation block and select the keyfigures and uncheck the check box for the keyfigure to be hidden.
    Regards
    RaM

Maybe you are looking for

  • Modifications to JSF page dont show up

    I am using JSF 1.1, Tomcat 4.1. I am facing a strange problem. If there happens some error on my jsp/jsf page once and any error message shown. I modify file, fix the problem and again load the page in browser. But the error continues to show as it w

  • Iphone 5 will not turn off

    on/off switch does not work Iphone5. Phone has been in a Otter Box 100% of the time. If out of warrinty you are out of luck. Have to buy a new phone. Why in the world can the chinese not make a better switch? This is so lame!!!!

  • The range can't be used as a single value.

    Sorry all, a bit new to spreadsheets I am creating a budget spreadsheet in Numbers to learn how it all works I have a costing for Oil use; 12 monthly columns that are added together to produce a total for the year. However there is a standing charge

  • HT204302 missing the file QTTASK in itunes......how do I load it

    my ipod shufler is not being recognized by itunes......then I discover I am missing the file QTTASK how do I load this file thanks

  • Constant restart and "clicking" sound with the apple logo reappearing.

    my iPod(80 GB) is stuck on the apple logo screen and it keeps shutting off and starting up and shutting off.. so on and so forth. I tried restoring it when i connect it to my computer but it won't get past the actual restore part. It gets all the way