Hyperlinks in table component? Data processing before display?

Hi all!
I have following problem to solve - I have some database tables I need to show on a page. Creating a DataProvider and using it works really fine even with parameters in my query.
But I have some columns with data that needs processing after fetching from data base (e.g. one colum has a value 20060925 with should be shown as date). Who can I do this - implementing my own data provider is the only thing I can think of.
Second, I need one column in my table to be a hyperlink, changing column type will do, but sometimes I would like a simple text (when there are no details to link to). Any ideas for this one?
Thanks in advance,
Jan

You can use the date time converter to display date. or then you can also use the sql function to format the date field before displaying...
for example, If you are using an Oracle database, use the SQL Timestamp converter instead.

Similar Messages

  • Module Pool - Table Control - Data not getting displayed in Control

    Hi,
    I have a table contol in my module pool program. In my processing I am filling an internal table & then in my PBO I am linking the internal table to table control. The issue is that even though the internal table is getting filled correctly (found through debugging), the data is not getting populated in table control. Nothing is populated on screen. I am writing part of code below
    Declaration:
    Types: begin of ty_control,
            SELECTED TYPE C,
            TEXT TYPE DPR_CAUSE_T-TEXT,
          end of ty_control.
    CONTROLS :  TBL_CONT TYPE TABLEVIEW USING SCREEN '9001'.
    DATA:       lt_table_cont type TABLE OF ty_control with header line.
    Fields in TBL_CONT:
       TBL_CONT-SELECTED
      TBL_CONT-TEXT
    PBO Flow Logic:
      MODULE STATUS_9001.
    MODULE fill_data.
      LOOP AT lt_table_cont WITH CONTROL TBL_CONT cursor TBL_CONT-top_line.
      ENDLOOP.
    PAI Flow Logic:
    Loop at lt_table_cont.
       MODULE UPDATE_DATA.
    endloop.
    MODULE USER_COMMAND_9001.
    PLZ let me know what might be the problem. I have been trying to figure out but cant.
    Thanks.

    Hi Sonali,
               When ever you need to do anything with the table control, i mean if u want to display data in table control or you want to validate the data entered in table control Should be done within Loop and Endloop.(PBO or PAI's which ever is appropriate)
    Here the data is not bieng displayed in ur table control because you have not used the MODULE fill_data  between
    LOOP AT lt_table_cont WITH CONTROL TBL_CONT cursor TBL_CONT-top_line.
    ENDLOOP.
    so do it like this
    LOOP AT lt_table_cont WITH CONTROL TBL_CONT cursor TBL_CONT-top_line.
    MODULE fill_data 
    ENDLOOP.
    this will solve your problem.
    Regards,
    Syed

  • By default In a table Data should be Displayed.before clicking the search b

    Hi All,
    I m using adf11g.I have taken adf query with panel(thrgh Drag&drop in named Criteria).after that i have taken table(Drag Drop in a form ) from Data Control.
    So My Requirement is By default In a table Data should be Displayed.after that clicking the search button *then thrgh criteria then data should be displayed.So plz any body help me this question to the answer.I m waiting for ur reply.
    Thanks&Regards
    Anup
    Cell-9987984070
    Edited by: user13098384 on May 10, 2010 12:32 AM
    Edited by: user13098384 on May 10, 2010 12:44 AM

    Hi All,
    Same problem i m getting.By default Data is not comming bfr search button,if search button then data is comming.Plz give me reply.
    Thanks
    Anup

  • Table/Structure for process order's auto batch determined component.

    Hi PP Gurus,
    We're struggling to get the Structure/Table name where data pertaining to process order component which is batch managed and automatically batch determined goes. We know RESB is the table where it gets updated after saving Process order. But we want the structure/table name before saving the Released Process order. Can anybody please help to get it?
    Thanks,
    Abu Arbab

    Abuarab,
    I think it will in structure CAUFVD. Following are the enchancements available as of ECC 6.0,
    PPCO0001  Application development: PP orders
    PPCO0002  Check exit for setting delete mark / deletion indicator
    PPCO0003  Check exit for order changes from sales order
    PPCO0004  Sort and processing exit: Mass processing orders
    PPCO0005  Storage location/backflushing when order is created
    PPCO0006  Enhancement to specify defaults for fields in order hea
    PPCO0007  Exit when saving production order
    PPCO0008  Enhancement in the adding and changing of components
    PPCO0009  Enhancement in goods movements for prod. process order
    PPCO0010  Enhancement in make-to-order production - Unit of measu
    PPCO0012  Production Order: Display/Change Order Header Data
    PPCO0013  Change priorities of selection crit. for batch determin
    PPCO0014  Select process orders for external relationships
    PPCO0015  Additional check for document links from BOMs
    PPCO0016  Additional check for document links from master data
    PPCO0017  Additional check for online processing of document link
    PPCO0018  Check for changes to production order header
    PPCO0019  Checks for changes to order operations
    PPCO0020  Process order: Display/change order header data
    PPCO0021  Release Control for Automatic Batch Determination
    PPCO0022  Determination of Production Memo
    PPCO0023  Checks Changes to Order Components
    Regards,
    Prasobh

  • Error message: when downloading data from 2nd display tag table

    I am using disaply tag to display data in jsp page. I am using three different section to display the data with three display tag table. The data is displaying correctlly. The display tag downlod excel sheet is working for first display tag table. When i am trying to download data from 2nd and 3rd display tag table i am getting following error:
    Exception: [.TableTag] Unable to reset response before returning exported data. You are not using an export filter. Be sure that no other jsp tags are used before display:table or refer to the displaytag documentation on how to configure the export filter (requires j2ee 1.3).
         at org.displaytag.tags.TableTag.writeExport(TableTag.java:1438)
         at org.displaytag.tags.TableTag.doExport(TableTag.java:1364)
         at org.displaytag.tags.TableTag.doEndTag(TableTag.java:1215)
         at org.apache.jsp.InstalBase_005fReport_jsp._jspService(InstalBase_005fReport_jsp.java:974)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:595)
    As per the Exception i don't have any jsp tag before the display tag.
    Please help me if any body has any solution for the above exception.
    Thanks in advance.
    Smruti..

    See also http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

  • Cannot display table's data from an Excel File

    Hi everyone,
    I have uploaded my excel table to ODI but now i got an error message on a window that whenever I try to see the info and it says more o less the following:
    Oracle Data Integrator Error
    Cannot display table's data.
    java.sql.SOLException: [Microsoft][ODBC Excel Driver) The Microsoft Jet database engine cannot open the tile '(unknow)', It is already opened exclusively by another user, or you need permission to view its data.
    Has any one faced this issue before?
    I assume that it is something with the ODBC, but as far as I know it was all right.
    I would really appreacite any ideas on how to solve this issue.
    Best regards.
    J                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Something is reading your file, have you got it open in Excel?
    I've had similar issues reading Excel via ODBC with OBIEE - once a process opens it you might find you need to kill whatever it was and restart it.
    So its either you or the ODI Agent / Console , try restarting it if its not you.

  • Table component disturbing the order of rows while displaying

    HI,
    In jspx when ever data is displayed in table,when we select last page the table component
    is displaying data which is not sorted.(values given to table are changed in output).
    This is occuring only in last page.
    EX:If i have 87 records with pagination,where 15 are displayed.
    when i select to last page the output from my query is not matching the data viewed.
    Using apache trinidad1.0.5
    Regards,
    Vin
    Edited by: vinTK on Apr 26, 2012 6:16 AM

    I think that it's a very common situation.
    No ideas?
    I think that it's interesting to create appz with great performance.

  • Custom table(in separate Tray) to display Vendor Master data inSRM 7.0

    Hi,
    How to add custom table as a tray in under Bidder data Tab of Display Supplier screen. All the ther trays in that Tab are under FPM_OIF_COMPONENT.
    Do I need to modify FPM component? If so than how can I catch the Business Partner Number as the data needs to be fetched based on that.
    I am using SRM 7.0 version.

    Moderator message - Cross post locked

  • Accessing list of DISPLAY objects in a table component.

    Hi there,
    I am using a class that extends ObjectListDataProvider to populate a JSF table component.
    I need to access the list of objects that are actually displayed currently in the table. The table uses pagination so there are other table elements not displayed and I do not want those.
    Can someone help me?
    thanks

    Hello,
    I've been working with this method and it works good with pagination as far as you do not start to sort the table... it starts to append new rows at the end.
    The only workaround I've found so far is to call clearSort() before getting the ids... but that is just partially nice...
    So, maybe I'm doing something wrong or maybe there is a bug that could be fixed in 1.2?
    Regards,
    Rob

  • How can read BOM component date before save the production order??

    Hi Experts,
    In our company, we need to develop a program to read the BOM component data of the production order
    before we save the production order.
    That for example ,when we create and release a production order , before we save the production
    order,we want a porgram to read the BOM component data. If some component data can meet our
    requriement (may be if there is material requirement quantity>100 EA),then the system will pop up a
    small dialog box to remind us.
    There is user exit PPCO0007 and PPCO0007.But it seems they only can read the head data of the
    production order before we save the production order. And the BOM component data of the production
    order are saved in the RESB(Reservation Table).So if we do not save the production order,all the BOM
    component data are not saved in the RESB table.
    So how can slove the problem??
    How can read component date before save the production order??
    Are there any other user exit we can use???

    Hi Just wanted to check am I right that you are trying to check if you have enough Materials Available before you release or Save the order right ? if this is your business objective then when you create order you have material availability tab which checks and gives error if shortage is there. Please let me know if is this wht you asking for ?

  • Issues loading data in table component after dploying to tomcat5.5.28

    Hi
    I export a war file from sjsc2 u 1 into tomcat5.5.28 and also set up jndi to point to the datasource properly but displaying table component with the data loaded from creator.i'm getting the following error
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    root cause
    java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.locatorsUpdateCopy()Z
         com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:972)
         com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1410)
         com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1219)
         com.sun.data.provider.impl.CachedRowSetDataProvider.absolute(CachedRowSetDataProvider.java:283)
         com.sun.data.provider.impl.CachedRowSetDataProvider.getRowKeys(CachedRowSetDataProvider.java:232)
         com.sun.data.provider.impl.CachedRowSetDataProvider.cursorFirst(CachedRowSetDataProvider.java:351)
         com.sun.data.provider.impl.CachedRowSetDataProvider.setCachedRowSet(CachedRowSetDataProvider.java:182)
         com.sun.data.provider.impl.CachedRowSetDataProvider.close(CachedRowSetDataProvider.java:209)
         epnl_idbadge.managers_browse_screen.destroy(managers_browse_screen.java:380)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:580)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
    Pls can anyone show me the way out.
    Thanks in advance

    Thanks for your response ,I have the following drivers in my Tomcat\common\ lib
    ojbc14.jar
    ojbc14_g.jar
    ojbc14dms.jar
    ojbc14dms_g.jar
    orai18n.jar
    Pls check if there is any thing i need to do to make it work right.
    Thanks

  • Trouble displaying referred value in Table component

    My need:
    I have a database table (call it Table A) that I'd like to display, row-by-row, but I have several columns (say, columns 1 and 2) that store integer values which, in turn, reference lookup tables (call them Tables B and C). Rather than display the integer values from Table A's columns 1 and 2, I'd like to substitute the equivalent String values from lookup Tables B and C in my visual Table component.
    What's the best way of achieving this? I currently retrieve data from a simple CachedRowSet stored in my SessionBean1 (it's just a SELECT * from Table A), but I suppose I could create a new CachedRowSet that joins to Tables B and C for the values in Table A's columns 1 and 2.
    Is there a better (maybe even simpler and more elegant) way?

    You could right-click on the rowset in the Outline window and choose Edit to open the query editor. You can drag in tables B and C, and elminiate any columns you don't need.
    You can have several dataproviders bound to this rowset, and tables bound to the dataproviders. You can choose which columns to display in each table.
    See http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/databoundcomponents.html
    Chris

  • How to display a 2D array in a Table Component?

    I want to use the Table Component to display a 2D array of data from my program so I can use the sort feature. The Table Component seems to be geared to a database table; is there a simple way to set up the table directly from the array? My 2D array has a fixed number of columns, so that is easy to set up, but the number of rows depends on prior user input.

    Hi!
    Try to read this article:
    http://blogs.sun.com/winston/entry/displaying_two_dimensional_data
    I think it will help You.
    Thanks,
    Roman.

  • Jsf data table component + print null cell

    I am using the jsf data table component and binding the column values to a backing bean.
    <h:dataTable binding="#{backing_showDifferences.dataTable2}"
    id="dataTable2">
    <h:column binding="#{backing_showDifferences.userColumn1}"/>
    <h:column binding="#{backing_showDifferences.userColumn2}"/>
    <h:column binding="#{backing_showDifferences.userColumn3}"/>
    </h:dataTable>
    - some code from my showDifferences.java
    HtmlOutputText column1Text = new HtmlOutputText();
    vb =
    FacesContext.getCurrentInstance().getApplication().createValueBinding("#{users.uclass}");
    column1Text.setValueBinding("value", vb);
    usercolumn1.getChildren().add(column1Text);
    HtmlOutputText column2Text = new HtmlOutputText();
    vb =
    FacesContext.getCurrentInstance().getApplication().createValueBinding("#{users.ue1}");
    column2Text.setValueBinding("value", vb);
    usercolumn2.getChildren().add(column2Text);
    HtmlOutputText column3Text = new HtmlOutputText();
    vb =
    FacesContext.getCurrentInstance().getApplication().createValueBinding("#{users.ue2}");
    column3Text.setValueBinding("value", vb);
    usercolumn3.getChildren().add(column3Text);
    ResultSetDataModel dataModel = new ResultSetDataModel();
    dataModel.setWrappedData(rs);
    dataTable2.setValue(dataModel);
    The raw HTML:
    <table id="form1:dataTable2" class="iuptable" border="1">
    <thead>
    <tr>
    <th scope="col">Heading 1</th>
    <th scope="col">Heading 2</th>
    <th scope="col">Heading3</th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td>some data in this column</td>
    <td>X</td>
    <td></td>
    </tr>
    <tr>
    <td>Some more data in this row</td>
    <td>X</td>
    <td></td>
    </tr>
    </tbody>
    </table>
    My problem is this...in the raw HTML the <td></td> tag is not formatted nicely on my table output. I have lines around my entire table and each cell within it. When the <td></td> prints there are no lines. I am new to the JSF table data component, but if I were writing some JSP or servlet code I would check that if value was null I would append an &nbsp to the <td> tag (ex. <td>&nbsp</td>) and the table would be formatted properly. The backing bean that I am binding to is pulling the data from a database table...so my sql looks like this:
    SELECT uclass, ue1, ue2 from table1; my problem is when ue1 or ue2 is a null value.
    Any ideas would be greatly appreciated!

    Hi,
    the h:dataTable belongs to the JSF Reference Implementation from Sun, not to Oracle ADF Faces. The rendering is within this component set and I suggest to report your issue on one of the SUN forums (http://forum.java.sun.com/forum.jspa?forumID=427) as we have no handle to e.g. fix an issue if it exists in the component set.
    Frank

  • What is the step by step process to create a table in data dictionary?

    hi,
    What is the step by step process to create a table in data dictionary?
    regards.

    sorry, question resolved.

Maybe you are looking for

  • Cannot install lion. "The Disk is Locked" help please!

    I was hoping someone could help me.  I just downloaded the Mac OS X Lion and when trying to install, it says there is an error with the disk and that it is locked and cannot install.  Does someone know how I can fix this?  Now I am also worried that

  • Is it possible to alter the URL address displayed in my browser?

    Hello Everyone I work in Special FX for a TV show largely in computer graphics.  I specialize in Maya, Photoshop, Illustratro and AutoCad.  However I have a little Dreamweaver experience and got roped into a new project. Here is the effect I need. So

  • Pricing in PO without Invoice

    Dear Experts, Do you know any standard way to activate the pricing in PO which is not relevant for invoicing?? I will appreciate all the help. Regards, Sylwia.

  • Ld error under x86 when linking boost serialization

    Hi all, I am trying to compile and link boost serialization project. I am doing this work under two architectures: - sparc using sunstudio12 libraries and CC version 5.8 - x86 using sunstudio12 libraries and CC version 5.10 Under sparc I can compile

  • MacBook Pro EFI Firmware Update 1.5 (MBP21.00A5.B08 or MBP31.0070.B07)

    Everytime I check for updates I am notified that MacBook Pro EFI Firmware Update 1.5 (MBP21.00A5.B08 or MBP31.0070.B07) needs to be installed...I have installed it a number of times (at least 5 times). Even after restarting the machine when I check f