Query on using kXML parser

Hi everyone,
I am writing code to parse a xml document using the kXML parser. My xml document consists of attributes within the tag. My code compiles but when i run i get org.kxml.io.ParseException.
Something which i found was that, this exception occurs only when there is some attribute within the tag.
Why is this happening. anyone can help me?
I would be grateful
Thanks

I am using kxml as well to parse a xml file and it's attributes. It works great for me. The ParseException is probably only thrown when you got an illegal xml file (no correct format) I guess.
But post some code and check your xml file.

Similar Messages

  • How to use the kxml parser?

    I am getting problem in using the kxml parser.Actually my application is showing the java.lang.NoClassDefFoundError: org/kxml/parser/XmlParser error.
    Can you tell me how to use the kxml parser with our j2me application or what are the steps for this?
    Whether we have to use the kxml.zip or some other JAR file for this?
    Again whether we have to set any classpath for this?

    I was getting same error using kxml parser. The reason is losing interface in which constants are declared.
    You need to correct code of kxml a bit.
    In every place where constant from XmlPullParser interface is referenced only by its name (without reference to its class XmlPullParser) you need to change for use full name. it means changes like:
    START_DOCUMENT to XmlPullParser.START_DOCUMENT
    Everywhere.
    That's all!

  • Problems using kXml

    hi...
    am developing an application where i am using kxml parser.
    am using j2me wireless tool kit and palm emulator.
    while i try to compile my code in the tool kit, it gives error saying :
    c:\WTK104\apps\XMLTest\src\XMLTest.java:5: package org.kxml does not exist
    import org.kxml.*;
    ^
    am sure this problem is due to wrong placement of the package for kxml.
    i have downloaded kxml from the web and unzipped it. please tell me where to put that folder so that my application finds that .
    the import statement in my application is :
    import java.io.*;
    import java.util.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import org.kxml.*;
    import org.kxml.parser.*;
    thanks
    sanjib

    I used kXML in one of my projects in Eclipse and this is what I did to get it to work:
    Put the kXML JAR file in a folder that will not be included in the package for your project, i.e. NOT in src or lib or anything like that.
    Select your project in Eclipse and choose Configure Build Path.
    Select the Libraries tab and choose 'Add External JAR'.
    Now browse to the kXML JAR file and select it.
    This is the important part now. Now select the 'Order and Export' tab.
    You should see at least 3 entries (your project name, the J2ME Library and now kXML)
    Make sure there is a tick next to the kXML entry, this will tell Eclipse to include the files from the JAR whenever you build your project.
    Now if you select the 'Create Package' option for your project and check inside the created JAR file you should see all of the class files for kXML included in the correct paths.
    Never used anything other than Eclipse so I don't know how this translates, but if you know how to do something similar in the IDE you are using then that'll be the solution. Remember the important part of including the kXML JAR in the export otherwise it won't work.

  • Unable to parse query when using dblink in forms 4.5

    Hi,
    I have created a query that uses a DBlink because I need to do query on a table located on another dbase. I've used the query on creating my report using Reports 6i. The report needs to be called from a menu on our system, which was developed under Developer 2000 (forms 4.5). The problem is, when I tried to access the report from the menu, it returns the error 'unable to parse query'. What I did after getting error was to create a dummy module using Forms 6i, and call my report from there. It worked fine.
    By the way, the table that I'm accessing using the dblink is under Oracle 9i dbase, and the dbase of the system that I've been working at is Oracle 8i.
    I don't have any idea on what's causing this error. Is there a compatibility issue when using a dblink located in Oracle 9i database with forms 4.5?
    Thanks!

    Hello,
    Not sure if it is the good answer, but I know that Forms does not recognize dblink and owner.object syntax. You have to create a simple synomym that point to the distant object and use this synonym within Forms.
    Francois

  • Issue in parsing an XML using kxml in Creme 4.1 JVM for WIndows CE

    Hi,
    I have written a code to parse an XML using KXML.jar.
    The code will read the XML file, parse the content and writes data to a text file.
    The code is working fine in normal Windows XP enviroment.
    The same code when tested in a pocket PC is not writing the content and also not throwing any error or exception.
    Please give me some inputs on how to resove this issue.
    TIA,
    shubakarthik

    Hi,
    I have written a code to parse an XML using KXML.jar.
    The code will read the XML file, parse the content and writes data to a text file.
    The code is working fine in normal Windows XP enviroment.
    The same code when tested in a pocket PC is not writing the content and also not throwing any error or exception.
    Please give me some inputs on how to resove this issue.
    TIA,
    shubakarthik

  • Error when using DBMS_SQL.parse

    Has anyone ever ran into this error "ORA-00932: inconsistent datatypes: expected NUMBER got DATE" when using DBMS_SQL.parse? I'm trying to pass in a sql statement that includes date columns but it keeps failing during the parse step. If I put a "to_char" around the dates it works fine.
    Any ideas?
    declare
        l_cursor   PLS_INTEGER;
        l_rows     PLS_INTEGER;
        l_col_cnt  PLS_INTEGER;
        l_desc_tab DBMS_SQL.desc_tab;
        l_buffer   CLOB;
        v_query    clob;
        l_file UTL_FILE.file_type;
        g_sep  VARCHAR2(5) := ',';
      BEGIN
        l_cursor := DBMS_SQL.open_cursor;
        v_query := 'SELECT CREATED FROM DBA_USERS';
        DBMS_SQL.parse(l_cursor, v_query, DBMS_SQL.native);
        DBMS_SQL.describe_columns(l_cursor, l_col_cnt, l_desc_tab);
        FOR i IN 1 .. l_col_cnt
        LOOP
          DBMS_SQL.define_column(l_cursor, i, l_buffer);
        END LOOP;
        l_rows := DBMS_SQL.execute(l_cursor);   
        -- Output the column names.
        FOR i IN 1 .. l_col_cnt
        LOOP
          IF i > 1 THEN
            UTL_FILE.put(l_file, g_sep);
          END IF;
          UTL_FILE.put(l_file, l_desc_tab(i).col_name);
        END LOOP;
        UTL_FILE.new_line(l_file);
        -- Output the data.
        LOOP
          EXIT WHEN DBMS_SQL.fetch_rows(l_cursor) = 0;
          FOR i IN 1 .. l_col_cnt
          LOOP
            IF i > 1 THEN
              UTL_FILE.put(l_file, g_sep);
            END IF;
            DBMS_SQL.COLUMN_VALUE(l_cursor, i, l_buffer);
            -- Check for column data type. If "character" data type enclose in quotes
            -- 1 = VARCHAR2 and NVARCHAR2, 96 = CHAR and NCHAR, 112 = CLOB
            IF l_desc_tab(i).col_type IN (1, 96, 112) THEN
              l_buffer := '"' || l_buffer || '"';
            END IF;
            UTL_FILE.put(l_file, l_buffer);
          END LOOP;
          UTL_FILE.new_line(l_file);
        END LOOP;
        UTL_FILE.fclose(l_file);
      EXCEPTION
        WHEN OTHERS THEN
          IF UTL_FILE.is_open(l_file) THEN
            UTL_FILE.fclose(l_file);
          END IF;
          IF DBMS_SQL.is_open(l_cursor) THEN
            DBMS_SQL.close_cursor(l_cursor);
          END IF;
          RAISE;
      END;Edited by: jpvybes on Jun 6, 2013 3:47 PM

    >
    Has anyone ever ran into this error "ORA-00932: inconsistent datatypes: expected NUMBER got DATE" when using DBMS_SQL.parse? I'm trying to pass in a sql statement that includes date columns but it keeps failing during the parse step. If I put a "to_char" around the dates it works fine.
    >
    No - it is NOT failing on the parse step. If you comment out various sections of the code you will find that your loop is causing the problem.
    Comment out this loop and there is NO exception.
        l_buffer   CLOB;
        FOR i IN 1 .. l_col_cnt
        LOOP
          DBMS_SQL.define_column(l_cursor, i, l_buffer);
        END LOOP;Do you now see the problem?
    You are using 'define_column' and passing 'l_buffer' which is a CLOB. But this is your query
        v_query := 'SELECT CREATED FROM DBA_USERS';And that 'CREATED' column in the query is a DATE.
    Why are you defining a column as a CLOB when the cursor column is a DATE?
    See the example3 in Chapter 100 DBMS_SQL in the Packages and Types doc. It shows an example that includes a DATE column.
    http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_sql.htm#i996963

  • Preverification Error while using kXML with Netbeans IDE

    Hello All,
    I am using Netbeans IDE for wrting a program that parses a xml using
    kXML and display some results on screen.
    The Netbeans IDE gives the various obfuscation levels.
    The code is properly compiled at any level less than the
    highest obfuscation level. If I compile it at HIGH obfuscation level then it gives the following error-----
    Error preverifying class e
    VERIFIER ERROR e.a(Ll;)Lorg/kxml/kdom/Element;:
    Cannot find class org/kxml/kdom/Element
    D:\Netbeans_Workspace\TestObfuscation\nbproject\build-impl.xml:269: Preverification failed with error code 1.
    BUILD FAILED (total time: 4 seconds)
    How can we obfuscate the program using highest level of obfuscation.
    Thanks
    Vikas

    Thanks Peace,
    But I am facing the same problem even when I use the source java files of kXML and include those in my project and use them as additional classes to my class.
    It again builds properly when I don't use the highest obfuscation level.
    But if I try to obfuscate using Level HIGH it throws the same error.
    However when I try to run this project from J2ME Wireless Toolkit, it is running fine on the emulator.
    I guess the error is something specific to Netbeans IDE. Have anyone of you encountered such a bizzare error.
    Thanks,
    Vikas

  • FileNotFoundException on using digester parser

    Hi ,
    I am accessing an XML document using the digester class. However I get a FilenotfoundException eventhough the file exists.
    this is my code
    import java.io.*;
    import org.apache.commons.digester.Digester;
    import com.vo.SubmitVO;
    import java.util.Vector;
    import javax.xml.*;
    import org.xml.sax.*;
    import javax.xml.parsers.*;
    public class Paths
    public static void main(String[] args)throws IOException,SAXException {
    File absolute = new File("C:\\pfile.xml");
         Digester digester = new Digester();
         digester.setValidating( false );
         port Submit= (port)digester.parse(absolute);
    class port
         private Vector portinstances;
         public void port()
         public void addSubmi(SubmitVO submit )
              portinInstances.addElement(submit );
         public Vector getPort()
              return portInstances;
    And my run-time error message is
    Exception in thread "main" java.io.FileNotFoundException: C:\pfile.xml (The syst
    em cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at org.apache.commons.digester.Digester.parse(Digester.java:1530)
    at Paths.main(Paths.java:20)
    Please help :(
    Thanks in advance. . .

    I am using kxml as well to parse a xml file and it's attributes. It works great for me. The ParseException is probably only thrown when you got an illegal xml file (no correct format) I guess.
    But post some code and check your xml file.

  • KXML Parser

    Hi all,
    This question is for those of you who know and used the kXML parser (http://developers.sun.com/techtopics/mobility/midp/articles/parsingxml/)
    How can I use it in order to parse binary data which is stored in an XML (in the
    standard way, of course: CDATA)?
    attached is a copy of the xml file (it is an ordinary XML file, which
    contains a binary data between the tags: binaryImg).
    Thanks in advance,
    Alon<?xml version="1.0" encoding="utf-8" ?><D4UMProtocol><Session><id>551</id></Session><error><code>0</code><message></message></error><reportFeedback><msgType>1</msgType><msgTitle>it's weigh in day</msgTitle><msgContent>please step on your scale and report your weight</msgContent><binaryImg>![CDATA[PNG
    egfreefj44%%FFEdfedfefrttvsIENDB`]]</binaryImg></reportFeedback></D4UMProtocol>

    Yes, that one worked fine =) thx
    But now I have another problem (this time I add the code):
    Attribute att = null;
              String name = null;
              String address = null;
              KXmlParser parser = new KXmlParser();
              parser.setInput(is, null);
              Document document = new Document();
              document.parse(parser);
              Element root = document.getRootElement();
    int children = root.getChildCount();
         for (int i=0; i < children; i++) {
         if (root.getType(i) == Node.ELEMENT) {
         Element el = root.getElement(i);
         int babies = el.getChildCount();
         for (int j=0; j < babies; j++) {
              if (el.getType(j) == Node.ELEMENT) {
         Element elName = (Element)el.getChild(j);
         if (elName.getName().equals("name")) {
         att = elName.getAttribute("value");
         name = att.getValue();
         else if (elName.getName().equals("address")) {
         att = elName.getAttribute("value");
         address = att.getValue();
         System.out.println(name, address);
    Now I get an error msg that says that the class Attribute doesn't exist. I have looked in the api docs for the kxml parser (version 2.1.9) but I can't find anything about the Attribute class there. Should I use another class, e.g. Element, or what shall I do here? please help me =)

  • Plz help: org.kxml.parser.XmlParser$DefaultParserException

    Hello Friends,
    If I have received the following xml from the client via UDP:
    <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
    <SOAP-ENV:Header>
    <wsa:To>datagram://127.0.0.1:9090/soaprpc</wsa:To>
    <wsa:Action>urn:Services#echoString</wsa:Action>
    <wsa:MessageId>uuid:95946541-2ce-d590dbc-22e14a74</wsa:MessageId>
    <wsa:ReplyTo>
    <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
    </wsa:ReplyTo>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <echoString xmlns="urn:Services" id="o0" SOAP-ENC:root="1">
    <String xmlns="" xsi:type="xsd:string">a</String>
    </echoString>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Does any one of you have any idea (or can see what i cannot may be :S) what could be the cause of the following exception when I use the method extractRoot(..) pasted below, to parse it? I am using kXML in J2ME environment.
    org.kxml.parser.XmlParser$DefaultParserException: Attribute name ressmust be followed by '='! @8:1764
    at org.kxml.parser.XmlParser.parseStartTag(+169)
    at org.kxml.parser.XmlParser.parseSpecial(+145)
    at org.kxml.parser.XmlParser.peek(+106)
    at org.kxml.kdom.Node.parse(+6)
    at org.kxml.kdom.Element.parse(+45)
    at org.kxml.kdom.Node.parse(+80)
    at org.kxml.kdom.Element.parse(+45)
    at org.kxml.kdom.Node.parse(+80)
    at org.kxml.kdom.Element.parse(+45)
    at org.kxml.kdom.Node.parse(+80)
    at org.kxml.kdom.Document.parse(+5)
    at cnsoap.server.UDPServerThread.extractRoot(+45)
    at cnsoap.server.UDPServerThread.await(+794)
    at cnsoap.server.UDPServerThread.run(+9)
    private void extractRoot(Datagram incomingPacket) throws IOException {
    // incomingPacket.getData() returns the xml I have pasted above
    InputStreamReader reader = new InputStreamReader (new ByteArrayInputStream(incomingPacket.getData()));
    XmlParser xp = new XmlParser(reader);
    Document doc = new Document();
    doc.parse(xp);
    root = doc.getRootElement(); // root is an instance member of the class
    Suggestions please :(
    Fahad Aijaz

    change your classpath

  • Can I refactor this query to use an index more efficiently?

    I have a members table with fields such as id, last name, first name, address, join date, etc.
    I have a unique index defined on (last_name, join_date, id).
    This query will use the index for a range scan, no sort required since the index will be in order for that range ('Smith'):
    SELECT members.*
            FROM members
            WHERE last_name = 'Smith'
            ORDER BY joindate, idIs there any way I can get something like the following to use the index (with no sort) as well:
    SELECT members.*
            FROM members
            WHERE last_name like 'S%'
            ORDER BY joindate, idI understand the difficulty is probably; even if it does a range scan on every last name 'S%' (assuming it can?), they're not necessarily in order. Case in point:
    Last_Name:  JoinDate:
    Smith          2/5/2010
    Smuckers     1/10/2010An index range scan of 'S%' would return them in the above order, which is not ordered by joindate.
    So is there any way I can refactor this (query or index) such that the index can be range scanned (using LIKE 'x%') and return rows in the correct order without performing a sort? Or is that simply not possible?

    xaeryan wrote:
    I have a members table with fields such as id, last name, first name, address, join date, etc.
    I have a unique index defined on (last_name, join_date, id).
    This query will use the index for a range scan, no sort required since the index will be in order for that range ('Smith'):
    SELECT members.*
    FROM members
    WHERE last_name = 'Smith'
    ORDER BY joindate, idIs there any way I can get something like the following to use the index (with no sort) as well:
    SELECT members.*
    FROM members
    WHERE last_name like 'S%'
    ORDER BY joindate, idI understand the difficulty is probably; even if it does a range scan on every last name 'S%' (assuming it can?), they're not necessarily in order. Case in point:
    Last_Name:  JoinDate:
    Smith          2/5/2010
    Smuckers     1/10/2010An index range scan of 'S%' would return them in the above order, which is not ordered by joindate.
    So is there any way I can refactor this (query or index) such that the index can be range scanned (using LIKE 'x%') and return rows in the correct order without performing a sort? Or is that simply not possible?Come on. Index column order does matter. "LIKE 'x%'" actually is full table scan. The db engine accesses contiguous index entries and then uses the ROWID values in the index to retrieve the table rows.

  • How to write a SQL Query without using group by clause

    Hi,
    Can anyone help me to find out if there is a approach to build a SQL Query without using group by clause.
    Please site an example if is it so,
    Regards

    I hope this example could illuminate danepc on is problem.
    CREATE or replace TYPE MY_ARRAY AS TABLE OF INTEGER
    CREATE OR REPLACE FUNCTION GET_ARR return my_array
    as
         arr my_array;
    begin
         arr := my_array();
         for i in 1..10 loop
              arr.extend;
              arr(i) := i mod 7;
         end loop;
         return arr;
    end;
    select column_value
    from table(get_arr)
    order by column_value;
    select column_value,count(*) occurences
    from table(get_arr)
    group by column_value
    order by column_value;And the output should be something like this:
    SQL> CREATE or replace TYPE MY_ARRAY AS TABLE OF INTEGER
      2  /
    Tipo creato.
    SQL>
    SQL> CREATE OR REPLACE FUNCTION GET_ARR return my_array
      2  as
      3   arr my_array;
      4  begin
      5   arr := my_array();
      6   for i in 1..10 loop
      7    arr.extend;
      8    arr(i) := i mod 7;
      9   end loop;
    10   return arr;
    11  end;
    12  /
    Funzione creata.
    SQL>
    SQL>
    SQL> select column_value
      2  from table(get_arr)
      3  order by column_value;
    COLUMN_VALUE
               0
               1
               1
               2
               2
               3
               3
               4
               5
               6
    Selezionate 10 righe.
    SQL>
    SQL> select column_value,count(*) occurences
      2  from table(get_arr)
      3  group by column_value
      4  order by column_value;
    COLUMN_VALUE OCCURENCES
               0          1
               1          2
               2          2
               3          2
               4          1
               5          1
               6          1
    Selezionate 7 righe.
    SQL> Bye Alessandro

  • How to parse a HTML file using HTML parser in J2SE?

    I want to parse an HTML file using HTML parser. Can any body help me by providing a sample code to parse the HTML file?
    Thanks nad Cheers,
    Amaresh

    What HTML parser and what does "parsing" mean to you?

  • WEB BASED MAPPING APPLICATION TO DEVELOP QUERY UTILITY USING MAPVIEWER

    Dear Sir,
    please any one can answer me as soon as possible its very urgent
    WEB BASED MAPPING APPLICATION TO DEVELOP QUERY UTILITY USING MAPVIEWER
    I     As oracle mapviewer Chapter 8 (Oracle Maps) says generating our own Web based mapping application we are trying to generate our own maps for our own data contains in our layers like example boundary lines and roads and etc. and we are following complete example as described in Oracle Mapviewer Document Chapter 8.
    Before this step we tried with demo data downloaded from OTN mvdemo. And we downloaded latest demo today itself from the OTN and imported into our database schema called mvdemo. And we copied all three jar files mvclient and mvconnection and mvpalette into our jdeveloper .
    II.     We created a jsp to execute the following code from oracle mapviewer chapter 8 documents
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/jwcache.tld"
    prefix="jwcache"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/fileaccess.tld"
    prefix="fileaccess"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/jesitaglib.tld"
    prefix="JESI"%>
    <f:view>
    <html>
    <head>
    <META http-equiv="Content-Type" content="text/html" charset=UTF-8>
    <TITLE>A sample Oracle Maps Application</TITLE>
    <script language="Javascript" src="jslib/loadscript.js"></script>
    <script language=javascript>
    var themebasedfoi=null
    function on_load_mapview()
    var baseURL = " http://localhost:8888/mapviewer/omserver";
    // Create an MVMapView instance to display the map
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    // Add a base map layer as background
    mapview.addBaseMapLayer(new MVBaseMap("mvdemo.demo_map"));
    // Add a theme-based FOI layer to display customers on the map
    themebasedfoi = new MVThemeBasedFOI('themebasedfoi1','mvdemo.customers');
    themebasedfoi.setBringToTopOnMouseOver(true);
    mapview.addThemeBasedFOI(themebasedfoi);
    // Set the initial map center and zoom level
    mapview.setCenter(MVSdoGeometry.createPoint(-122.45,37.7706,8307));
    mapview.setZoomLevel(4);
    // Add a navigation panel on the right side of the map
    mapview.addNavigationPanel('east');
    // Add a scale bar
    mapview.addScaleBar();
    // Display the map.
    mapview.display();
    function setLayerVisible(checkBox){
    // Show the theme-based FOI layer if the check box is checked and
    // hide the theme-based FOI layer otherwise.
    if(checkBox.checked)
    themebasedfoi.setVisible(true) ;
    else
    themebasedfoi.setVisible(false);
    </script>
    </head>
    <body onload= javascript:on_load_mapview() >
    <h2> A sample Oracle Maps Application</h2>
    <INPUT TYPE="checkbox" onclick="setLayerVisible(this)" checked/>Show customers
    <div id="map" style="width: 600px; height: 500px"></div>
    </body>
    </html>
    </f:view>
    <!--
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>mapPage</title>
    </head>
    <body><h:form binding="#{backing_mapPage.form1}" id="form1"></h:form></body>
    </html>
    -->
    <%-- oracle-jdev-comment:auto-binding-backing-bean-name:backing_mapPage--%>
    III.     When we run this jsp it’s giving us following Two errors
    1     Error:     ‘MVMapView’ is undefined
         Code:     0
         URL:     http://192.168.100.149:8988/MapViewerApp-WebProj-context-root/faces/mapPage.jsp
    2     Error:     ‘themebasedfoi’ is null or not an object
         Code:     0
         URL:     http://192.168.100.149:8988/MapViewerApp-WebProj-context-root/faces/mapPage.jsp
    Please let us know what could be problem as soon as possible. Very urgent
    Please let us know where we can find Mapviewer AJAX API’s for Jdeveloper Extention
    Thanks
    Kabeer

    I currently use parameters, and they are passed from the form to the report. Report is then generated based on a function returning ‘strongly typed’ cursor. The ‘strongly typed’ cursor in my case returns a record consisting of an orderly collection of fields.
    This collection of fields is returned by another function that relies on the IF … THEN logic.
    However, the number of IF ... THEN statements is quite large (currently 64 covering all possible combinations of 6 parameters available in the form).
    I would like to avoid the large number of IF … THEN statements, and hope that there is a way of passing a string to a query, where the Dynamic SQL would in Select close and Where close reflect parameters passed by the form.
    In addition to this I would like to avoid creating and populating a table or a view dedicated to the report, because this may lead to a conflict in case of multiple users concurrently generating reports with different choice of parameters.
    Edited by: user6883574 on May 28, 2009 9:16 PM

  • How to find out Query last used by whom

    Dear All,
    Can any one tell me that "How to find out the Query last used by whom. I have already searched in SDN but no luck. In my system BW Stats are not installed and I have already checked the below tables.
    RSZELTDIR  - Directory of the reporting component elements
    RSZELTTXT  - Texts of reporting component elements 
    RSZELTXREF  - Directory of query element references 
    RSRREPDIR -  Directory of all reports (Query GENUNIID) 
    RSZCOMPDIR -  Directory of reporting components 
    RSZRANGE  - Selection specification for an element 
    RSZSELECT -  Selection properties of an element
    RSZELTDIR - Directory of the reporting component elements 
    RSZCOMPIC -  Assignment reuseable component <-> InfoCube
    RSZELTPRIO -  Priorities with element collisions
    RSZELTPROP - Element properties (settings)
    RSZELTATTR - Attribute selection per dimension element 
    RSZCALC - Definition of a formula element 
    RSZCEL - Query Designer: Directory of Cells
    RSZGLOBV -  Global Variables in Reporting
    RSZCHANGES  Change history of reporting components 
    I am able to find out the Date and time but not the user name.  So could you please help on this.
    Regards
    Sankar

    i think u have missed it.
    RSZCOMPDIR IS THE ONLY TABLE WHICH PROVIDES THE DATA.
    ENTER TECHNICAL QUERY Name in RSZCOMPDIR-COMPID.
    RSZCOMPDIR-TSTNAM gives you the user id of sap bw user who made the change.
    RSZCOMPDIR-TSTPDAT gives you date on which  change was made .
    RSZCOMPDIR-TSTPTIM   gives you timestamp on which  change was made .
    all users details can be obtained from TCODE SU01 where you need to enter sap user id.
    You can also get user name( description) by using tcode SE09 and entering above sap user id.

Maybe you are looking for

  • Use of FIRST_VALUE OVER in a PL/SQL query

    Hello, Here is my problem: I'm trying to execute a query using FIRST_VALUE OVER in a PL/SQL procedure, e.g. SELECT FIRST_VALUE (name) OVER (order by birthdate) FROM birthday_table WHERE location = 'HOME'; I need to get the value returned. I tried to

  • How to create Illustrator COM application Object  in Invisible manner?

    Hi, I added CS6 COM reference in my VB.NET application and after that I have the following basic object creation in order to convert a eps file to svg. But for some reason when I create this COM object it is launching the Adobe Illustrator applicatio

  • Can't delete program.

    Hey there, I just bought the base model macbook pro for school and some gaming, I transfered over from PC, and it's great. So pardon me if I have no clue what I'm doing. I hope I'm in the right forum, I believe I have MAC OS X 10.4. >_< Anyway, I dow

  • MEDIA MANAGER ISSUE

    I am having problems opening the media manager. When I select a sequence nothing happens. When I highlight the clips in the sequence I receive a general error. I am only able to open the manager when I select the captured clips in the browser one at

  • DB STARTUP TIME

    Hi When i query my database to find the db startup time i get SELECT to_char(startup_time,'DD-MON-YYYY HH24:MIS') "DB Startup Time" FROM sys.v_$instance I get the following error ERROR at line 1: ORA-01821: date format not recognized What to do?