XML report raises an error

Hi all,
I have a report, in XML format, like this:
<report name="emp_report" DTDVersion="1.0">
     <data>
          <dataSource name="Q_EMP">
               <select>
                    select empno from emp
               </select>
          </dataSource>
     </data>
     <layout>
          <section name="main">
               <groupLeft name="M_emp">
                    <group>
                         <field name="F_EMPNO" source="emp"/>
                    </group>
               </groupLeft>
          </section>
     </layout>
</report>
and the following keys:
cmdkey=cmrephtml, specifying desformat=html
cmdkey=cmreppdf, specifying desformat=pdf
cmdkey=cmrepcsv, specifying desformat=delimited
Using the URL "http://host:7779/reports/rwservlet?cmdkey=cmrephtml&destype=cache&report=emp_report.xml",
it returns a fine output in HTML format. But when I change the key to cmreppdf or cmrepcsv, it returns
this error message:
"The XML page cannot be displayed
Cannot view XML input using style sheet.
Please correct the error and then click
the Refresh button, or try again later.
Invalid at the top level of the document.
Error processing resource 'http://host:7779/reports/rwservlet?cmdkey=cmreppdf&destype=cache&report=emp_report.xml'.
Line 1, Position 1
%PDF-1.3
^"
What is wrong there?
Laszlo Graf

Laszlo,
What exactly are you trying to achieve here? Have you tried OmniPortlet yet?
Udv,
Peter

Similar Messages

  • XML Report completes with error due to REP-271504897:  Unable to retrieve a string from the Report Builder message file.

    We are in the middle of testing our R12 Upgrade.  I am getting this error from the invoice XML-based report that we are using in R12. (based on log).  Only for a specific invoice number that this error is appearing.  The trace is not showing me anything.  I don't know how to proceed on how to debug where the error is coming from and how to fix this.  I found a patch 8339196 that shows exactly the same error number but however, I have to reproduce the error in another test instance before we apply the patch.  I created exactly the same order and interface to AR and it doesnt generate an error.  I even copied the order and interface to AR and it doesn't complete with error.  It is only for this particular invoice that is having an issue and I need to get the root cause as to why.  Please help.  I appreciate what you all can contribute to identify and fix our issue.  We have not faced this issue in R11i that we are maintaining right now for the same program which has been running for sometime.  However, after the upgrade for this particular data that the user has created, it is throwing this error REP-271504897.
    MSG-00100: DEBUG:  Get_Country_Description Return value:
    MSG-00100: DEBUG:  Get_Country_Description Return value:
    REP-0002: Unable to retrieve a string from the Report Builder message file.
    REP-271504897:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-271504897: MSG-00100: DEBUG:  BeforeReport_Trigger +
    MSG-00100: DEBUG:  AfterParam_Procs.Populate_Printing_Option
    MSG-00100: DEBUG:  AfterParam_Procs.Populate_Tax_Printing_Option
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Message_Details
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Org_Profile.
    MSG-00100: DEBUG:  Organization Id:  117
    MSG-00100: DEBUG:  BeforeReport_Trigger.Build_Where_Clause
    MSG-00100: DEBUG:  P_Choi
    Report Builder: Release 10.1.2.3.0 - Production on Tue Jul 23 09:56:46 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.

    Hi,
    Check on this note also : Purchasing Reports Fail When Changing Output To XML REP-0002 REP-271504897 REP-57054 (Doc ID 1452608.1)
    If you cant reproduce the issue on other instance, apply the patch on the test instance and verify all the funcionality related to the patch works OK. Then move the patch to production. Or you can clone the prod environment to test the patch.
    Regards,

  • XML report rtf preview error

    Hi
    I have created a rtf layout for my excel report with xml tags.
    I have loaded the xml data and tried to view the preview data but i am getting the following error.
    Windows cannot find 'C:\PROGRA~1\Oracle\XML'.Make sure you typed the
    name correctly, and then try again. To search for a file, click the
    start button and then click Search
    Could any one please help me.
    Thanks,
    Malla

    Malla,
    You mean path,do i need to copy the rtf and xml files to that folderIf the files are not in that directory, copy it and check then.
    When you load the XML data, you should see the browse window and select the file, so is this what you are doing?
    Do you get the "Data loaded successfully" message?
    You may also review this tutorial and verify the steps.
    Creating Reports in Oracle E-Business Suite Using XML Publisher
    http://www.oracle.com/technology/obe/obe_bi/xmlp_ebiz/index.html
    Regards,
    Hussein

  • XML Report output giving error "word cannot open the file because....

    Hi All,
    Greetings!
    I have a standard report, 'Payables Posted Invoice Register".
    The report was going in to warning beacuse of some Invalid characters in the Data.
    I corrected the invalid characters and then ran the report ; it completed fine.
    But now when I try to open the report output, the output is not getting open but its allowing me to save the file.
    When I save it on my local machine and try to open it, I am getting an error as "word cannot open the file because it is larger than 512 megabytes".
    The document size showing is 664MB when I saved it on my machine. And the output type of the report is RTF and not PDF.
    Can anybody please help?
    Thanks,
    Sachin

    not sure, if the Microsoft word has limitation of file size.

  • XML import raises application error / event code "AVAA0-3208-0"

    I receive an application error when trying to import a specific XML file. Other XML files, that have been created with the same tools and sequence but from another MS Project file, can be imported without an issue.
    There is no warning or error in Primavera's log file.
    Here is the error message's content:
      Type: EAccessViolation
      Event Code: AVAA0-3208-0
      Description: Access violation at address 01136627 in module 'PM.exe'. Read of address 00000000
      Object: TVUltraButton
      Context: TfrmWizImport.RunImportWizard / TDevxMainForm.actFileImportExecute / TCFormManager.SetToolbar / TDevxMainForm.BeforeFormShow / TfrmLogin.FormCreate
      Primavera version: R8.3.2
      OS: Windows XP (NT5.1) SP3
    Has anyone an idea about what the root cause (XML content issue) might be?

    based on the details provided, this is not a permission issue since you are able to import other similar MSP XML files so it could be a data issue in the XML file being imported.
    Can you try modifying the XML file and remove activities and just keep a few activities, then save as a new XML file and try again. I think you can try narrowing down the issue with some tests to see if it's a problem with the XML or not.

  • XML Report Concurrent Output Error

    Hi
    when i am running the Oracle Concurrent it successfully run but when i see the output it gives error below its Mentioned.where is the Problem.
    Kindly reply me asap.
    i will be thankful to u
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Edited by: 811288 on Dec 7, 2010 1:14 AM

    Laszlo,
    What exactly are you trying to achieve here? Have you tried OmniPortlet yet?
    Udv,
    Peter

  • XML reports error

    when i run any XML report i found error in log .
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    XML_REPORTS_XENVIRONMENT is :
    /disk1/oracle/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /disk1/oracle/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_YEMEN.UTF8
    REP-3000: Internal error starting Oracle Toolkit.

    Please post the details of the application release, database version and OS.
    when i run any XML report i found error in log .
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    XML_REPORTS_XENVIRONMENT is :
    /disk1/oracle/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /disk1/oracle/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_YEMEN.UTF8
    REP-3000: Internal error starting Oracle Toolkit.REP-3000 error is related to the DISPLAY settings, please make sure that the DISPLAY is set correctly.
    Please also see these docs/links.
    Master Note : Comprehensive REP-3000 Troubleshooting and Overview Guide [ID 200474.1]
    How To Perform Quick Checks for REP-3000: Internal Error Starting Oracle Toolkit. [ID 364838.1]
    Troubleshooting Tips for REP-3000 Error when Running E-Business Suite PDF/POSTSCRIPT/HTML Reports [ID 207532.1]
    Rep-3000 , REP-69 When Running any Reports on E-Business Suite 12.0.4 [ID 729849.1]
    REP-3000 Error While Creating XML File with Arabic data (REP-3000). [ID 562573.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=REP-3000&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Generate XML report using MAX Generate report.vi

    Hi All,
    Caught in simple and wierd problem. I'm using a simle VI called MAX Generate Reoprt.vi to generate an XML report but getting error
    Error code -2147220553
     Error description :Incorrect report file extension provided.
    The image of the block diagram is attached. I'm able to generate HTML reoport from MAX(absolutely no probs).
    Thanks in advance
    Regards
    VDC
    Attachments:
    Error_in_MAX.JPG ‏7 KB

    You must have the correct file extention. Here's what is wirtten in the detailed help of the function:
    output filename specifies the filename of the generated report.
    You must have the correct extension for the type of report to generate (.xml, .htm, .html, or .zip).
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • XML Report Publisher program is erroring out

    Hi All,
    I've customized the AR Customer Statements.
    I've created a data definition as "ARXSGP" and uploded the sample_output.xml of Statement Generation Program to it. Also I've created a Data template as "ARXSGPO" and attached the data definition "ARXSGP" to it and uploaded the customized rtf file "XXHCC_CLE_F_ARCUSBALSL.rtf" and set the default output type to PDF.
    As I donot wish to call the XML Report Publisher program manually every time when I Print the Statements through Print Documents-->Statements.
    So I've done the below customization in ARXSGP.rdf file ie; Print Statements Report which is an Oracle Report.
    I've added the below code in After Report trigger.
    =======================================
    FUNCTION AfterReport
    RETURN BOOLEAN
    IS
    BEGIN
    Below code added for Customer Statement Case Study
    DECLARE
    l_req_id NUMBER := 0;
    L_XML_LAYOUT BOOLEAN := TRUE;
    BEGIN
    L_XML_LAYOUT := FND_REQUEST.ADD_LAYOUT (TEMPLATE_APPL_NAME => 'AR', TEMPLATE_CODE => 'ARXSGP', TEMPLATE_LANGUAGE => 'en', TEMPLATE_TERRITORY => 'US', OUTPUT_FORMAT => 'PDF');
    IF L_XML_LAYOUT THEN
    srw.message(20001, 'Template is picked ');
    srw.message(20002,'Concurrent request Id : '||:p_conc_request_id);
    l_req_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
    'XDOREPPB',
    NULL,
    NULL,
    FALSE,
    :p_conc_request_id,
    222, -- Receivables
    'ARXSGPO', -- Statement Generate
    'en-US', -- English
    'N',
    'RTF',
    'PDF');
    IF l_req_id > 0 THEN
    COMMIT;
    ELSE
    srw.message(20004, 'Failed to submit request');
    END IF;
    ELSE -- Not L_XML_LAYOUT
    srw.message(20005, 'Template is not picked ');
    END IF;
    END;
    --------------------Code Ends----------------------------
    SRW.USER_EXIT('FND SRWEXIT');
    RETURN (TRUE);
    END;
    ==============================================
    After Printing the Statements through Print Documents-->Statements
    Statement Generation Program is being called and later XML Report Publisher program is also being invoked.
    But the XML Report Publisher Program is erroring out with below error.
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOREPPB module: XML Report Publisher
    Current system time is 03-SEP-2012 17:42:18
    Oracle XML Publisher 5.6.3
    java.lang.NumberFormatException: For input string: "ARXSGPO"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:447)
         at java.lang.Integer.parseInt(Integer.java:497)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:215)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    0
    ------------- 1) PUBLISH -------------
    Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 03-SEP-2012 17:42:22
    Please help out with a solution.
    Thanks,
    Tech D

    for r12 add one row for parameter "Dummy for Data Security" from desc of XDOREPPB
    follow works for me
    SQL> set serveroutput on
    SQL>
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'N', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888651
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL> 'Y' for "Dummy for Data Security" also works for me
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'Y', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888652
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL>

  • Error In XML Report

    Hi all,
    We are getting this error while running the an XML Report.
    the concurrent program is ending with compilation with WARNING and
    the DIGNOSTICS of the concurrent program is not showing any XML data with the ERROR "A name was started with an invalid character. Error processing resource " .
    When the log file is checked, it says that 'ONE OR MORE POST PROCESSING FAILED".
    Can any one help us ?

    hi Viral,
    Actually we are using a .rdf file but not the data template...
    And we have changed the .rdf file....
    does it affect the XML output?
    and if it does then what is the solution to this problem?
    Thanks ,
    Sachin

  • Xml report getting errored out

    hi friends
    i have one custom xml report with ten parameters whenever i submiteing concurrent program with mandatory paramas it will getting succesfully completed
    without requirement out put. Again whenever i submiteed program with mandatory params and non mandatory parameters it will getting errored out .
    the error was below
    Enter Password:
    MSG-01275: Date select AND afrm.certificate_date BETWEEN :P_FROM_DATE and :P_TO_DATE
    01-OCT-11 31-DEC-11
    REP-1276: Placeholder 'CP_PARENT_NAME' references one or more non-formula columns.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1276: Placeholder 'CP_PARENT_NAME' references one or more non-formula columns.
    thanks
    chandra

    Hi Chandra,
    There might be a problem with your .rdf.
    Please check the formula column and use srw.message functionality to debug.
    And please enable Trace option while you are running the report.
    So that you can get more info about the errors.

  • Getting error: java.lang.NullPointerException while submitting xml report

    hi every one,
    i am getting the below error when submitting the Xml report Request
    XDO Data Engine Version No: 5.6.3
    Resp: 21635
    Org ID : 204
    Request ID: 5878206
    All Parameters: P_ORGANIZATION_ID=7907:P_DELIVERY_DATE_LOW=:P_DELIVERY_DATE_HIGH=:P_FREIGHT_CODE=:P_DELIVERY_ID=:P_TRIP_ID=:P_DELIVERY_LEG_ID=4497:P_ITEM_DISPLAY=D:P_ITEM_FLEX_CODE=MSTK:DebugFlag=N
    Data Template Code: CUST_WSH
    Data Template Application Short Name: WSH
    Debug Flag: N
    {P_DELIVERY_DATE_HIGH=, P_ORGANIZATION_ID=7907, P_TRIP_ID=, P_FREIGHT_CODE=, P_DELIVERY_DATE_LOW=, P_ITEM_FLEX_CODE=MSTK, P_ITEM_DISPLAY=D, P_DELIVERY_LEG_ID=4497, P_DELIVERY_ID=}
    Calling XDO Data Engine...
    java.lang.NullPointerException
         at oracle.apps.xdo.oa.util.DataTemplate.getDataTemplate(DataTemplate.java:379)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:226)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    0
    Finished executing request completion options.
    please help me out
    Regards,
    pavan

    Above problem is solved.
    but now i am facing one more problem
    i intend to get output in pdf format
    but i am getting in xml format
    kindly help

  • XML Report with EXCEL output errors out intermittently

    Hi Gurus,
    We have a custom XML report running for a particular user for whom it is failing intermittently.
    The program does not return any error in log file.
    I also checked the OPP log file but coud not find any issues / errors.
    But Standard manager log file has the below error when the request fails :
    Process monitor session started : 14-SEP-2012 10:25:30*
    Found running request 2823013 attached to dead manager process.*
    Setting request status to completed.*
    fdugpi has recovered SRW driver value*
    Found dead process: spid=(3076), cpid=(236068), ORA pid=(65), manager=(0/0)*
    Starting STANDARD Concurrent Manager               : 14-SEP-2012 10:25:31*
    Process monitor session ended : 14-SEP-2012 10:25:31*
    Please help me out to figure out what is the issue here. Also the standard manager process has died and got restarted.
    We are on 12.1.3 application version with 11gR1 database
    Regards,
    Ram

    You can use BI publisher for your requirement -
    Create a Concurrent program which is based on the executable 'XDODTEXE'
    The Short_Name of the concurrent program should be the same as the data_definition short_name from Xml Publisher responsibility.
    You can go through the link provided by Alex for creating the UI Template and the data template.
    Cheers,
    VB

  • OPP error in XML reports

    Hi all,
    If we run XML reports its running fine.But, sometimes following errors occured.
    *****Beginning post-processing of request 2139021 on node ORMDV114 at 23-MAR-2008 15:14:11.
    Post-processing of request 2139021 failed at 23-MAR-2008 15:14:11 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.******
    Please provide solution for this issue.
    We got this error frequently.But, we are not able to solve this error.
    Thanks

    Did you get it while creating a template from the Word-Addin? Just close MS Word and then log back in and see whether it works. If you are on 10.1.3.2 then go to Start->Program Files->Oracle Business Intelligence -> Template Builder for Word and set the language to en-US. Your error could be because of a MS patch. If you set the language that should make it work.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • "Run Report" form error befor running XML report

    I created XML report (Concurret Programs with Output Format XML), created XML file as Data definition and RTF template, and will Output in Excel. When open Run Request and choose XML report, before Parametr form is opened, get 2 error:
    FRM-41084: Error getting Group Cell
    FRM-41072: Cannot create Group req_layout
    Help me, where is Problem?
    Edited by: Sega99 on 2010.26.1 02:41

    hi
    Please post u r thread in report forum. thanks.
    Sarah

Maybe you are looking for

  • Disk Utility 13 problem with USB drives

    There appears to be a problem with Disk Utility 13 (part of OS X 10.9). At least, so far as I can tell, everything traces back to this app, or possibly OS X 10.9 itself. I recently upgraded my MacBook Air to OS X 10.9 (reformatted hard drive, install

  • How to omit xmlns from generated Java classes

    Hi, I'm using JAXB and xjc to generate Java classes from xsd fils. I've noticed that when marshalling these Java classes to XML string, there are few xmlns attributes that (as far as I concern :-)) "waste" space on the generated xml (space is critica

  • Taskflow Issue.

    Use Case I have a search page for searching Employees. This is a taskflow(employee-search.xml). I have edit/create link on the search page which calls another task flow (employee-edit.xml) for the edit/create of employee record. The employee edit tas

  • BDC error in program

    Running one BDC in that one condition has given if that condition is not satisfy then raise one Error message. For example i am running that BDC with 10 records. First 3 records run successfully but at the 4th record it gives error then program is st

  • Downloaded 1.5 SDK but only got jre???

    Does anyone know how I can get the jdk for 1.5.x or 1.4.x. ?