In table view, how to add one button for selecting page?

Hi Experts,
In the OBIEE 11.1.1.6, we have one uncommon requirement that customers want to randomly select actual page to view expected data in table view.
For example:
We make use of some columns to create one report in table view, and set 'Rows per Page' equal to '5',
if this report contains 60 rows, it will have 12 pages, so customers want to select sepcial page number to view the some data. Is it possible to implement this requirement? Maybe we should write JS code.
Note: Below table view, it has four buttons: First Row, Previous Row, Next Row and Display (500) rows in per page. So we want to add one button to select per page.
We look at orgnial codes in WebBrowse, but do not know the following codes derive from which JS file.
Could you please tell me how to find this file?
<td class="TapeDeckCell"><img class="TapeDeckImage" onclick="" onkeypress="" src="res/s_blafp/viewui/pivot/first_dis.png" title="" alt="" ><img class="TapeDeckImage" onclick="" onkeypress="" src="res/s_blafp/viewui/pivot/previous_dis.png" title="" alt="" ><img class="TapeDeckImageEna" onclick="PTRowScroll('saw_5083_b','5','5', event)" onkeypress="PTRowScroll('saw_5083_b','5','5', event)" src="res/s_blafp/viewui/pivot/next_ena.png" tabIndex="0" onmouseover="PTTD(event, 'res/s_blafp/viewui/pivot/next_ovr.png');" onmouseout="PTTDO(event)" onmousedown="PTTD(event, 'res/s_blafp/viewui/pivot/next_dwn.png');" title="Next 5 Rows" alt="Next 5 Rows" ><img class="TapeDeckImageEna" onclick="*PTRowScroll*('saw_5083_b','-1)', event)" onkeypress="PTRowScroll('saw_5083_b','-1)', event)" src="res/s_blafp/viewui/pivot/showallrows_ena.png" tabIndex="0" onmouseover="PTTD(event, 'res/s_blafp/viewui/pivot/showallrows_ovr.png');" onmouseout="PTTDO(event)" onmousedown="PTTD(event, 'res/s_blafp/viewui/pivot/showallrows_dwn.png');" title="Display maximum (500) rows per page" alt="Display maximum (500) rows per page" > <Span class="TapeDeckRecords">Rows 1 - 5</Span></td>

Hi Kobe,
Thanks for listening me.
I agree 11g have some issues unlike 10g. I've tried the same by creating a measure rcount(1) and name it as Page in RPD. I just pulled column Page in pivot table section 'Pivot Table Prompts' it is working but this may not answer your requirements.
I would suggest to use the column in Prompt and go by between operator to allow user to select the rows between.
In the report make Page as prompted.
If you are okay with this can look forward to tweak it further, like values in the prompt multiple of 5 or 10s some thing like that.
let me know updates on the same.

Similar Messages

  • How to Add Push Button On Selection Screen

    Hi Experts,
    How to add Push button on Selection Screen.
    Points will b rewarded for useful help.
    Bohra.

    Hi,
    To create a pushbutton on the selection screen, you use:
    SELECTION SCREEN PUSHBUTTON [/]<pos(len)> <push>
    USER-COMMAND <ucom> [MODIF ID <key>].
    The [/]<pos(len)> parameters and the MODIF IF addition have the same function as for the formatting options for underlines and comments.
    <push> determines the pushbutton text. For <push>, you can specify a text symbol or a field name with a maximum length of eight characters. This character field must not be declared with the DATA statement, but is generated automatically with length <len>. The field must be filled before the selection screen is called.
    For <ucom>, you must specify a code of up to four characters. When the user clicks the pushbutton on the selection screen, <ucom> is entered in the UCOMM of the SSCRFIELDS interface work area. You must use the TABLES statement to declare the SSCRFIELDS structure. The contents of the SSCRFIELDS-UCOMM field can be processed during the AT SELECTION-SCREENevent.
    Ex.
    REPORT DEMO.
    TABLES SSCRFIELDS.
    DATA FLAG.
    SELECTION-SCREEN:
    BEGIN OF SCREEN 500 AS WINDOW TITLE TIT,
    BEGIN OF LINE,
    PUSHBUTTON 2(10) BUT1 USER-COMMAND CLI1,
    PUSHBUTTON 12(10) TEXT-020 USER-COMMAND CLI2,
    END OF LINE,
    BEGIN OF LINE,
    PUSHBUTTON 2(10) BUT3 USER-COMMAND CLI3,
    PUSHBUTTON 12(10) TEXT-040 USER-COMMAND CLI4,
    END OF LINE,
    END OF SCREEN 500.
    AT SELECTION-SCREEN.
    CASE SSCRFIELDS.
    WHEN 'CLI1'.
    FLAG = '1'.
    WHEN 'CLI2'.
    FLAG = '2'.
    WHEN 'CLI3'.
    FLAG = '3'.
    WHEN 'CLI4'.
    FLAG = '4'.
    ENDCASE.
    START-OF-SELECTION.
    TIT = 'Four Buttons'.
    BUT1 = 'Button 1'.
    BUT3 = 'Button 3'.
    CALL SELECTION-SCREEN 500 STARTING AT 10 10.
    CASE FLAG.
    WHEN '1'.
    WRITE / 'Button 1 was clicked'.
    WHEN '2'.
    WRITE / 'Button 2 was clicked'.
    WHEN '3'.
    WRITE / 'Button 3 was clicked'.
    WHEN '4'.
    WRITE / 'Button 4 was clicked'.
    WHEN OTHERS.
    WRITE / 'No Button was clicked'.
    ENDCASE.
    This example defines four pushbuttons on a selection screen that is displayed as a
    dialog box. The selection screen is defined in a statement chain for keyword
    SELECTION-SCREEN.
    If the text symbols TEXT-020 and TEXT-040 are defined as 'Button 2' and 'Button 4',
    the four pushbuttons appear as follows on the selection screen displayed as a dialog box.
    Regards,
    Bhaskar

  • How to add new button in Customized page....

    Dear All,
    I need to add new button to the page button bar in the UI page.I tried like this in the controller but still i can not get output:
    OAPageButtonBarBean oapbb = (OAPageButtonBarBean)oawebbean.findIndexedChildRecursive("OrderPageButtons");
    OAButtonBean cancelButton = (OAButtonBean)createWebBean(oapagecontext, OAWebBeanConstants.BUTTON_BEAN,
    null, "cancelButton");
    cancelButton.setText("Cancel");
    oapbb.addIndexedChild(cancelButton);
    Is there anything i missedout?
    TIA

    what you are doing incorrectly is
    trying to get the handle to the OAPageButtonBarBean.
    This is a named child of the parent bean(OAPageLayoutBean), and what you are trying to do is find it as a indexed child, this should give you a nullpointer excp in this line oapbb.addIndexedChild(cancelButton);
    since the handle should be null.
    to get the handle to OAPageButtonBarBean, use some like this
    pageContext.getPageLayoutBean().getPageButtons();
    and then add buttons to it.
    Thanks
    Tapash.

  • How to add a button on detail page

    Hey
    I know it is not standard function to add a button on detail page, but I would like to know if we can use javascripts to add a button on the detail page. for instances add it behind "Edit" button?
    Thanks for your input.

    Hi,
    Yes you can add a custom button through JavaScript. Below is the link of the document for adding or deleting a button.
    http://www.box.net/shared/3brq569ybg
    Thanks & Regards
    Sablok

  • How to add one button at top of table that creates new rows each time a user clicks on it?

    In the help guide, there is an example of adding buttons to each row - an Add Row and Delete Row button.  I am interested in having one button at the top of the table that can add rows. 

    Hi,
    You can create a table with a header row, where you can place your add button in one of its cells.
    Then you need a script to create a new row in the buttons click event. In a table named 'Table1' with a row named 'Row1' it looks this way:
    Table1._Row1.addInstance()

  • How to use one button for mltiple task?

    hi, every body,
    how do i get one button to do mitple tasks,for example
    i have one button called(+), i'd like it to do addition and get the answer,in other word:
    1-press any number, called it 1.
    2-press the (+) button to add previous number.
    3-press anthor number, called it 5.
    4-again press the (+) button to add two numbers(1+5)and show the answer(6) .
    5-again press anthor number called it 4.
    6-press the (+) button again ,to add previous result(6) to current number(4)and show the answer that is(10) and so on...

    sorry for being late here is the code
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.*;
    import java.io.*;
    public class Calc2 {
    private JTextField d1;
    private JFrame frame;
    private int a,s,sum;
    public static void main (String[] args) {
    Calc2 g = new Calc2();
    g.go();
    } // close main
    public void go() {
    frame = new JFrame("Simple");
    Panel mainPanel = new Panel();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Font bigFont = new Font("sanserif",Font.BOLD,24);
    d1 = new JTextField(10);
    JButton b = new JButton("+");
    b.addActionListener(new AddListener());
    mainPanel.add(d1);
    mainPanel.add(b);
    frame.getContentPane().add(BorderLayout.CENTER,mainPanel);
    frame.setSize(500,600);
    frame.setVisible(true);
    }//close go()
    public class AddListener implements ActionListener {
    public void actionPerformed(ActionEvent ev) {
    String x = d1.getText();
    s = Integer.parseInt(x);
    d1.setText("");
    d1.requestFocus();
    String z = d1.getText();
    a = Integer.parseInt(z);
    sum = a + s;
    //Now how to keep track of a sum variable, and a currentValue variable.
    d1.setText(Integer.toString(sum));
    }//close inner
    }//close class

  • How to add one column for entry in the TLB screen?

    Hi all,
    Does anybody know how to add a customised column for free text in the TLB header screen? The reason is user needs to add ship or container no. This info will be later on interfaced via CIF exit to R/3.
    I think many of you have the same requirement.
    Thanks heaps!

    Thanks Digambar,
    Can you help to work out more detail on how to customize the code in the TLB screen?
    Are you thinking of adding one field in the table and making the ALV grid control editable? If you have any reference doc/link to do it, it would great!
    Cheers,

  • How to add delete button for ocmponents in TileList

    I have a TileList that received text components. I would like to add a button that when clicked, removes the text item and renumbers the items.
    How would I do this and where would I inject the command?
    Code below:
        <mx:TileList width="320" height="100%" id="ImgList" dataProvider="{snapArray}" columnCount="1"
                      rowHeight="150"
                      cornerRadius="5" borderStyle="solid"
                      paddingLeft="2" paddingTop="2" paddingRight="2" paddingBottom="2"
                       backgroundColor="#EEEEEE">
                <mx:itemRenderer>
                    <mx:Component>
                                        <mx:HBox verticalAlign="middle" horizontalGap="5" cornerRadius="5" borderStyle="solid"
                                            paddingLeft="2" paddingRight="2" paddingTop="2"
                                            width = "100%"
                                            height= "100%"
                                            >
                                            <mx:Image width="150" height="100%" source="{data.image}"/>
                                            <mx:VBox width="100%" height="100%" verticalAlign="middle">
                                                <mx:TextInput id="titleEdit" text="{data.title}" styleName="smallLabel" color="#F05827" width="100%" textAlign="left"
                                                     change="data.title = titleEdit.text"
                                                    />
                                                <mx:TextArea id="descEdit"
                                                    text="{data.desc}"
                                                    styleName="smallLabel"
                                                    color="#F05827"
                                                    fontWeight="normal"
                                                    width="100%"
                                                    height="100%"
                                                    textAlign="left"
                                                  maxChars="500"   
                                                    change="data.desc = descEdit.text"
                                                    />
                                            </mx:VBox>
                                        </mx:HBox>
                    </mx:Component>
                </mx:itemRenderer>
                </mx:TileList>

    Any help on the above scenario?

  • How to add a BUTTON on a page

    Hello,
    1) I need to add BUTTON on a page, so that
    whenever a user clicks, it will display a report and also prints it.
    2) Are there any triggers associated to a page, like when page click etc. I have requirement, like whenever a user clicks the tab, a report has to be open in a new window !!!
    3) Finally, I need to display name,age,job etc on page, what is the best way !!!
    Any Suggestions !!!
    A.Kishore

    hai....
    edit that page,(ie)
    click CUSTOMIZE link and click the editdefault link in the blue banner
    then give the image u want,if any url
    then specify it..
    try this........
    null

  • How to add bookmark button for user to access application

    I would like to add a button that will be an 'ADD BOOKMARK' concept for the user so that they don't try to save the url that is generated at the time they run the application.
    I am using Apex 4.0.
    Is anyone familiar with this concept?
    I see it a lot on the internet with other websites.
    Thanks,
    Maggie

    This post is made for the future Apex users that need this info.
    I discovered a fantastic website that helped me generate the code needed for my apex page to add a bookmark link. This website is:
    http://www.webmaster-affiliates.net/bookmark-site_doit.php
    This was my code used (be sure to replace the curly brackets with a pointed less than/greater than bracket):
    {div align=right}{a href="javascript:window.external.AddFavorite('http://your.url.goes.here:7780/pls/apex/f?p=Graphics_Status', 'Graphics Status')"}Bookmark Site{a}{div}
    I created a page region and put the above code in the source field. Worked fantastic.
    Maggie
    Edited by: mjhamilton on Sep 2, 2010 7:59 AM

  • How to add Cleat button for Prompts

    Hi
    I have 7 Prompts in my dashboard page. And i have Apply filter. But it is not working. Do i need to some thing for this? Help me on this.
    And i want to create a Clear Button for the all Prompts.
    Than

    Hi,
    Use below code in Dashboard Text object,
    [div align='left' class="XUIPromptEntry minibuttonOn"][br][br][a href="#" onclick="return PersonalizationEditor.removeDefaultSelection(false)"]   Clear all Filters[a][div]
    Use < instead of [
    and > for ]
    Thanks,
    Balaa...

  • How to add One Button to the Table Header.

    Hi,
    I would like to have few Table Header columns as Button and Other Table Header Columns as String. And each Button should have separate action. Please let me know, how can i implement this one.
    Thanks
    Mohan

    do not cross post, this is a bad habit. now do you know about www.google.com. well this is a search engine, learn how to use it before you post. i got this link with this keyword search.
    http://www.exampledepot.com/egs/javax.swing.table/pkg.html
    http://forum.java.sun.com/thread.jspa?threadID=560605&tstart=15
    hope this helps you
    regards
    Aniruddha

  • How to add one edge in same page two times?

    Please help me for this i want to add same edge two time in page, one edge while onload and another also should load but it will show in popup. thanks in advance.

    Hi Kobe,
    Thanks for listening me.
    I agree 11g have some issues unlike 10g. I've tried the same by creating a measure rcount(1) and name it as Page in RPD. I just pulled column Page in pivot table section 'Pivot Table Prompts' it is working but this may not answer your requirements.
    I would suggest to use the column in Prompt and go by between operator to allow user to select the rows between.
    In the report make Page as prompted.
    If you are okay with this can look forward to tweak it further, like values in the prompt multiple of 5 or 10s some thing like that.
    let me know updates on the same.

  • How to add one symbol for field in mapping

    Hi Experts,
    I am doing proxy to file scenario.
    my requirement is like this, i need to add ~ symbol for each fieldbefore sending to receiver.
    if the field length eqal to 12 the target field must be like this.
    if the field is contains 6 characters the remaining characters must be filled with spaces and after hat i need to add ~ symbol.
    ~978976    ~
    How can achieve this, can anyone help me.
    Kind regards,
    Praveen.
    Edited by: Praveen Kumar on Aug 4, 2009 1:09 PM

    Hi,
    In my understand String.format standard function will support JDK1.5 onwards. Lower version will not support. So,check in your jdk version before use that standard function.
    So another way use this code,
    UDF header like this,
    Public String <udf name>(String a, Container container))
    Inside UDF put this code:
    int strLen = a.length();
    for(int i=strLen;i<12;i++)
    a = a + " ";
    return "~" + a + "~";
    Note: . Example: in this code field length is using 12. becaz we mentioned that loop i<12. If what you need put it instead of 12.
    Hope It's working fine .
    Regards
    Vijaykumar

  • Need To Add One Button in The Output

    Hi Freinds,
    can any one tell how to add one button in the application
    tool bar, that is at the final ALV out put screen

    Hi,
    you just create a pf status and add buttons to it.
    then you include that pfstatus in your function module in the
    export parameter 'i_callback_pf_status_set'
    i found this sample code somewhere you just see how this is done:
    create one pfstatus. for example znewstatus is the created
    pfstatus. double click on the pfstatus that was created then add the buttons that you require in the appilication tool bar.
    pass the form names to the I_CALLBACK_PF_STATUS_SET and I_CALLBACK_USER_COMMAND in grid as shown below.
    example for reference:
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    FORM SET_PF_STATUS USING RT_EXTAB TYPE SLIS_T_EXTAB.
    SET PF-STATUS 'ZNEWSTATUS'.
    ENDFORM.
    FORM USER_COMMAND USING R_UCOM TYPE SY-UCOMM R_SELFIELD TYPE SLIS_SELFIELD.
    case R_UCOM
    when 'PRINT'. (print is the function code name given to the icon created)
    leave to list-processing.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = pass the form name
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FMNAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION FMNAME.
    reward if useful.
    Nishant Rana

Maybe you are looking for