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.

Similar Messages

  • MSS custom query restrictions (table/view/join)

    Dear all,
    We are currently trying to integrate a sap query which also gathers data from event management. This query is based on an infoset and a table view and not on a logical database.
    When executing the query within the portal (generictableview iview) we get the error message "No data records found". While debugging the function module HR_INFO_GET_USING_QUERY which is called here we found out that the error message is generated because no logical database is retrieved.
    Therefore my question is: are mss queries in portal restricted to queries which are based on logical databases only or can we create and use queries in portal which are based on table/views/joins?
    Any help on this issue is greatly appreciated!
    Thanks already very much in advance,
    Helga

    Hello MIG,
    I am still searching and I have not found a solution yet.
    Interestingly enough the query can be executed without any problems in R/3 but not from the portal iView. Therefore I am wondering if it is only a restriction on the MSS side.
    @forum users: did anyone of you face this problem and has a solution to it?
    Thanks very much for any input on this!
    Kind regards,
    Helga

  • How to Query E-Business Tax tables/views

    I run SQL queries on the following tables:
    ZX_TRANSACTION
    ZX_TRANSACTION_LINES
    but it returns no rows. How to query ZX tables/views?
    My main purpose is to retrieve tax code which is in 12i no longer available in AP Transaction Distributions table/view.
    Please advise.
    Thanks in advance.

    Hi Srini,
    I followed PL/SQL procedure stated in note 415860.1. But still can't do the query. See below.
    SQL> begin
    2 fnd_global.apps_initialize(1079,51569,235);
    3 mo_global.init('ZX');
    4 end;
    5 /
    PL/SQL procedure successfully completed.
    SQL> select count(*) from ZX_TRANSACTION
    2 /
    COUNT(*)
    0
    SQL> select count(*) from ZX_TRANSACTION_LINES
    2 /
    COUNT(*)
    0
    Thanks,
    Corry

  • RMAN Last Completed Backup recorded in any table/view?

    Hi Friends,
    we are running RMAN backup of Full Database every day on 11g R2 Database.
    I would like to know where can i query the last completed backup date/time (in any table/view...) so that i will put a script to query that table/view to verify that the backup is completed .
    Regards,
    DB

    Hello;
    if you are using a catalog you can try this :
    select
            db_name,
            start_time,
            end_time,
            status,
            time_taken_display,
            output_bytes_display,
            output_device_type,
            session_key,
            session_recid,
            session_stamp
    from rc_rman_backup_job_details where end_time > sysdate -1If you not using a catalog V$RMAN_BACKUP_JOB_DETAILS should provide similar information.
    Best Regards
    mseberg

  • How do I use the option "table view" in NetWeaver 2004s Query Designer?

    Dear,
    We have used NetWeaver 2004s Query Designer, We found a strange problem. The option to select table view is not available. It is greyed out. How can you select table view (tabular) in 2004s Query Designer?
    I have read the help doc about tabular view of NetWeaver 2004s Query Designer, I check my query, it has only one structure . but the option is still greyed out. I rebuild the query with 3.x Query Designer in tabular view, and reopen it with 2004s Query Designer, So there is a tab named "tabular view" display, but the option to select table view is still not available, and when users view the query result in web , it is still not in tabular view display. So I am confused, is there a bug with NetWeaver 2004s Query Designer?
    Please help me. Thanks!

    Note 1002271. Seach this note to use key word "table view"

  • Unable to create visual composer table view from the Bex Query

    Hi
    I am trying to create the visual composer lay out from a Bex query. The Bex query contains a set of Key figures and a structure.
    These key figure and structure combination is forming a table in the query output. Key figure parameters are coming as rows and Structure parameters are coming as columns.
    example query out put:
    Total, HPC, FDS excel ICe etc are as Structure elements and coming as columns in query out put and
    Invoice value, Gross sale value, Efficient operations etc are as Key figure elements in query and coming as rows in query out put.
    But if I map this query to visual composer table view all these are coming as columns as given below.
    Total Invoice value ,             Total Gross sale value,    Total Efficient operations,      HPC Invoice vale,.........
    And if execute the query will giving the out put in single row.
    Can anybody help me out to map this in the row column format?
    Is it really possible to do in VC?
    I am using CE 7.2. The VC model I need to be embedding in BPM.
    Please help me to solve this issue. I completely stuck up this issue.
    Regards
    Sajith P
    Edited by: Sajith P on Aug 17, 2010 3:07 PM
    Edited by: Sajith P on Aug 17, 2010 3:15 PM

    Hi,
    Try to use some function module which will convert query data into flat tables. (eg., RS_VC_GET_QUERY_VIEW_DATA_FLAT).
    Hope this solves your issue.
    Regards,
    Vinay

  • Table View in Query Designer is not avaliable

    Hi Guru:
    The "table view" in the menu item "View" is grey in the query designer.
    I have only 1 structure ( key figure structure ) in my query.
    How to change it to the "Table View" mode then?
    Thanks.
    Eric

    Hi
    Please create another structure in your query. Once you have 2 structures then only table view will be enabled.
    Regards
    Pradip

  • Query and update a table/view

    What is the best & fastest way to do this?
    1) Put up a query input region for users to enter parameters.
    2) Run a query on a table/view using those parameters.
    3) Allow the output in (2) to be modified by user (multiple rows at a time) and then Submit the updates back to update th table/view
    I can do (1) and (2) easily. How can I do (3)?
    Thanks

    Make a report on the table. Go to the definition of
    the report column and change the "Display As" type to
    text field or select list or whcih ever is
    applicable. Write a process on submit to insert these
    values back to the table. You will have control over
    which columns the user can modify.Thats a good idea and I was able to start on it. But how can my after submit process tell which rows to modify? i.e. what will my after submit process look like?
    for rec in (....)
    loop
    update my_table set
    end loop;
    Help? Thanks

  • Getting a "Displaying only the newest results below. To view all results, narrow your query by adding a filter" message in error

    I have a list with almost 10000 items. I have a view that should be returning 8 items. For me, the Farm Admin, I see the full set of expected values. The message "Displaying only the newest results below. To view all results, narrow your query by
    adding a filter" shows for other users. This makes no sense -
    there ARE filters on this view. I'd rather not increase the throttle limit.
    Anthony Kelly

    Hi Ajk,
    Check that the list is not scoped by an audience; but, I'm afraid that either way admin, (e.g. non Farm admin or site collection admin)
    I'd recommend exporting to excel, create two new spreadsheets and then import as custom lists.
    Best of luck and cheers,
    Stacy Anothersharepointblog.blogspot.com

  • 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

  • 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

  • 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

  • Value coming from query is chaing in the Table view

    Hi experts,
    I am new to VC and developing a basic model by using a BI query as a data service.
    I have a field "Project Code" which can return value numeric or alpha numeric or Character.
    for example
    Project Code= 14000000000000002782007 or
    ATROVASTATIN
    When i am right clicking the query and doing the test query function its displaying correctly but when i am draging from the output port of this query and using a Table view to display the data the numeric values like in our example "14000000000000002782007" is displaying as 1.4e+23 its displaying the same value where ever i have some numeric value in the field.
    But its displaying the Char value right "ATROVASTATIN" as it is.
    In the table view the field which is getting this value is with Datatype Text.
    How can i solve this problem.
    Thanks and regards
    Neel

    Hi Neel,
    Have a look at this link,
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/sizeof_key+values&

  • Query DB2 tables from oracle using normal view

    This is with regard to querying db2 tables using oracle views. The view is created using dblink. The querying is not an one time activity.querying will be done once in a day. Can i use normal view (will it work ) or should i use materialised view. will i be able to view the added records in db2 table using normal view?
    thanks,
    vinodh

    Vinodh2 wrote:
    This is with regard to querying db2 tables using oracle views. The view is created using dblink. The querying is not an one time activity.querying will be done once in a day. Can i use normal view (will it work ) or should i use materialised view. will i be able to view the added records in db2 table using normal view?How can the SQL select statement via a dblink not work for a view, but the same SQL select statement work for a materialised view?
    Do you think the database link or remote database care whether the select SQL that hits it, comes from a PL/SQL procedure, a view, a materialised view, a job or whatever else? It has no idea what/who is behind that select SQL - and nor does it care.
    As for the benefits of a view vs. a materialised view - that depends on the requirements for needing to use that foreign database's data in the local database.

  • Query Dictionary tables and V$ views in EM

    Hello;
    I want to query dba_ tables and v$ views from Enterprise manager (10g).
    I hv tried that in the Tables -> SYS schema ; But these tables are not shown there. Im unable to query from the EM.
    Able to query from the sql plus , Where i have logged as SYS
    select status from v$instance;
    From where can i access these tables; (in EM)
    v$instance
    v$database
    dba_tablespaces
    Edited by: Zerandib on Dec 8, 2009 8:39 AM

    Zerandib wrote:
    From where can i access these tables; (in EM)
    v$instance
    v$database
    dba_tablespaces
    Those are not tables, they are views. Try looking under Adminstration|Schema|Views with schema as SYS. Keep in mind many of the V$ names, such as V$INSTANCE, are public synonyms for V_$ views. For example V$INSTANCE is a public synonym for V_$INSTANCE.

Maybe you are looking for

  • Intra-pdf-document links not working

    Hello I developed a pdf document in Acrobat 9 Pro Extended with links from a contents page to the subject pages in the publication.  I placed command 'buttons' on these pages to return to the Contents page.  Offline, these are prsent when viewed usin

  • Read write problems

    I have a new macbook pro with 4GB ram and a 3.06Ghz core duo processor. I use Logic Pro Studio with 2 Motu 896mk3's after recording about 13 tracks I am now getting "disk too slow errors" After using activity monitor it doesn't seem to be a cpu or ra

  • Throw "java.util.Vector" exception?

    In my servlet, I got catch(Throwable t), t.getMessage() is java.util.Vector. Can anyone tell me where I should look into for this problem?

  • Flickering Blue Image in iMovie '09 after Snow Leopard update 10.6.2

    Hello Everyone I am having an issue with flickering blue images during transitions in iMovie '09, but only after installing Snow Leopard. I usually only have about 10-15GB of space to spare, as I only have an 80GB HD MacBook Pro Intel Core Duo. Howev

  • Renaming files on both iTunes and the Windows file system

    I use the voice memo app on my iPhone to record things and sync them to my laptop with iTunes. In the past when I renamed the files from the date/time default inherited from the phone, the change was copied to the file stored on the laptop -- so I co