Forms - EXCEL (unix server)

I want to create a excel file (from oracle forms), It will run at webforms (unix server) and I want to obtain different sheets; How is it possible?
The form is executed at the server and the file will be created at the server. How I can open it? maybe to open it from forms (Web.Show_Document??), maybe with a link ??.
Is it possible? Can anybody help me??
Thanks

Maria,
either you use a Java API which allow to deal with xls format (and not CVS format because you have to setup sheets), or you can use Microsoft Office Web Components.
The first solution can run on the unix server (I think you can download the stuff from Apache group site, but I'm note sure).
The seconde solution is very easy to use.
That relies on an ActiveX that you must pilot with VBscript. The VB script must be generated dynamically in your case.
There are three components (chart, graph and Pivot), each identified by an ID.
cf MSOWCVBA.CHM on your computer, if you have Office 2000.
Sample of code:
<OBJECT classid=clsid:0002E510-0000-0000-C000-000000000046 height=361
id=Spreadsheet1 style="HEIGHT: 361px; WIDTH: 550px" width="100%">
<PARAM NAME="ViewableRange" VALUE="A1:XX5000">
</OBJECT>
<script language=vbscript>
Sub Window_onLoad()
Spreadsheet1.TitleBar.Caption = "Sample Spreadsheet"
' Load Data from html file specified in URL
Spreadsheet1.DataType = "HTMLURL"
Spreadsheet1.HTMLURL = "http://<machine>:7777/pls/<DAD>/scott.emptocsv?p_type=2&p_table=USER_TABLES"
End Sub
</script>
Caution: Every user must have license Office 2000 in order to use this component.
Calling from Form
Form will call a programm which is in charge of generating the VB script above, with the specific data.
You can develop this programm in PL/SQL, and access it by mod_plsql, by invoking an URL with web.show_document.
Regards,
patrick.

Similar Messages

  • Modifying form on unix server using Form Builder installed on Windows deskt

    We are using Oracle Applications hosed on unix servers. There is a custom form in XXX_TOP/forms/US folder that I need to modify. My Windows desktop has Forms Builder 10g installed. I ftpied fmb file over from unix server to my Windows desktop and tried opening it. I get an error FRM-18108: Failed to load the following objects: APPSTAND, etc etc. Obviously I am not doing it right. What is the correct way of modifying a form file sitting on unix server, using Forms Builder installed on Windows desktop? Do I need to copy all dependant objects to Windows desktop along with fmb file? Thank you in advance.

    You will also need all of the .plb and .fmb found in the AU_TOP/Resources, however, if you modify an Oracle provided Form you will loose all support from Oracle for that Form and anytime you apply an upgrade or patch, you will loose the changes if the upgrade/patch involves the modified form. There are only 2 approved ways to modify an Oracle supplied EBS form. First is by using the CUSTOM.PLL library and the second is by using Forms Personalization (FP). I strongly recommend you persue using the CUSTOM.pll or FP. If neither of these options will provide the functionality you need - CALL ORACLE SUPPORT before you modify any files.
    Craig...

  • Php form for unix server

    Hellow to everybody i would like to know, witch files or
    carpets do i need
    to have
    on a server unix to run a php form (method post, get).
    I mean if a need to create a carpet example "cgi-bin", or if
    a need
    any archive similar "formail.pl" or what else,
    thanks to anyone who can help me.
    David

    Have you ever work with a data-driven website in the past? If
    so, what is specific data-driven app did you work with?
    To get PHP working on your local machine, you need to install
    PHP, MySQL and Apache web server all together. It is ideally
    designed for local testing with your data-driven websites right
    there on your local machine... once it is achieved, then, of course
    you could upload the finished data-driven website over to your web
    server for general public use or specific audience.
    TO make this work, I suggest that you want to consider this
    book called, "PHP for Dreamweaver 8," who authored by David Powers.
    It is an excellent, excellent book. It covers many topics ranging
    from setting up PHP, MySQL and Apache web servers and few other
    important issues associated with installation of these apps on your
    local machine (whether it is Windows XP-based or Macs), other
    topics included how to build, develop and work with data-driven
    websites and realize important issues that arise under those topics
    discussed by the author.
    As for installation of opensource applications (PHP, MySQL,
    and Apache), it is a bit complicated, heavy-hand in order to make
    it work. That is why I am recommending you to get this book.
    I am curious, what Dreamweaver version you are working with?
    And what system architecture?

  • Windows tool to compile forms on unix server

    We have one client using Forms 6i on the web, so I need to test in this environment.
    Currently to compile the fmb on the unix platform, I use Hummingbird software (Connectivity, Exceed, Xstart) to run the compile using the command f60genm.
    I do not particularly like the Hummingbird software, as it takes a lot of software just to run an X-windows terminal session. However, it seems to be necessary, because the unix administrator tells me the Forms 6 compiler in this environment apparently "needs to connect to the Xwindows graphics library."
    If I try to run the f60genm comand from a SSH Secure Shell connection, I get the error:
        FRM-91500: Unable to start/complete the build.I get the same error in the Xstart session if I use the f60gen command (without the "m").
    However, if I type "f60genm" without any parameters in the Xstart window, a second xwindows application pops up where I can enter Forms compile options (login and module information.)
    If anyone is familiar with unix: Is there maybe a path or environment command I could try in the SSH Secure Shell session that would satisfy the Xwindows graphics library requirement, so I could then run the compile without using Hummingbird?
    Thanks in advance.

    Thanks everyone for all the help and suggestions! I am closer, but still cannot get the f60genm or f60gen to work.
    Paul, when I enter
      echo $SHELLI get:   /bin/cshPaul and Soumyajit, when I enter a DISPLAY=... or export command, unix echoes my input, and appends Command not found
    It seems that the setenv that Rosario suggested actually works. I can do
      setenv DISPLAY=111.2.333.4:0.0
      setenv ORACLE_TERM=vt220 and they seem to work. Then when I type setenv by itself, I see a number of environment variables, with my two at the end. However, unlike the other values displayed, their values have an equal sign appended at the end:
      DISPLAY=111.2.333.4:0.0=
      ORACLE_TERM=vt220=So maybe that is the reason I still get
      FRM-91500: Unable to start/complete the build.when I try the f60genm command that works in the Hummingbird environment.
    I really do appreciate all your help! If you can think of anything I should try, please let me know.

  • Excel COM object in Unix Server

    We generated the Excel file with Macros in NT server with Excel Installed. Is there is any way to achieve this in Unix Server?
    Thanks in Advance
    Ayyanar

    There are a couple of ways to generate Excel files, regardless of the operating system. If your version of Excel supports the Excel XML file format, then you can use PeopleCode to generate text based Excel XML files. For this approach, you usually create a template from an Excel XML file and then insert placeholders for content (usually in the form of XSL, but it could be %Bind(:n) in an HTML Definition).
    Another approach I have used is [Apache POI|http://poi.apache.org/].
    I don't work with XMLPublisher, but it may support Excel output as well.

  • Any function module to transfer File(Excel)  from Appli Serveto Unix Server

    Hi all,
    Do you have any function module to transfer excel file from application server to Unix server.
    Can anyone have some sample code for the same.
    Thanks in Advance.
    Sreedhar Marri

    Hi,
            There is no function module ,instead use open dataset command.
    Syntax example,
    data: e_file like rlgrap-filename.
    data : txtstr type string.
    concatenate  searchpoints-dirname '/scm/' werks '/' filnam into e_file.
      open dataset e_file for output in text mode encoding default.
    loop at itab.
        concatenate itab ',' into txtstr.
         transfer txtstr to e_file.
      endloop.
    where itab is the contents u want to transfer.
    Pls check for required authorisations with ur BASIS for open dataset command.
    Regards,
    Balakumar.G.

  • Compiling Forms on a Unix Server

    Hello,
    I was wondering if there was a way to compile forms on a Unix server from the command line? Right now we are using Reflection X and form builder on the Unix server to compile.
    Is there any alternatives to Reflection X?
    Any help would be appreciated.

    In a normal vt100 telnet session, i use
    f60gen $formname $usern module_type=$moduletype Compile_All=YES
    cheers
    Yogeeraj

  • File not found exception in JBOSS unix server

    Hi
    I am working on a JBOSS application (jdk 1.6)
    I am getting the following exception during a file upload operation in the unix server
    java.io.FileNotFoundException: D:\\Test.xls (No such file or directory)
    The same operation works in my local server (ie windows JBOSS application)
    Basically it is not able to form the file handle. It fails exactly here
    file = new File("D:\\Test.xls");
    Can someone help
    Thanks

    does D:\\Test.xls look like a valid *nix file name to you?                                                                                                                                                                                                       

  • File Transfer From Unix server to Windows Client System Using WebUtil

    Hi all,
    I want to Transfer a File from Unix Server to Window Client System using Webutil. But below mention code is not working.
    DECLARE
         V_Server_Path VARCHAR2(500) := Null;
         V_Client_Path VARCHAR2(500) := Null;
    BEGIN
         V_Server_Path := '/proj/oraapps/viper/dev/reports/cache/Saveauftr.txt';
         V_Client_Path := 'C:\Migration\EU_Applications\Lima\OAS_WorkArea\Client\Saveauftr.txt';
         IF WebUtil_File_Transfer.Is_AS_Readable(V_Server_Path) THEN
         IF WebUtil_File_Transfer.AS_To_Client(V_Client_Path,V_Server_Path) THEN
              Message('Downloading the File ..... .... ... .. .');
              Message('Downloading Was Successfull ...');
              Message('File Transfer from Server Was Successfull ...');
         END IF;
    END IF;
    END;
    Can anyone suggest me,Why the above code is not working and what to do for solve the Problem.
    Regards
    Gany

    Hello,
    You have more chances to get an answer in the Oracle Forms OTN Forum :
    Forms
    Regards

  • Java application -  processing files on different unix server

    Hi,
    I was wondering if it is possible to
    a) read a file that is on a different unix server to the one that my java application is on
    b) move a file from one directory on the remote unix server to another directory on the remote unix server
    Regards,
    sabretooth

    for (b):
    If I were you I would set up a FTP account for your app on the remote unix server. Then I would get my hands on a simple ftp framework
    and simply:
    Ftp ftp = new Ftp("UNIXHostIP", username, password);
    ftp.connect();
    ftp.moveRemoteFile("form here","to here");
    ftp.disconnect();
    some frameworks:
    JScape, iNet Factory: com.jscape.inet.ftp.Ftp
    /n software, IP*Works: ipworks.Ftp
    Enterprise Distributed Technologies, Java FTP Client Library: com.enterprisedt.net.ftp.FTPClient
    IBM alphaWorks, FTP Bean Suite: com.ibm.network.ftp.protocol.FTPProtocol
    SourceForge, JFtp: net.sf.jftp.net.FtpConnection
    The Jakarta Project, Jakarta Commons/Net: org.apache.commons.net.ftp.FTPClient
    JavaShop JNetBeans: jshop.jnet.FTPClient
    Sun, JDK: sun.net.ftp.FtpClient
    Florent Cueto, JavaFTP API: com.cqs.ftp.FTP
    Bea Petrovicova, jFTP: cz.dhl.ftp.Ftp
    The Globus Project, Java CoG Kit: org.globus.io.ftp.FTPClient
    I recomend JScape's INetFactory (Easy to use)
    OR the one from Jakarta (Free)
    IP*Works (TOP Quality at a price)
    Check out http://www.javaworld.com/javaworld/jw-04-2003/jw-0404-ftp.html
    for a complete review of all the ftp frameworks
    Firewalls?
    make a folder that is public on the unix server-ie falls outside the firewall if there is one (fire walls might cause problems for you)
    Unless you know the password to get through the Proxy then this should not be a problem.

  • Write blob data from database to unix server

    Hi all,
    I need to send the attachment file into the mail. I have a header form in which I have implemented Download/Upload functionality using Apex user guide. When ever a user fill all the entries and submit the form then some field information along with attachment I need to send to the user.
    I mean when ever user hit the submit button it should take blob data from my custom table tmp_downlod_files and send to the user as an attachment.
    I have searched the post and got lot information but not able to get succeed.
    I have implemented java stored procedure for sending automatic mail when user is submitting the form but what I need is to take blob content from database and send as an attachment.
    1: So I need to write blob content from custom table to unix server in some location and from there I need to attach that file.
    2: the java store which I have implemented for sending automatic mail is working and one argument is attachment which I am passing null for now. So mail is working how to write the file from database to unix server and send as an attachment.
    What I did for writing file from database to unix server:
    1:
    CREATE OR REPLACE PROCEDURE trx_blob_to_file (l_header_id IN NUMBER)
    IS
    BEGIN
    FOR rec_picture IN (SELECT ID
    FROM TMP.tpx_download_files
    WHERE header_id = l_header_id
    AND mime_type LIKE ('image' || '%'))
    LOOP
    DECLARE
    l_out_file UTL_FILE.file_type;
    l_buffer RAW (32767);
    l_amount BINARY_INTEGER := 32767;
    l_pos INTEGER := 1;
    l_blob_len INTEGER;
    p_data BLOB;
    file_name VARCHAR2 (256);
    BEGIN
    SELECT blob_content, filename
    INTO p_data, file_name
    FROM tpx_download_files
    WHERE ID = rec_picture.ID;
    l_blob_len := DBMS_LOB.getlength (p_data);
    l_out_file :=
    UTL_FILE.fopen ('/home/oracle/interfaces/out/upld',
    file_name,
    'wb',
    32767
    WHILE l_pos < l_blob_len
    LOOP
    DBMS_LOB.READ (p_data, l_amount, l_pos, l_buffer);
    IF l_buffer IS NOT NULL
    THEN
    UTL_FILE.put_raw (l_out_file, l_buffer, TRUE);
    END IF;
    l_pos := l_pos + l_amount;
    END LOOP;
    UTL_FILE.fclose (l_out_file);
    EXCEPTION
    WHEN OTHERS
    THEN
    IF UTL_FILE.is_open (l_out_file)
    THEN
    UTL_FILE.fclose (l_out_file);
    END IF;
    END;
    END LOOP;
    END;
    2: I have written a PL/SQL process and calling the above procedure on SUBMIT:
    DECLARE
    l_header_id NUMBER;
    l_filename VARCHAR2 (200);
    BEGIN
    SELECT header_id, filename
    INTO l_header_id, l_filename
    FROM tpx_download_files
    WHERE header_id = :p35_sr_header_id;
    trx_blob_to_file (l_header_id);
    END;
    But it is not writing the file from database to unix server.
    If I can get how to make working to write file from database to unix server then I will hopefully can send an attachment.
    3; I have given
    GRANT EXECUTE ON TPX_BLOB_TO_FILE TO PUBLIC.
    And
    GRANT EXECUTE ON UTL_FILE TO PUBLIC.
    Where I am doing wroung can anyone guide me or any other approach is appreciated.
    I am already late so I need soon. Please help.

    Hi all,
    I need to send the attachment file into the mail. I have a header form in which I have implemented Download/Upload functionality using Apex user guide. When ever a user fill all the entries and submit the form then some field information along with attachment I need to send to the user.
    I mean when ever user hit the submit button it should take blob data from my custom table tmp_downlod_files and send to the user as an attachment.
    I have searched the post and got lot information but not able to get succeed.
    I have implemented java stored procedure for sending automatic mail when user is submitting the form but what I need is to take blob content from database and send as an attachment.
    1: So I need to write blob content from custom table to unix server in some location and from there I need to attach that file.
    2: the java store which I have implemented for sending automatic mail is working and one argument is attachment which I am passing null for now. So mail is working how to write the file from database to unix server and send as an attachment.
    What I did for writing file from database to unix server:
    1:
    CREATE OR REPLACE PROCEDURE trx_blob_to_file (l_header_id IN NUMBER)
    IS
    BEGIN
    FOR rec_picture IN (SELECT ID
    FROM TMP.tpx_download_files
    WHERE header_id = l_header_id
    AND mime_type LIKE ('image' || '%'))
    LOOP
    DECLARE
    l_out_file UTL_FILE.file_type;
    l_buffer RAW (32767);
    l_amount BINARY_INTEGER := 32767;
    l_pos INTEGER := 1;
    l_blob_len INTEGER;
    p_data BLOB;
    file_name VARCHAR2 (256);
    BEGIN
    SELECT blob_content, filename
    INTO p_data, file_name
    FROM tpx_download_files
    WHERE ID = rec_picture.ID;
    l_blob_len := DBMS_LOB.getlength (p_data);
    l_out_file :=
    UTL_FILE.fopen ('/home/oracle/interfaces/out/upld',
    file_name,
    'wb',
    32767
    WHILE l_pos < l_blob_len
    LOOP
    DBMS_LOB.READ (p_data, l_amount, l_pos, l_buffer);
    IF l_buffer IS NOT NULL
    THEN
    UTL_FILE.put_raw (l_out_file, l_buffer, TRUE);
    END IF;
    l_pos := l_pos + l_amount;
    END LOOP;
    UTL_FILE.fclose (l_out_file);
    EXCEPTION
    WHEN OTHERS
    THEN
    IF UTL_FILE.is_open (l_out_file)
    THEN
    UTL_FILE.fclose (l_out_file);
    END IF;
    END;
    END LOOP;
    END;
    2: I have written a PL/SQL process and calling the above procedure on SUBMIT:
    DECLARE
    l_header_id NUMBER;
    l_filename VARCHAR2 (200);
    BEGIN
    SELECT header_id, filename
    INTO l_header_id, l_filename
    FROM tpx_download_files
    WHERE header_id = :p35_sr_header_id;
    trx_blob_to_file (l_header_id);
    END;
    But it is not writing the file from database to unix server.
    If I can get how to make working to write file from database to unix server then I will hopefully can send an attachment.
    3; I have given
    GRANT EXECUTE ON TPX_BLOB_TO_FILE TO PUBLIC.
    And
    GRANT EXECUTE ON UTL_FILE TO PUBLIC.
    Where I am doing wroung can anyone guide me or any other approach is appreciated.
    I am already late so I need soon. Please help.

  • Picking of Adobe forms from application server

    Hi Gurus
    We have SAP ECC 6.0. So far in our system we have text files and CSV excel files which comes from external system and lies in application sever and these are being picked up automatically by system and gets processed in SAP.
    1)The requirement is to "pick the adobe forms from application server and read some fields in the form and update the fields (required) in customer master data in SAP". How can we achieve this?
    Any kind of help is appreciated.
    Thanks
    Aleem

    Hi Aleem,
    I tried to work on a similar scenario couple of months back. But it was not successful. Will you please let me know if you get any solution???
    Thanks in advance
    Poornima

  • How to run oracle forms in Unix

    How to run Oracle forms in unix ?'

    Oracle Forms only runs on an Oracle application Server.
    Regards
    Grant Ronald
    Oracle Product Management

  • Cannot attach library - 9i web forms on unix

    Hi,
    I've compiled my forms on the unix server to be deployed using the servlet. However, when I try and run the forms over the web, I get FRM-40039 cannot attach library. Has anybody else encountered this error on 9iAS when trying to deploy web enabled forms?
    If so, how can this be resolved?
    Thanks in advance

    In moving from Windows to Unix, make sure that you are taking into account case-sensitivity. (i.e. in Unix bob.pll and Bob.pll are different files). Make sure you are referencing it correctly.
    Also, the forms90_path environment var should have the directory for all the files.
    The pll should have been ftp'd using binary.
    Lastly, make sure the pll is attached with the path removed.
    Good luck
    Bob

  • Shell script to start forms and reports server on reboot

    Does anyone have on shell script to automatically start up the forms and reports server on unix after a reboot?
    thanks much

    I also recompiled the "test.fmb" that came with the 10g Forms and Server on my windows xp machine and when I downloaded it back to the Linux Forms and Server machine, it loss the functionality of the "OK" button which is suppose to perform "exit_form" when pressed.
    BTW, I am using 10G developer suite on windows xp.

Maybe you are looking for