How to open (run) report on client in excel ?

Hello experts,
i am using ERP having forms 10g and database 10g.
in current scenario , when i run report , i will run in PDF format.
when there is need to convert it in Excel then i have to use software Rep2Excel.exe software in d2k's HTML folder (form->tolls->web->html)folder on oracle server . and has to call with report with rp2rro package. report convert in excel and save in html folder
in excel. so i have to access server to get the excel file.
now i am plan that when i run oracle report in excel than it open in excel at clients system.
below is the code which i used at button use to convert in excel from rdf report
pl_id := Create_Parameter_List('tmpdata');
          Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
               Add_Parameter(pl_id,'LOCN_CODE',TEXT_PARAMETER,:global.company_gl_locn);
               Add_Parameter(pl_id,'comp',TEXT_PARAMETER,:global.company_name);
          Add_Parameter(pl_id,  'TO_DaTe', TEXT_PARAMETER, :block_m.todate);
    Add_Parameter(pl_id,  'FRom_DaTe', TEXT_PARAMETER, :block_m.FROMDATE);
    Add_Parameter(pl_id,  'PROD_TYPE', TEXT_PARAMETER, :block_m.FROM_STORE);
    --Add_Parameter(pl_id,  'store_code', TEXT_PARAMETER, :from_store);
          message(123);pause;
  rp2rro.setdesformat('html');
  rp2rro.setdestype('file');
  rp2rro.setdesname(:global.path_f||temp||'.html');
  rp2rro.rp2rro_Run_Product ( REPORTS, :GLOBAL.PATH||temp||'.RDF', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
host(:global.path_f||'rep2excel -i:'||:global.path_f||temp||'.html -o:'||:global.path_f||temp||'.xls');
:global.path_del_f:=:global.path_f||temp||'.*';
value of
:GLOBAL.PATH   :='E:\PROJECT\'; (server)
        :GLOBAL.PATH_f   :='f:\DevSuiteHome_1\tools\web\html\'; (server)
temp contains the name of rdf report file.thanks
yash

Hello,
_Pls follow these guide lines for ensuring proper output in Microsoft Excel:
1.First compare the fields properties and the frames properties between the reports created with wizard and the reports created manually.
2. Do not leave any space between two adjacent objects.
Explanation: Because any space, including a few pixels, between two adjacent objects will result in an empty cell or column in Excel output
3.Make sure that the widths of all objects are vertically consistent.
Explanation: If the objects are not exactly aligned vertically, that is, have inconsistent widths, it is likely to result in insertion of unwanted cells/columns in Excel.
4. Pls. Make sure that the vertical elasticity of the frames and repeating frames is not fixed unless you are sure you have allocated enough space to accommodate all the records.
Explanation: If you set the Vertical Elasticity property of a frame to Fixed, the output in Excel will show only as many records as could appear on the first page of the paper output. Since Excel does not have a page concept, it is not able to overflow the remaining rows to the next page.
5. For reliable formatting of spreadsheet output, enclose the whole layout area in a frame.
Explanation: This action prevents the possibility of parallel objects displaying in different vertical positions, one following the other.
Hope this helps.
Regards,
Alex

Similar Messages

  • Help:How can I run the J2EE Client Application? Thanks

    Help:How can I run the J2EE Client Application that will access the remote J2EE1.4 application server which runs on another host computer?
    I have developped a stateles senterprise java bean name converter and deloyed it in the j2ee1.4 application server on the host machine A. The converterbean provides the remote home interface and remote interface. At the same time I have developped the j2ee application client named convertappclient. When I access the conveter bean at host computer A through the script 'appclient.bat' as 'appclient -client convertappclient.jar', the client can access the bean sucessfully. Now I want to access the bean through the script 'appclient.bat' at host computer B,what files should I copy from host computer A to host computer B;and what the command line should be like? Thanks!
    The following are the code of the enterprise java bean and it's home interface .
    The client code is also provided.
    The enterprise java bean:
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import java.math.*;
    public class ConverterBean implements SessionBean {
    BigDecimal yenRate = new BigDecimal("121.6000");
    BigDecimal euroRate = new BigDecimal("0.0077");
    public ConverterBean() {
    public BigDecimal dollarToYen(BigDecimal dollars) {
    BigDecimal result = dollars.multiply(yenRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public BigDecimal yenToEuro(BigDecimal yen) {
    BigDecimal result = yen.multiply(euroRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public void ejbCreate() {
    public void ejbRemove() {
    public void ejbActivate() {
    public void ejbPassivate() {
    public void setSessionContext(SessionContext sc) {
    The bean's remote home interface :
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    import javax.ejb.EJBHome;
    public interface ConverterHome extends EJBHome {
    Converter create() throws RemoteException, CreateException;
    The bean's remote interface:
    package converter;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    import java.math.*;
    public interface Converter extends EJBObject {
    public BigDecimal dollarToYen(BigDecimal dollars) throws RemoteException;
    public BigDecimal yenToEuro(BigDecimal yen) throws RemoteException;
    The j2ee application client:
    import converter.Converter;
    import converter.ConverterHome;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import java.math.BigDecimal;
    public class ConverterClient {
    public static void main(String[] args) {
    try {
    Context initial = new InitialContext();
    System.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
                   System.setProperty("java.naming.provider.url","jnp://10.144.97.250:3700");
    Context myEnv = (Context) initial.lookup("java:comp/env");
    Object objref = myEnv.lookup("ejb/SimpleConverter");
    ConverterHome home =
    (ConverterHome) PortableRemoteObject.narrow(objref,
    ConverterHome.class);
    Converter currencyConverter = home.create();
    BigDecimal param = new BigDecimal("100.00");
    BigDecimal amount = currencyConverter.dollarToYen(param);
    System.out.println(amount);
    amount = currencyConverter.yenToEuro(param);
    System.out.println(amount);
    System.exit(0);
    } catch (Exception ex) {
    System.err.println("Caught an unexpected exception!");
    ex.printStackTrace();
    }

    Surprisingly I find an upsurge in the number of posts with this same problem. I recently found a post which gave a nice link for this. Follow the steps and it should help:
    http://docs.sun.com/source/819-0079/dgacc.html#wp1022105

  • How can I run a BW Function from EXCEL-IN-PLACE (BPS)??? Please give any ex

    How can I run a BW Function from EXCEL-IN-PLACE (BPS)using VBA??? Please give any example.
    I would like to run my function module ZMY from EXCEL-IN-PLACE using VBA and get a result.

    if you are using excel in place in the web application environment I doubt you can, you've never really had any macro functionalty there.
    If you are in the gui environemnt (Planning folders) it will depend on how you want to invoke the module...

  • Running Reports from Client Machines in which the reports are residing on t

    Hi Folks,
    I'm using Developer 6i with Oracle 9i. I can run forms from the clients so that the FMX file is residing on a shared drive on the server, but when I try to run reports which also reside on the shared drive of server, I get error that unable to find the report. Do I need to install report server on the client machine/server or am I missing some basic step here?
    TIA
    Hassan

    Hi,
    There's a whitepaper on the topic of Forms/Reports integration for the web called "Oracle9iAS Forms Services and Reports Services Integration". This should give you the information you are seeking.
    regards,
    Stewart

  • How to open a report stored in the CMS with the RDC ?

    Hello,
    With CRXIR2, reports can be stored in the CMS.
    Does anybody knows how to open such a report with the RDC (version 11.5) ?
    I really need to use the RDC because I have to save subreports on HDD
    and it is unavailable with the RAS SDK (neither Java nor .Net).
    Thank you for your help.
    Alain

    Hi Don,
    Thanks for your answer,
    Why saving subreports ?
    - orthogonality reasons... we can import them, why c'ant we do the opposite?
    - consitency reasons... we should be able to do the same as we do with the designer, (why this option is available in the Designer ?)
    Furthermore, the job is already done in Crystal, it should not be so difficult to port it to the RAS.
    - regression reasons... this is something we could do in the past (from Delphi, with the RDC), now the RDC is gone....
    Now I will tell you my personal reason:
    We have huge reports (about 30 subreports), based on huge business views.
    As a result, just loading the report (openClientDocument) takes more than one minute.
    In a production environment the custommers do not want to accept that.
    So:
    - we keep the business views at design time because it's a requirement
    - Once the report designed I try to cut the BusinessViews and replace them by SQL commands
    I suppose you know the RAS to be aware that it can't do that by far.
    I wrote a program to disconnect all the ReportObjects from the BusinessView, it's Ok
    Now I need to remove the BusinessViews from the report and all subreports.
    I can automate CrystalReports for it, but only at the report level...
    This is my particuliar reason for saving subreports.
    Am I the only one to have this request ?
    If you want, of course, I'm ready to help developing those missing things in the RAS.
    I'm serious, tell me if you are interested.
    Thank you again and best regards
    Alain

  • How to open Crystal Report from the SAP GUI ?

    Hi experts,
        We have developed some reports for our ECC 6.0 system by using Crystal Report 2008 and SAP integration kit , these reports are published to BO edge 3.1 server.  To view the report, our user have to open IE and login Infoview first.
       For convenience, we want to open Crystal report from SAPGUI directly without login BOE, How can we do it? 
    Thanks.

    Hi
    please take a look here
    Crystal Reports
    Regards,
    STratos

  • How can we run reports from the front enf of iProcurement...

    Hi Guys,
    I need to create a link to run reports from the front end in iProcurement webpage instead of using apps SRS to run the report...
    help needed...
    thanks
    aman

    Hi Tapashray,
    That was a great help. Thank you so much. A few more clarifications needed sir..
    I refered to a previous link and came to know about a prcedure he followed for a report. So is it the same way that is to be done... I pasted a descr what he said in the thread. In ur solution, you said, have a link bean. what do u mean by that. After i go thru all the steps what this guy told.
    It would be of gr8 help if you kindly look in to this for one more minute sir..
    thanks
    Creating a new report in 11.5.9
    Re: Creating a new report in 11.5.9
    Posted: Mar 11, 2005 7:12 PM in response to: dhergert Reply
    Ok, I was able to figure out the functions that were confusing me. For my own record and for those that do not know, I will list how to create the objects necessary to add a new report to a menu.
    1-Write JSP (should be written just how Oracle writes theirs)
    2-Creat function for the new JSP page as System Administrator responsibility
    3-Use Sys Admin to add the function to a menu somewhere
    4-Using AK Developer responsibility, create an attribute with the label of the attribute being the name of your function you created. Oracle's convention is the name of the attribute has FS in it.
    5-Using AK Developer, lookup the ASF_FUNC_SEC_REG region
    6-Drill down into that regions attributes
    7-Add a your newly created attribute to this region

  • How to open Crystal report 11 using the Visual c++ 6.0 code

    I am using Visual c++ 6.0.I can't open crystal report X1 from my vc++ application. The same code which I have used for crystal report 7.0 is using for crystal report X1.But it shows "Unbale to load the report". Please help me out.
    The code snippet I have used is given below for the reference
    //m_Crystal_Image - Object of CCrystalCtrl class
    //csDBFilePath - Access Database File path
    //csReportFilePath - Crystal report 11 file path
    m_Crystal_Image.SetReportFileName(csReportFilePath);
    m_Crystal_Image.SetWindowTitle("Test Report");
    m_Crystal_Image.SetDataFiles(0,csDBFilePath);
    m_Crystal_Image.SetDiscardSavedData(true);
    m_Crystal_Image.SetDestination(0);
    m_Crystal_Image.SetWindowState(2);
    m_Crystal_Image.SetAction(1);
    Thanks for ur help in advance.....

    same as:
    How can I open the crystal report X1 report from the vc++ application?
    Locking thread
    Ludek

  • How can i run Report in Web (Oracle 9i)

    I working with Report Developer 9i,
    How Can i run my report to web ?

    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Thanks
    Ratheesh

  • How to open Crystal report 9 with crystal report 8

    Hi All,
    I was using Crystal report 9(Seagate Crystal Report). I prepared report on crystal report 9.
    Now I am using Crystal report 8(Seagate Crystal Report).
    When I try to open my reports(that was build on version 9) it gives error: *"Failed to open document"*
    and *"Invalid report version".*
    Could any one please suggest me how I can open and use report of version 9 with version 8.
    Thanks in advance,
    Cheers

    This is the Oracle Forms-forum. Post your question in a crystal-reports-related forum.

  • How to open Crystal Reports from Business Content Ext BW

    Hi friends,
    I have activated 0CR_FIAA_M20_Q0007 Crystal Reports from Business Content Ext BW and I have configurated BW_Publisher services in BW but I do´t see reports in /CRYSTAL/RPTADMIN.
    I check RFC connection and it´s ok
    Here I can´t get a role
    and here I don´t see reports
    Do I have to create special role with especial authorization?
    How do I save this Crystal reports in a Rol?
    How do I open this Report ?
    I check Ingo Blog BusinessObjects and SAP - Publishing of Crystal Reports Part 1 of 3 
    but I think, I don´t have some configuration.
    Regards

    Hi,
    I can open report from Role thru CR 2013.
    Here SAP  2.0 folder y Rol
    Here, settings in /CRYSTAL/RPTADMIN are:

  • How can I run exe (on client machine) from forms over web

    I have a point-of-sale form that I currently run over the web. I have a great need to be able to open a cash drawer at the end of the
    sale. From the vendor I have a demo program (a Visual Basic executable) located on the local drive that I would like to run that will
    open the cash drawer. I am not sure if this is doable, if it is how?
    We are using Forms version 6.0.8.11.3 on Windows2000 against Oracle database 8.1.7.1.0 on Unix. We run our web forms from the
    Unix box as well.
    If anyone has any insight on how I could do this I would greatly appreciate it.
    Regards
    Mark

    Mark,
    someone from our team has developed a PJC that executes host commands on the client side. This is supposed to be published on OTN (not sure if already was). I point him to your request to get in touch with you.
    Frank
    Forms Product Management

  • How to open a report without refreshing  and sending some param value

    we have a summary report which has links to the detail report.For example the summary report has data like
    Countries        EmployeeCount
    UK                5
    US                6
    China                7
    Total                18
    When we click on China it must show the Employees whose country is China (detail report) When we click on Total it shows Employee of all countries UK,US,China...
    Now when we run the summary report online say at 5:10 it shows the staus of countries at 5:10.Say the report is open while an employee of china is moved from China to Uk.But when we open the detail report it shows China count as 6 which should actually be 7 according to the summary report run time.
    A similar problem exist when we schedule the report .When we schedule the summary report and detail report at same time..And then try to open the scheduled instance of detail report from summary scheduled instance ,It only works fine if no parameter is passed to openDocument url.
    Say suppose I click China on summary report the Value China should be passed to detail report as Country.But whenever we try to open a scheduled instance of Detail Report along with a parameter using openDocument Url.It refreshes the whole data even though refresh is set to 'N'.So the scheduled data is lost..Even if we try for Drillfilters in detail Report we cannot set it at runtime using open document Url.

    Mihail - I detailed a couple of approaches here: Re: Application Link
    Scott

  • How to open Jasper report in New window (new Browser,new Tab)

    Hi,
    I'm Using oracle jdeveloper 11.1.1.4.0 fusion middleware for Jasper report. i want to open the Jasper report in new window
    In Application On click of CommandMenuItem(ExportToHTML)it opens the New Window,.While opnening this window i want to call a method (This method opens the jasper report in current browser)
    I Tried the afterPhase and beforePhase for this but doesnt work for me.while executing this using beforePhase I'm getting following Exception :
    Pls Help on this.Thanks in Advance......!!
    Java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
    at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:280)
    at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:112)
    at ReportsDisplayBean.exportHtmlReport(ReportsDisplayBean.java:272)Is any other way to do this ? :(
    Thanks.

    Hi,
    The view itself is a Web Part called an XSLT List View Web Part (XLV for short). This Web Part is stored on an ASPX page that is by default associated with a list or library on your site.
    I suggest you can check if the view page is valid, also, you can try to create another view, then redirect to the view page to see if there is xslt in the page.
    Here are some detailed articels for your reference:
    Create a custom list view using SharePoint Designer
    Using SharePoint Designer 2010 to Work with Web Parts
    How to: Customize the Rendering of a Field on a List View
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • How to open a report like '.res'

    Hi,
    When I try to open a oracle report 'report1.res', the system will ask me which program I want to use to open this file.
    Is there anybody know how I can open this file?
    Thanks,
    Jun

    Hi,
    Report does not generate/create res files. It supports RDF/REP/REX file formats.
    Thanks,
    Oracle Reports Team.

Maybe you are looking for

  • Open web browser from java application to specific page

    Hi, I used the code from http://www.javaworld.com/javaworld/javatips/jw-javatip66.html to open a web browser to a specific URL. That worked great! However, I run into a problem if the URL targets a specific page, for example, "http://www.yahoo.com/ne

  • How do I get the last changed date & time of a file in app server?

    Hi Experts, How do I get the last changed date & time of a file in app server? Thanks! - Anthony -

  • Show URL in browser without toolbar and others

    Hello, I am new in calling URL. In a CRM transaction we have an action that must show a variable URL (loads clients data). I am using a modified version of the Reuse Library RSDEMO_HTML_VIEWER. It uses classes cl_gui_html_viewer and cl_gui_custom_con

  • Apple TV 2 & LaCie Network2NAS device

    Apologies - I am sure this has been done to death elsewhere, but I cannot find any posts on the subject. I have a LaCie NAS on my network, with iTunes sharing. It happily appears on iTunes, running on my MacBook & iMac, as a 'shared device', and I ca

  • Flip video & Zen Video

    I have a flip video cam that i record some stuff on and I'm trying to put those videos on the ZEN. Every format I have tried doesn't work. Flip video captures in AVI. I'm not sure if its compressed or uncompressed, I'm a newb in this. I have tried th