To open excell sheet in oracle bean area?

Hi Gurus,
Kindly anybody can tell me exactly which properties to set in oracle forms/bean area to use the java bean in forms.
Scenario is that i want open an excell sheet in bean area of a oracle 9i form.
Thanx in advance!

Could you please post this on the Forms forum as I think you question is more directed towards the Forms PM Team
Thanks
Business Intelligence Beans Product Management Team
Oracle Corporation

Similar Messages

  • EXCEPTION RAISED WHILE OPENING EXCEL SHEET FROM E-BUSINESS SUITE FORM

    Hi,
    I got error message ORA-10656I when was trying to open excel sheet which is in my local drive from e-business suite form. the following is the code where it is raising error.
    Appid := dde.app_begin('C:\Program Files\Microsoft Office\Office12\EXCEL.EXE '||'D:\emp.xls' ,dde.app_mode_normal);
    Oracle EBS version : 11.5.10.2cu
    Server : HP
    OS : HP Unix 11.11
    Could anyone help me out
    Thanks

    Two different forum users, exactly the same question? Hardly possible. So I guess this is just a double post.

  • Problem when opening excel sheet in jsp

    Hi friends
    When i try to open excel sheet from my program I am getting two problems
    1. first row of excel sheet is empty
    2. while opening I am getting error message of "the file is not in a recognizable format"
    Please help me..It is an urgent work
    my code
    <%@page language="java" import="java.io.*,java.text.*,java.sql.*,java.util.*"%>
    <%
    Class.forName("org.gjt.mm.mysql.Driver");
    Connection conn = DriverManager.getConnection("jdbc:mysql://256.136.119.86/mydb","zzz","zzz");
    Statement st = conn.createStatement();
    StringBuffer sb = new StringBuffer();
    sb.append("SAP#" + "\t");
    sb.append("x-plant status" + "\t");
    sb.append("Total Amount" +"\t");
    sb.append(">90 days" + "\t");
    sb.append("\n");
    try
    String query="select * from temp_Xplant";
    ResultSet rs = st.executeQuery(query);
    while(rs.next()){
    sb.append(rs.getString("sapNo") + "\t");
    sb.append(rs.getString("status")+ "\t");
    sb.append(rs.getString("amt") + "\t");
    sb.append(rs.getString("days") + "\t");
    sb.append("\n");
    conn.close();
    st.close();
    catch (Exception e)
    out.println("error");
    conn.close();
    st.close();
    response.setContentType("application/vnd.ms-excel");
    // response.setHeader("Content-Disposition", "attachment; filename=\"test.xls\"");
    String testt = "tests.xls";
    response.setHeader("Content-Disposition", "attachment; filename="+testt);
    out.println(sb.toString());
    out.close();
    %>
    thanks in advance

    The problem here is, you have setted the content type as excel sheet and you are writing some String content into the output stream. when excel tries to read the String content it will surely throw some error. Lot of excel APIs are available in the market to generate excel sheets.
    you can find one in the below URL.
    http://www.teamdev.com/downloads/jexcel/docs/JExcel-PGuide.html

  • Installing Control Panel 2/3 causes problems in opening Excel sheets

    After installing the control panel 3.0, I can't open Excel sheets properly anymore. A message says that the Excel sheet contains corrupted data and Excel can try to restore them. After confirming this, the excel sheet shows opened but all formating is gone.
    I had this issue yet with Control Panel 2.0. After some research on the web I found out that the problem is caused by the CP for Windows. I then switched back to CP V 1.1.4 and the excel sheets opened properly again.
    Thanks for any advise. I'm using Windows 7 and Excel/Outlook 2007.

    You are downloading software illegally. ShapeShifter is shareware so unless you indicate that you paid for it I don't feel it is appropriate to post your issue in this forum setting.

  • How to store an excel sheet in oracle database

    How can I store excel sheet into oracle.

    Or you could use Heterogenous Services to treat Excel as an external database:
    1- Go to Control Panel>Administrative Tools>Data Sources (ODBC)>System DSN and create a data source with appropriate driver. Name it EXCL.
    2- In %ORACLE_HOME%\Network\Admin\Tnsnames.ora fie add entry:
    EXCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.0.24)(PORT = 1521))
    (CONNECT_DATA =
    (SID = EXCL)
    (HS = OK)
    Here SID is the name of data source that you have just created.
    3- In %ORACLE_HOME%\Network\Admin\Listener.ora file add:
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = <hs_sid>)
    (ORACLE_HOME = <oracle home>)
    under SID_LIST_LISTENER like:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = d:\ORA9DB)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ORA9DB)
    (ORACLE_HOME = d:\ORA9DB)
    (SID_NAME = ORA9DB)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = EXCL)
    (ORACLE_HOME = D:\ora9db)
    Dont forget to reload the listener
    c:\> lsnrctl reload
    4- In %ORACLE_HOME%\hs\admin create init<HS_SID>.ora. For our sid EXCL we create file initexcl.ora.
    In this file set following two parameters:
    HS_FDS_CONNECT_INFO = excl
    HS_FDS_TRACE_LEVEL = 0
    5- Now connect to Oracle database and create database link with following command:
    SQL> CREATE DATABASE LINK excl
    2 USING 'excl'
    3 /
    Database link created.
    Now you can perform query against this database like you would for any remote database.
    SQL> SELECT table_name FROM all_tables@excl;
    TABLE_NAME
    DEPT
    EMP

  • How to populate the Quering data into Excel sheet in Oracle

    Dear Guys,
    How to populate the Quering data into Excel sheet in oracle.
    Please provide a solution.
    Thanks & Regards,
    Senthil K Kumar

    Hi
    To make Excel sheets from sqlplus, you can use the markup html tag in sqlplus.
    Here's an example.
    Example
    <code>
    SET LINESIZE 4000
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET PAGESIZE 999
    SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF
    SPOOL c:\test_xls.xls
    SELECT object_type
    , SUBSTR( object_name, 1, 30 ) object
    , created
    , last_ddl_time
    , status
    FROM user_objects
    ORDER BY 1, 2
    SPOOL OFF
    SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON
    SET LINESIZE 2000 VERIFY ON FEEDBACK ON
    </code>

  • How to export to excel sheet from Oracle APEX 4.0?

    Hello,
         I'm relatively new to Oracle APEX. I'm in need of a solution to address the above question. I want to export a report's contents to an excel sheet from Oracle APEX(Priority).
    The export should be customizable to add entries into the excel sheet as I need(Secondary). Can anybody help?

    Checkout this link:
    http://technology.amis.nl/2011/02/19/create-an-excel-file-with-plsql/
    Thank you,
    Tony Miller
    Ruckersville, VA

  • Opening Excel sheet from server

    Hi I have one requirement to open Excel Sheet.
    The Excel sheet is residing in a directory parallel to WEB-INF. I am using Jboss server in Linux. in UI whenever I click on link I have to open Excel sheet from the server. Before opening Excel sheet I have to fill with some data. i am using JSP/Servlets .
    Can any one help me on this?
    Guru

    this piece of code is just open a xsl file with writing some data on the file
    it may be helpful for u .i am giving only logic.
    import java.util.*;
    import java.io.* ;
    import java.text.* ;
    public class a{
         // Main method
         public static void main (String args[])
              // Stream to write file
              //File file;
              FileWriter fout;
              String TimeStamp;
              try
              // Open an output stream
              Calendar currentdate= Calendar.getInstance();
                   int currmonth=currentdate.get(Calendar.MONTH)+1;
                   String strMonth="";
                   if(currmonth<10)
                        strMonth="0"+currmonth;
                   String wbname="Equifax"+strMonth+currentdate.get(Calendar.YEAR)+".xls";
                   System.out.println(wbname);
              BufferedWriter outfile = new BufferedWriter(new FileWriter(wbname));
                   //file=new File(filename);
                   fout = new FileWriter (wbname);
              // Print a line of text
              TimeStamp = new java.util.Date().toString();
              //String filename1=file.getName();
              outfile.write(" Apply ");
              // Close our output stream
              outfile.close();          
              // Catches any error conditions
              catch (IOException e)
                   System.err.println ("Unable to write to file");
                   System.exit(-1);
    }

  • Data Migration from MS   Excel Sheet to Oracle 9i Database

    Can anyone please help me to perform a data migration from MS excel sheet to Oracle 9i Database. I have an excel sheet from which i need to move data to the database. One of the columns in the sheet posseses multiple new line characters, and which causes a problem while migrating data with the help of SQL Loader. I would like to know whether any utility is available to migrate data directly from MS Excel sheet to the database, or it would he really helpfull for me , if anyone provide me with an alternate solution.

    I think Christian's suggestion will work for easily and quickly.
    1) create table link of Oracle target table in MS Office's ACCESS thru ODBC;
    2) from Access screen, you may easily dump the excel data into the linked table.
    This is very easy and feasible ways. Don't bother to find other ways. The other ways will need you to clear the unwanted carriage return signs first.

  • How to open Excel Sheet using JSP?

    Hi Dear,
    I want to open Excel Sheet in client browser, How to do this using JSP?
    If it is possible to open, client can make the changes in the sheet if he saves those changes, those changes must reflect on server.
    So pl. tell me how to do this?
    Thanks

    The following code gets data from an ODBC link to an Excel spreadsheet and displays it as a HTML table. You can modify the table to include <input> fields to update the spreadsheet when the form is submitted.
    I hope that this helps. -Don
    <%
    /* Establish connection to excel database(spreadsheet)
    ODBC DSN="xltest" */
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    java.sql.Connection con= java.sql.DriverManager.getConnection("jdbc:odbc:xltest");
    java.sql.Statement st = con.createStatement();
    java.sql.ResultSet rs = st.executeQuery("SELECT * from [Sheet1$]");
    java.sql.ResultSetMetaData rsmd = rs.getMetaData();
    %>
    <html>
         <head><title>Excel Database connection test</title></head>
         <body><table border=1 cellspacing=0><tr>
    <% // Print Column headings (first row of spreadsheet)
    for (int i = 1; i <= rsmd.getColumnCount(); i ++){
              %><td id='td1'><%=rsmd.getColumnName(i)%></td><%
    }//End for
    %></tr><%
    while(rs.next()) { // Print row data
    %><tr><%
         for (int i = 1; i <= rsmd.getColumnCount(); i ++) {
                   %><td id='td2'> <%=rs.getString(i)%></td><%;}// End for
    }//End while
    st.close();
    con.close();
    %>
    </tr></table></body></html>

  • Excel sheets from Oracle reports

    Is there any way to save the ouput of Oracle reports as an excel sheet?
    I know it is possible to take the output as a text file and open the file from the Excel sheet. but the file is text, with no layout format, fonts,...
    I tried to save it as HTML but when it is open from Excel each character is put on a distinct

    I have the same problem. Please let me know if you found a solution. Like you said it is possible to create a comma delimited file from Reports which can then be opened from Excel. Is there an easier way?
    Thanks
    Tertius

  • Open excel sheets in separate windows by clicking link.

    Hi,
    I have a web page which has a link. When user clicks on the link, a servlet is invoked that creates an excel sheet and opens it in MS-Excel. I used "res.setContentType("application/vnd.ms-excel");" to achieve this.
    But every time I click the link it opens up the sheet on the same MS-Excel window. It doesn't open up the excel sheet in new other window.
    Now here is my requirement: Whenever user clicks on the link, a new MS-Excel window should open up containing the excel sheet. So if user clicks the link 3 times, then 3 separate window should open up each containing its own excel sheet.
    Can anyone help me out in achieving this?
    Thanks in advance...

    Hi, try this
    In JSP/HTML
    Export To Excel
    In Servlet
    response.setContentType("application/vnd.ms-excel");
    response.setHeader("Content-disposition","attachment; filename=MyProjectExport.xls" );
    In web.xml
      <servlet>
        <servlet-name>excelservlet</servlet-name>
        <servlet-class>myPackage.ExcelServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>excelservlet</servlet-name>
        <url-pattern>/MyProjectExport.xls</url-pattern>
      </servlet-mapping>Assuming I haven't made any typos obfuscating the real packages, it
    should work. I think the step you are missing is to add the servlet
    mapping so that the servlet name is MyProjectExport.xls
    In the example above, I've made my servlet name match the filename in
    the Content-disposition, though in my real application it deosn't seem to
    matter that they don't match. In the html, you link to the name of the
    servlet, rather than the filename, but if you name them the same, I
    guess it won't matter.
    Arth

  • Firefox hangs when opening excel sheet in microsoft sharepoint

    When opening a excel sheet in Microsoft sharepoint Firefox hangs / freezes. (not responding)
    Only solution is to select end task in task manager.
    This is with version 3.6.8 ( there is no problem with 3.6.4)
    == URL of affected sites ==
    http://

    The problem here is, you have setted the content type as excel sheet and you are writing some String content into the output stream. when excel tries to read the String content it will surely throw some error. Lot of excel APIs are available in the market to generate excel sheets.
    you can find one in the below URL.
    http://www.teamdev.com/downloads/jexcel/docs/JExcel-PGuide.html

  • Excel sheets with defined print areas to pdf

    Hello
    I am trying to convert an Excel file with multiple sheets and defined print areas to pdf using Automator. The problem is that the action "Convert Format of Excel Files" prints everything on all sheets (even information outside the defined print areas).
    Does anyone have a solution to this?
    Thanks!

    Post what you would like to do in Excel here
    http://www.microsoft.com/mac/support

  • Unable to load excel sheet into oracle

    Can somebody help me...
    I just want to load data records from MS Excel spreadsheet into Oracle table without converting that MS Excel file,
    my ENV: Linux (centos 5.4 + Oracle EE 11gR2)
    here what I did:
    -ODBC-Conf on MS
    create a system DSN 'odbc_excel' => OK
    -Create HS initialization File => OK
    cat initexcel.ora
    HS_FDS_CONNECT_INFO = odbc_excel
    HS_AUTOREGISTER = TRUE
    HS_DB_NAME = dg4odbc
    -Modify listener.ora => OK
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = excel)
    (ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = dg4odbc)
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = extproc)
    -Modify tnsnames.ora: => OK
    excel =
    (DESCRIPTION =
    (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = DEDUSOBI)(PORT = 1521)))
    (CONNECT_DATA = (SID = excel)) (HS = OK)
    -lsnrctl reload => OK
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-MAR-2010 13:15:32
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    The command completed successfully
    -tnsping excel => OK
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-MAR-2010 13:15:09
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = DEDUSOBI)(PORT = 1521))) (CONNECT_DATA = (SID = excel)) (HS = OK))
    OK (20 msec)
    -create link in ORA => OK
    SQL> create database link excel using 'excel';
    Database link created.
    SQL> select * from dba_db_links where DB_LINK like '%EXCEL%';
    OWNER SYSTEM
    DB_LINK EXCEL
    USERNAME
    HOST excel
    CREATED 11-Mar-10
    -check link => NOK :-(
    SQL> select table_name from all_tables@EXCEL;
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from EXCEL
    -listener.log
    11-MAR-2010 13:33:30 * (CONNECT_DATA=(SID=excel)(CID=(PROGRAM=)(HOST=DEDUSOBI)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp) (HOST=127.0.0.1)(PORT=58093)) * establish * excel * 0
    All comments are welcome, thanks
    Zeynel
    Edited by: seyrekel on Mar 11, 2010 4:07 AM

    thanks for the respond Werner, that seems to be the most tricky part (ODBC-Conf@Linux)
    the driver should be available:
    # rpm -qa | grep -i odbc
    unixODBC-devel-2.2.11-7.1
    unixODBC-2.2.11-7.1
    # odbcinst -j
    unixODBC 2.2.11
    DRIVERS............: /etc/odbcinst.ini
    SYSTEM DATA SOURCES: /etc/odbc.ini
    USER DATA SOURCES..: /root/.odbc.ini
    #file /.../dbhome_1/bin/dg4odbc
    /.../dg4odbc:
    ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
    for GNU/Linux 2.6.9, dynamically linked (uses shared libs),
    for GNU/Linux 2.6.9, not stripped
    # odbcinst -s -q
    [ODBC]
    [AnalyticsWeb]
    [Cluster]
    [SSL_Sample]
    but still the same error message...
    thanks
    Zeynel

Maybe you are looking for

  • Final Cut Express-Capturing footage off of mini dv with no timecode

    Hello, For some reason my canon xm1 isn't showing timecode from the mini dv. I've already played footage from the same mini dv off of another mini dv deck and it did show timecode. Now Final Cut Express won't allow me to play clips in because it has

  • No copy and paste as single objects anymore???

    What is going on with iWork-Suite. We can not copy and paste multiple objects from keynote oder pages into iBook Author. As soon as you copy more than one object it will be one object in iBooks Author. For years it was working finde.  ;( Thats our pr

  • Implement SSL in JSP and servlets

    hi there, i needed some help in implementing ssl in JSPs and servlets. My idea was to have a login page and also use it where sensitive data is being sent. I have used the basic socket programming (socket.class and serverSocket.class) in GUI applicat

  • Why are my purchased songs?

    Why are my purchased songs not showing up on my phone under Purchased? I downloaded one song yesterday from my phone and that showed up but I purchased and downloaded 4 songs today on my computer from iTunes and now they are now showing up.. WHY/////

  • Unicode/glyph/font advice needed for porting WinForms app to Macintosh using AIR

    I've written an application in WinForms/.NET that I'd like to port to the Macintosh platform. I have never developed for the Mac but it seems as though AIR might be a good choice. I'm totally new to AIR. Some advice and info would be much appreciated