Reg. Filter on Table view

Hi,
I am trying to analyze the filter functionality on Table view.  The event which is getting triggered when we click on filter  is - "Filter".
However, in none of the standard components, I don't see this event has been implemented. 
Now, I am confused, where exactly this logic has been  implemented, and how this is working.
Could you please help me out for the same.
Thanks,
Sandeep

Hi Sandeep,
Answer to your questions are:
The filter functionality on Table view are handled by framework. Where exactly this logic has been implemented - It has std bsp component behind, you have to find it.
and how this is working - Table view has collection-> collection is converted into iterator-> iterator has methods like sort...etc...this way..
Thats it
Thanks,
Bhushan

Similar Messages

  • Filter a table view

    Hi All,
    In a compound layer with 2 table views, is it possible to filter only one of them? (if I apply the filter in Criteria Tab or Column formulla it applies to all the views, so I need to apply the filter after retriving the results)
    Thanks,
    Regards

    Hi,
    If you are applying filter under criteria it will effect the whole report.It mean what ever views you are using will get effected.
    Can do in this way..didnt check but you can try ;)...
    Use FILTER function to make filter get effected to only one column.Now pull two same columns on which you want filter.Now apply filter on column and other column without filter.
    Use two pivot table view,you can use one column with filter in one view and the other column without filter in the other view and place the unwanted column in each view under excluded section.
    FILTER(Table.Column USING Condition) in fx
    If you are using table view i am not sure if its possible or not because we should use all the columns which are in criteria,but try making column with filter as hide in one view and column without filter as hide in other view under properties.
    Regards,
    Srikanth
    Edited by: Srikanth Mandadi on Nov 11, 2010 4:55 AM

  • Reg Issues in table View

    Hi Experts,
       I have few questations in tableView(not using MVC). I am using simple forms with flologic and iterators.
    1. In table View I have around 12 to 15 columns and occuping fill screen with scroll bars.

    Hi Ray,
    For your second question
    In one of my tableview I have a DDLB in a column,based on value selected in this DDLB , the next two columns that are inputfields are enabled and disabled.
    The code in render cell start is:
    when 'ZZREQUIRED'. <--DDLB
            if p_edit_mode is not initial.
              data: required type ref to cl_htmlb_dropdownlistbox.
              required = cl_htmlb_dropdownlistbox=>factory( id = p_cell_id
                                                         table = m_required_ref
                                                      selection = m_row_ref->zzrequired
                                                      ons elect = 'required'
                                                      nameofkeycolumn = 'NAME'
                                                      nameofvaluecolumn = 'VALUE' ).
              p_replacement_bee = required .
              reqtype = required->selection .<--Read the value selected in DDLB
            endif.
    when 'ZZENDDA'. <--Inputfield baesd on selection in DDLB
    data: obj_fr_zzendda type ref to cl_bsp_find_and_replace,
                  obj_zzendda type ref to cl_htmlb_inputfield,
                  obj_bee_zzendda  type ref to cl_bsp_bee_table.
    if p_edit_mode is not initial.
    if reqtype = 'FROM' or reqtype = 'ON'.
                clear : find , replace .
                concatenate '<input on Cha nge=isitToday(this.value,"' p_cell_id '");' into replace .
                find = '<input' .
                replace = replace.
                obj_fr_zzendda = cl_bsp_find_and_replace=>factory( find = find
                                                                    replace = replace
                                                                    mode =  `FIRST_OCCURRENCE` ).
                obj_zzendda = cl_htmlb_inputfield=>factory( id = p_cell_id type = 'date' showhelp = ' ' disabled = 'true' ).
                obj_zzendda->value = m_row_ref->zzendda.
                create object obj_bee_zzendda.
                obj_bee_zzendda->add( level = 1 element = obj_fr_zzendda ).
                obj_bee_zzendda->add( level = 2 element = obj_zzendda ).
                p_replacement_bee = obj_bee_zzendda.
              endif.
              clear reqtype.
            endif.
    Where reqtype is defined in attributes as Instance Public String
    Similarly you can read the value of one column in your tableview and enable or disable all other fields in that row depending on its value.
    Regards,
    Anubhav

  • Sort and filter option missing in table view

    Hi,
    I am not able to see the sort and filter option for all the columns in table view. Could anyone please help me if i need to add something to see that option.
    Thanks,
    Kamesh Bathla

    Hi,
    Thanks for the reply, yes its web UI issue, i am having search and result view and i need sorting option for all the columns in result view. I thought that it is standard functionality, do i need to add something to html file or anyother place to see the sorting options?
    Regards,
    Kamesh Bathla

  • How to Control the width of the Filter row in Table View

    Hi !
    I have a Table View with filter='application'. The filter works fine but I am not able to control the width of the columns of the tableview .
    On filtering, if there are not items in the table view the columns shrink to the minum width....and  it looks very odd.
    Can you help me how to control the width of the Filter-Row in Table Veiw.
    Thanks and Best Regards,
    Bindiya

    Hi Raja,
    "FIXEDCOLUMN" did not help in the width of the column, but it just showed all the rows merged in the column.
    I have a cloumn called "COUNTRY" and its width is set to "20". The Filter of the column "COUNTRY" is a dropdownlist whos value is update with new values.
    On filtering if there is any row visible then the column width is adjusted to the maxmimum length of the dropdownlist ( this is because of the "EDIT" attribute in column definition ). But if there is no rows visiblel for the selected filter value then the filter row shrinks to the width = "20" and the dropdownlist is not visible completely.
    Need to know how to control the width of the FILTER column.
    Thanks and Best Regards,
    Bindiya

  • REG: base table/view error

    Hi,
    I am trying the execute my interface last week and it was running fine but when i try to execute i am getting the following error. can any one tell me what is the cause.
    0 : : org.netezza.util.PSQLException: ERROR: Base table/view 'xxxxx' attr 'MILES_DRIVEN' has changed (precision); rebuild view 'xxxx'
    Thanks,
    GA

    Hi Srinivas...
      I restricted the view with following selection condition.
    JEST INACT NE 'X'.
    After that i get like that 2 records.
    Example:
    EQUNR ESTAT AEDAT STSMA
    000000001000000798 E0005 25.03.2004 ZE_00002
    000000001000000798 E0007 30.06.2007 ZE_00002
    But for that Equip number if i select the OBJNR and check the STATUS in JEST i have only one active record
    050 IE000000001000000798 E0005 001
    Actually then in the output u should get only record as said by you since u are getting one status value for objnr .....
    Actually in our case for a particular objnr we got 6 status values out of these two status values are inactive... so we are left with 4 active status values we took thee four values and checked in text table and we got four values and in this there is one no display so we finally got three values....for a order...
    we need to loop over the particular order and store all the status values into a single field ...
    this cant be achieved directly through a view i gueesss we need to go for function module...
    i has to implement this and i will gett back to you once it is done.....
    regards
    vamsi

  • Query  in table view -filter.

    hi,
        i have one probs. for using the filter in the tableview.
       These r the following code i used.
        <%
          data: columnDefinitions type TABLEVIEWCONTROLTAB,
                  wa                type TABLEVIEWCONTROL.
            data filters type tableviewFilterTab.
            field-symbols: <filter> like line of filters,
                           <wa>     type IHTTPNVP2.
            append initial line to filters assigning <filter>.
            <filter>-columnName = 'connid'.
    i want to fetch all connid value from DB in the dropdownlistbox ,insteed of giving manually.here manually i am giving the value to the dropdownlistbox.
    i tryed in some ways,but still i am not getting.    
    can any one help me to sole the probs.
            append initial line to <filter>-dropdownlistbox table assigning <wa>.
            <wa>-name = '*'.
            <wa>-value = '*'.
            append initial line to <filter>-dropdownlistbox_table assigning <wa>.
            <wa>-name = '0820'.
            <wa>-value = '0820'.
      %>
       <htmlb:tableView    id            = "tv2"
                           headerText    = "Books that match your query"
                           headerVisible = "true"
                           footerVisible = "false"
                           design        = "ALTERNATING"
                           visibleRowCount = "30"
                           filter           = "server"
                           sort             = "server"
                           columnFilters     = "<%=filters%>"
                           onRowSelection = "MyEventRowSelection"
                           selectionMode = "SINGLESELECT"
                           table         = "<%= itab  %>" >
    with regards,
    ravi.

    Hi Ravi,
      Go through the weblog,
    /people/sap.user72/blog/2005/05/05/bsphowto-filter-using-dropdown-in-tableview
    Regards,
    Azaz Ali.

  • How to get the count of the entries in the table view

    Hello experts,
             I have got a requirement where i need to display the total number of entries present in the table view, since the result comprises of several pages. This requirement is even applicable for the filter options in the table view i.e., if i use a filter it should count the total number of entries that satisfy the filter criteria.
    Thanks in advance,
    Vijayalakshmi

    hi,
    its simple,just place an input field in the layout and display the cpunt in that field.
    for that do as below,
    first in the layout of the page where you are giving tableview tab,in the next line give
    <b><htmlb:inputField id="Count"
                      value="<%=ln%>"
                      disabled = 'X'/></b>
    to display the count in that input field which is disabled.
    and if i am mot wrong in the Initialization event, you are writing select query right to populate internal table.
    after that write,
    <b>describe table it_mara lines ln.</b>
    and define this ln in page attributes as type i.
    do award points f it helps u,
    regards,
    Message was edited by:
            sowjanya s

  • Creating subtotal in a table view

    Hi All,
    Can I create a subtotal in a Table view based on particular column? Any help would be appreciated.
    Thanks in advance,
    RK

    Hi,
    I am using Siebel Analytics 7.5 version, I don't see the ∑ symbol on the column options (along with filter, properties, sorting, etc.). Is this feature is not available in this version.
    Thanks in advance,
    RK

  • To determine the number of rows selected in a table view (BSP)

    Hi,
    My requirement is:
    I would be selecting 1 row from a table view ( which is made multiselect for another requirement) , and press a button.
    The functionality of button is to open a popup window based on the row selected.
    I want to display an error message if more than 1 row is selected, and button is clicked.
    Message will say that "you cannot select more than 1 row".
    For this,  I need to know how I can get the number of selected rows in a table view.
    I tried using the below code.
    But I feel this will work only in DO_HANDLE_DATA method.
    The popup would open, even before control comes in this method.
      CALL METHOD cl_hrrcf_iterator=>get_tv_index
        EXPORTING
          p_id               = p_tableview_id
          pt_form_fields = table_form_fields
        IMPORTING
          pt_indices      = sel_row_index_tab.
    Could you please provide me with a solution.
    Quick replies will be highly appreciated.
    Thanks,
    Nisha Vengal.

    Hi ,
    Your TV :
    <htmlb:tableView id              = "tv1l"
                                   design          = "alternating"
                                   visibleRowCount = "10"
                                   fillUpEmptyRows = "true"
                               onRowSelection  = "MyEventRowSelection" <----This is the event you have to use
                                   selectionMode   = "MULTILINEEDIT"
                                  filter          = "SERVER"
                                   table           = "<%= some table %>" >
    in DO_REQUEST:
    DATA:  tv                  TYPE REF TO cl_htmlb_tableview,
           tv_event          TYPE REF TO cl_htmlb_event_tableview ,
           event             TYPE REF TO if_htmlb_data.
    event = cl_htmlb_manager=>get_event( request ).
    IF event IS NOT INITIAL AND event->event_name = htmlb_events=>tableview.
      tv_event ?= event.
      CASE event->event_server_name.
        WHEN 'MyEventRowSelection'.
    count = count + 1 .
    if count ne 1 .
    errmsg = 'Your message'.
    endif.
    ENDCASE.
    ENDIF.
    in View/Layout:
    <% if errmsg is not initial. %>
    <s cript t y p e   =   t e x t / j a v a s c r i p t >
    a l e r t ("<%= errmsg %>") .
    </ s c r i p t>
    <% clear errmsg. %>
    <% endif. %>
    errmsg is a class attribute of type string and count is also a class attribute of type c .
    Regards,
    Anubhav.
    Reward if useful
    Edited by: Anubhav Jain on Sep 19, 2008 3:08 PM

  • Data Extraction from SAP R/3 Table View in BW

    Dear All,
    I am trying to create a BW query from SAP R/3 Table View.
    Till now i have created a table view
    Extracted Data source in R/3 Useing Tcode : RSA3
    In BW Side
    1. I have replicated the data source in Source system
    2. Created  info object
        and info object catalog
        and assigned it
    Now i am little confused over what to do next
    wheather to create ODS object in info cube,
    Please guide me with rest of steps to follow.
    Regards,
    Gaurav

    Hi,
    After replicating DS in BW, you have to maintain ODS or Cube for maintaining data in BW.
    After loading data into Data Targets you can create Reports based on those Data Targets.
    For better reporting performance you can create Cube rather ODS.
    Info Source(After Creating info Objects, you have to create a Transfer Structure to map the Fields.)
    Then create a Data Target ODS/Cube.
    Update rules
    Info Package
    Hope it helps you .
    Let us know if you still have any issues.
    Reg
    Pra

  • Transfer Table View from R/3 to Sap BW? How to Replicate DS form R/3 to Bw?

    Dear Friends ,
    I have a requrement where I need to transfer a Table view from SAP R/3 to SAP BW System.
    I have made view ,
    In RSO2 identified Data source
    In RSA3 Did the data extracion process.
    I need proceeding steps to follow in SAP BW
    1. Replicate the data source
    2.Etc
    Regards,
    Gaurav sood

    Hi Gaurav,
    Your question is not clear.
    There is no need to transfer view from R3 to BW.
    ONce the datasource created in r/3 by using views or tables you have test the datasources wther it extract records or not.
    Once the testing is done then in BW side you have to replicate using RSA1 tcode and then extract data from r/3 to bw...
    Hope it helps..let me know if its not clear
    Regs,
    VAC
    Assign points if helpfull

  • OBIEE 11G help with report narrative and table view

    Hi,
    I have a report designed like the below, I have used "narrative view" for customer detail and "table view" for order detail. In the narrative view I can say row = 1 and it picks up the first record of the customer detail, but order detail shows all rows. How can I control it so the order detail shows only the detail record of the customer associated. Also how do I go to the second record and so forth. Please help. If this is not possible and if there are any alternates, please let me know. Thanks for your time and help.
    Customer Number:
    Customer Name:
    Customer Address:
    Order Detail:
    Line number | Order No | Order description | Order Status

    ssk1974 wrote:
    Hi,
    I have a report designed like the below, I have used "narrative view" for customer detail and "table view" for order detail. In the narrative view I can say row = 1 and it picks up the first record of the customer detail, but order detail shows all rows. How can I control it so the order detail shows only the detail record of the customer associated. Also how do I go to the second record and so forth. Please help. If this is not possible and if there are any alternates, please let me know. Thanks for your time and help.
    Customer Number:
    Customer Name:
    Customer Address:
    Order Detail:
    Line number | Order No | Order description | Order StatusWhy don't you do this?
    1) Build a dashboard prompt for Customer Number. and save to a PV.
    2) Build a report with all the columns for customer and order (in Criteria View) with a filter for the PV to capture the dashboard prompt.
    3) Build a pivot table with Customer Number and Customer Name in the Rows section. Put the Customer Address in the Measures section and change the Aggregation Rule to Max.
    This will serve as the summary table showing only the information of the customer selected.
    2) Build Pivot Table:2 with the Order details.
    3) In the Compound Layout, put Pivot table one on the top and Pivot Table:2 below it.
    When a customer is selected, you will have the customer data with the order details under it for that customer only.

  • How to read specific entry in standard table view :

    Hi Friends,
    Can anybody please give me code on how to read a record in table view having 5 records.
    I have a requirement on how to read the specific address out of 5.
    I tried doing in ON_NEW_FOCUS method.
    Thanks,
    Chitrakant

    Hello,
    Try to do it in the DO_PREPARE_OUTPUT mathod before calling super->do_prepare_output( ). What we need to do is,
    1. get the collection from context node ( get_collection_wrapper )..
    2. filter the entity based on the value ( using iterator !!! )
    3. set back to context node
    4. call super->do_prepare_output.
    Hope it helps.
    Regards,
    Sandeep Kumar B

  • BSP table view concatenation

    Dear SAP Gurus,
    I am working in SAP BSP. I have a table view, in that, I have concatenated date and time field.
    I want to create a filter there.  Since it is concatenated, the filter is not working.
    Please help and guide me how to resolve it.
    Regards,
    Abu.

    I agree with Graham...you can implement iterator concept to tackle the requirement...
    in TableView element there is a parameter name "Iterattor" which can hold instance of any iterator class...
    you can use local or global class to write logic...
    correct method can be "Column_Rendering" (can not remember exact name, please check in the interface avaialble in TableView element)
    Thanks

Maybe you are looking for

  • URGENT **** Need help for JAX-RPC Web Service Proxy deploy to OC4J 10.1.3.5

    Hi everyone! I’m really new to web services. I’m getting a *500 internal server error* while deploying my JAX-RPC web service Proxy to an Oracle AS, in an OC4J, v. 10.1.3.5.0. Running my client from my development environment (*jdeveloper 10g, 10.1.3

  • Data Load to BI (7.0 SP 9) from R3(ECC 6.0 SP-Basis 9)

    Dear All, We have new instance of Devlopment BW System with version 7.0 and R/3 upgraded to ECC6.0. We connected the source system. When we extract the data through DTP the data load is sucessful with 0 Records. This is case with all the extractors.

  • SOA Order Application Demo for 10.1.3.5 Patchset

    I have installed all the necessary required softwares for the SOA order application demo, 1. SOA suite - 10.1.3.1 and then later patched it to 10.1.3.5 2. Installed Jdev 10.1.3.5 and Oracle 10g XE database 3. I have downloaded the order application d

  • Intermedia - ORDWEBUTL package NOT found Error.

    Hi, The intermdeia Clipboard gives the following error message : The ORDWEBUTL package was not found in the requested database. Please contact your database administrator. How do I install this package in the database ? My OS : Windows 2000 Pro. Web

  • Loading a dropdown box

    I am having a nightmare of a time with this, and I know it should be easy. I have a dashboard named "Dashboard - Main" with a dropdown box named "DropDown1" and I want to populate it with the results of a query named "Query1", with the field that I w