PPR Report ,How to display Label with TOTAl

Hi,
How Can i display PPR Report ,How to display Label with TOTAl like
[http://apex.oracle.com/pls/apex/f?p=267:30:]
Thanks
Edited by: 805629 on Jan 6, 2011 3:34 AM

Hi,
For PPR Report:
Select "Yes" in "Enable Partial Page Refresh" item of "Layout and Pagination" region in Report Attributes of that report.
For display Label with TOTAL:
Use "Break Formatting" region in Report Attributes of that report.
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1

Similar Messages

  • How to display string with XML content in 4.6?

    Hi,
    I`d like to know how to display string with XML content in it for 4.6.
    4.6 has not method parse_string.
    And example like this is not helpful:
      DATA: lo_mxml    TYPE REF TO cl_xml_document.
      CREATE OBJECT lo_mxml.
      CALL METHOD lo_mxml->parse_string
        EXPORTING
          stream = gv_xml_string.
      CALL METHOD lo_mxml->display.
    Thank you.

    Hi,
    May be you can use fm SAP_CONVERT_TO_XML_FORMAT. But it have some issues with memory usage, the program consumed tons of memory during convert.

  • Displaying labels with  a different color in a form

    hello all,
    how to display labels in a form in different color?
    the question may be simple to many. as i am new to apex.

    Hello,
    Please check if the following can help you - App. Express -- Change font size in the item label. .
    Regards,
    Arie.

  • Oracle Report, How to Display Polish Characters in a PDF Output

    Environment :
    Oracle Application Server version 10.1.2.0.2 on Red Hat 4 Enterprise (Kernel 2.6.9-42.0.3 , 32 bit) Oracle Database Version 10.2.0.3.0 Our character set of database is UTF8
    I have trouble to display polish characters in Reports Output. We develop on Windows XP machines. I can see the Polish Caharacters in the Reports Builder using several fonts (arial, arial unicode, Times new roman, verdana...) during design time or when running with the paper layout. But when the report deployed to application server running on the linux, the polish characters are replaced by symbols.
    Even under Windows, when I select 'generate to a PDF' file option, the characters are not displayed correctly (When I open the generated PDF file with Acrobat reader and go to Document Properties / Fonts, I see the Fonts are always replaced with Adobe Sans MM)
    Using the Forms Applications running on the same application server we have no trouble dealing/displaying with the characters (Ąą ĆćĘę Ł ł ŃńÓóŚ ś Ź ź Ż ż ß Đ đ € )
    NLS_LANG setting is AMERICAN_AMERICA.UTF8 on the Linux Box and AMERICAN_AMERICA.WE8MSWIN1250 is on the Development machines. (have tried a number of different NLS_LANG settings on the development box as well with no luck).
    Any direction would be appreciated.

    Hi,
    You have several different approaches to fix this problem. First of all, you would be able to generate the PDF output with Font Subsetting setup and be able to see the Polish characters correctly when running the output with destype=cache&desformat=pdf. The following metalink documents would guide you with this setup :
    Note.207711.1 "How to Use Font Subsetting in Reports 9i and 10g for PDF Output"
    As at design time you use many different Windows specific fonts, I also advice you to check the following document :
    Note.356221.1 "A Practical Methodology on Porting Reports from Windows to Unix with Different Fonts"
    Once the PDF output is generated properly with correct characters, then if you need to use "destype=printer" for direct print, rather than "destype=cache" to display the output in browser, then you can use the "PDFPrint" pluggable destination, which is located in :
    http://www.oracle.com/technology/products/reports/pluginxchange/index.html
    Regards,
    -Bulent

  • How to display data with the same text and key in the drop down list?

    Hi All,
    Would like so to seek for you advice on the above mention topic. How to display the data with the same text and key using function module 'VRM_SET_VALUES'. From my testing by writing a program, this function module will only show the text and key if both have different data. Please find the coding as below. Is the normal behaviour of this function module? How to overcome this problem? Thanks in advance.
    REPORT ZTESTING.
    TYPE-POOLS: VRM.
    DATA: NAME  TYPE VRM_ID,
          LIST  TYPE VRM_VALUES,
          VALUE LIKE LINE OF LIST,
          c(20) type c.
    *      c = 'select any'.
    data:begin of itab occurs 0,
          kunnr like kna1-kunnr,
          name1 like kna1-name1,
         end of itab.
    data:begin of jtab occurs 0,
          kunnr like kna1-kunnr,
          land1 like kna1-land1,
         end of jtab.
    PARAMETERS: p_list(20) AS LISTBOX VISIBLE LENGTH 20
                              default 'SELECT'.
    AT SELECTION-SCREEN OUTPUT.
    NAME = 'p_list'.
    VALUE-KEY = 'Name'.     "---> Data for key is the same with text
    VALUE-TEXT = 'Name'.    "--> Data for text is the same with key
    APPEND VALUE TO LIST.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'Country'.
    APPEND VALUE TO LIST.
    CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
    start-of-selection.
    select kunnr name1 up to 20 rows from kna1 into table itab.
    select kunnr land1 up to 20 rows from kna1 into table jtab.
    case p_list.
    when '1'.
    loop at itab.
    write:/ itab-kunnr,itab-name1.
    endloop.
    when '2'.
    loop at jtab.
    write:/ jtab-kunnr,jtab-land1.
    endloop.
    endcase.
    <Added code tags>
    Moderator Message: Please use the "code" tags to format your code snippet.
    Edited by: Suhas Saha on Nov 17, 2011 11:19 AM

    shawnTan wrote:
    Hi All,
    >
    > Would like so to seek for you advice on the above mention topic. How to display the data with the same text and key using function module 'VRM_SET_VALUES'. From my testing by writing a program, this function module will only show the text and key if both have different data. Please find the coding as below. Is the normal behaviour of this function module? How to overcome this problem? Thanks in advance.
    >
    >
    REPORT ZTESTING.
    >
    > TYPE-POOLS: VRM.
    >
    > DATA: NAME  TYPE VRM_ID,
    >       LIST  TYPE VRM_VALUES,
    >       VALUE LIKE LINE OF LIST,
    >       c(20) type c.
    >
    > *      c = 'select any'.
    >
    > data:begin of itab occurs 0,
    >       kunnr like kna1-kunnr,
    >       name1 like kna1-name1,
    >      end of itab.
    >
    > data:begin of jtab occurs 0,
    >       kunnr like kna1-kunnr,
    >       land1 like kna1-land1,
    >      end of jtab.
    >
    > PARAMETERS: p_list(20) AS LISTBOX VISIBLE LENGTH 20
    >                           default 'SELECT'.
    >
    > AT SELECTION-SCREEN OUTPUT.
    >
    > NAME = 'p_list'.
    >
    > VALUE-KEY = 'Name'.     "---> Data for key is the same with text
    > VALUE-TEXT = 'Name'.    "--> Data for text is the same with key
    > APPEND VALUE TO LIST.
    >
    > VALUE-KEY = '2'.
    > VALUE-TEXT = 'Country'.
    > APPEND VALUE TO LIST.
    >
    > CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
    >
    > start-of-selection.
    > select kunnr name1 up to 20 rows from kna1 into table itab.
    > select kunnr land1 up to 20 rows from kna1 into table jtab.
    >
    > case p_list.
    > when '1'.
    > loop at itab.
    > write:/ itab-kunnr,itab-name1.
    > endloop.
    >
    > when '2'.
    > loop at jtab.
    > write:/ jtab-kunnr,jtab-land1.
    > endloop.
    > endcase.
    >
    > <Added code tags>
    >
    > Moderator Message: Please use the "code" tags to format your code snippet.
    >
    > Edited by: Suhas Saha on Nov 17, 2011 11:19 AM
    This surely seems to be a bug to me(if not by design),  did you check for any SAP notes? Perhaps a front end trace can help(Note 407743) !
    -Rajesh.

  • Interactive Report - How to display Aggregate values in first row

    Hi,
    I have an interactive report in which I have included aggregate for count.
    But the count doesn't show until I navigate to the last page of the report.
    Any idea how to display all the aggregate values on the top(in first row), so that the user doesn't have to click next to see these values.
    Also when I downloaded the report the aggregate columns are not exported into csv. Any thoughts on this highly appreciated.
    Thanks,
    Raj.

    Any help on this guys ?

  • How to display rectangles with the following code in a JPanel?

    I am trying to make a bunch of random rectangles appear inside a JPanel on a GUI form. Im not sire how to display the form and panel with random rectangles. I have in my package the MyRectangle class, a blank JForm class called RectGUI and the class for the panel RectGUIPanel. The following code is from my panel and it should create random rectangles okay but how do I display them inside of a Panel on my RectGUI form? Thanks for the assistance.
    //Declare variables
        private int x;
        private int y;
        private int width;
        private int height;
        private Color color;
        Random rand = new Random();
        public class RectanglePanel extends JPanel
            public void displayRectangles()
                // Declare an arraylist of MyRectangles
                ArrayList<MyRectangle> myArray = new ArrayList<MyRectangle>();
                int maxNumber = 300;
               // Declare Frame and Panel
                JFrame frame = new JFrame();
                Container pane = frame.getContentPane();
                RectanglePanel rect = new RectanglePanel();
                // Set Frame attributes
                frame.setSize(700, 500);
                frame.setLocation(100,100);
                frame.setAlwaysOnTop(true);
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                frame.setTitle(" Rectangle Program");
                frame.setVisible(true);
                for (int i = 0; i < maxNumber; i++)
                    MyRectangle rec = createRandomRec();
                    myArray.add(rec);
                    rect.repaint();
            public MyRectangle createRandomRec()  
                   x = rand.nextInt();
                   y = rand.nextInt();
                   width = rand.nextInt();
                   height = rand.nextInt();
                   color = new Color(rand.nextInt(256), rand.nextInt(256), rand.nextInt(256));
                   return new MyRectangle(x, y , width, height, color);
        }

    I am trying to make a bunch of random rectangles appear inside a JPanel on a GUI form. Im not sire how to display the form and panel with random rectangles. I have in my package the MyRectangle class, a blank JForm class called RectGUI and the class for the panel RectGUIPanel. The following code is from my panel and it should create random rectangles okay but how do I display them inside of a Panel on my RectGUI form? Thanks for the assistance.
    //Declare variables
        private int x;
        private int y;
        private int width;
        private int height;
        private Color color;
        Random rand = new Random();
        public class RectanglePanel extends JPanel
            public void displayRectangles()
                // Declare an arraylist of MyRectangles
                ArrayList<MyRectangle> myArray = new ArrayList<MyRectangle>();
                int maxNumber = 300;
               // Declare Frame and Panel
                JFrame frame = new JFrame();
                Container pane = frame.getContentPane();
                RectanglePanel rect = new RectanglePanel();
                // Set Frame attributes
                frame.setSize(700, 500);
                frame.setLocation(100,100);
                frame.setAlwaysOnTop(true);
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                frame.setTitle(" Rectangle Program");
                frame.setVisible(true);
                for (int i = 0; i < maxNumber; i++)
                    MyRectangle rec = createRandomRec();
                    myArray.add(rec);
                    rect.repaint();
            public MyRectangle createRandomRec()  
                   x = rand.nextInt();
                   y = rand.nextInt();
                   width = rand.nextInt();
                   height = rand.nextInt();
                   color = new Color(rand.nextInt(256), rand.nextInt(256), rand.nextInt(256));
                   return new MyRectangle(x, y , width, height, color);
        }

  • How to use label with break

    I'd like to learn how to use label, but why the following code didn't work?
    public class Try {
    public static void main(String[] args) {
    aLabel:
    System.out.println("A");
    for(int i=1; i<=2; i++) {
    if(true) {
    break aLabel;
    System.out.println("B");
    Thanks,

    You can label simple blocks as well, and exit the blocks with break.
    This code compiles and runs successfully.
    public class Try {
        public static void main(String[] args) {
            aLabel: {
                System.out.println("A");
                for(int i=1; i<=2; i++) {
                    if(true) {
                        break aLabel;
            System.out.println("B");
    }

  • How to link label with an input field in data table?

    I am curious if there is a nice way to link a label to input field in a data table directly in JSP? Data filling the table are dynamically bounded.
    Sample, simplified code below. Values of "label" property are unique in the collection binded to dataTable.
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:jsp="http://java.sun.com/JSP/Page">
         <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" />
         <f:view>
              <html>
              <body>
              <h:dataTable value="#{screen$monitoring$errorlog$CorrectHopper.dataset}" var="DATA_ROW">
                   <h:column>
                        <f:facet name="header">
                             <h:outputText value="Name" />
                        </f:facet>
                        <h:outputLabel value="#{DATA_ROW.label}" for="#{DATA_ROW.label}_id" />
                   </h:column>
                   <h:column>
                        <f:facet name="header">
                             <h:outputText value="Value" />
                        </f:facet>
                        <h:inputText value="#{DATA_ROW.label}" id="#{DATA_ROW.label}_id" />
                   </h:column>
              </h:dataTable>
              </body>
              </html>
         </f:view>
    </jsp:root>
    returns:
    17:39:01,390 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.IllegalArgumentException: #{DATA_ROW.label}_id
    what is related to EL expression in h:inputText's "id" attribute.
    Is there any other way to bind label with dynamically created input field in JSP? Do I really have to bind input field directly to component objects with "binding" and set IDs manually with setId() (what is ugly solution because it moves View related logic to Model layer)?

    I've thought of using EL because I have to somehow
    link a label to an input field dynamically. Somehow? Dynamically? Just use plain text :)Well... just look at my code snippet (notice: we want to join the pairs of labels and text boxes placed in a datatable [or any other repeater-like component rendering properties of objects from a collection]):
    <h:dataTable value="#{screen$monitoring$errorlog$CorrectHopper.dataset}" var="DATA_ROW">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name" />
    </f:facet>
    <h:outputLabel value="#{DATA_ROW.label}" for="#{DATA_ROW.label}_id" />
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Value" />
    </f:facet>
    <h:inputText value="#{DATA_ROW.label}" id="#{DATA_ROW.label}_id" />
    </h:column>
    </h:dataTable>
    and what is your idea of using plain text as "id" attribute value in this case? :)
    Regards,
    Michal

  • How connect dragable labels with line

    When I load the program labels will appear within the window. You can ckick
    and drag these labels. The code for this
    is very simple. The code works perfectly. However I want to extend my code to do
    the following :
    (1) I want to add an extra label .. it does not matter where on the screen
    [ JLabel label = new JLabel() ]
    (2) When I press this button I want a line to appear between the two
    moveable labels ( ie the two labels are joined together by the line)
    (3)Now here is the hard part.. Whenever I move either of the two labels
    the line stretches so that the two labels are still connected.
    start--->
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class Connection
    public static void main(String[] args)
    JFrame f = new JFrame("Connection");
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.getContentPane().add(new ConnectionPanel());
    f.setSize(400,300);
    f.setLocation(200,200);
    f.setVisible(true);
    class ConnectionPanel extends JPanel
    JLabel label1, label2, label3, label4;
    JLabel[] labels;
    JLabel selectedLabel;
    int offsetX, offsetY;
    boolean dragging;
    public ConnectionPanel()
    setOpaque(false);
    setLayout(null);
    addLabels();
    addMouseListener(new LabelSelector());
    addMouseMotionListener(new LabelMover());
    public void paintComponent(Graphics g)
    Graphics2D g2 = (Graphics2D)g;
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
    RenderingHints.VALUE_ANTIALIAS_ON);
    g2.setPaint(Color.white);
    g2.fillRect(0, 0, getWidth(), getHeight());
    g2.setPaint(Color.blue);
    Point
    p1 = getCenter(label1),
    p2 = getCenter(label2),
    p3 = getCenter(label3),
    p4 = getCenter(label4);
    g2.draw(new Line2D.Double(p1.x, p1.y, p2.x, p2.y));
    g2.draw(new Line2D.Double(p1.x, p1.y, p3.x, p3.y));
    g2.draw(new Line2D.Double(p1.x, p1.y, p4.x, p4.y));
    g2.draw(new Line2D.Double(p2.x, p2.y, p3.x, p3.y));
    g2.draw(new Line2D.Double(p2.x, p2.y, p4.x, p4.y));
    g2.draw(new Line2D.Double(p3.x, p3.y, p4.x, p4.y));
    super.paintComponent(g);
    private Point getCenter(JComponent c)
    Rectangle r = c.getBounds();
    return new Point((int)r.getCenterX(), (int)r.getCenterY());
    private class LabelSelector extends MouseAdapter
    public void mousePressed(MouseEvent e)
    Point p = e.getPoint();
    for(int i = 0; i < labels.length; i++)
    Rectangle r = labels.getBounds();
    if(r.contains(p))
    selectedLabel = labels[i];
    offsetX = p.x - r.x;
    offsetY = p.y - r.y;
    dragging = true;
    break;
    public void mouseReleased(MouseEvent e)
    dragging = false;
    private class LabelMover extends MouseMotionAdapter
    public void mouseDragged(MouseEvent e)
    if(dragging)
    int x = e.getX() - offsetX;
    int y = e.getY() - offsetY;
    Rectangle r = selectedLabel.getBounds();
    selectedLabel.setBounds(x, y, r.width, r.height);
    repaint();
    private void addLabels()
    int w = 125;
    int h = 25;
    Border border = BorderFactory.createEtchedBorder();
    label1 = new JLabel("Label 1", JLabel.CENTER);
    label2 = new JLabel("Label 2", JLabel.CENTER);
    label3 = new JLabel("Label 3", JLabel.CENTER);
    label4 = new JLabel("Label 4", JLabel.CENTER);
    labels = new JLabel[4];
    labels[0] = label1; labels[1] = label2; labels[2] = label3; labels
    [3] = label4;
    for(int i = 0; i < labels.length; i++)
    labels[i].setBorder(border);
    labels[i].setOpaque(true);
    labels[i].setBackground(Color.white);
    add(labels[i]);
    label1.setBounds(40, 40, w, h);
    label2.setBounds(215, 40, w, h);
    label3.setBounds(40, 200, w, h);
    label4.setBounds(215, 200, w, h);
    end-->
    In this code: How to add labels when to me it is necessary
    (From menu: add new label)?

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.Line2D;
    import javax.swing.*;
    import javax.swing.event.MouseInputAdapter;
    public class Connection
        ConnectionPanel connectionPanel;
        LabelWrangler wrangler;
        public Connection()
            connectionPanel = new ConnectionPanel();
            wrangler = new LabelWrangler(connectionPanel);
            connectionPanel.addMouseListener(wrangler);
            connectionPanel.addMouseMotionListener(wrangler);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(getUIPanel(), "North");
            f.getContentPane().add(connectionPanel);
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
        private JPanel getUIPanel()
            JButton add = new JButton("add label");
            add.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    wrangler.willAcceptLabel = true;
            JCheckBox lineBox = new JCheckBox("show lines");
            lineBox.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    connectionPanel.showConnectionLines();
            JPanel panel = new JPanel();
            panel.add(add);
            panel.add(lineBox);
            return panel;
        public static void main(String[] args)
            new Connection();
    class ConnectionPanel extends JPanel
        boolean showConnections;
        int labelCount;
        final int
            N  = 2,
            NW = 3,
            W  = 1,
            SW = 9,
            S  = 8,
            SE = 12,
            E  = 4,
            NE = 6;
        public ConnectionPanel()
            showConnections = false;
            labelCount = 0;
            setLayout(null);
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            if(showConnections)
                Component[] c = getComponents();
                Rectangle r1 = new Rectangle();
                Rectangle r2 = new Rectangle();
                for(int j = 0; j < c.length - 1; j++)
                    c[j].getBounds(r1);
                    for(int k = j + 1; k < c.length; k++)
                        c[k].getBounds(r2);
                        Point p1 = getClosestPoint(r1, r2);
                        Point p2 = getClosestPoint(r2, r1);
                        g2.draw(new Line2D.Double(p1.x, p1.y, p2.x, p2.y));
        private Point getClosestPoint(Rectangle r1, Rectangle r2)
            double cx = r2.getCenterX();
            double cy = r2.getCenterY();
            Point p = new Point();
            int outcode = r1.outcode(cx, cy);
            switch(outcode)
                case N:
                    p.x = r1.x + r1.width/2 - 1;
                    p.y = r1.y;
                    break;
                case NW:
                    p.x = r1.x;
                    p.y = r1.y;
                    break;
                case W:
                    p.x = r1.x;
                    p.y = r1.y + r1.height/2 - 1;
                    break;
                case SW:
                    p.x = r1.x;
                    p.y = r1.y + r1.height - 1;
                    break;
                case S:
                    p.x = r1.x + r1.width/2 - 1;
                    p.y = r1.y + r1.height - 1;
                    break;
                case SE:
                    p.x = r1.x + r1.width - 1;
                    p.y = r1.y + r1.height - 1;
                    break;
                case E:
                    p.x = r1.x + r1.width - 1;
                    p.y = r1.y + r1.height/2 - 1;
                    break;
                case NE:
                    p.x = r1.x + r1.width - 1;
                    p.y = r1.y;
                    break;
                default /* INSIDE == 0 */:
                    System.out.println("INSIDE");
            return p;
        public void addLabel(Point p)
            JLabel label = new JLabel("label " + ++labelCount);
            label.setBorder(BorderFactory.createEtchedBorder());
            add(label);
            Dimension d = label.getPreferredSize();
            label.setBounds(p.x - d.width/2, p.y - d.height/2, d.width, d.height);
            repaint();
        public void showConnectionLines()
            showConnections = !showConnections;
            repaint();
    class LabelWrangler extends MouseInputAdapter
        ConnectionPanel connectionPanel;
        Component selectedLabel;
        Point offset;
        boolean dragging, willAcceptLabel;
        public LabelWrangler(ConnectionPanel cp)
            connectionPanel = cp;
            offset = new Point();
            willAcceptLabel = false;
            dragging = false;
        public void mousePressed(MouseEvent e)
            Point p = e.getPoint();
            // has a label been selected for dragging?
            Component[] c = connectionPanel.getComponents();
            Rectangle r = new Rectangle();
            for(int j = 0; j < c.length; j++)
                c[j].getBounds(r);
                if(r.contains(p))
                    selectedLabel = c[j];
                    offset.x = p.x - r.x;
                    offset.y = p.y - r.y;
                    dragging = true;
                    break;
            // if no selection, are we adding a new label?
            if(!dragging && willAcceptLabel)
                connectionPanel.addLabel(p);
                willAcceptLabel = false;
        public void mouseReleased(MouseEvent e)
            dragging = false;
        public void mouseDragged(MouseEvent e)
            if(dragging)
                int x = e.getX() - offset.x;
                int y = e.getY() - offset.y;
                selectedLabel.setLocation(x, y);
                connectionPanel.repaint();
    }

  • Interactive report: How to display "count" column on total data set?

    Hi,
    I'm a relative newbie to APEX and would appreciate some help with the following:
    I have an interactive report that will usually contain around 8000 rows.
    I need to report the total number of distinct values in one of the columns - but I need to get around the limitation of APEX where it only counts the number of rows displayed on the screen.
    I thought to create a separate region and use a separate SQL query to show the full total regardless of the number of rows displayed - however, I've now got the problem of not being able to access the interactive report "query", so, for example, if someone running the report adds a filter, I need the total to report with this new filter applied.
    Does anyone know if I can:
    a) get around the the limitation of only counting the number of rows displayed?
    or, if not,
    b) how to access the interactive report "query" that is being run?
    or
    c) any other way of doing this!?
    I do hope this makes sense. Thanks in advance for any help....
    Helen

    Hi all,
    Thanks for your responses. They really are much appreciated.
    I had hoped to spend some time on this over the weekend - but haven't got round to it. I'll work on it again tomorrow and will certainly look at the thread you mentioned Tony.
    Sorry I'm not being very clear about what I want. Why are these things always so hard to explain in words :o)
    I'll have another go....
    I have an interactive report that would report around, say, 8000 rows. Obviously I don't want to display all 8000 on the screen so I'll probably display them in chunks of 15 rows. If I use the aggregation function on the report, I can add a count of the distinct account numbers to the bottom of the display, but it will only count the ones displayed on the screen. I need the count to be of all the rows - so 8000 instead of 15 - but still displaying only 15 rows. When a user then applies a filter to the report, I need the count to change in accordance with the filter - so if the number of rows returned as a result of the filter is now 4000 instead of 8000, I need the count to now say 4000 instead of 8000 even though still only 15 rows are actually displayed on the screen.
    I'll try and pre-empt the questions...
    1) There will always be duplicate account numbers in there so the count will never be the actual number of rows - but I'm simplifying above to help explain the problem better
    2) Why would they want 8000 rows? Don't ask. I'm sure it's something to do with exporting the lot into an excel spreadsheet but they'll never admit it :o)
    I hope this makes more sense......
    Thanks again!!
    Helen
    P.S. Almost forgot again... I'm using Apex 4.1 on the Oracle hosted environment which I assume is 11g.

  • Working with 3 Reports -- How to Display Summary/Formula field in Each Repo

    I have 3 Report that represent three Company.
    Each Company/Report has their report Details and field totals at the bottom.
    Now what I am trying to accomplish is that I need to add all three companies grand total and sum it up and display at the bottom of each reports.
    FYI, I have created matrix report and i pass user parameter where user can choose which company's report him/her would like to run so for example: if user run Company_1 then at the bottom i want to display all the companies Grand Total.Each reports have 6 columns and all the columns are same in each report except the data change by company. and with the same thing with Company_2, and Company_3
    Now, I tried to use create a separate query and tried to use DATA LINK but it didn't work due to very awkward report design.
    Is there a way where i can create a formula field and write PL/SQL and display at the bottom of my report.
    Please let me know if its possible I will very appreciated.
    Thank You

    Thanks for your reply,
    Actually, I would done that before taking Company's parameter off but i have to send out this report to all three companies thats resoan why I put companies paramters.
    Also, I have solved that problem by creating new query that will give me total off each company so in my Data Model. I have Q_1 (main query), Q_2 (Company 1 query which give me total for each field), Q_3 (Company 2 query....), Q_4
    and call those all fields and RESET AT REPORT level.
    so, no mather which company i choose in my parameter field it will give me final total at the bottom of my report for all the departments.
    Thank You,

  • HOW TO DISPLAY VENDOR WITH NO OPEN CLEARED ITEMS

    Hi All,
             We want to delete some of the vendors which do not have any open or cleared items. Can anyone tell me the report ,T Code or ant table which we can run to display the vendors with no open ,clear items.

    you will have to first block the vendor for the posting in co.codes using FK05 and then assign that vendor for deletion flag using FK06 , in the next archive run it will be deleted automatically.
    You cant just delete the vendor from the system
    Assign points if helpful.
    Shefford

  • How to display labels ( vertically) in a column Chart

    Hi,
          As per my requirement I want to show  labels inside the column charts & they must be aligned verically
      say ABC is id i want display i want A
                                                          B
                                                           C
        I have tried with Column Charts properties like showvertically =" true" &  extendLabelToEnd="true".But i am not getting them vertically aligned .Is that something else also must be done.
    Regards
    Kalavati singh
    [email protected]

    Take a look at this blog: http://gerardnico.com/wiki/dat/obiee/presentation_variable
    Try it out by providing a default format.
    Thanks,
    BIPuser

  • How to display characteristics with filterd values in WebReports

    Hi
    we use webreporting (BI 7.0) for our endusers and have designed a very simple webtemplate. All the characteristics you can see in the "selection window" are displayed in a header section with the values set for each variable. Due to the simplicity of the template we do not want to display all characteristics in the header with all possible filtered values set on any charateristic which are available on the report.
    There is a standard webitem to display these filtered values but we can not use it as it is too large.
    Is it possible to change the apperance of a characteristic (make it bold, or red, or underline if a filter is set) so that the user can see that he have set a filter on any characteristic?
    If not, is it possible to simply display any text on the webtemplate indicating that a filter has been set?
    Any Ideas?
    Best Regards
    Markus

    Hi Anita,
    did you find a solution for this? I have opened a Thread, if you know the answer maybe you could help me out:
    Is there an ALV function similar to the TABLE Row grouping?
    Thanx in advanced!!!
    Kind Regards,
    Gerardo J

Maybe you are looking for

  • Error in begining a session when using UTF16 mode in OCIEnvNlsCtreate

    I wrote this code : OCIEnv* envhp; OCIError* errhp; OCIServer* srvhp; OCISvcCtx* svchp; OCISession* usrhp; envhp = (OCIEnv *) 0; errhp = (OCIError *) 0; srvhp = (OCIServer *) 0; svchp = (OCISvcCtx *) 0; usrhp = (OCISession *) 0; int mode = OCI_DEFAUL

  • Photoshop CS2 won't let me open?

    I received Photoshop CS2 from Adobe because they shut down the CS server, killing my program. I installed the program using their serial number and when I open it, it says the serial number was not installed and then when I push 'ok' it shuts down. H

  • How do I register a new ipad mini?

    How do I register a new ipad mini? Is it even necessary? tkyou

  • Illuminate keyboard in low light conditions always on

    I recently had to have a replacement logic board in my 2010 MBP and since that day I've not been able to keep the checkbox for this turned off! It somehow manages to turn itself back on. I've reset the PRAM, repaired Disk Permissions and reset the SM

  • Dreamweaver CS3 vc Golive

    Another question: I used to make my images with changing text-same background in Image Ready. In Golive I could use the same file from Image Ready and than just change the text. If I change the Image Ready file like another background or fontsize all