Filtering feature for a column in a table view

Hi,
I have a table view in which the column should have a feature of filtering.
How do we enable that.
Thanks and Regards,
Radhika

Hi Radhika,
I don't understand exactly why you're looking for a specific procedure to enable the filtering feature. Column filtering should be available for all tables in CRM2007 by default without further action. There are only few cases where filtering doesn't work.
You can open the dropdown for sorting and filtering in the WebClient UI by just clicking the column header.
Are you referring to a SAP delivered view or a custom built one. in the latter case make sure you use the "thtmlb:cellerator" tag instead of the "thtmlb:tableView" one to be on the safe side.
Best regards
Peter

Similar Messages

  • BSP: How to create check box in a column of a Table View

    Hi All,
    I have a table view in Web IC scenario. my requirement is to display check box in one of the column of the table view.. so that i can select multiple lines from the table and do some calculations!.
    Anybody have any hint/clue
    Thanks in advance,
    sudeep v d.

    Hi,
    This can be achieved by using a Table iterator.
    Please check the standard examples for this.
    Thanks,
    Rashmi.

  • To display Total sum of a column in a table view control ?

    Hi,
      I am unable to display the sum of a column in a table view control ( using HTMLB ). How should one display the sum of a column in a table view control ?
    Thanks in advance.
    Vara.

    Hi there, do a search in this forum for TableView Iterator. Then check out these weblogs:
    /people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators
    /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
    An Iterator is the way to go for you

  • Dynamically Hiding Column in a Table View in VC Model

    How to dynamacally hide the columns in a table view in a VC model. Through the expression in Control Property, Form element/field or table view as a whole can be made hidden, however, the individual column can not seem to be hidden.
    I am using VC server version 700.8.0.1.
    Any help would be much appreciated.
    Kind Regards
    Sanjoy

    In this scenario, if the source is SAP BI, you can use the webapi commands. If not, you would have to have 2 separate tables in different layers and you can show and hide those layers or UI elements...

  • Addition of a custom column in a table view

    Hi all,
    I want to add a custom column in a table view. Kindly tell me if this is possible.
    Regards,
    Vivek Pandey

    Hi Vivek,
    This can definately be done....you will have to declare and iterator and in the GET_COLUMN_DEFINITIONS, declare the column name....
    Referr to blogs :
    <a href="/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator Basics</a>
    and
    <a href="/people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators Iterator.</a>
    The second blog shows how to insert a icon, which is an extra column...
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.

  • Hide a column in one table view but show it in another

    I need to hide a column in one tables view but show it in another table view in the same report. Is this possible?
    Any help on this is appreciated.
    Edited by: VNC on Jan 11, 2010 9:26 AM

    Hi VNC,
    If you're crafty with javascript, you could probably write a script that would set the CSS property DISPLAY to NONE to hide the column in the table view you didn't want but leave it there in the view you did want.
    -Joe

  • Get frequent data for each column of a table

    What is the best way to get the most frequent data in each column of a table.
    we have around 25 tables and each table has around 20 columns , so rather than writing group by for each column of table , is there any easy way to find this?
    example we have table
    Column A       Column B         Column C
    Apple             Monday             Red
    orange            Tuesday            Green
    Apple              Monday            Red
    Lemon            Wednesday       Green
    Apple               Thursday         Red
    in this table, column A's frequnt data is Apple , column B's frequent data is Monday , Column C's frequnt data is Red
    Apple 3          Monday 2                  Red 3
    Orange 2        Tuesday 1                 Green 2
    Lemon 1          Wednesday 1         
                          Thursday 1
    Group by kind of query will give this result, but with 20 tables each having 20 - 30 columns if we need similar kind of result ..  is there any way to get this data.

    Hi,
    GROUP BY (using aggregate functions) is the best way to do what you described.
    PIVOT and UNPIVOT are probably what you'd want in this case.  The phrase "GROUP BY" may not actually appear in your code, but you'll essentially be doing a GROUP BY.
    Analytic functions (rather than aggregate functions) can do the job, too, but they'll be less efficient.  Analytic functions get you results about the groups, without losing each row's identify, but in this case, losing each row's identity is eactly what you want to do.  You only want 'Apple' to appear 1 time, not 3 times.
    The fact that you need to do the same query on 20 different tables suggests that there's something wrong with your table design.  Wouldn't it be better to have 1 big table, with a new column that has 20 unique values instead?
    I hope this answers your question.
    If not, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved, so that the people who want to help you can re-create the problem and test their ideas.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    Simplify the problem as much as possible.  For example, instead of posting a problem with 20 tables, each having 25 columns, post a similar problem involving, say, 2 tables, each with 3 columns.
    Always say which version of Oracle you're using (for example, 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • No data for Parent-child hierarchy column in Pivot table view

    Hi all,
    I used OBIEE 11.1.1.6.2 Version.
    I drag one Parent-child hierarchy column and one measure and show result with a pivot table view.
    But when I click "+" icon to show detail level data,
    It messaged that: "*the layout of this view combined with the data,selections,drills,or prompt values chosen resulted in no data*."
    But it can show every-level data when I used table view.
    It was so strange..
    Did anybody meet this before?
    Thanks in advance.
    regards,
    Anne

    Hi,
    Yes, I have the same problem with pivot table for hierarchy dimension.
    If you use a normal table (not pivot) it seem to work. Unfortunatley with restrictions as normal table view have.
    Same problem still exist in 11.1.1.6.5
    I have logged a SR to Oracle about this.

  • How does Toggle Visible for a Column in a Table work ?

    Hi All,
    I have a question for you.
    Using version 11.1.1.7:
    I was playing with a use case where I need to show and hide columns in an af:table component.
    I want to do this clientside using javascript.
    Guess what: It works, however, it only works for hiding columns ?!
    Initially I have client component = true and visible is true.
    See javascript below.
    When I call hideColumn, the component is found and hidden after calling.
    When I call showColumns (after it is hidden) the component cannot be found anymore.
      function showColumn(evt){
          var col = AdfPage.PAGE.findComponentByAbsoluteId("pt1:pc1:t1:c9")  ;
          col.setVisible(true);    
       function hideColumn(evt){
          var col = AdfPage.PAGE.findComponentByAbsoluteId("pt1:pc1:t1:c9")  ;
          col.setVisible(false);    
        }I checked and when the columns visible property is initially false, the column is not found by AdfPage.PAGE.findComponentByAbsoluteId("pt1:pc1:t1:c9"), which means it is not available ?!
    It looks like the visible property for an af:column works slightly different then for other components such as buttons.
    Also makes me wonder how the panelCollection component shows and hides columns. Doesn't that component do exactly the same ?
    Thanks.

    Luc,
    couldn't find a hint in the sources (maybe didn't spend enough time). However, one reason for this behavior would be if the hidden column had no client component created (in which case it only exists as hidden HTML). The work around I think would be to use a serverListener on the table and to pass the columns to show/hide as the payload for server side show/hide
    Frank

  • Seperate Sequence for Separate Column in a Table

    I have following table
    id,        Inv_no,         Item,          Item_Sequence
    1, 132 , Processor,     
    2 , 132 , RAM,     
    3 , 132, DVD ROM,     
    4 , 133 , Processor     ,
    5, 133 , RAM,     
    6 , 133 , DVD ROM     ,
    7 , 953 , Processor,     
    8 , 953 , Harddisk,     
    9 , 953 , RAM,     
    10 , 953 , DVD ROM     ,
    I want to generate autosequence for "*Item_Sequence"* column, let say for processor i want pr-001, p1-002, pr-003 , and for RAM, it can be ram-001, ram-002 ......................
    if i input any item it should start creating auto number for that,
    If any one can help me here, Thanks in Advance
    Kind Regards
    Abbas
    Edited by: Abbas on Apr 3, 2011 10:42 AM
    Edited by: Abbas on Apr 3, 2011 10:43 AM
    Edited by: Abbas on Apr 3, 2011 3:13 PM

    Abbas wrote:
    I want to generate autosequence for "*Item_Sequence"* columnFirst of all, sequence does not guarantee "no holes". If, for example, session inserting in your table rolls back or if sequence has CACHE and you restart database, seaquence will have holes. Said that, just for fun (I'd do extensive testing before using it in production):
    SQL> create table inventory(
      2                         id     number,
      3                         Inv_no number,
      4                         Item   varchar2(50),
      5                         Item_Sequence number
      6                        )
      7  /
    Table created.
    SQL> create or replace
      2    function get_nextval(
      3                         p_seq_owner varchar2,
      4                         p_seq_name varchar2
      5                        )
      6      return number
      7      is
      8          pragma autonomous_transaction;
      9          v_cnt number;
    10      begin
    11          select  count(*)
    12            into  v_cnt
    13            from  dba_sequences
    14            where sequence_owner = upper(p_seq_owner)
    15              and sequence_name  = upper(p_seq_name);
    16          if v_cnt = 0
    17            then
    18              execute immediate 'create sequence ' || p_seq_owner || '.' || p_seq_name;
    19          end if;
    20          execute immediate 'select ' || p_seq_owner || '.' || p_seq_name || '. nextval from dual' into v_cnt;
    21          return v_cnt;
    22  end;
    23  /
    Function created.
    SQL> create or replace
      2    trigger inventory_bir
      3      before insert
      4      on inventory
      5      for each row
      6      begin
      7          :new.Item_Sequence := get_nextval('scott',replace(:new.Item,' ','_'));
      8  end;
      9  /
    Trigger created.
    SQL> insert into inventory(id,inv_no,item) values(1, 132 , 'Processor');
    1 row created.
    SQL> insert into inventory(id,inv_no,item) values(2 , 132 , 'RAM');
    1 row created.
    SQL> insert into inventory(id,inv_no,item) values(3 , 132, 'DVD ROM');
    1 row created.
    SQL> insert into inventory(id,inv_no,item) values(4 , 133 , 'Processor');
    1 row created.
    SQL> insert into inventory(id,inv_no,item) values(5, 133 , 'RAM');
    1 row created.
    SQL> insert into inventory(id,inv_no,item) values(6 , 133 , 'DVD ROM');
    1 row created.
    SQL> insert into inventory(id,inv_no,item) values(7 , 953 , 'Processor');
    1 row created.
    SQL> insert into inventory(id,inv_no,item) values(8 , 953 , 'Harddisk');
    1 row created.
    SQL> insert into inventory(id,inv_no,item) values(9 , 953 , 'RAM');
    1 row created.
    SQL> insert into inventory(id,inv_no,item) values(10 , 953 , 'DVD ROM');
    1 row created.
    SQL> select  *
      2    from  inventory
      3    order by item,
      4             id
      5  /
            ID     INV_NO ITEM                                               ITEM_SEQUENCE
             3        132 DVD ROM                                                        1
             6        133 DVD ROM                                                        2
            10        953 DVD ROM                                                        3
             8        953 Harddisk                                                       1
             1        132 Processor                                                      1
             4        133 Processor                                                      2
             7        953 Processor                                                      3
             2        132 RAM                                                            1
             5        133 RAM                                                            2
             9        953 RAM                                                            3
    10 rows selected.
    SQL> Obviously, performance will be questionable for high(er) volumes. Also, you will need to add error handler for sequence creation to ignore sequence already exists situations which can happen in multi-session environment.
    SY.

  • Does firefox offer any filtering features for child safety online?

    I am looking for safer viewing on the internet for my children. I wondered if firefox provides any online filtering features/software regarding this

    See:
    * kb.mozillazine.org/Parental_controls

  • Error while creating a hyperlink for a field in a table view

    Hi all,
    I have created a table view to display the lead information.Now i wanted to make the lead number to be made as a hyperlink.I have tried the delow code
    <htmlb:tableView id = "tvX"
    headerText = "Leads Details"
    headerVisible = "true"
    design = "alternating"
    visibleRowCount = "5"
    visibleFirstRow = "<%= firstvisiblerow %>"
    fillUpEmptyRows = "true"
    onHeaderClick = "MyEventHeaderClick"
    onRowSelection = "select"
    selectionMode = "singleselect"
    table = "<%= activities %>"
    iterator = "<%= z_it %>"
    sort = "SERVER" >
    <htmlb:tableViewColumns>
    <htmlb:tableViewColumn
    columnName = "object_id"
    type = "link" >
    </htmlb:tableViewColumn>
    </htmlb:tableViewColumns>
    </htmlb:tableView>
    But am getting the following error whlle am activating the code
    Internal error occured during runtime generation
    of Class CL_O2D59X6KFES8AMMPAFQ6AV1R3WF (Dump ID:
    DBIF_REPO_SQL_ERROR).
    When i remove the code for <htmlb:tableViewColumns> this error does not exist
    Can canyone help me in solving this?
    Thanks

    Hi,
    in iterator method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.
    you need to call method  cl_hrrcf_iterator=>get_bee_link to define the link for a specific filed.
    for example check the below code.
    IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.
      CASE p_column_key.
        WHEN 'PERNR'.
        CALL METHOD cl_hrrcf_iterator=>get_bee_link
            EXPORTING
              p_cell_id       = p_cell_id
              p_onclientclick =link_url
              p_column_key    = p_column_key
              p_row_data_ref  = p_row_data_ref
              p_tooltip_alias = l_alias
            IMPORTING
              po_bee          = p_replacement_bee.
        ENDCASE.
    endmethod.
    vijay

  • How to provide dynamic labels for calculated columns in HANA calc views

    Hi all,
    we have the requirement to provide dynamic labels for some calculated columns in our calculation view - how to do that?
    Thanks and kind regards,
    Alexander

    Calculated Columns can only generate a value from fields of the current item. And only some types of fields (for example, it can't use a lookup column).
    Consider using a workflow to accomplish your goal.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Constraint based on existing values for a column in the table

    I have a table as follows
    create table MS_FAV_ACCT
    NICKNAME VARCHAR2(50) not null,
    ACCOUNT VARCHAR2(6) not null,
    SUB_ACCOUNT VARCHAR2(3) not null,
    DETAIL VARCHAR2(4) not null,
    ICID VARCHAR2(3) not null,
    SEGMENT VARCHAR2(2) not null,
    PRIMARY_ACCT VARCHAR2(1) not null
    I want to have a constraint such that there can be only one row with PRIMARY_ACCT ='Y' there could be multiple rows with value 'N'.
    I have put a CHECK constraint on this column to check for values Y or N but I want to be able to check this condition too that only one row can have PRIMARY_ACCT as Y .
    I saw a thread on this forum regarding using UNIQUE INDEX with case when but didnt understand how I could use it in my case.
    Could anyone please help?

    You only want to have 1 row in the table with an identifier of 'Y'?
    That is what i understood, in which case you can use something like this.
    ME_XE?create table MS_FAV_ACCT
      2  (
      3     NICKNAME VARCHAR2(50) not null,
      4     ACCOUNT VARCHAR2(6) not null,
      5     SUB_ACCOUNT VARCHAR2(3) not null,
      6     DETAIL VARCHAR2(4) not null,
      7     ICID VARCHAR2(3) not null,
      8     SEGMENT VARCHAR2(2) not null,
      9     PRIMARY_ACCT VARCHAR2(1) not null
    10  );
    Table created.
    Elapsed: 00:00:00.03
    ME_XE?CREATE UNIQUE INDEX MS_FAV_ACCT_U01 ON MS_FAV_ACCT (CASE WHEN  PRIMARY_ACCT = 'Y' THEN 1 ELSE NULL END);
    Index created.
    Elapsed: 00:00:00.01
    ME_XE?
    ME_XE?INSERT INTO MS_FAV_ACCT VALUES('ONE','TWO', 'U','I','X','A','N');
    1 row created.
    Elapsed: 00:00:00.00
    ME_XE?INSERT INTO MS_FAV_ACCT VALUES('ONE','TWO', 'U','I','X','A','Y');
    1 row created.
    Elapsed: 00:00:00.00
    ME_XE?INSERT INTO MS_FAV_ACCT VALUES('ONE','TWO', 'U','I','X','A','N');
    1 row created.
    Elapsed: 00:00:00.01
    ME_XE?INSERT INTO MS_FAV_ACCT VALUES('ONE','TWO', 'U','I','X','A','Y');
    INSERT INTO MS_FAV_ACCT VALUES('ONE','TWO', 'U','I','X','A','Y')
    ERROR at line 1:
    ORA-00001: unique constraint (TFORSYTH.MS_FAV_ACCT_U01) violated

  • Global display options for equal columns of different tables

    Hi,
    is it possible to create some kind of templates for tables which are nearly the same! I mean different table names, different content and some columns are equal.
    e.g. I've got a a lot of Error tables, in every table there is a column named Reload Flag, which should be displayed as a List of value, can i set this by default. Or for example I've got a column named Error message and i display it as a standard report column, but i always have to edit the column formatting, because the column is very broad. I have to change the CSS Style ( {width:30em;} )!
    THX Mat

    Hi,
    Yes, It must be working using rowid since its not mention anywhere, I could not post it. But I too think so.
    check the below block
    SQL> Declare
      2  v_mydept1 emp.deptno%TYPE;
      3  v_mydept2 dept.loc%TYPE;
      4  CURSOR C1 IS SELECT e.deptno,d.loc
      5  FROM emp e,dept d
      6  WHERE e.deptno = d.deptno
      7  and empno=7900
      8  FOR UPDATE of e.sal;
      9  Begin
    10  OPEN C1;
    11  LOOP
    12  FETCH C1 INTO v_mydept1,v_mydept2;
    13  Dbms_output.put_line(v_mydept2);
    14  Dbms_output.put_line(v_mydept1);
    15  EXIT WHEN C1%NOTFOUND;
    16  UPDATE dept SET loc = 'NY' WHERE CURRENT OF C1;
    17  select loc into v_mydept2 from dept where deptno=v_mydept1;
    18  Dbms_output.put_line('Record updated '||v_mydept2);
    19  End loop;
    20  COMMIT;
    21  End;
    22  /
    Declare
    ERROR at line 1:
    ORA-01410: invalid ROWID
    ORA-06512: at line 16The logic doesnot make sense, but if you can notice the error speaks about rowid.
    For update locks the specific rows listed in the cursor and Where Current Of Clause must be taking in account the rows as per thier ROWID.
    Twinkle
    Edited by: Twinkle on Apr 8, 2010 4:28 PM

Maybe you are looking for