Report with XML as input !

Hello,
I am hv been trying to create a simple report with an XML input but by the end of it, it doesnt give any data on the report.
I tried it with XML + SQL input, it gave me a blank report and when I tried with a pure SQL input it did give data in the report. I enabled the trace option but couldnt get to the core of the problem.
My XML & XSD file are all valid, they are auto-generated.
The report doesnt give any error either.
Any clue what the problem could be ??
Regards,
Madhu.

Post Author: ashdbo
CA Forum: Data Connectivity and SQL
I think it can be done by looking at Crystal Report XI.BUTHow can I do this programatically in Java ?  Thanks,Ashok

Similar Messages

  • Custom action with XML type input and output parameter.

    Hi,
    I want to develop custom action with xml type input and/or output parameter.
    Is there sample code for java side. How is the definition of input and/or output parameter and set/get methods?
    does it need special .jar file to develop custom action like this?
    Thanks.

    Cemil - yes, you can use XML data types.  Use the class
    com.sap.lhcommon.xml.XMLDataType
    for your parameter type.  Here is a snippet from a custom action we use to log XML (instead of just returning the #text node like the default logger does):
    public class XMLLogger extends ActionReflectionBase
        private String source;
        private String eventType;
        private String textMessage;
        private XMLDataType xmlMessage;
        public XMLLogger()
            log = new Logger("UserLog");
            source = DEFAULT_SOURCE;
            eventType = TYPE_INFO;
            textMessage = "";
            xmlMessage = new XMLDataType();
        public XMLDataType getXmlMessage()
            return xmlMessage;
        public void setXmlMessage(XMLDataType xmlMessage)
            this.xmlMessage = xmlMessage;
        public void Invoke(Transaction transaction, ILog ilog)
            StringBuffer sb = new StringBuffer();
            sb.append('[');
            sb.append(source);
            sb.append("] ");
            sb.append(textMessage);
            sb.append(XMLUtils.convertXmlToString(xmlMessage));
    XMLUtils is a helper class we wrote - it's just a bunch of standard Java XML boilerplate code.  The important part you need to know is XMLDataType.getDocument() will return an org.w3c.dom.Document.
    I hope that was enough information to help.
    -tim

  • Reports with XML output complete in error

    Hi,
    We have migrated Oracle eBiz from HP UX Itanium platform to Linux x86. Since then reports with XML output are completing with following error.
    stat_low = 6
    stat_high = 0
    emsg:was terminated by signal 6
    Enter
    Password:
    *** glibc detected *** ora_rw20_run: free(): invalid next size
    (fast): 0x090ee648 ***
    Please advise solution if anybody knows.
    Regards.

    Pl post EBS version. Does this occur for all concurrent programs ? Or only seeded ones ? Or only custom ones ? Do you utilize the IX library ?
    MOS Doc 1295724.1
    Pl continue the discussion in your duplicate post - Reports with XML output complete with Signal 6 error

  • Oracle Reports with XML output showing data as asterik character

    Hello,
    I'm trying to create an Oracle report with xml output. Here is the issue I'm having some of the columns in my report are of datatype number. When I run the report and generate xml file the values for those columns(datatype number) are showing as (*) character, other columns are showing fine. But when I run the report as text output then data is fine. I don't understand why this is happening.
    The property of column is Column Type - Database Scalar, Datatype - Number , width 0,-127.
    Does the width has to do anything with this?
    I'm using Report Builder 6.0.8.11.3, DB version 10g.
    Can anyone please help me with the issue I'm having.
    Thanks

    If the links in your example report1 and report2
    follow my format stated earlier
    http://machine:port/reports/rwservlet/report=reportnam
    e.rdf&destype=cache& paramform=htmlcss&server=<YourReportSe
    rverName>&userid=scott/tiger@hrdb&desformat=pdf
    This is what I believe
    >
    so http://machine:port/ is the port where
    JBoss is running and
    This should be the port that the report server is listening on
    >
    server=<YourReportServerName> is the name of
    my oracle report server
    so I call the above link in my current application
    and the report would show up
    Yes
    >
    that means (correct me if I am wrong) that my reports
    would have to be deployed in OracleAS
    Yes
    >
    I have to try all this yet as till this point I was
    trying to run Oracle reports deployed in JBoss...
    This may be possible, I am not sure.
    >
    Oracle J2EE Thin Client?
    I am not sure what this is used for in your setup.

  • Failed to Load database information - Crystal report with XML as datasource

    Hello Friends:
    I am getting the attached error when i try to load the Crystal Report with XML as data source.
    I have designed the crystal report with the sample XML provided with XSD schema (PFA I have attached the XML and XSD). It is working as expected on design time. But it is failing when I load it from C# code.
    Note: I have referred the following DLLs of version 13.0.2000.0 in my sample application.
    CrystalDecisions.CrystalReports.Design.dll
    CrystalDecisions.CrystalReports.Engine.dll
    Please let me know what should be done in order to resolve this.
    Thank you!

    All I know is that you are using 'SAP Crystal Reports, Developer Version for Visual Studio .NET". No idea what service pack or what version of .NET...
    So. make sure you are on SP 9:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    Search for KBA 1525432 (search box is in top right corner) and follow the instructions there.
    Remove your reference to CrystalDecisions.CrystalReports.Design.dll
    Add the following references:
    CrystalDecisions.Shared
    CrystalDecisions.ReportSource
    CrystalDecisions.Web (if web app)
    CrystalDecisions.Windows (if win app)
    I'd also recommend commenting out the export code for now; one step at a time. Get it to work in the viewer, then move on... No Big Bangs
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Generating sub reports with XML Datasource in Jasper Report

    Hi ,
    I have a query related to report generation using Jasper Reports. I have managed to generate main report with XML as a datasource but am unable to do so for subreport. I tried serching through Google but in vain. If by chance I've missed out any of the links, i would be grateful for that. Sample code woukd really make my life better.
    Sorry in advance if i 've posted in wrong forum.(if it hurta anyone)

    Hello there,
    I am new to JasperReports and am having a similar problem. Were you able to find out how to do this. Any help is appreciated.
    Thanks in Advance
    Regards
    Sriram

  • Problem in filling jasper report with XML Data source

    Hello!
    I am trying to build a report uxing xml data source..Please verify following code:
    String outFileName = "c:/Report1.pdf";
    File xmlFileName = new File("C:/Program Files/JasperSoft/iReport-1.2.5/report.jrxml");
    String recordPath = "/SiteDetails/Site";
    JasperDesign jasperDesign = JRXmlLoader.load(xmlFileName);
    JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
    JRXmlDataSource jrxmlds = new JRXmlDataSource(new File("c:/NewSite.xml"),recordPath);
    HashMap hm = new HashMap();
    try
    JasperPrint print = JasperFillManager.fillReport(jasperReport,hm,jrxmlds);
    JRExporter exporter = new net.sf.jasperreports.engine.export.JRPdfExporter();
    exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME,outFileName);
    exporter.setParameter(JRExporterParameter.JASPER_PRINT,print);
    exporter.exportReport();
    catch (JRException jre)
    jre.printStackTrace();
    catch (Exception e)
    e.printStackTrace();
    My Xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <SiteDetails>
    <Site>
    <Name>Site1</Name>
    <Addr>Bangalore</Addr>
    <supersiteid>null</supersiteid>
    </Site>
    <Site>
    <Name> Site2</Name>
    <Addr> Madras</Addr>
    <supersiteid>Site1</supersiteid>
    </Site>
    </SiteDetails>
    I want to display details of Siteand Address..My program works fine but displays only 1 (first) record...What should i do to display the full file..do i need to navigate thru the file and give that as an input to fillReport ()method...

    Hi,
    Have a look at below URL.
    http://ireport.sourceforge.net/cap7.html#7.4
    Regards
    VInK

  • Concurrent Request report with XML Publisher

    I have Concurrent program (report) which I modified to work with XML Publisher. I change the output format to XML at the concurrent program page. Then I create the data defenition and template at XML Publisher administrator. Then I uploaded and assign the RTF template as the default template for this concurrent program.
    Now I can run this report and get the output in XML report publisher .
    But when I am running directly as concurrent request , I dont get any output. What am I doing wrong?
    **Please Help*George Thomas*
    I posted initially at a wrong place and I am re-posting here. my apology

    Duplicate thread ..
    Concurrent Request with XML Publisher
    Re: Concurrent Request with XML Publisher

  • Crosstab report with XML Publisher without aggreate function

    Hi Gurus,
    I have query that returning the task schedule of the man power as below
    Source                  Date           Week  Day   Customer   Activity  Service      
    Pat
    16-Oct-14
    42
    T
    C1
    A1
    S1
    Pat
    17-Oct-14
    42
    F
    C1
    A1
    S1
    Pat
    18-Oct-14
    42
    S
    Pat
    19-Oct-14
    42
    S
    Pat
    20-Oct-14
    43
    M
    Pat
    21-Oct-14
    43
    T
    Pat
    22-Oct-14
    43
    W
    Pat
    23-Oct-14
    43
    T
    C2
    S2
    Pat
    24-Oct-14
    43
    F
    Riley
    16-Oct-14
    42
    T
    C3
    A1
    S3
    Riley
    17-Oct-14
    42
    F
    Riley
    18-Oct-14
    42
    S
    Riley
    19-Oct-14
    42
    S
    C4
    A1
    S4
    Riley
    20-Oct-14
    43
    M
    Riley
    21-Oct-14
    43
    T
    Riley
    22-Oct-14
    43
    W
    Riley
    23-Oct-14
    43
    T
    Riley
    24-Oct-14
    43
    F
    and want to format the output as weekly calendar as below (the week must be dynamic depends on number of dates return) using XML Publisher 10.1.3.3.3
                                           Week-42                                                                                 Week-43
    Source Date            Day Customers Activity Service Code    Date           Day Customers Activity Service Code
    Pat        16-Oct-14   T      C1                A1        S1                       20-Oct-14  M   
                  17-Oct-14   F      C1                A1        S1                       21-Oct-14  T
                  18-Oct-14   S                                                                    22-Oct-14  W 
                  19-Oct-14   S                                                                    23-Oct-14  T      C2                S2
                                                                                                              24-Oct-14  F
    Riley    16-Oct-14   T      C3                A1        S3                       20-Oct-14  M   
                  17-Oct-14   F                                                                    21-Oct-14  T
                  18-Oct-14   S                                                                    22-Oct-14  W 
                  19-Oct-14   S     C4                A1        S4                        23-Oct-14  T   
                                                                                                              24-Oct-14  F
    Is it possible to do that?
    Regards,
    Fendy

    Yes, I got it working.
    Follow the instructions as mentioned in the User Guide, it will workout well.
    1. Create a concurrent program with "XDODTEXE" as the Executable.
    2. Create the data definition and associate a data template (this is with your sql) to it and and link the above concurrent program with this data definition.
    Let me know if you need more details. Good thing about this is that you do not have to move any files on to your unix server (like in the case of oracle reports).

  • Label report with user defined input -

    I am trying to make a report that will print out the data onto avery labels 5163(which is 2 across u2013 5down =total 10 labels per sheet) with my information.  The program already sets your boundaries for the labels so thatu2019s not a issue. 
    My current select statement works somewhat : if I enter 1 inventory.itemnum and whatever qty I want it prints fine.  However when I enter multiple inventory.itemnums it prints each one of those itemnums at whatever qty I enter in the second parameter. So say I enter 2 itemnums and enter qty 2 to print- I get 2 labels of each item num.  Currently I this format I have the second parameter set to NOT allow multiple fields u2013 however when I change this to allow my report fails u2013 please see my info and layout stuff below
    Here is what I have:
    INVENTORY.ITEMNUM} = {?Control Id:} and
    {Sheet1_.Column1} <= {?number of labels}
    Inventory.itemnum u2013field from database
    {?Control Id:}---parameter 1
    {?number of labels}---parameter 2
    {Sheet1_.Column1}----excel table brought in as secondary database to serve as count feature for report u2013 currently set at 20 but can change from 20 to 10 or higher- whatever qty I want.  The most labels I will need for any 1 item is 24 u2013 but I can print 2 sheets of 10 then 1 of 4 if we reduce it to qty 10 in the table.
    I have 2 parameters that prompt for data
    Parameter 1: it prompts for .itemnum (I have this parameter set to allow multiple inputs of inventory.itemnum)
    Parameter 2: it prompts for qty of labels needed. currently not set to allow multiple numbers as I get a failure when I change my parameter to this.
    As my info above sits I can enter 1 random inventory.itemnum (parameter 1) and  a qty (parameter 2)(1-20 u2013 which is set by a table I built in excel 1-20 u2013 above which is sheet1_.column1)
    What I want to be able to do is
    1.     (Parameter 1 here)Enter inventory.itemnums from random  qtyu2019s of 1-10 at any given input time from user prompt in parameter
    2.     (parameter 2 here)Print label of qtys ranging from 1 label per each item to as many as 10 labels per item
    a.     For example: I enter
    b.     Parameter 1:
    c.     Xitem1.itemnum
    d.     Xitem2.itemnum
    e.     Xitem3.itemnum
    f.     Parameter 2:
    g.     Qty 1- is the amount of labels needed for xitem1(from parameter 1)
    h.     Qty 3- is the amount of labels needed for xitem2(u201C u201D)
    i.     Qty 6- is the amount of labels needed for xitem3(u201C u201C)
    3.     I need the qtys in parameter 2(labels to print) to work with the inventory.itemnums as they are entered in parameter 1.
    I have tried using arrays but they force me to use the same amount of data that I have clauses. Which does not work because I have varying amounts of labels needed at different time-If I have  2 labels and have more clauses than this the report fails. I will not always have 2 or 3 labels to make maybe more maybe less.
    Here is a example of what I was trying with arrays:
    {field.xitem}=(?item.num)[1] and
    {?qty}[1]>={numbertable.number})or
    {field.xitem}=(?item.num)[2] and
    {?qty}[2]>={numbertable.number})or  etc.,etcu2026u2026
    This would force me to input as many item.itemnums and qty labels as there are arrays or the report would fail.
    Edited by: max274 on Mar 30, 2009 3:11 PM

    max40385
    SELECT "INVENTORY"."ITEMNUM", "INVENTORY"."ORDERUNIT",
    "INVENTORY"."BINNUM", "INVENTORY"."MODELNUM",
    "ITEM"."DESCRIPTION", "POLINE"."ITEMNUM", "POLINE"."ENTERDATE",
    "POLINE"."PONUM", "POLINE"."ORDERQTY"
    FROM   "MAXIMO"."INVENTORY" "INVENTORY",
    "MAXIMO"."POLINE" "POLINE", "MAXIMO"."ITEM" "ITEM"
    WHERE  ("INVENTORY"."ITEMNUM"="POLINE"."ITEMNUM") AND ("POLINE"."ITEMNUM"="ITEM"."ITEMNUM") AND
    "POLINE"."PONUM"='24142' AND "POLINE"."ITEMNUM"='1201020021N'
    EXTERNAL JOIN POLINE.ORDERQTY>={?C:\Documents and Settings\kpowell\My Documents\test table.xls: Sheet1_.Column1}
    *****************my counting table here********
    C:\Documents and Settings\kpowell\My Documents\test table.xls
    SELECT `Sheet1_`.`Column1`
    FROM   `Sheet1$` `Sheet1_`
    WHERE  `Sheet1_`.`Column1`<={?max40385: POLINE.ORDERQTY}
    Here is my select statement
    POLINE.PONUM} > "23000" and
    {POLINE.PONUM}={?My Parameter} and
    {POLINE.ITEMNUM}={?Control ID}AND IF
    {POLINE.ITEMNUM} in ["1107011010N", "1201020021N"]THEN
    {?Control ID}*({@qtY})
    my label printing works except when I  my inventory item conversion is like the exmaple below - this is trying to get my label program to work
    but i want to add some execeptions to my statement currently the
    link is as a leftouter join to my counting table which give me my qty of labels to print per user input {?control id} however - some of the items i order with different  order units and conversion qtys for example
    qty 2 - box-10 - going into inventory 20 - I need 20 labels printed vs just 2  - since the labels to print are directly tied to the requested order qty - i need to add the exceptions because some I order with conversions that I will not convert and I just want to add them list "one of" in the selection formula

  • How to create a matrix report with xml

    Hi,
    I have a problem with a maxtrix report ,I got the output from the application but I don't know how to create it at the bi puplisher in order to get the righte template.
    So if any one know the answer or have a useful decomentation send it me .
    Eman.

    Have a look at this http://download.oracle.com/docs/cd/E12839_01/bi.1111/b32122/orbr_matrix.htm#g1017642
    -Ammad

  • XSL and FSG report with XML output

    I have 5 FSG Reports combined into one reportset. all these reports output type as XML. Once the reportset is submitted and all the FSG reports are completed , i want to call a XSL program which will combine all the 5 FSG XML outputs. Please advice me how to use the xsl program to combine all the FSG XML Outputs.

    Phew thats gonna be some XSL bearing in mind how complex the FSG XML is. How much data are we talking about here ? There might be a simpler solution as long as there is not a huge amount of data.
    REgards, Tim

  • Jasper Report with XML data Source problem

    I have a problem in getting a report run on my machine..
    I have a report that uses XML-dataSource to read info stored in xml file, I use XPath query to traverse xml nodes,
    I have JBoss Server installed but the problem is that I want to know how to configure JBoss and tell it where to look for the xml file so the report can produce right information.
    I use Windows XP and JBoss 4.23 and I finished the report using i-report 2.0.2
    please I need the configuration steps to make this report work... thanx in advance

    Hi,
    Have a look at below URL.
    http://ireport.sourceforge.net/cap7.html#7.4
    Regards
    VInK

  • Can I define simple Developer 6i reports with XML?

    Hi,
    this may sound far fetched, but can I define report definitions
    in XML and convert it to RDF?
    My RDFs would have simple layout - one record of a table on of
    page, in form layout. It would be much easier - and this way I
    could redefine it any time - than to user the report wizard in
    Developer 6i.
    TIA,
    Tamas Szecsy

    Yes you can. You should look up the STYPE parameter of
    rwcon60.exe which one of its possible values is XML and as your
    DTYPE use the PDF. The report builders help has covered the
    details on this.
    Good luck,
    --PAYAM
    Hi,
    this may sound far fetched, but can I define report definitions
    in XML and convert it to RDF?
    My RDFs would have simple layout - one record of a table on of
    page, in form layout. It would be much easier - and this way I
    could redefine it any time - than to user the report wizard in
    Developer 6i.
    TIA,
    Tamas Szecsy

  • Report using xml stylesheet

    Has anyone tried generating report output in xml and displaying using stylesheet. I need some help in this.
    Any help is appreciated.
    Thanks
    Rakesh

    Hi Rakesh,
    If you mean "Customizing Reports with XML", then you can take a look at the Chapter on this topic in Publishing Reports Manual:
    http://download.oracle.com/docs/html/B10314_01/pbr_xml.htm#1004903
    Let us know if you have Q's.
    Navneet.

Maybe you are looking for

  • How to retrieve the data/property value from portalapp.xml

    Hi I would like to retrive the some common data from the portalapp.xml file <application>   <application-config>     <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>       </application-config>   <components>     <component nam

  • UCCX script editor not working

    1-The loading bar down of the screen always loading and never finishes.Please  take a look to the attached picture. 2-When i go to the uccx and want to change the server from hostname to ip address,i always get update failed. I am so new in uccx,help

  • How to sending login information securely to the backing bean?

    The login page to one of my customer product resides on a webserver which will issue a redirect to the ADF application in another webserver passing the username and password. This they are implementing using URL Invoke allowed Bunded task flow. How c

  • Why does MP3toolbar keep showing up in Firefox?

    I open Firefox & instead of my default search window I get something calling itself 'MP3Tube' instead. I've done a search of my computer an there is NOTHING located on my system so it has to be coming from Firefox. How do I get rid of this - it invar

  • App Request - Reset Statistics

    Hello, I'm not a programmer and don't understand all that stuff but can someone write a simple app that on a certain date and time (user input) that the usage statistics can be reset automatically? Can't seem to find anything like this. Thanks Alan