How to acheive Pagination and Dynamic sorting in Web layout.

Hi All,
I'm new to Oracle Reports. I use Report Builder 10.1.2.0.2.
I tried creating a template for simple tabular report. I modified the tempalte for Paper layout, Web layout ie modified .tdf, html, css files.
When the data is dispalyed in the web browser, i need to do Pagination and dynamic sorting (ie when the column heading is clicked, it needs to do sorting by that column).
In the jsp page of the report, it is possible but i want to incorporate this functionality in the Template. So that a single template can be used across multiple reprots with out any modification.
Can any one please tell me how to do this.
Please reply me at the earliest. Its very urgent.
Thanks & Regards,
P. Gayathri Devi

Igor,
You'll need to switch from using Partial Page Rendering to full page submits on that report. In version 4.0 we should be getting more control over event handling in PPRs but to what extent is still unknown.
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
http://sourceforge.net/projects/plrecur

Similar Messages

  • Error is in example  "How to Create Online and Offline Forms in Web Dynpro"

    Hi,
    I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
        at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
        at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
        at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
        ... 34 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    Version null
    DOM version null
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
    J2EE Engine 7.00 patchlevel
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Session & Other
    Session Locale en_US
    Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
    Web Dynpro Code Generation Infos
    local/TravelRequest
    SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates (unknown)
    SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
    SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
    sap.com/tcwddispwda
    No information available null
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    java.lang.NullPointerException
         at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
         at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    So please help me to correct this error .....
    Help will be rewarded.
    Regards,
    Gurprit Bhatia

    Hi Gurprit,
    A null value is being passed at runtime. Make sure that you enter values when filling in the form.
    Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
    In wdDoInit() method:
    wdContext.currentNodeAElement.setValueA("");
    Context is as follows:
    RootNode
      |____NodeA
            |_____ValueA
    Hope it helps.

  • How to acheive between and condition for dates in prompts

    Hi all,
    can any one tell me how to achieve between and condtion in obiee 11g
    i used like this,
    i in the filter i put active date is between and put two presentation variables(pre_var1 and Pre_var2) and in prompts
    is used to one prompt active date is between when i am passing the same date the result is not getting. the prompt that i used is set a presentation variable(Pre_var1) is it correct?
    can any one help in this

    HI,
              What i got from ur ques is that u want single record for every customer havin oldest start date and most future end date. If it is so then in ur update routine from source ODS to Target ODS try this code :
    Sort data_package by customer startdate ascending enddate descending.
    delete adjacent duplicates from data_package comparing customer.
    after sorting u will have all records of a customer together with oldest start date and most future end date as first record. Delete will remove rest of the records for a customer from data_package.
    Regards:
    Jitendra
    Edited by: Jitendra Gupta on Jul 11, 2009 12:53 PM

  • How to add Tabs and List Boxes in Webi Report in Reporting Area(Not Report Filters & Input Controls)

    Hi All,
    I have a requirement to use some components called List Box and Tabs in my WebI report for presenting the information by dynamic dimension and measure selection using list box and segregate information by using Tabs as in below image.
    Image was prepared in MSPaint not executable webi report.
    Is it possible to integrate the list box and tabs into Report Zone in BO Webi? as show in below image?
    Thanks in Advance
    Muralidhar Reddy N

    Hello Muralidhar Reddy,
    The exact tool for your requirement is SAP BO Dashboard or SAP BO Design studio. WebI is a tool for ad-hoc reporting tool and we have limited functionalities to make dashboards using webI. You can have all those chart options in WebI and you can use Input controls or drill filters for restricting data. But you cannot have these selection components in reporting area. Tabs as shown in above post, you can have in bottom of the report.
    find below a good example of dashboard using WebI
    http://blog.davidg.com.au/2011/04/webi-as-dashboard.html
    hope it helps
    Regards,
    Nikhil Joy

  • Report developed in 6i and open and run in 10g, Web Layout is not working

    Hi,
    Initially reports were developed in Reports 6i now we need to convert into 10g. I just opened the .rdf in Reports10g. Report is successfully running in paper layout and showing the data. But when i try to run the report in Web Layout im getting a BLANK INTERNET EXPLORER SCREEN. Why is it so? What should i do to run my report successfully in Web Layout? When i see Web Source, i am seeing the below code,
    <%@ taglib uri="/WEB-INF/lib/reports_tld.jar" prefix="rw" %>
    <%@ page language="java" import="java.io.*" errorPage="/rwerror.jsp" session="false" %>
    <%@ page contentType="text/html;charset=ISO-8859-1" %>
    <!--
    <rw:report id="report">
    <rw:objects id="objects">
    </rw:objects>
    -->
    <html>
    <head>
    <meta name="GENERATOR" content="Oracle 9i Reports Developer"/>
    <title> Your Title </title>
    <rw:style id="yourStyle">
    <!-- Report Wizard inserts style link clause here -->
    </rw:style>
    </head>
    <body>
    <rw:dataArea id="yourDataArea">
    <!-- Report Wizard inserts the default jsp here -->
    </rw:dataArea>
    </body>
    </html>
    <!--
    </rw:report>
    -->
    Please, guide to achive the Web Layout Report.
    Thanks & Rgds,
    M Thiyagarajan

    Hello,
    The answer is in the Migration FAQ :
    When I open an Oracle6i Reports Developer report in the Oracle Reports Builder 10g and run my Web layout, I get an empty Web page in my browser.
    http://www.oracle.com/technology/products/reports/htdocs/faq/faq_migration.htm#368
    Regards

  • Pagination and interactive sort for drilldown report doesn't work fine

    Hi Anyone,
    I have a drilldown report includes three groups. I add the last group for pagination. But the details in each page doesn't accord to I specified and the detail record number is different in different page.
    Another issue is the interactive sort always sort in the first page scope. I set the data region or grouping to the table, and evaluate expression scrope to Detail scope.
    Anyone has experience on that?
    Thanks a lot

    Can you explain your scenario giving screenshot to make us understand how your groups are?
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How do I permanently and automatically sort bookmarks alphabetically using a Mac?

    Have followed various suggestions from info already provided by Firefox, but changes in sorting will NOT remain permanent or automatic. Details relating specifically to Mac might help.

    App Store Resource Center - Apple Developer
    and here >  http://developer.apple.com/appstore/guidelines.html
    The Mac App Store can only be accessed from a Mac running Snow Leopard v10.6 +

  • Pagination and dynamic objects problem

    I'm designing the form below in LC. Sections of the form are set to hidden depending on checkboxes in the form. What I would like to happen is an object to appear in the center of every page footer that:
    has a field that needs approval (any field)
    doesn't already have an approval signature on it
    Does this need to be done with multiple master pages since the footer is part of the master?
    The form should be obvious when you open it. Essentially, there needs to be approval on all form pages with data on them. The exceptions being a page that already has the approver's signature on it or a page with no form data on it.
    Thanks,
    Kevin

    Is the following pseudo-code possible? It would likely go into the prePrint method for the form.
    for (int i = 0; i < numPages; i++) {
        if (page[i] contains signatureSubform || page[i] contains-only textSubform) {
            page[i].intialsSubform.presence = "visible";
        } else {
            page[i].intialsSubform.presence = "visible";
    This form also presents the problem more clearly. It has a dynamic table instead of checkboxes.

  • How to Populate Scrath Pad dynamically in IC web client..

    Hi all,
    i am struck in a requirement where i need to autopopulate error message in Scratch pad of IC when CSR accepts the call of Customer.The error message is generated when customer puts any wrong data in IVR.
                                         i don't know how to go about it? If any body suggest some helpful points,
    points wil be rewarded..
    Regards
    Snehas

    Hi,
    Scratch pad is not meant for this purpose. Scratch pad is a free form space for agent to make notes that can be copied anytime during the interaction if required. In your case you could probably create an alert as Francis suggested to you.
    Regards,
    Deepak

  • How to handle exeptions and authorization management in WEB SERVICES

    Hi all,
    Please send some documents or links on handling exceptions in web services and Authorization management also.
    Useful will be rewarded.
    Regards
    Neslin.

    i suggest to consult the documentation at help.sap.com, use the search function to the left or make your question more specific.
    regards, anton

  • JSF Custom component for table pagination and sorting

    hi
    i want such a custom component that render a table and table has the features of pagination and column sorting.
    any one know from where i can get such a custom component.
    (if this component is available with source then it would be more help full for me)
    thnks & regards,
    Haroon
    Message was edited by:
    HaroonAnwarPADHYAR

    I know two companies that offer JSF component for table pagination and sorting and AJAX based :
    http://www.teamdev.com/quipukit/demo/datatable/DataTable_filteringAndPaging.jsf
    http://java.samples.infragistics.com/NetAdvantage/JSF/2006.1/
    The problem? They are not open source..
    And I am too looking forward on this subject, because I want to develop my own custom component and add some features. If someone has any tips, references or samples of their own, it would be really appreciated.
    Thank you.
    Paul

  • Dynamic sort in ALV

    hi all,
    HOw can we write the dynamic sort in ALV.
    regards,
    AJ

    Hi,
    Please find the sample code for dynamic sort in OO ALV
      perform built_sort_table.
    form built_sort_table.
      data ls_sort_wa type lvc_s_sort.
      ls_sort_wa-spos = 1.
      ls_sort_wa-fieldname = 'MATNR'.    "<< here your pass fieldname to sort dynamically
      ls_sort_wa-up = selected.
      ls_sort_wa-subtot = ''.
      append ls_sort_wa to gt_sort.
      ls_sort_wa-spos = 2.
      ls_sort_wa-fieldname = 'STATUS'.  "<< here your pass fieldname to sort dynamically
      ls_sort_wa-up = selected.
      ls_sort_wa-subtot = ''.
      append ls_sort_wa to gt_sort.
    endform.                               " BUILT_SORT_TABLE
        call method grid1->set_table_for_first_display
          exporting
            is_layout                     = gs_layout
            is_variant                    = gs_variant
            i_save                        = 'A'
            it_toolbar_excluding          = i_exclude[]
          changing
            it_outtab                     = i_output[]
            it_fieldcatalog               = i_fieldcat[]
            it_sort                       = gt_sort[]
          exceptions
            invalid_parameter_combination = 1
            program_error                 = 2
            too_many_lines                = 3
            others                        = 4.
    aRs

  • How to open a Query in BPS Web-Layout

    Hello,
    i am new to BPS. How can I open a Query in BPS Web-Layout so that I can enter plan data manually??
    Pls give me the procedure and not links to help.sap.com. Thanks.
    pls help,
    SD

    Hi.
    You can open bex query in BPS Web Layout, but you should update data via BPS layout.
    In BPS Bex query can be opened only for display as long as BPS doesn't allow input via query (only BI7+IP).
    In BPS Web Interface builder add subcomponent "text", set HTML=TRUE, goto property "text", press F4->edit long text and enter HTML tags IFRAME with URL of bex query.
    Regards.

  • How can I execute Stored Procedures in PARALLEL and DYNAMICALLY ?

    Hi 
    I have a stored procedure. It can be executed like this
    exec test @p = 1;
    exec test @p = 2
    exec test @p = n;
    n can be hundred.
    I want the sp being executed in parallel, not sequence. It means the 3 examples above can be run at the same time.
    If I know the number in advance, say 3, I can create 3 different Execution SQL Tasks. They can be run in parallel.
    However, the n is not static. It is coming from a table. 
    How can I execute Stored Procedures in PARALLEL and DYNAMICALLY ?
    I think about using script task. In the script, I get the value of n, and the list of p, from the table, then running a loop with. In the loop, I create a threat and in the threat, I execute the sp like : exec test @p = p. So the exec test may
    be run parallel. But I am not sure if it works.
    Any idea is really appreciated.

    Hi nam_man,
    According to your description, you want to call stored procedures in parallel, right?
    In SSIS, we can create separate jobs with different stored procedures, then set the same schedule to kick the jobs off at the same time. In this way, we should be careful to monitor blocking and deadlocking depending on what the jobs are doing.
    We can also put all stored procedures in SSIS Sequence container, then they will be run in parallel.
    For more information about SSIS job and Sequence container, please refer to the following documents:
    http://www.mssqltips.com/sqlservertutorial/220/scheduling-ssis-packages-with-sql-server-agent/
    https://msdn.microsoft.com/en-us/library/ms139855(v=sql.110).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • When ordering enlarged photos from iPhoto, must I purchase them one at a time and pay a shipping fee for each and very one of them.  Sort of a ripoff but I can't figure how to purchase many and pay one shipping fee.

    When ordering enlarged photos from iPhoto, must I purchase them one at a time and pay a shipping fee for each and very one of them.  Sort of a ripoff but I can't figure how to purchase many and pay one shipping fee.

    You may have better luck posting in the iPhoto forum if no one on this forum is able to assist. I'm sure you are doing something wrong though.

Maybe you are looking for

  • Do you want to erase this iPhone and sync with this iTunes library?

    Why ON EARTH would I want to do this??  Come on Apple, copy protection aside, this is the stupidest prompt in the history of prompts. The basic problem (if you Google it) that many many many many legitimate purchaser's of music are running into is th

  • AS2 loading AS3

    Hi, If I target player 9 and use AS2 code I can load an AS3 swf, I presume that I cannot do anything with this, like poll for its frames etc. I won't go into the details of why I'm doing this but can anyone confirm that AS2 swfs cannot use an AS3 swf

  • Update timestamp from Version to Master

    Hi.  I just realized that I never changed my primary camera's time stamp to DST in November.  Every Image recorded by that camera is off by 1 hour.  (This is not helpful when you are trying to organize Images by solar time.) To fix this, I selected a

  • Can't copy over file with same name

    I have a master folder with lots of photos in it (1000+). When a photo with the same name is updated elsewhere and I want to put it in the folder and overwrite the old photo, I can't do it. It just copies the new file into the folder and changes its

  • Issue updating schema

    I am having an issue extending the forest portion of the schema from Windows 2012 to Windows 2012 R2. The schema seems to be extended but we get a strange error at the end of the process. We cannot extend the domain schema due to this issue. On the s