Disco Report doesn't return data for a responsibilty

Hi Guys,
We have a report, we have shared with XXX Tax Manager. When we login through XXX Tax Manager, it doesn`t return data. But when we do similer with XXX Payables Manager, report runs fine and return data?
Can any one help me on this.
Note: Both Responsibility have access to the Business Area.
Thanks,
Nick

Please find the below query:
SELECT /*+ NOREWRITE */
o101613.expense_account_num AS e264170,
o271954.description AS e271961, o271954.po_number AS e272013,
o271954.project AS e272033, o271954.task AS e272035,
o271954.expenditure_type AS e272036, o272183.amount AS e275461,
(o272183.gl_date) AS e275566, (o272183.invoice_date) AS e275578,
o272183.invoice_id AS e275580, o275448.invoice_id AS e275581,
o272183.invoice_number AS e275584,
o272183.self_assessed_flag AS e275674,
o272183.ship_to_location_code AS e275681, o272183.state AS e275685,
o272183.tax_amount AS e275695,
o272183.tax_jurisdiction_code AS e275698,
o272183.tax_rate AS e275700, o272183.vendor_name AS e275720,
o272183.vendor_number AS e275723, (o278494.gl_date) AS e278500,
o278494.liability_account AS e278501
FROM apfg_ap_invoices o101612,
apfg_ap_invoice_distributions o101613,
apps.ap_invoice_lines_v o271954,
(SELECT ap.invoice_id, aps.vendor_name, aps.segment1 vendor_number,
ap.invoice_num invoice_number, ap.invoice_date, ap.gl_date,
apl.amount amount, zxl.tax_amt tax_amount,
zxr.percentage_rate tax_rate, zxl.tax_jurisdiction_code,
apl.ship_to_location_code, zxl.self_assessed_flag,
hzg.geography_element2_code state, apl.line_number
FROM ap.ap_suppliers aps,
ap.ap_invoices_all ap,
zx.zx_lines zxl,
apps.ap_invoice_lines_v apl,
zx.zx_rates_b zxr,
zx.zx_jurisdictions_tl zxj,
zx.zx_jurisdictions_b zxb,
ar.hz_geographies hzg
WHERE aps.vendor_id = ap.vendor_id
AND ap.invoice_id = zxl.trx_id
AND zxl.trx_id = apl.invoice_id
AND zxl.trx_line_number = apl.line_number
AND zxl.entity_code = 'AP_INVOICES'
AND zxl.event_class_code = 'STANDARD INVOICES'
AND zxl.self_assessed_flag = 'Y'
--AND zxr.tax_rate_code         = zxl.tax_rate_code
AND zxr.tax_rate_id = zxl.tax_rate_id
AND zxj.tax_jurisdiction_id = zxl.tax_jurisdiction_id
AND zxb.tax_jurisdiction_id = zxj.tax_jurisdiction_id
AND zxb.zone_geography_id = hzg.geography_id
AND zxl.tax_amt <> 0
AND apl.line_type_lookup_code IN
('ITEM', 'FREIGHT', 'MISCELLANEOUS')
AND apl.line_source IN
('HEADER MATCH',
'MANUAL LINE ENTRY',
'IMPORTED',
'CHRG ITEM MATCH'
AND ap.cancelled_date IS NULL
ORDER BY aps.vendor_name, ap.invoice_num) o272183,
apps.ap_invoices_v o275448,
(SELECT xte.source_id_int_1 invoice_id, gcc.code_combination_id,
xte.transaction_number, xal.accounting_date gl_date,
gcc.segment1
|| '.'
|| gcc.segment2
|| '.'
|| gcc.segment3
|| '.'
|| segment4
|| '.'
|| segment5
|| '.'
|| segment6
|| '.'
|| segment7 liability_account
FROM xla.xla_transaction_entities xte,
xla.xla_ae_headers xah,
xla.xla_ae_lines xal,
gl.gl_code_combinations gcc
WHERE 1 = 1
AND xte.entity_id = xah.entity_id
AND xte.application_id = xah.application_id
AND xah.ae_header_id = xal.ae_header_id
AND xal.accounting_class_code = 'SELF_ASSESSED_TAX_LIAB'
AND xal.code_combination_id = gcc.code_combination_id) o278494
WHERE ( (o101612.invoice_id = o101613.invoice_id(+))
AND ( o101613.invoice_id = o271954.invoice_id
AND o101613.invoice_line_number = o271954.line_number
AND ( o272183.invoice_id = o271954.invoice_id
AND o272183.line_number = o271954.line_number
AND (o272183.invoice_id = o275448.invoice_id)
AND (o278494.invoice_id = o275448.invoice_id)
AND (o101613.dist_line_type_code IN
('ITEM', 'FREIGHT', 'MISCELLANEOUS'')')
AND (o101612.invoice_number = :"Invoice Number ")
AND ((o272183.gl_date) <= :"Ending GL DATE")
AND ((o272183.gl_date) >= :"Beginning GL DATE")
ORDER BY o271954.project ASC, o272183.invoice_number ASC;
It does not contain any security profiles, only contains view that might be not returning data.
thanks

Similar Messages

  • Query returns data from previous month. Need to have it return data for the entire year

    This is the part of the query that returns data by month:
    (YEAR(`rereport`.`market_reports_5`.start_date) = YEAR(CURRENT_DATE - INTERVAL 1 MONTH)AND MONTH(`rereport`.`market_reports_5`.start_date) = MONTH(CURRENT_DATE - INTERVAL 1 MONTH))
    How can I get it to return data for the year.
    TIY

    How about omitting the MONTH part:
    (YEAR(`rereport`.`market_reports_5`.start_date) = YEAR(CURRENT_DATE - INTERVAL 1 MONTH)
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Scorecard doesn't display data for some selections

    Hi,
    I have configured a scorecard to display detail data (product quantities for 4 quarters) based on different parameter (product code) selection in other master scorecard. The detail dashboard doesn't display data for all the product codes. It's weird even data is there for the same product code where the scorecard is mapped in the excel however doesn't display. Appreciate if any of you can help me to overcome the issue.
    Technology: SAP Dashboard 4.1 SP4, Oracle 11g
    Thanks,
    Anurag

    Hi Anurag
    Have you taken an excel snapshot and checked if the master scorecard has the rows you expect to see in the detail sorecard?
    Thanks
    Runali

  • How to set the filter on a report to show the data for the Current Month

    Hi all,
    I am working on a report, which currently has this filter: Date First Worked is greater than or equal to 10/01/2010. This reports show the data for the current month, so at the beginning of each month we have to remember to change the date on the filter.
    Does anyone know what the criteria should say, so that it automatically changes and shows the information for the current month, without us having to go in and change anything?
    Any help would be greatly appreciated!
    Thanks,
    AA

    You need to add a session variable to date fir worked assuming that this is a date field.
    To do this open up the filter on the field then at then press add Variable then "session" and enter the following CURRENT_MONTH into the Server Variable section.

  • Query in ASWE XML code doesn't return data

    Hello, since people on the Oracle Metalink site are to lazy to give an answer to this question. I'll try it via this forum. Here we go:
    I'm developing wireless applications running on Oracle9i Application Server Wireless Edition. I'v tried to implement the employee sample from Oracle Online Mobile Studio (studio.oraclemobile.com). The sample name is employee.jsp. This sample combines XML code with JSP.
    (code at the end of the text)
    When I test the sample I get no query results.
    When you take the first option for example, (search by dept number) the query result will not be displayed. I think it has something to do with the "executeQuery" line.
    rset = stmt.executeQuery("select * from EMP where EMPNO='" + empNum + "'");
    After giving the following input (employeenumber) 7369 (which excists in the
    database). I get the following errors:
    The panama server log returns the following error:
    1/14/02 5:19:28 PM NOTIFY : [Thread-13]
    core.XSLTransformerImpl.getXSLProc(XSLTransformerImpl.java:120)
    Create 10 number of XSL-processor for TINY_HTML
    1/14/02 5:19:35 PM NOTIFY : [Thread-15]
    adapter.URLAdapter.invoke(URLAdapter.java:240)
    URL = http://host/portal/test/employee.jsp
    1/14/02 5:19:37 PM NOTIFY : [Thread-17] adapter.URLAdapter.invoke(URLAdapter.java:240)
    URL =http://host/portal/test/employee.jsp?choice=empNum
    1/14/02 5:19:49 PM NOTIFY : [Thread-19]adapter.URLAdapter.invoke(URLAdapter.java:240)
    URL =http://host/portal/test/employee.jsp?&empNum=7369
    1/14/02 5:19:50 PM ERROR : [Thread-19]rt.common.Controller.reportServiceInvocationError(Controller.java:707)
    Service Invocation Error: Stream closed.
    The jserv.log returns the following error:
    [14/01/2002 17:19:50:431 CET] Invalid column name
    java.sql.SQLException: Invalid column name
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273)
    at oracle.jdbc.driver.OracleStatement.get_column_index(OracleStatement.java:4383)
    at oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:667)
    at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1374)
    at portal.test._employee._jspService(_employee.java:201)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
    at oracle.jsp.JspServlet.internalService(JspServlet.java)
    at oracle.jsp.JspServlet.service(JspServlet.java)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:402)
    at org.apache.jserv.JServConnection.run(JServConnection.java:260)
    at java.lang.Thread.run(Thread.java:479)
    Does this have something to do with the encoding of the query result in the select statement? As you can see the variable is in the requeststring (URL = http://host/portal/test/employee.jsp?&empNum=7369)
    My database connection works fine (I've also tested the query using SQL plus and the SQL adapter also works).
    Is this the right statement?: ("select * from EMP where EMPNO='" + empNum + "'");
    I can not do anything with the error in the jserv.log (java.sql.SQLException: Invalid column name).
    The columnname EMPNO excists in the example table. The query in SQL plus gives a result.
    Can someone give my any suggestions?
    Thanks in advance.
    Thomas Wesseling, UCC
    ### Code of employee.jsp ###
    <?xml version="1.0" encoding="UTF-8"?>
    <SimpleResult>
    <SimpleContainer>
    <%@ page language="java" import="java.sql.*, java.util.*, java.text.* "%>
    <%
    //URL variables
    String choice = request.getParameter("choice");
    String empNum = request.getParameter("empNum");
    String lastName = request.getParameter("lastName");
    String jobTitle = request.getParameter("jobTitle");
    String deptNum = request.getParameter("deptNum");
    String notFoundMsg = null; //String for containing varying not found msg
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@172.16.0.51:1521:ora816", "scott", "tiger");
    Statement stmt = conn.createStatement();
    ResultSet rset = null;
    //**** Start of service - first card ****
    if (choice==null && empNum==null && lastName==null &&
    jobTitle==null && deptNum==null)
    %>
    <SimpleMenu title="Employee Search by:">
    <SimpleMenuItem target="employee.jsp?choice=empNum">Employee Number</SimpleMenuItem>
    <SimpleMenuItem target="employee.jsp?choice=lastName">Name</SimpleMenuItem>
    <SimpleMenuItem target="employee.jsp?choice=jobTitle">Job Title</SimpleMenuItem>
    <SimpleMenuItem target="employee.jsp?choice=deptNum">Dept Number</SimpleMenuItem>
    </SimpleMenu>
    <%
    //**** SECOND CARD - which search criteria ****
    if (choice!=null)
    if (choice.equals("empNum") && empNum == null)
    %>
    <!-- show search by employee number -->
    <SimpleForm target="employee.jsp?">
    <SimpleFormItem name="empNum" format="*N">Enter Employee Number: </SimpleFormItem>
    </SimpleForm>
    <%
    else if (choice.equals("lastName") && lastName == null)
    %>
    <!-- show search by last name -->
    <SimpleForm target="employee.jsp?">
    <SimpleFormItem name="lastName" format="*A">Enter Last Name: </SimpleFormItem>
    </SimpleForm>
    <%
    else if (choice.equals("jobTitle") && jobTitle == null)
    %>
    <!-- show search by job title -->
    <SimpleForm target="employee.jsp?">
    <SimpleFormSelect name="jobTitle" title="Enter Job Title:">
    <SimpleFormOption value="CLERK">Clerk</SimpleFormOption>
    <SimpleFormOption value="SALESMAN">Salesman</SimpleFormOption>
    <SimpleFormOption value="MANAGER">Manager</SimpleFormOption>
    <SimpleFormOption value="ANALYST">Analyst</SimpleFormOption>
    <SimpleFormOption value="PRESIDENT">President</SimpleFormOption>
    </SimpleFormSelect>
    </SimpleForm>
    <%
    else if (choice.equals("deptNum") && deptNum == null)
    %>
    <!-- show search by dept number -->
    <SimpleForm target="employee.jsp?">
    <SimpleFormItem name="deptNum" format="*N">Enter Dept Number: </SimpleFormItem>
    </SimpleForm>
    <%
    //**** THIRD CARD - query DB based on criteria ****
    //**** empNum entered as search criteria ****
    if (empNum != null) //empNum is entered as search criteria- NEED TO TEST FOR NON-int
    rset = stmt.executeQuery("select * from EMP where EMPNO='" + empNum + "'");
    if (rset.next()) //if rset returns data, show data
    do {
    %>
    <%@ include file="showResult.jsp" %>
    <%
    } while (rset.next());
    } //end rset.next() is true
    else
    notFoundMsg = "Employee Number " + empNum + " Not Found";
    %>
    <%@ include file="notFound.jsp" %>
    <% }
    } //end if empNum != null
    //**** lastName as search criteria ****
    else if (lastName != null)
    rset = stmt.executeQuery("select * from EMP where ENAME='" + lastName + "'");
    if (rset.next())
    do {
    %>
    <%@ include file="showResult.jsp" %>
    <%
    } while (rset.next());
    } //end rset.next is true
    else
    notFoundMsg = "Name " + lastName + " Not Found";
    %>
    <%@ include file="notFound.jsp" %>
    <% }
    } //end if lastName != null
    //**** jobTitle as search criteria ****
    else if (jobTitle != null)
    rset = stmt.executeQuery("select * from EMP where JOB='" + jobTitle + "'");
    if (rset.next())
    do {
    %>
    <%@ include file="showResult.jsp" %>
    <%
    } while (rset.next());
    } //end rset.next is true
    else
    notFoundMsg = "Job Title " + jobTitle + " Not Found";
    %>
    <%@ include file="notFound.jsp" %>
    <% }
    } //end if jobTitle != null
    //**** deptNum as search criteria ****
    else if (deptNum != null) //deptNum is entered as search criteria
    rset = stmt.executeQuery("select * from EMP where DEPTNO='" + deptNum + "'");
    if (rset.next())
    do {
    %>
    <%@ include file="showResult.jsp" %>
    <%
    } while (rset.next());
    else
    notFoundMsg = "Dept Number " + deptNum + " Not Found";
    %>
    <%@ include file="notFound.jsp" %>
    <% }
    } //end if deptNum != null
    conn.close();
    %>
    </SimpleContainer>
    </SimpleResult>
    ### Code of NotFound.jsp ###
    <SimpleText>
    <SimpleTextItem><%=notFoundMsg%></SimpleTextItem>
    <Action label="Search" type="ACCEPT" task="GO" target="employee.jsp?"></Action>
    </SimpleText>
    ### Code of ShowResult.jsp ###
    <%
    //format date from query
    java.sql.Date date = rset.getDate("HIREDATE");
    String hireDate = DateFormat.getDateInstance(DateFormat.MEDIUM).format(date);
    %>
    <SimpleText>
    <SimpleTextItem>Emp#: <%=rset.getString("EMPNO")%></SimpleTextItem>
    <SimpleTextItem>Name: <%=rset.getString("ENAME")%></SimpleTextItem>
    <SimpleTextItem>Job: <%=rset.getString("JOB")%></SimpleTextItem>
    <SimpleTextItem>Manager: <%=rset.getString("MGR")%></SimpleTextItem>
    <SimpleTextItem>Hire Date: <%=hireDate %></SimpleTextItem>
    <SimpleTextItem>Salary: <%=rset.getString("SAL")%></SimpleTextItem>
    <SimpleTextItem>Commission: <%=rset.getString("COMM")%></SimpleTextItem>
    <SimpleTextItem>Dept#: <%=rset.getString("DEPTNO")%></SimpleTextItem>
    <SimpleTextItem>Email: <%=rset.getString("EMAIL")%></SimpleTextItem>
    <SimpleTextItem>Phone: <%=rset.getString("PHONE")%></SimpleTextItem>
    <Action label="Search" type="SOFT1" task="GO" target="employee.jsp"></Action>
    <Action label="Call" type="OPTIONS" task="CALL" number="<%=rset.getString("PHONE")%>"></Action>
    </SimpleText>

    Is EMPNO really a string field and not a numeric field? Your query is like
    ... where EMPNO='1949'
    and should it perhaps be
    ... where EMPNO=1949
    ?

  • SQL statement doesn't return data

    Hi,
    Please I am facing a problem where I took the sql statement from an oracle report and I'm applying it on TOAD 9.0 but it is not returning any data. The thing is that on the application the report returns data but as I checked on the TOAD it showed that some tables have no data.
    How is this possible??
    Do I need to apply some code before I apply my select statement??
    Hope you can help here,
    Thanks in Advance,
    Ashraf

    Hi Ashraf,
    As it should be if a Query in Report is returning data so should the same query return data if used either in Toad or SQL Plus.
    In your report do check if you have any parameters and do this parameters have any default values and are you using the same parameters.
    Also do check the source of the Report which the application is executing and the one from where you are using the Query is same.
    Best Regards
    Arif Khadas

  • Return date for a given week number in a month

    Hi,
    Can someone urgently post a snippet code that will return the date if the week number and the weekday (like wednesday) for a given month in an year is passed.
    ex: If I say 2nd wednesday of August in 2004 , it must return the date for second wednesday. URGENT

    Don't flag your question as urgent, even if it is for you. Claiming urgency is very likely to be counter-productive: most forum regulars will simply ignore such messages as rude and selfish attempts to elicit immediate and special attention.
    Besides, unless the Symbionese Liberation Army is about to chase you over the edge of a cliff, your problem probably isn't as urgent as you think. :o)

  • Profit Center Report doesn't show data

    Dear Experts,
    I've posted some data thru FB50 in FI, with different cost center assignment 1201 and 1202.  Both cost centers are assigned to profit centers, YB110 and YB120 respectively in master data.
    Then, I tried to run a profit center report, S_ALR_87013326 from Profit Center Accounting (PCA) module but doesn't show any data.
    Do I need to do any period-end processing in order to get the data out from PCA report?
    By the way, the selection required for plan version, I just keyed in '0'.  Not sure of the number, where to find the plan version as I didn't create any plan before this.
    regards,
    Abraham

    Hi
    If you see the screen shot I attached, it has the text "(new)" against the Folder name...
    All new gl reports are under such a folder to differentiate... You cant deactivate any reports from the Standard Menu... You can just control it by authrization....
    You can also ask your BASIS guy to display only the authorized trans on the user screen so that they are not able to see the std set of transactions
    Br, Ajay M

  • Please help: DataInputStream doesn't return response for remote device

    Hi all,
    Please advise what is my mistake.
    I am about to send a command to and get respond from my embedded kit (Arduino Wiznet Wifi Kit)
    I can send command and get respond through a Telnet.
    But i can only send command but not getting respond if i am about to write a java program to do the same thing with socket programming.
    Below is my code, please advise for my mistake.
    Many thanks!
    public static void startTCPCommunication(String ip) throws UnknownHostException, IOException{
         InetAddress thoseIp = InetAddress.getByName(ip);
         // IO streams
         DataOutputStream toServer;
         DataInputStream fromServer;
         String entered=""; // Declare & initialize a String to hold input.
         Scanner input=new Scanner(System.in); // Decl. & init. a Scanner.
         try {
              System.out.println("Socket created");
              Socket socket = new Socket(ip, 5000);
              // Create an input stream to receive data from the server
              fromServer = new DataInputStream(socket.getInputStream());
              // Create an output stream to send data to the server
              toServer = new DataOutputStream(socket.getOutputStream());
              while(true){
                   System.out.println("Please enter : ");
                   entered=input.nextLine(); // Get what the user types.
                   // Then say something trollish and use their name.
                   System.out.println("You have entered : " + entered + "!");
                   // Send the command to the server
                   toServer.writeUTF(entered);
                   System.out.println("Done with Send");
    // Get the response from server
                   String response = fromServer.readUTF();
                   System.out.println("Retruned : " + response);
         catch (IOException ex) {
         System.out.println("Unable to create socket.");
    The returned result only reaches System.out.println("Done with Send");
    The function stucked and not going to loop for second time.
    Please advise how can i modify my code and pin point my mistake please.
    Thanks a lot!

                       // Send the command to the server
                       toServer.writeUTF(entered);
                       System.out.println("Done with Send");
    // Get the response from server
                       String response = fromServer.readUTF();
                       System.out.println("Retruned : " + response);Check the Javadoc. writeUTF() doesn't send anything a Telnet server will understand, and a Telnet doesn't send anything that readUTF() will understand. They only understand each other. Use write(), and append a newline.

  • GetLiveFeatureAttrs() in MapViewer returns data for wrong coordinates

    Hi forum
    I am trying to build a small Java application to fetch and display data from MapViewer. I have a set of predefined themes and want to add a query theme, from which I can fetch further information through live features. From reading the docs, to my best understanding, the procedure to do so is this:
    1. Define a query theme with attributes and make it "clickable", and use the "raw" image format. GEOLOC is the sdo_geometry column, the rest are for the live features.
      String sqlQuery = "SELECT gravstedsnavn, nummer, areal, geoloc FROM gravsteder3 s where s.dblink in (" + retline + ")";
      mv.addJDBCTheme("bssys", "QUERY_DATA",  sqlQuery, "geoloc", "8307", null, null, null, true);
      String[] boundingThemes = { "QUERY_DATA" };
      mv.setClickable(true, "QUERY_DATA");
      mv.setImageFormat(MapViewer.FORMAT_RAW_COMPRESSED);
      mv.setBoundingThemes(boundingThemes, 0.05, true);2. I use a JPanel to render the map image, for which I want a tooltip to show the live feature given the mouse coordinate, when the mouse moves around the JPanel (mapDisplay being the JPanel):
    private void mapDisplay_mouseMoved(MouseEvent e) {
      Insets is = ((JPanel)e.getComponent()).getInsets();
      int x = e.getX() - is.left, y = e.getY() - is.top;
      mapImage = mi.getMapUrl("5", x, y, mapURL);
    }getMapUrl does the following to display the live features in a tooltiptext on the JPanel:
        String[][] test = null;
        try  {
          test = mv.getLiveFeatureAttrs(x,y,0);
        } catch (NullPointerException ex)  {
          System.out.println("No information available");
        if ((test.length == 0) || (test == null)) {
          jp.setToolTipText(null);
        } else {
          String gravstedsnavn = "";
          String gravstedsnr = "";
          String areal = "";
          if (test != null) {
            for (int i = 0; i < test.length; i++) {
              for (int j = 0; j < test.length; j++) {
    if (j == 0) {
    gravstedsnavn = test[i][j];
    if (j == 1) {
    gravstedsnr = test[i][j];
    if (j == 2) {
    areal = test[i][j];
    jp.setToolTipText("<html>Gravstedsnavn: " + gravstedsnavn + "<br>Nummer: " + gravstedsnr + "<br>Areal: " + areal +"</html>");
    This code works - the only problem is, that the attributes returned from the getLiveFeatureAttrs() function returns values from a completely different coordinate from the map than expected. I believe, that its my mouseMoved event, which causes the problem - but I havent figured out the way to pass the right mouse coordinates to getLiveFeatureAttrs().
    Does someone have a working live features example, and can anyone eventually see, what the problem with my code is?
    Thanks in advance.

    Hello Joao
    I have setup a public MapViewer server and modified your code slightly, so it can run against my server. The code should return a single rectangular polygon, and if you try moving your mouse around in the JFrame, the live features are available where they shouldn't be, ie outside the marked rectangle, so something is still not working right... Could you do me the favor to try to compile and run this code? My testsite testbooking.brandsoft.dk should be publicly viewable. Could it have something to do with the value of the SRID?
    package oracle.forms.fbean;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.Insets;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    import java.awt.event.WindowEvent;
    import javax.swing.JFrame;
    import oracle.lbs.mapclient.MapViewer;
    public class livefeature extends JFrame
      static Image img = null;  //global image buffer
      static Insets is = null;  //insets inside a frame.
      final static int mapWidth = 640;
      final static int mapHeight = 480;
      MapViewer mv = null;
      private class myMouseListener implements MouseMotionListener
        public void mouseDragged(MouseEvent e) {
          public void mouseMoved(MouseEvent e) {
                int x = e.getX() - is.left;
                int y = e.getY() - is.top;
               String[][] test = mv.getLiveFeatureAttrs(x,y,0);
               if ((test.length == 0) || (test == null)) {
                 System.out.println("No livefeatures found");
               } else {
                 String gravstedsnavn = "";
                 String gravstedsnr = "";
                 String areal = "";
                 if (test != null) {
                   for (int i = 0; i < test.length; i++) {
                     for (int j = 0; j < test.length; j++) {
    if (j == 0) {
    gravstedsnavn = test[i][j];
    if (j == 1) {
    gravstedsnr = test[i][j];
    if (j == 2) {
    areal = test[i][j];
    System.out.println("<html>Gravstedsnavn: " + gravstedsnavn + "<br>Nummer: " + gravstedsnr + "<br>Areal: " + areal +"</html>");
    public livefeature()
    setTitle("MapViewer: Live Feature");
    setVisible(true);
    is = getInsets();
    System.out.println("Insets: " + is);
    setSize(mapWidth+is.left+is.right, mapHeight+is.top+is.bottom);
    this.addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(WindowEvent e) { System.exit(0); }
    this.addMouseMotionListener(new myMouseListener());
    public void paint(Graphics g)
    if(img==null)
    drawGeometries(g);
    //draws the image to the screen
    if(img!=null)
    g.drawImage(img, is.left, is.top,
    img.getWidth(null), img.getHeight(null), null);
    public void drawGeometries(Graphics g)
    mv = new MapViewer("http://testbooking.brandsoft.dk/mapviewer/omserver");
    mv.setDeviceSize(new Dimension(mapWidth,mapHeight));
    mv.setAntiAliasing(true);
    mv.setDataSourceName("bssys");
    String sqlQuery = "SELECT s.gravgaardsnavn, s.gravnr, s.areal, s.geoloc FROM gravsteder3 s where s.dblink in (30200020)";
    mv.addJDBCTheme("bssys", "QUERY_DATA", sqlQuery, "geoloc", "0", "BSSYS:ROED_MARKERING", null, "BSSYS:SORT_TEKST", true);
    String[] boundingThemes = { "QUERY_DATA" };
    mv.addJDBCTheme("bssys", "QUERY_DATA_1", sqlQuery, "geoloc", "0", "BSSYS:ROED_MARKERING", null, "BSSYS:SORT_TEKST", true);
    mv.setClickable(true, "QUERY_DATA_1");
    mv.setImageFormat(MapViewer.FORMAT_RAW_COMPRESSED);
    mv.setBoundingThemes(boundingThemes, 0.05, true);
    try
    mv.run();
    img = mv.getGeneratedMapImage();
    repaint();
    } catch(Exception e)
    System.out.println("Error while rendering theme.");
    e.printStackTrace();
    public static void main(String[] args)
    new livefeature();

  • Is there table/Report history including timestamp & date for activity type created?

    Hi Guys
    I have an audit request for activity type that should include Date of creation/change and timestamp for them, but I don´t know if there is a table or report
    that I should run.
    Actually in KP26 in section line item shown the dates but by activity type, I expect to run in mass
    I really appreciate if someone have suggestion or idea how is possible to get information with dates and timestamp

    Hi Marco,
    If not in standard, this can be achieved by customized field in the table. This is called Append Structure and you can add Z table.
    Talk to an ABAP person. He can do it.
    I know I have not answered you in a straight way
    Regards,
    Krishnendu.

  • BPMon alert reporting not showing any data for Trend Analysis

    Hi,
    I have setup BPMon and performed the initial setup for BW reporting. There are alerts being generated by the BPMon setup and the data has been transferred to the 0SM_BPM cube.
    But when I start the Trend Analysis report I dont get any Solution for selection to generate the trend analysis chart.
    I have followed all the steps mentioned in the setup guide. Please suggest any remedy.
    Regards,
    Vishal

    Hi ,
    If your query is on multiprovider , then makesure to check there are no restrictions/filters on cubes.
    Also inlcude any keyfigure from the cube,where other characteristics are being assigned from or where u r seeing data, in the query.
    If you dont want to see the Keyfigure, u can hide it using keyfigure display properties in the query designer.
    Hope this helps,
    Aparna Duvvuri

  • Why between for date is not returning data for this query ?

    Hello,
    i have a table with this structure and i am writing this query for fetching some rows based on some condition , but this query is not returning any data . Can you please tell why ?
    ID     DT
    003     11/8/2011
    002     10/8/2011
    001     9/8/2011
    And the query is :
    SELECT * FROM TABLE_NAME WHERE DT BETWEEN TO_DATE('08/08/2011','dd/mm/yyyy') AND TO_DATE('12/08/2011','dd/mm/yyyy');
    Edited by: bootstrap on Aug 13, 2011 7:10 AM

    >
    >
    but what is the problem with that, why that date is not matched when i am providing the date format ?Which part don't you understand? You did not use TO_DATE while inserting data and default date format was mm/dd/yyyy, right? Same default date format is used if you issue:
    SELECT * FROM TABLE_NAME Your original post states the above select returns:
    ID     DT
    003     11/8/2011
    002     10/8/2011
    001     9/8/2011So dates you inserted are November 8, 2011, October 8 2011 and September 8 2011. Now TO_DATE('08/08/2011','dd/mm/yyyy') is August 8 2011 and TO_DATE('12/08/2011','dd/mm/yyyy') is August 12 2011. So obviously:
    SELECT * FROM TABLE_NAME WHERE DT BETWEEN TO_DATE('08/08/2011','dd/mm/yyyy') AND TO_DATE('12/08/2011','dd/mm/yyyy');will not return any rows. Bottome line - never write code that uses implicit date conversions since your code becomes client NLS settings dependent and might work for one client and fail or produce wrong results for other client.
    SY.

  • Need a report column to hold data for one row only

    Hey Guys,
    I have a report which has a column that links to another page in my APEX application.
    There is a requirement where only one of the rows in this report needs to have a link so I need the column to show the page link for one row and one row only.
    The report will have about 5 rows at a time so is there a way to just make this link appear for the one row(it will be the top row) in the column attirbute in APEX? or can this be done in the SQL for the report?
    Any help is much appreciated
    Thanks
    -Mark

    Hi
    The only way (I believe) to do this is within the SQL. Then you just wrap the column in a CASE statement and if it meets your criteria then build up the link and if not then display normally.
    Something like this...
    SELECT ename,
           CASE WHEN empno = 7839
           THEN '<a href="f?p='||:APP_ID||':4:'||:APP_SESSION||'::NO::P4_TARGET_ITEM:'||empno||'" >'||empno||'</a>'
           ELSE TO_CHAR(empno)
           END empno
    FROM empCheers
    Ben

  • Get-AdGroupMember -recursive doesn't return membership for some nested groups.

    I have the following setup:
    Test Parent Group (Group)
      - John Doe (User)
      - Domain Users (Group, contains 1000s of users)
    When I call: Get-AdGroupMember "Test Parent Group" -recursive
    Only John Doe is returned.
    Thoughts?

    First, it seems that Get-ADGroupMember in a recursive mode does not return object with the class group. So only the actual members are returnd not the groups.
    Second, with the -recursive, Get-ADGroupMember reads the member attribute of each nested groups. Users are not a member of Domain Users through the member attribute but through the primaryGroupID attribute. Thus you list the members of Domain Users if you
    target it directly Get-ADGroupMember -Identity "Domain Users" but not when this one is nested. I don't know if there is a documentation about this.
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Maybe you are looking for