Want to create a Report from scratch!!!

Hi,
I tried to create a report using the document provided by oracle but in vain. Could anyone give a guideline on how to carry on with this task. Or a link to where I can find an interesting user guide.
Thanks in Advance.

There is also a doc on our pages to get you started building templates ... very simple to get started:
http://www.oracle.com/technology/products/xml-publisher/xmlpclient.html
Look for the XML Publisher Templates by Example
then once you have had some practice ... take it to Apps
http://www.oracle.com/technology/products/xml-publisher/xmlpapps.html
regards
Tim

Similar Messages

  • Create a report from scratch, add Table and Datasource Problem

    Hi,
    I'm using the latest Crystal Reports Runtime supplied for eclipse.
    I want to create a report from scratch, add a Table and then add a ArrayList of Pojos as the Datasource.
    But unfortunately depending on the ConnectionInfo I supply to the Table I get different errors.
    I looked through the samples and see that I have to supply properties
    like
      "Database DLL", "crdb_javabeans.dll" and ConnectionInfo.setUserName("");
         ConnectionInfo.setPassword(null)
    I looked through the forums and find different set of properties.
    Actually because I am just working with Pojos I would have thougth that something like the following
    would be sufficient:
    ReportClientDocument  doc = new ReportClientDocument();
                doc.setReportAppServer(ReportClientDocument.inprocConnectionString);
                doc.newDocument();
    Table table = new Table();
    table.setAlias("reportTable");
    table.setName("reportTable");
    doc.getDatabaseController().addTable(oTable, null);
    doc.getDatabaseController().setDataSource(myCoolection, myClass, "reportTable", "reportTable");
    So could someone tell me the right/minimum Set of  Properties to make a Table get connected to Pojos?
    Edited by: jack mann on Aug 31, 2010 3:25 PM

    With XI Release 2, you can come quite close to creating from scratch:
    http://technicalsupport.businessobjects.com/KanisaSupportSite
    /search.do?cmd=displayKC&docType=kc&externalId=5074668
    You need Service Pack 2:
    http://support.businessobjects.com/downloads
    /service_packs/crystal_reports_en.asp
    Sincerely,
    Ted Ueda

  • Creating a new connection when creating a report from scratch

    I've searched all around but I haven't managed to find any samples or forum posts that show how to create a connection when creating a report from scratch via RCAPI.  All of the code that I've found has been aimed at replacing the ConnectionInfo for an existing connection.  I figured that it would work something like this:
    m_crystalReport.setReportAppServer(ReportClientDocument.inprocConnectionString);
    m_crystalReport.newDocument();
    IConnectionInfo ci = new ConnectionInfo();
    PropertyBag propertyBag = new PropertyBag();
    propertyBag.put("Use JDBC", true);
    propertyBag.put("Connection URL", "jdbc:jtds:sqlserver://localhost:1433;databaseName=" + DB_NAME);
    propertyBag.put("Database Class Name", "net.sourceforge.jtds.jdbc.Driver");
    propertyBag.put("Database DLL", "crdb_jdbc.dll");
    ci.setAttributes(propertyBag);
    m_connection = new Connection();
    m_connection.setConnectionInfo(ci);
    m_connection.open();
    but this produces a NullPointerException within Connection.open().  If I leave the connection closed but add it to the report via DatabaseController.addConnection() then I just get the exception later on when I try to add tables using the connection.
    Can anyone give me any pointers please?
    Thanks,
    Rich.

    Just in case anyone else runs into this, I managed to fix it by leaving the connection closed and then using the connection info instead of the connection when creating tables, eg:
         ITable t = new Table();
         t.setAlias(v.getAlias());
         t.setName(v.getView().getName());
         t.setConnectionInfo(m_connectionInfo);
         getDatabaseController().addTable(t, null);

  • Creating a report from scratch in java and getting invalidfield error

    hello
    I am trying to generate a report java.
    I am getting invalidfieldobject - the field was not found
    I checked the resultset and it does contain the column called trn
    package com.surecomp;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.OutputStream;
    import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.data.DBField;
    import com.crystaldecisions.sdk.occa.report.data.FieldValueType;
    import com.crystaldecisions.sdk.occa.report.definition.FieldObject;
    import com.crystaldecisions.sdk.occa.report.definition.ISection;
    import com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat;
    import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;
    public class reporting  {
         public static void main(String[] args) {
              reporting x = new reporting();
              x.run();
         public void run() {
              try {
                   java.sql.ResultSet javaResultSet = null;
                   Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
                   java.sql.Connection connection = java.sql.DriverManager.getConnection("jdbc:sqlserver://ssi-allmatch:1433;databaseName=mrmdus33xxx;","sa", "sa12");
                   java.sql.Statement statement = connection.createStatement();
                   javaResultSet = statement.executeQuery("select * from trades");               
                   ReportClientDocument boReportClientDocument = new ReportClientDocument();
                   boReportClientDocument.newDocument();
                   boReportClientDocument.getDatabaseController().addDataSource(javaResultSet);
                   ISection boSectionToAddTo = boReportClientDocument.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0);
                   // Create a new Database Field Object
                   DBField boDBField = new DBField();
                   boDBField.setName("trades.trn");
                   boDBField.setHeadingText("trn");
                   boDBField.setType(FieldValueType.stringField);
                   FieldObject boFieldObject = new FieldObject();
                   boFieldObject.setDataSourceName(boDBField.getFormulaForm());
                   boFieldObject.setFieldValueType(boDBField.getType());
                   boFieldObject.setLeft(9000);
                   boFieldObject.setTop(1);
                   boFieldObject.setWidth(1911);
                   boFieldObject.setHeight(226);
                   boReportClientDocument.getReportDefController().getReportObjectController().add(boFieldObject, boSectionToAddTo, -1);
                   ByteArrayInputStream byteArrayInputStream = null;
                   byteArrayInputStream = (ByteArrayInputStream) boReportClientDocument.getPrintOutputController().export(ReportExportFormat.PDF);
                   writeFileFromInputStream("c:/bob.pdf",byteArrayInputStream);
              catch(ReportSDKException ex) {     
                   System.out.println(ex);
              catch(Exception ex) {
                   System.out.println(ex);               
        private void writeFileFromInputStream(String sfile, ByteArrayInputStream inputStream)  {
             try {
                  File file = new File(sfile);
                  OutputStream outputStream = new FileOutputStream(file);  
                  int bytesRead = 0;  
                  byte [] buffer = new byte[32768];  
                  while ((bytesRead = inputStream.read(buffer, 0, 32768)) != -1) {  
                            outputStream.write(buffer, 0, bytesRead);  
                  outputStream.close();    
                  inputStream.close();     
             } catch (Throwable th) {

    Hi,
    I have the same problem, did you get this resolved? I am new to the Crystal Report Java SDK and want to create reports from scratch but I can't find any good resources on the internet or the website.

  • Create a Form from Scratch: Possible or Not

    So, I have Acrobat X.
    I want to create a form from scratch. I have Word doc, but it wasn't created to look like a form, and I didn't like the way it imported.
    So, can I create a form from scratch. Or Not?
    If you try to start from scratch, it suggests a template on formscentral - and after signing up for free and spending an hour making the form, I find that I can not save or save as PDF the form that I created without forking over my credit card information - for a free trial that bills in a few weeks. (As much as I like the form data collection tools available, I cannot have my data collected by Adobe.)
    I can open an empty MS Word doc to start from - as my import choice - but can you make it any harder to mave the text around or enter new text? I never did figure out how to edit text. Is the answer going to be to edit my text in Word or in the plain PDF tool?
    I just found the form creation to be completely counter intuitive.

    Acrobat is not a Word processor, really. "Adding a carriage return" makes sense in a word processor, where the layout is still fluid. In a PDF the layout is finished, everything is a graphic. So, absolutely, it's designed to work with pre-made forms. To me, that's a strenghth - you can use the tools you already know to make the form background, then you add the fields in Acrobat. With work, you can preserve the fields over remaking the PDF, then just adjust the field positions.

  • How to create APEX report from data in PLSQL table

    Hi, I have a procedure that is creating/inserting records into multidimensional pslql table. I want to create a report and graph based on the data stored in plsql table. Can someone please advice how to can I select this data in apex OR point me to any sample code?
    Thanks
    Aali

    Hi,
    try to google something about ORACLE TABLE CAST
    SELECT ot.yourcolumn
    FROM
       TABLE(CAST(yourplsqltablevariable AS userdefinedoracletype)) otE.g.
    http://it.toolbox.com/blogs/oracle-guide/using-a-plsql-table-in-sql-11013
    Regards,
    R.

  • How to create a Report from WebDympro

    Hi All,
    I just want to know how I can create a report from WebDynpro? I need to pull data from R/3 using a RFC function module, but I don't know if it exists a software to create reports.
    Thanks in advance
    Alexis Ramirez

    Hi Rich,
    Even i had a similar kind of problem. I wanted to fetch data from BI through the XMLA Connector which are created in Query Designer and then i wanted to fetch these fields and rearrange them and put it in a report format by colouring certain fields. Can the same can be done in WebDynpro.

  • Creating a Report from Excel

    I'm trying to create a report from an Excel spreadsheet and am having some issues with how Crystal is reading in the data.  I have 7 fields that are all the same, I want them to be Numeric fields.  However, when I import the Excel sheet as the data source, 4/7 of the fields import as string fields into Crystal.  At first I didn't think this would be an issue, but some of the fields, and it doesn't seem to be consistently the "string" only or the "numeric" only fields, do not seem to be printing to the report at all - the space where they should be ends up blank.  I have gone back to the Excel sheet several times to change the cell format to Numeric, but that has not helped.  I also tried changing the format in Crystal, using ToNumeric(fieldname) or ToText(fieldname), and neither of those functions seem to work either.
    Has anyone had this issue before or know how to fix it?

    Hi Jeremy,
    Which Crystal Report version are you using?
    Have you applied any service pack for Crystal Reports?
    Which Operating system are you using?
    Is the issue is with all the report or single report?
    For testing purpose:
    -Create new excell sheet with two columns one is numeric and other one string.
    -Create report using thie excell sheet.
    -Preview report and export.
    -Now print report
    Are you getting same results?
    Have you tried to print other document through that printer is it working properly.
    Regards,
    Shweta

  • Creating sales report from AR Data

    Hello,
    I'm Willie Owens. The company that I work for is currently in the process of implementing Oracle 11i applications. However, I have recently learned that when we first go-live with our system, we won't have the business intelligence system up. Therefore, I am going to have to create most of the views used for our sales reports from "scratch". Has anyone every used the RA_Customer_TRX_All and RA_Customer_TRX_Lines_All tables under the AR schema to accurately reflect sales information? If so, I could appreciate any input or suggestions that are offered.
    Thanks,
    Willie

    Hello Mark,
    Perhaps I should begin by describing some of the reports. One of the reports shows the sales by salesrep. These are the fields that are going to be used:sales amount, percent of sales, cost of sales, profit, percent of profit, and margin percent.
    I have some ideas but I'm just not certain. For the For example, to compute the sales amount would I use the UNIT_SELLING_PRICE * QUANTITY_INVOICED or UNIT_SELLING_PRICE * QUANTITY_ORDERED?
    Also, to calculate the cost of sales, do I use the UNIT_STANDARD_PRICE * QUANTITY_INVOICED(or QUANTITY_ORDERED)?
    I understand that my profit would be the difference between these two previously calculated amounts. I also need the user to be able to enter a period ending date value. The Discoverer report should then capture all of the sales up to this entered date.
    Then to further complicate things, I have to be able to calculate all of these values for the Period To Date(which means that it will capture all of the sales info from the 1ST day of the current month up until the Period Ending Date);a Year To Date Line will also show these values from January 1st of the current year up until the Period Ending Date.

  • I want to run a report from the desktop

    I want to run a report from the desktop using RWRUN60
    What all has to be installed on it to make it work
    I have 10g client on mine and it works but I can't install that on all the clients
    Is there a little install package for this?
    Thanks

    RWRUN60 is a part of "Oracle From6i Developer Suit". If you want to run report on desktop client than you have to install "Form6i Developer Suit" on every client where report is needed.
    I was facing the same issue and it was a difficult job to install "Form6i Developer Suit" on each client. So, I done the followings.
    1. Configured Oracle Application Express
    2. Created Required Application in Oracle Application Express
    3. Installed "Oracle 10g Developer Suit" and configured "PDF Report Services"
    4. Now, each user is running the application through URL and I have saved my time of installations.

  • How can I create a Report from a SWT-Application?

    Post Author: mkoch
    CA Forum: JAVA
    I'm a Developer and new to Crystal Reports and I have the job to create a Report from a SWT-Application.The report-files ( *.rpt) were created with Crystal Reports 10 or 11.> I'm not sure but I have access to a machine where Crystal Reports 10 Developer an Crystal Reports 11 Runtime are installed.Can anybody describe in detail how I can start the creation of a report from my Java-Application?> What libraries are needed, where can I get them and so on.I saw in the CR10-Setup that there is a Java-feature - but unfortunately this is not installed on my test-machine.--> Is it necessary to install this feature or can I get this files on businessobjects.com?Is it possible to start the report-creation from command-line?I saw a Java-example on the internet which uses Report.exe - but I haven't found this on my machine.I hope, that somebody can help me.GreetingsMarkus

    Inv. #
    Item
    Sale Price
    Lisa
    Oct Sold 12
    Oct Sold 12-2
    Oct Sold 12-3
    149
    Vase Lidded
    25
    201
    Bird
    7
    7
    202
    Bird
    7
    203
    Bird
    7
    204
    Bird
    7
    7
    205
    Bird
    7
    7
    206
    Bird
    7
    7
    207
    Bird
    7
    207
    Bird
    7
    7
    208
    Bird
    7
    7
    209
    Bird
    7
    7
    This is my very simple inventory.  On previous program I could sort by those items that did not have any figure in the row across.  Then I could print a report of open inventory.  Such as 149 Lidded Vase has not sales amount in the four colums across, thus it is open inventory.  How can I capture all those items in one report?

  • When I want to create a pdf from a webpage I get:"cannot connect to server" why?

    when I want to create a pdf from a webpage I get:"cannot connect to server" why?

    Did you set you Preference im the right way? See
    http://help.adobe.com/en_US/acrobat/X/pro/using/WS533B928E-576F-4dc3-AA14-73D08EEE8F20.w.h tml
    the newer link leeds to https://helpx.adobe.com/acrobat/topics.html .
    You could use the German link too:
    http://help.adobe.com/de_DE/acrobat/using/WSa65464b4e07c3e0a781ee72f1298fed479c-7ffe.html
    Hans-Günter

  • I want to create a report with more than  64 column's.

    I want to create a report with more than 64 column's. I have generated Query the XML.When I tried to create a template for the report.I have Inserted the colum's Wizard and finish it throughing error message. "you cannot create atable with more that 63 coloum's "

    Hi ,
    Can u Check the below thread
    More than 63 columns in rtf template

  • Problems in create graphical report from Oracle FSG xml output using BIP

    We are trying to create graphical reports from Oracle Financial Statement Generator (FSG) xml output. I personally have extensive exposure working with XML (BI) Publisher but until recently I have never tried to use the BIP charting wizard to create graphical reports from FSG xml output out of EBS 11i/R12.
    I created an SR with Oracle but they had to create an enhancement request for this issue. Does anyone know or have any idea on how we can accomplish this. The charting wizard pops up but the xml tags available do not make any sense.
    If anybody has any idea please send me an email at [email protected]
    Thanks,
    Leo

    Try some thing like following
    http://oraclebizint.wordpress.com/2008/03/10/oracle-bi-ee-101332-sending-reports-to-non-obi-users-delivery-manager-api-of-bi-publisher/

  • Scratch 22: Creating XML Publisher report from scratch in eBS

    Problem:
    How to build a XML Publisher (XMLP) report in eBS from scratch. Thus NOT adapting or converting an existing report.
    Context:
    I have an eBS R12 Vision instance up and running where I want to learn building XMLP reports.
    This is what all tutorials I can find tell me to do:
    Most reports apparently consist of a layout template e.g. TEST.rtf and a data template e.g. TEST.xml. Now in order to generate a new report layout I am supposed to take existing output in XML format and (using ‘Load Data’ function in Template Builder plugin in Word) specify in my layout template where and how I want the actual data to pop up. So far so good.
    But now I want to build the data template from scratch and use it combined with a layout template. So I build the data template but can’t use that for building the layout template. For that I need output, for which I need a layout template.....
    Sounds like Catch 22 to me. How do I break this?
    1. Can I generate an XML-output file from the XML Data Template alone?
    2. Can I build my (RTF) layout template directly based upon the XML Data Template?
    3. Or have I completely lost the plot?
    Oh yes, dunno the first thing about Java and do not have My Oracle Support..
    Edited by: rjvencken on Jul 5, 2012 10:39 AM
    Edited by: rjvencken on Jul 5, 2012 10:51 AM

    1. Can I generate an XML-output file from the XML Data Template alone?
    create data definition with your data template-> create concurrent -> output as xml -> run -> view output and your xml
    I thought the XDODTEXE engine would pick up the (Layout) Template through concurrent program definition CPD short name which in turn points to the Data Definition (and thus Data Template). So does your answer mean I can call straight from CPD to Data Definition? I tried registering my Data Template in the Template Tab but it will not take XML as a type.2. Can I build my (RTF) layout template directly based upon the XML Data Template?
    if you want to use xml publisher desktop then you need xml (with data, not definition)
    So that's not an option I understand. Weird cuz I'd expect this to be technically easier.btw you can create your layout (rtf) without xml (data) and without data template (xml with select statement)
    create filed and past tag definition
    Yes but in that case I'd have an empty report. How would that help me?bouble click on filed:
    "Text Form Field Options" -> "Add Help Text ..." -> "Status Bar" (tab) -> "Type your own:"
    if you use bi publisher desktop plugin
    bouble click on filed:
    "BI Publisher Properties" -> "Advanced" -> "Code"
    or switch to Word Properties
    "BI Publisher Properties" -> "Word Properties" and use above path
    3. Or have I completely lost the plot?
    may be ;)

Maybe you are looking for

  • MRP not considering open purchase orders when planning for open sales order

    Dear Experts,     1.I have open sales orders as well as planned Independent requirements for finished goods for the current month. Also I have open puchase orders for raw materials which is part of the Bill of material of the finished goods for the c

  • How to enable the widgets in Indesign CC..?

    Hi, I am working on porting our Indesign CS6 plugin to Indesign CC plugin.I have completed the porting and the plugins has opened in Indesign CC,but i have one problem in design. Three of our Widgets has not opened in Indesign CC. The code is the fol

  • IPhone volume not working and showing "Headphones"

    When I try to change the volume on my iPhone it shows "Headphones" even if they're not plugged or connected via Bluetooth (I'm sure there's nothing connected) and behaves accordingly (e. g. playing audio only when there is a phone call). With headpho

  • Machines avail on Bonjour but not Local Network - when on same subnet?

    I have a simple system running ARD 3.2 on a machine running OS X 10.5.2, controlling a small number of machines running 10.5.2 or 10.4.11, all on the same sub-net. Two of the computers - both 20" Intel iMacs (2.0GHz CoreDuo) with 10.5.2 installed hav

  • Re-posting this again

    How do I go about disconnecting an application module from the database in JClient First I do appMod.getApplicationModule().getTransaction().rollback(); then appMod.getApplicationModule().remove(); this does not disconnect the user from the database