Pagination concept

how can i use pagination for creating alv with dynamic internal table.

1) Since the rows in a table are inherently unorganized, you will need some way of ordering the results such that you can unambiguously identify what the first row is and what the thirty-first row is.
2) I assume that the intention is not to actually fetch millions of rows 20 at a time using this procedure. If that is the case, you've architected the solution incorrectly.
3) I don't see any mention of what version of Oracle you are using so I'll assume you're using something reasonably recent.
SELECT b.*
  FROM (SELECT a.*
              RANK() OVER( ORDER BY <<something to order the results by>> ) rn
         FROM your_table a) b
WHERE rn BETWEEN 41 AND 60Justin

Similar Messages

  • Pagination Concept in PLSQL

    Hi,
    I have a requirement where in on every page I have to display 20 records.
    Now my table from which I am going to display the data has millions of record.
    My requirement is, I need to write a PLSQL procedure where I will pass the page number say I pass page number as 3.
    My procedure should be such that, it should query only the records from 41-60 and return it to FORM/JAVA/JSP UI calling it. Also it should be good from performance point of view.
    Please suggest me , how I can achieve this.
    Regards,
    Saurabh

    Hi
    Please see the following query. The inner query fetches the records with rownum, make sure that if you want to sort the data, do that in the inner query. The outer query will take care of the 'cut' which you wish to take. Here I have hard coded 40 and 60. you can use two variables and pass them by multiplying the values with the page number which you have.
    Select Rnum, Person_Id, First_Name, Last_Name From (
    Select Rownum Rnum, Person_Id, First_Name, Last_Name From Person
    ) where rnum between 40 and 60
    Hope this helps
    Warm Regards
    -Georgey

  • Problem in pagination

    hi,
    I am working on the pagination concept using JSP and SQL.
    I written stored procedure for pagination..its nicely working and i am using callable statement to call the procedure in my jsp code....if i am passing values within the parameter ..i am getting the answer....but i have to get the value at runtime...
    In my jsp code.i am calling the procedure like this:
    java.sql.CallableStatement proc =
    cn.prepareCall("{call newPage2('%telic%',2,10,24)}");
    its working fine...But i have to get the string from html..I have get the values at runtime rather than passing the values directly...
    Details about the above parameters which i have used in my code :
    The string that be searched - "telic"
    2 = Refers to the current page
    10 = page size(no of items per page)
    24 = total number of records;
    for Example if i am searching for the word "telic".I have the fields in the database such as names,address.
    The word "telic" has to be searched in the above fields.
    My doubts are:
    1) How do i pass the text from the HTML to the stored procedure.
    2) I am not sure about passing the values to a stored procedure at runtime.
         java.sql.CallableStatement proc =
    cn.prepareCall("{call newPage2(?,?,?,?)}");
         How should i pass the values at runtime instead of "?" mark.
    3)Suppose if i am using the getParameter method to get the string value..How can i pass the string variable instead of question mark(?).
    can anyone help me...
    Thanks in advance.

    Read the documentation for CallableStatement. There are methods for setting parameters.
    http://java.sun.com/j2se/1.4.2/docs/api/java/sql/CallableStatement.html

  • Adding pagination in report build from PL/SQL dynamic content using htp.p

    Hi,
    I have a requirement for which i used PL/SQL dynamic content to build my report and i displayed my report using a cursor and loop by HTP.P function.
    Now problem is I have report with more than 500 rows and I want to add pagination concept for this report.
    How can i do that?
    Thanks in advance.
    Regards,
    Smith

    To preserve heading on each page for a HTML table you can use the THEADER, TFOOTER and TBODY tags (see example). To force page breaks, try experimenting with these style attributes:
    <STYLE TYPE="text/css">
         tr.breakhere {page-break-before: always}
    </STYLE>
    <tr class="breakhere">Table Example:
    htp.tableopen;
    htp.print('<THEAD style="display:table-header-group">');
    ... your table headers here
    htp.print('</THEAD>');
    htp.print('<TFOOT style="display:table-footer-group"><TR><TD></TFOOT>');
    htp.print('<TBODY>');
    ... your rows here
    htp.print('</TBODY>');
    htp.tableclose;Edited by: crokitta on Apr 8, 2009 2:07 PM

  • Pagination in JSF

    Hi,
    i'm new to JSF ,
    i just done a sample program which lists all the records through datatable. how to apply pagination concept to this datatable.
    thanks in advance

    Check Using datatables � Paging datatable.

  • Regarding incorporate the two page nations in the same JSP page

    Hi folks,
    i am unable to do two page nations in the same JSP page using paging tag libray,I am getting the follwoing problem while setting the offset value to the Pager.offset.
    I have written the code like this.
    <pg:pager items="<%=size%>" export="sreenyOffset=offset, currentPageNumber=pageNumber;" isOffset="true" scope="request">
         <pg:index export="totalItems=itemCount">
         <% System.out.println("Before currentPageNumber:"+currentPageNumber); %>
         <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" nowrap>
              <tr class="pagenation" >
                   <td width="1%">&nbsp<br><br></td>
                   <td width="40%" align="left"> 
                        <pg:page export="firstItem, lastItem">Displaying results <strong><%= firstItem %>-<%= lastItem %></strong> of <strong><%=      totalItems %></strong> found</pg:page></td>
                             <td width=20%></td>
                        <pg:prev export="pageUrl,firstItem" >
                             <td width="5%" align="right" height="22">
                             <a href="javascript:submitSearchForm(document.organizationForm,'<%= firstItem %>')"><b>Previous</b></a></td>
                        </pg:prev>
                        <pg:pages export="pageUrl,firstItem,pageNumber">
                        <%
                             System.out.println("pageNumber :"+pageNumber+"^currentPageNumber:"+currentPageNumber);
                        %>
                             <% if (pageNumber == currentPageNumber) { %>
                                       <td width="2%" align="right" height="22"><font color=#FFFFFF><%= pageNumber %></font></td>
                             <% } else { %>
                             <td width="2%" align="right" height="22">
                                       <a href="javascript:submitSearchForm(document.organizationForm,'<%= firstItem %>')"><font color=#415481> <%= pageNumber %> <font></a>
                   </td>
                        <% } %>
                        </pg:pages>
                        <pg:next export="pageUrl,firstItem" ifnull="<%= true %>">
                             <% if (pageUrl != null) { %>
                   <td width="5%" align="right" height="22">
                        <a href="javascript:submitSearchForm(document.organizationForm,'<%= firstItem %>')"><b>Next</b></a></td>
                        <% } %>
                        </pg:next>
              </tr>
         </table>
         </pg:index>
              <html:hidden property="offset" value="0"/>
              <html:hidden property="pager.sreenyOffset" value="0"/>
    </pg:pager>
    I need some clarification for following things.
    1)i have given the export like this
    export="sreenyOffset=offset, currentPageNumber=pageNumber;"
         but while setting the offest for pager, i am doing like this
                   <html:hidden property="pager.sreenyOffset" value="0"/>
         can i customize the pager.offset to pager.(someting) like that.
    2)if i use pager.offset for two page nations in the same page pager.offset value is overriding,So i am unable to maintian the page nations.
    3)i can change the offset value into sreenyoffset in the export property of pager tag,if iam able to change the pager.offset value to customized value my problem will solve.
    4)
    can i declare the export property like this.
    <pg:pager items="<%=size%>" export="sreenyOffset=offset, currentPageNumber=pageNumber;" isOffset="true" scope="request">
    Please give me your valuable suggestions,it will be very helpful to me.
    Also give me some suggestions how to do the two page nations in the same page.I am desperately waiting for response.
    Thanks & Regards,
    Sreeny Reddy.

    Hi,
    I was trying the pagination concept in jsp. I am getting a lot of errors. Can u help me for displaying this pagination.i need to display dynamic records according to search criteria. In search criteria, an area is selected and the data related to that area should be displayed from a table in mysql . It has 100+ records each
    with 6 columns, each page should be displaying 10 records, what we call pagination. I was trying this(in java jsp)( should not do in struts, should be done only in jsp) for a long time. By ur faq, i understood u hava already done it. Pls try to help me. Can u pls send me a sample program regarding this?
    I would be very grateful if u help me.
    thanks in advance,
    regards,
    mv.

  • How to to display entire records using PL/SQL(anoyomous block)

    Hi All,
    I have created a region of type PL/SQL by using rownum, and it wil display few records due to rownum.
    But the end user is asking to display the rest of records also using some pagination concept or any other way.
    How can we achieve this?
    In mean time i have tried to execute the by removing the rownum, then it is throwing the below Query
    Error- ORA-06502: PL/SQL: numeric or value error: character string buffer too small.
    Thanks,
    Ano.
    Edited by: Anoo on Mar 19, 2012 12:18 AM

    Hi,
    Here is the query we are using to dsipaly the records, but the limit we are dsiplaying is only 300.
    So the concern is how we can display all records.
    DECLARE
    list_arr2 htmldb_application_global.vc_arr2;
    p VARCHAR2(4000);
    v_default_start_date DATE;
    j NUMBER :=0;
    occurrencies NUMBER(10);
    CODESELECT VARCHAR2(7);
    BEGIN
    IF :P2_SYMBOL_CODE_HIDDEN IS NOT NULL THEN
    CODESELECT:=:P2_SYMBOL_CODE_HIDDEN;
    ELSE
    CODESELECT:='';
    END IF;
    Select TO_char(SYSDATE-1,'MM/DD/YYYY') into v_default_start_date from Dual;
    :P2_START_DATE := v_default_start_date; */
    list_arr2 := htmldb_util.string_to_table (:P2_SYMBOL_NAME, ',');
    p := 'SELECT SYMB_SARUS_DESCRIPTION,SYMB_CODE FROM ( '
    || 'SELECT '''' SYMB_SARUS_DESCRIPTION,''NA'' SYMB_CODE FROM DUAL ';
    p := p
    || ' UNION all SELECT sym.SYMB_SARUS_DESCRIPTION || ''- '' '
    || ' || sym.SYMB_CODE SYMB_SARUS_DESCRIPTION , sym.SYMB_CODE '
    || ' from T_SYM sym ';
    IF :P2_ACTIVESYMBOL='ACTIVE ONLY' THEN
    p := p || ', ( SELECT distinct DSPS_SYMB_CODE FROM t_dispatch_symbol ' ||
    ' WHERE dsps_dsp_code IN ( SELECT adsp_dsp_code ' ||
    ' FROM t_aut ' ||
    ' WHERE adsp_vend_code=''FTP'' ' ||
    ')) act_symb ' ||
    ' WHERE sym.SYMB_CODE=act_symb.DSPS_SYMB_CODE AND ';
    ELSIF :P2_ACTIVESYMBOL='INACTIVE' THEN
    p := p || ', ( SELECT distinct DSPS_SYMB_CODE FROM t_dis ' ||
    ' WHERE dsps_dsp_code NOT IN ( SELECT adsp_dsp_code ' ||
    ' FROM t_aut ' ||
    ' WHERE adsp_vend_code=''FTP'' ' ||
    ')) act_symb ' ||
    ' WHERE sym.SYMB_CODE=act_symb.DSPS_SYMB_CODE AND ';
    ELSE
    p := p || ' WHERE ';
    END IF;
    p := p || 'UPPER(sym.SYMB_SARUS_DESCRIPTION) LIKE ';
    FOR i IN 1 .. list_arr2.COUNT
    LOOP
    IF i = 1
    THEN
    p := p || ' UPPER(''%' || TRIM(list_arr2 (i)) || '%'') ';
    ELSE
    p :=
    p
    || ' AND UPPER(SYMB_SARUS_DESCRIPTION) LIKE '
    || ' UPPER(''%'
    || TRIM(list_arr2 (i))
    || '%'') ';
    END IF;
    END LOOP;
    p := p || ' order by 1 ) where rownum < 310 ';
    p := REPLACE(p, '''||''', '||');
    IF LENGTH(:P2_SYMBOL_NAME) > 2 AND :P2_HIDD = 'cdf' THEN
    htp.p('<table>');
    htp.p('<tr bgcolor=white><td width=20% align="left">');
    htp.p('<font color="#094991" size="1">     Search By Name</font>');
    htp.p('</td>');
    htp.p('<td align="left">');
    htp.p(APEX_ITEM.SELECT_LIST_FROM_QUERY(3,CODESELECT,p,'onChange="setSymbolCode(this.value);" size=10','NO','','','P2_SEARCHNAME','','Select'));
    htp.p('</td>');
    htp.p('</tr>');
    htp.p('</table>');
    END IF;
    IF LENGTH(p)<=0 THEN
    :P2_SYMBOL_CODE_HIDDEN:='';
    END IF;
    END;
    Thanks,
    Anoo.
    Edited by: Anoo on Mar 19, 2012 1:10 AM

  • Displaytag Error

    Hi,
    I am fairly new to struts and using the Displaytag for pagination concepts,but iam getting the ClassNotFoundError.
    The code i have done is
    <display:table name="dispinfo" scope="session" pagesize="2" sort="list">
                        <display:column align="center" property="currency_code" title="Currency code" sortable="true" />
                        <display:column align="center" property="description" title="Description" sortable="true" />
                   </display:table>
    and the error im getting is
    javax.servlet.ServletException: org/apache/commons/lang/StringEscapeUtils
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
         org.apache.jsp.pages.std_005fCurrency_jsp._jspService(org.apache.jsp.pages.std_005fCurrency_jsp:104)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
         org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
         org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
         org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    root cause
    java.lang.NoClassDefFoundError: org/apache/commons/lang/StringEscapeUtils
         org.displaytag.util.Href.setParameterMap(Unknown Source)
         org.displaytag.util.RequestHelper.getHref(Unknown Source)
         org.displaytag.tags.TableTag.initHref(Unknown Source)
         org.displaytag.tags.TableTag.initParameters(Unknown Source)
         org.displaytag.tags.TableTag.doStartTag(Unknown Source)
         org.apache.jsp.pages.std_005fCurrency_jsp._jspx_meth_display_table_0(org.apache.jsp.pages.std_005fCurrency_jsp:526)
         org.apache.jsp.pages.std_005fCurrency_jsp._jspx_meth_html_form_0(org.apache.jsp.pages.std_005fCurrency_jsp:410)
         org.apache.jsp.pages.std_005fCurrency_jsp._jspx_meth_html_html_0(org.apache.jsp.pages.std_005fCurrency_jsp:346)
         org.apache.jsp.pages.std_005fCurrency_jsp._jspService(org.apache.jsp.pages.std_005fCurrency_jsp:95)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
         org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
         org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
         org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
    Please help me solve the problem.
    Thanx in Advance
    Charles

    hi :-)
    it cannot find the StringEscapeUtils class.
    do you already have the commons-lang.jar?
    add commons-lang.jar to your classpath.
    that jar contain
    org.apache.commons.lang.StringEscapeUtils
    hope this helps.
    regards,

  • How to call javascript function with dynamic data in display tag

    Hi,
    Iam new to pagination concept. Iam using display tag to display rows in jsp by strtus.
    I have a problem when calling the javascript function using ahref in attribute in display tag.
    <bean:define name="form1" property="EditDetails.List" id="ListDisplay"/>
    <display:table name="pageScope.ListDisplay" cellpadding="0" cellspacing="1" pagesize="10" partialList="false" size="listSize" requestURI="">
    <display:column property="poNo" href='javascript:searchEditDetails("./submitOrder.do? actionID=getMISLoadEdit&poNumberSel=<%=((com.po.bean.EditDetails)poListDisplay).getNo()%>&statusIdSelected=<%=((com.po.bean.EditDetails)ListDisplay).getStatusId()%>")'
    title="Number"/>                         
    <display:column property="strDate"title="Date" />
    <display:column property="orderValue"title="Order Value(INR)"/>
    <display:column property="stringRequestedDeliveryDate"title="Suggested Delivery Date"/>
    <display:column property="statusDescription" title="Status" />
    </display:table>
    The above code display the data in row format is working fine when I click the No It thow javascript error and its not redirecting to the other page.
    When I try this with ordinary struts its working fine the code is:
    <logic:iterate id="polist" name="Form1" property="EditDetails.List" indexId="i" type="com.bean.EditDetails">
    <tr>
    <td ><a href="javascript:searchEditDetails("./submitOrder.do?actionID=getMISLoadEdit&NumberSel=<%=((com.bean.EditDetails)polist).getNo()%>&statusIdSelected=<%=((com.bean.EditDetails)polist).getStatusId()%>")"><html:hidden name="polist" property="No" write="true" /></a>     </td>
    <td><html:hidden name="polist" property="strDate" write="true" /></td>
    <td><html:hidden name="polist" property="orderValue" write="true" /></td>
    <td><html:hidden name="polist" property="stringRequestedDeliveryDate" write="true" />     </td>
    <td><html:hidden name="polist" property="statusDescription" write="true" /></td>
    </tr>
    </logic:iterate>
    Please help me how to call javascript with dynamic data.
    Thanks in advance

    The ADF Mobile Container Utilities API may be used from JavaScript or Java.
    Application Container APIs - 11g Release 2 (11.1.2.4.0)

  • How to Reset Pagination Page called by a button defined in Select Statement

    Its easy to reset the pagination for a page that is called using a 'Button' such as 'Create'.
    But
    I've defined a button in my records list by using the this entry in the select statement:
    (some characters have been removed to allow for its inclusion in this post)
    href="f?p=&APP_ID.:12:&SESSION.::NO::P12_SEARCH_BLDG1,P12_SEARCH_FLOOR:'||BLDG_ID||','||ID||'">'
    || 'img src="#IMAGE_PREFIX#connections.gif" border="0" alt="Icon 4"'
    ||
    "CONNECTIONS",
    It works great, Except, I need to reset the pagination for the page, (P12_),
    Because I have similar buttons defined on other pages that also call page, (P12_).
    Can you help me?

    Hi Gary,
    see the f?p URL format at http://download-west.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/concept.htm#BEIHCICF chapter "Clearing Session Cache for Two Pages While Resetting Pagination"
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • How can Pagination be achieved in portlets ???

    HI,
    I wanna implement pagination in portlets.
    Ex: I display 20 pages .. 1, 2 , 3, 4, 5, 6, 7, 8..
    So i will have following clickable texts...
    prev>> 1 2 3 4 5 6 7 8 9 10 next<<
    when i select 3 , it should route me to page no 3.
    when i click on next it should display me the following
    prev>> 11 12 13 14 15 16 17 18 19 20
    Any ideas ?

    Hi,
    Here You go......
    http://forum.java.sun.com/thread.jspa?threadID=5194183
    My friend i'm afraid to say this but the one Suggested by you will not work on Portlet Environment under a Portlet Container.
    It wud be gr8 if you can revisit Basic Concepts of Portal,Portlet Container,Portlets & a Servlet,Servlet Container.
    REGARDS,
    RaHuL

  • Need help using GO URL to display table view (with sorting, pagination)

    I'm trying to use the GO URL to get to a table view with the sorting and pagination functionality intact, but I don't want all the other links and input fields of a dashboard.
    Is this possible?
    I'm trying to consume table view report in an IFRAME within my web application using the GO URL, but without any luck.
    For proof of concept, I'm trying to extend Sample Lite\KPI\Sample PKI which I can display as a dashboard in my IFRAME, but I would like the table view with the column sorting and pagination functionality intact without the dashboard links and fields up at the top.
    I'm new to Oracle BI, specific explanation and step by step examples would help me tremendously.
    I am on Oracle 11g v11.1.7.0 on RH linux.
    The GO URL I am using:
    http://myserver:port/analytics/saw.dll?Go&NQUser=username&NQPassword=password&Path=/shared/Sample%20Lite/KPIs/Sample%20KPI&ViewName=Table
    Thanks.
    Brian

    TABLES: bkpf.
    TYPES: BEGIN OF ty_bkpf ,
           belnr LIKE bkpf-belnr,
           bukrs LIKE bkpf-bukrs,
           gjahr LIKE bkpf-gjahr,
           bldat LIKE bkpf-bldat,
           waers LIKE bkpf-waers,
           END OF ty_bkpf.
    TYPES: BEGIN OF ty_bseg ,
           buzei LIKE bseg-buzei,
           shkzg LIKE bseg-shkzg,
           END OF ty_bseg.
    DATA: it_bkpf TYPE STANDARD TABLE OF ty_bkpf ,
          it_bseg TYPE STANDARD TABLE OF ty_bseg .
    DATA: ibinding TYPE salv_t_hierseq_binding.
    DATA: xbinding TYPE salv_s_hierseq_binding.
    DATA: gr_table TYPE REF TO cl_salv_hierseq_table.
    SELECT-OPTIONS:
      ndoc FOR bkpf-belnr,
      empr FOR bkpf-bukrs,
      anod FOR bkpf-gjahr.
    START-OF-SELECTION.
      PERFORM get_data.
      PERFORM relat_tables.
      PERFORM display_alv.
    *&      Form  get_data
    FORM get_data .
      SELECT belnr bukrs gjahr bldat waers
             INTO TABLE it_bkpf
             FROM bkpf
             WHERE belnr IN  ndoc AND
                   bukrs IN empr AND
                   gjahr IN anod.
      IF sy-subrc = 0.
        SELECT buzei shkzg
               FROM bseg
               INTO TABLE it_bseg
               FOR ALL ENTRIES IN it_bkpf
               WHERE belnr = it_bkpf-belnr AND
                     bukrs = it_bkpf-bukrs AND
                     gjahr = it_bkpf-gjahr.
      ENDIF.
    ENDFORM." get_data
    *&      Form  relat_tables
    FORM relat_tables .
      xbinding-master = 'BUKRS'.
      xbinding-slave  = 'BUKRS'.
      APPEND xbinding TO ibinding.
    ENDFORM. " relat_tables
    *&      Form  display_alv
    FORM display_alv .
      cl_salv_hierseq_table=>factory(
      EXPORTING
      t_binding_level1_level2 = ibinding
      IMPORTING
      r_hierseq = gr_table
      CHANGING
      t_table_level1 = it_bkpf
      t_table_level2 = it_bseg
      gr_table->display( ).
    ENDFORM. " display_alv

  • Pagination settings greyed out

    Hi,
    I am working a form several pages and notice on the first page when I goto place a subform the pagination settings are greyed out.I have no idea why its doing this.

    Hi
    Make your pages "Flowed" then the Pagination for Subforms will be enabled..I am not sure what is the concept behind this.
    Just tried and it works.
    Smitha

  • Two approaches to paginated view - opinion/suggestions required

    Hi,
    I have been trying to make a paginated view of the record set returned by a user search. Though, i have finally been able to make the second approach (see below) work for me as desired, i am putting up this question to see how other ppl have done it in the community.
    First Approach
    Use the startRow and maxRow attributes of <sql:query> to fetch the subset of result as desired by current paginated view. Iterate over the result set using forEach and display each record.
    Advantage: The result set reutrns only a small subset (40 recrods) which i think should be better for database as it does not have to return a large result set.
    Problem: I can not get the number of total rows that would have been returned by search had it not been constrained by maxRows attribute. {color:#800000}Or is it possible to get this total without iterating over all of the subsets?{color}
    Second Approach
    Keep the <sql:query> open without any constraints and let it fetch
    the complete result as designated by the search query. Use forEach to selectively iterate over the subset of the data desired by current paginated view.
    Advantage: I can get the number of total rows matching the search criteria and i still can have a paginated view, i.e. better transfer time of web page etc.
    Problem: I suspect that not constraining <sql:query> may result in poor performance if the underlying table contains millions of records (keep joins in mind as well). Since the JSP/JSTL page is transfored to HTML in application server before being delivered to client, and because the result set uses the concept of cursors, so i assume that the paginated forEach will trigger only the retrieval of desired subset from the database as well. I assume that this operation will not be equivalent to fetching the original query returning million of records. {color:#800000}How true is this assumption?{color}
    Thanks for your time, all!
    -- mnsharif

    Hi D;
    I made r11 installation on Solaris 10. For requirement please follow:
    Oracle Applications Installation Update Notes, Release 11i (11.5.10.2) [ID 316806.1] << part General Requirements for All Operating Systems and Solaris SPARC Requirements
    For cloning please refer:
    FAQ: Cloning Oracle Applications Release 11i http://ID 216664.1 << Can I clone from one platform to a different platform?
    I strongly suugest please check Hussein Sawwan greatest post about similar topic
    Moving from Solaris 8 to Solaris 10
    Solaris 8 to Solaris 10 upgrade for oracle 11i
    Re: Cloning from solaris 10 sparc to solaris 10 x86
    Hope it helps
    Regard
    Helios

  • Pagination Scheme

    I have small question in Apex pagination, Here is the scenario:
    I'm in Page-1, from here I have been navigated to Page-2 on click of a record with hyper link and I will be setting items of Page-2 in the hyperlink of page1.
    Here in Page-2, I will be displaying a list of records with 50 row counts, When I click on Next to see the next 51-100 records it works fine. Here in Page-2, I have a button which will clear the cache of Page-2 and redirect to Page-1.
    Now Here is the issue : When I click on another records of Page-1, I will be re-directing to Page-2 but in the report region the pagination showing the last reports pagination i.e. 51-100 instead of fresh 0-50 records.
    Note:
    1. I'm clearing the cache when traverse back to Page-1, Issue is, why the pagination session is still carrying the old pagination values.
    2. It has been observed that the session variables of the report is carrying to the report page opening in a new tab/window, that is the reason last queried session as result for all the tabs.
    So please advise me how can I avoid session overwriting when I open a same report in different tabs.
    Edited by: user9201451 on May 5, 2010 8:19 AM

    User,
    What is your name?
    Clearing the item cache is one thing, what you need to do is reset the pagination which is done with the same part of the URL. Just add a comma to the existing values in the clear cache setion and then "RP" as in: ,RP
    See this for more details:
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BEIFCDGF
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/apex/

Maybe you are looking for

  • How to extract data in a webpage to a excelsheet or back end DB

    Hi folks I'm kiran and i'm working as technical recruiter. previously i worked as a shadow associate with National Informatics center (A govt of india IT department) where i first tried my hands on JAVA and was amazed with the things which i could do

  • Client System login takes more time

    Hi Experts, I try to login to client system it always takes more time to connect with server, after login there is no problem. .. i also try Firewall disable, License configure settings, and also disable extra network port, but still facing problem.

  • Can I convert my iPad2 to 3G?

    Can I convert my iPad2 to 3G?

  • App is stuck on waiting

    Hi,      I recently tried to update the instagram app as well as a few others. Every other app successfully updated except for instagram which has been stuck on waiting. I've tried everything but the app is still says waiting.. Any suggestions?

  • Testing for signs of life after liquid damage

    Hey all, I picked up a Macbook from work yesterday (repairs department) that had been returned a month or so ago as being 'dead' but upon inspection (smelling the keyboard!) I realised coffee had been spilled on it. Long story short, the Macbook was