XMl report output error oracle.apps.xdo.template.fo.area.NoAvailableAreaExc

All,
Here is the error I'm getting when AR invoice is printed in PD fformat. I dont see this issue for all invoices, I ahve this issue when invoice has 9 lines.
oracle.apps.xdo.template.fo.area.NoAvailableAreaException: object = 'oracle.apps.xdo.template.fo.area.BlockArea@186f3b3', aInfo: (x, y, w, h) = (0, 0, -18050, 353403)
Any idea how to fix this error, or where can i look into template to fix.
Thanks
Pallavi

Hi,
Could you please let me know how this issue is fixed.
I am facing the same issue.
Thanks for you help

Similar Messages

  • Get error when add start:body tag, ERROR: oracle.apps.xdo.template.fo.area.NoAvailableAreaException: Not enough rendering area

    I'm using "Oracle BI Publisher Template Builder for Word"
    Version: 10.1.3.2.1  Build 87
    When I try to add <?start:body?> and <?end body?> tags get error in preview to pdf
    My structure is:
    for-each G_INVOICE
    [TABLE WITH HEADER INFORMATION]
    <?start:body?>
    [for-each G_DISTRIBUTION_LINE
    TABLE WITH DISTRIBUTION LINES INFO
    end G_DISTRIBUTION_LINE]
    <?end body?>
    "text for special instructions"
    end G_INVOICE
    The log generated is:
    Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: Z:\projects\AEROSTAR\reports\AERO - AP - Disbursal Request\AEROAPDISREQ.xml
    FOProcessor setLocale: en-us
    oracle.apps.xdo.template.fo.area.NoAvailableAreaException: Not enough rendering area. Please look into the incomplete output file for cause.
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.createNewPage(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.startLayout(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.run(Unknown Source)
      at oracle.apps.xdo.template.fo.FOHandler.endElement(Unknown Source)
      at oracle.apps.xdo.common.xml.XSLTHandler$EEEntry.sendEvent(Unknown Source)
      at oracle.apps.xdo.common.xml.XSLTMerger.startElement(Unknown Source)
      at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:167)
      at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1182)
      at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
      at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
      at oracle.apps.xdo.template.fo.FOProcessingEngine.process(Unknown Source)
      at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
      at RTF2PDF.runRTFto(RTF2PDF.java:632)
      at RTF2PDF.runXDO(RTF2PDF.java:466)
      at RTF2PDF.main(RTF2PDF.java:254)
    Please, Need help.
    Thanks in advance.

    The cause for this seems to be that a row in a table is larger than a page, and there is no place left for the Header row.
    Check the bellow action plan:
    1. Edit the template in MS Word.
    2. Click on the table.
    3. Right click on the little crossed square in the upper right corner of the table.
    4. Click on 'Table Properties' / tab 'ROW'.
    5. Look at all rows by using the button 'Next Row'.
    6. If 'Repeat as Header at the top of each page' is checked, please uncheck it.
    7. Save the template and retry.
    BR,
    Alex

  • Oracle.apps.xdo.template.fo.area.NoAvailableAreaException

    Hi
    We are getting below error for Commercial invoice report for some deliveries (with more than one order)
    Template code: SDSCOMINVKBI
    Template app: SDS
    Language: en
    Territory: 00
    Output type: PDF
    [6/29/12 6:14:26 AM] [UNEXPECTED] [582604:RT86396421] oracle.apps.xdo.template.fo.area.NoAvailableAreaException: Not enough rendering area. Please look into the incomplete output file for cause.
    at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(FormattingEngine.java:719)
    at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(FormattingEngine.java:710)
    at oracle.apps.xdo.template.fo.elements.FormattingEngine.createNewPage(FormattingEngine.java:475)
    at oracle.apps.xdo.template.fo.elements.FormattingEngine.startLayout(FormattingEngine.java:263)
    at oracle.apps.xdo.template.fo.elements.FormattingEngine.run(FormattingEngine.java:121)
    at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:600)
    at oracle.apps.xdo.common.xml.XSLTHandler$EEEntry.sendEvent(XSLTHandler.java:594)
    at oracle.apps.xdo.common.xml.XSLTMerger.startElement(XSLTMerger.java:51)
    at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1315)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:213)
    at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:320)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1051)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:302)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:176)
    Thanks
    Kamalaka.G

    You cannot use BIP Desktop 11g with EBS - you need to use a special version. Pl see these MOS Docs
    How To Download Oracle XML Publisher Desktop 5.6.3 (BI Publisher 10g)? [ID 556032.1]     
    How To Obtain The Latest Version Of Oracle BI Publisher Desktop? [ID 1362518.1]     
    Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]     
    HTH
    Srini

  • Error oracle.apps.xdo.security.ValidateException

    Hi,
    When trying to login in the BI Publisher, I am getting the following error:
    oracle.apps.xdo.security.ValidateException
    The username and password are correct and the xmlpserver is running. I am using the OC4J application server. Any ideas please?
    Thanks
    Marija

    I believe there is some problem with the BI Server security. Try changing the security to XDO in xmlp-server-config.xml file. I have blogged about it here http://oraclebizint.wordpress.com/2007/11/06/oracle-bi-publisher-and-bi-ee-invisible-admin-tab/. Though the blog entry was for some other issue but this should help you in changing the security.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • Oracle.apps.xdo.servlet.CreateException: Report definition not found

    We're running xml publisher under Oracle AS 10.1.3.4 on RHEL 5 against an Oracle 11.1.0.7 database. The problem we have is that scheduled reports fail intermittently with the following error "oracle.apps.xdo.servlet.CreateException: Report definition not found" even though the report does exist and there are no privilege issues. Oracle support suggested increasing the Java memory parameters in opmn.xml which we did and documnet # 333862.1 on MOS recommended increasing the Apache timeout. This also had no effect.
    Does anyone have any ideas what might cause this and how to fix it?
    This is the error stack
    Failed
    System Message oracle.apps.xdo.servlet.scheduler.ProcessingException: oracle.apps.xdo.servlet.CreateException: Report definition not found:/00. PRACTICE/AU/P42 - Internal/Drive usage report/Drive usage report.xdo
         at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:983)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:418)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: oracle.apps.xdo.servlet.CreateException: Report definition not found:/00. PRACTICE/AU/P42 - Internal/Drive usage report/Drive usage report.xdo
         at oracle.apps.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124)
         at java.lang.Throwable.<init>(Throwable.java:196)
         at java.lang.Exception.<init>(Exception.java:41)
         at oracle.apps.xdo.servlet.ReportException.<init>(ReportException.java:36)
         at oracle.apps.xdo.servlet.CreateException.<init>(CreateException.java:18)
         at oracle.apps.xdo.servlet.ReportRepository.getReport(ReportRepository.java:74)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:972)
    Edited by: 889485 on 21/06/2012 18:07

    Hi Tim,
    Thanks a lot.......
    To find solution for this i tried this options all are failed:
    1) I created a user,this user can schedule and view but he cant edit report. I scheduled from this user, also it failed some day.
    2)I copied all the reports in to new folder from that i scheduled but no luck.
    one more point... i am having 9 reports to schedule run daily between 11AM to 11.45AM.Is this will b any problem for scheduling.
    In all the above cases i am getting same errors as posted above.
    here i am showing one pic the report failed when it is in that sequence of 9 reports but success when it is scheduled run immediate.
    !http://img263.imageshack.us/img263/6343/errorh.jpg!
    Its urgent for me......pls help me.
    Thanks,
    KSS

  • Oracle.apps.xdo.XDOException: Group G_EMP has incorrect  Query Source : Q1

    All,
    I am trying to create some reports using XML data Template in BI publisher. But when I just create a simple data template, I keep getting the error message as mentioned below.
    [111907_101025922][][STATEMENT] Template parsing completed...
    [111907_101026625][][STATEMENT] Start process Data
    [111907_101026625][][STATEMENT] Process Data ...
    [111907_101026625][][STATEMENT] Writing Data ...
    [111907_101026625][][EVENT] Data Generation Completed...
    [111907_101026625][][EVENT] Total Data Generation Time 1.0 seconds
    [111907_102628031][][STATEMENT] Setting data definition:Sample_Data_Template type:oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11
    [111907_102629516][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    [111907_102629516][][STATEMENT] Logger.init(): LogDir=C:\Program Files\Java\jdk1.5.0_13\xmldebug
    [111907_102629516][][STATEMENT] Template parsing started...
    [111907_102629516][][STATEMENT] Data Template ......
    [111907_102629516][][STATEMENT] oracle.xml.parser.v2.XMLDocument@1ab4586
    [111907_102629516][][STATEMENT] Inside dataQueryParser...
    [111907_102629516][][STATEMENT] Inside dataStructureParser...
    [111907_102629516][][STATEMENT] Group ...report
    [111907_102629516][][EXCEPTION] oracle.apps.xdo.XDOException: Group G_EMP has incorrect Query Source : Q1
         at oracle.apps.xdo.dataengine.DataTemplateParser.groupParser(Unknown Source)
         at oracle.apps.xdo.dataengine.DataTemplateParser.groupParser(Unknown Source)
         at oracle.apps.xdo.dataengine.DataTemplateParser.dataStructureParser(Unknown Source)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(Unknown Source)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(Unknown Source)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(Unknown Source)
         at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.callDataProcessor(AdvancedQueryBoundValue11.java:117)
         at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.getValue(AdvancedQueryBoundValue11.java:101)
         at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:389)
         at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:132)
         at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:62)
         at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:638)
         at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:237)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:279)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:266)
         at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:199)
         at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:222)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:65)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Could any one of you please help me out :)
    Thanks,

    Hi King,
    Find below the data template I am using. I have defined a Q1 in my data template. Let me know where I am going wrong.
    Thanks,
    Ram
    <dataTemplate name="Emp" dataSourceRef="EBS">
         <dataQuery>
              <sqlstatment name="Q1" dataSourceRef="EBS">
                   <![CDATA[ SELECT empno, empname FROM APPS.EMP ]]>
              </sqlstatment>
         </dataQuery>
         <dataStructure>
              <group name="G_EMP" source="Q1">
                   <element name="empno" value="empno"/>
                   <element name="empname" value="empname"/>
              </group>
         </dataStructure>
    </dataTemplate>

  • Issue with the report oracle.apps.xdo.XDOException:Error creating lock file

    I am getting an error while submitting the XML publisher report in Betsy N0 instance.
    Issue
    Log :- Beginning post-processing of request 145458120 on node BETSYN0DB1 at 22-DEC-2011 05:28:26.
    Post-processing of request 145458120 failed at 22-DEC-2011 05:28:28 with the error message: One or more post-processing actions failed. Consult the OPP service log for details
    Output :- Blank Report
    XML file :- XML file generated without any error
    Output process:-
    [12/23/11 4:28:10 AM] [1213640:RT145480622] Completed post-processing actions for request 145480622.
    [12/23/11 5:16:01 AM] [OPPServiceThread1] Post-processing request 145481427.
    [12/23/11 5:49:30 AM] [OPPServiceThread1] Post-processing request 145481923.
    [12/23/11 5:49:30 AM] [1213640:RT145481923] Executing post-processing actions for request 145481923.
    [12/23/11 5:49:30 AM] [1213640:RT145481923] Starting XML Publisher post-processing action.
    [12/23/11 5:49:30 AM] [1213640:RT145481923]
    Template code: XXWIP_WO_VLVS
    Template app: XXWIP
    Language: en
    Territory: US
    Output type: PDF
    oracle.apps.xdo.XDOException: Error creating lock file
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFromDB(FontCacheManager.java:320)
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath(FontCacheManager.java:198)
         at oracle.apps.xdo.oa.util.FontHelper.createFontProperties(FontHelper.java:432)
         at oracle.apps.xdo.oa.util.ConfigHelper.getFontProperties(ConfigHelper.java:166)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5824)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [12/23/11 5:49:31 AM] [UNEXPECTED] [1213640:RT145481923] oracle.apps.xdo.XDOException: Error creating lock file
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFromDB(FontCacheManager.java:320)
         at oracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath(FontCacheManager.java:198)
         at oracle.apps.xdo.oa.util.FontHelper.createFontProperties(FontHelper.java:432)
         at oracle.apps.xdo.oa.util.ConfigHelper.getFontProperties(ConfigHelper.java:166)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5824)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [12/23/11 5:49:31 AM] [1213640:RT145481923] Completed post-processing actions for request 145481923.

    The issue is fixed.
    Our XML Publisher TMP is not defined, so it uses the APPLTMP used by concurrent manager. There is a folder xdofonts/<SID> in $APPLTMP. It contains the fonts used by XML publisher and on the of font file (.ttf) was 0 byte. We copied the ttf file from QA. And it started working.
    Best practice is to define diffent TMP for concurrent managers and XML Publisher.
    Cherrish Vaidiyan

  • Error: java.lang.NullPointerException oracle.apps.xdo.oa.util.DataTemplate.

    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

    hi friends,
    I am facing below error diuring Instal Script in production.
    XDO Data Engine Version No: 5.6.3
    Resp: 50304
    Org ID : 87
    Request ID: 24782272
    All Parameters: p_move_order_no=1937384:p_issue_num=
    Data Template Code: DIA_STORE_ISSUE
    Data Template Application Short Name: QAIR
    Debug Flag: N
    {p_issue_num=, p_move_order_no=1937384}
    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)
    please share the solution
    Thanks
    Avinash Kumar
    8588074565
    Edited by: 893072 on Oct 14, 2012 4:28 AM

  • Oracle report 'XML Report Publisher' error 2 step process

    We're getting error 'Invalid UTF8 encoding' when running the above report. This is a second step of the two step process when creating XML output in Oracle Apps. The first step is report 'PO Output for Communication'. This one error out with the following warning:
    Beginning post-processing of request 4487540 on node TYBU093047 at 07-OCT-2008 12:49:17.
    Post-processing of request 4487540 failed at 07-OCT-2008 12:49:17 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Any information on this is greatly appreciated.
    Edited by: user1733606 on Oct 7, 2008 11:27 AM

    review this
    http://solutionbeacon.blogspot.com/2007/07/simple-tutorial-for-publishing-fsg.html

  • How to generate as XML output from Oracle Apps 11

    Hi Anyone has the experience to generate the output from Oracle Apps 11 as XML file? Database is 8.1.7, Oracle Apps 11. The concurrent program can be written in PL/SQL or can report 2.5 generate the output as XML?
    The scenario is:
    1) Run a concurrent program in Oracle Apps 11
    2) Output generated is XML (.xml)
    Regards.

    This forum is for Oracle XML DB features. XML DB is only available as of database 9iR2.
    You may be better off in legacy XML Features forum...
    PL/SQL XML Programming

  • To generate XML output from Oracle Apps 11

    Hi Anyone has the experience to generate the output from Oracle Apps 11 as XML file? Database is 8.17, Oracle Apps 11. The concurrent program can be written in PL/SQL or can report 2.5 generate the output as XML?
    The scenario is:
    1) Run a concurrent program in Oracle Apps 11
    2) Output generated is XML (.xml)
    Regards.

    This forum is for Oracle XML DB features. XML DB is only available as of database 9iR2.
    You may be better off in legacy XML Features forum...
    PL/SQL XML Programming

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

  • Java.lang.NullPointerException oracle.apps.xdo.servlet.GlobalContext.getPro

    Hi,
    We have installed BI Publisher as part of OBIEE 10.1.3.4.1. Our J2EE Application Server is Apache Tomcat 5.5.2.7
    After manually deploying the xmlpserver.war in Tomcat and doing the changes to xmlp-server-config.xml
    When i am trying access the URL, its resulting into following Tomcat Error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         oracle.apps.xdo.servlet.GlobalContext.getProperty(GlobalContext.java:182)
         oracle.apps.xdo.servlet.security.SecurityFilter.handleSSO(SecurityFilter.java:318)
         oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:108)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.
    Before doing the changes, when i tried to access via URL, it was showing up BI Publisher Login Screen.
    Any idea whats wrong?
    I have also copied the fonts to the JRE/lib/fonts folder.
    Thanks,
    Shalabhsneha

    I went through Tomcat Logs & found following full trace in catalina.out
    - Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
    at oracle.apps.xdo.servlet.GlobalContext.getProperty(GlobalContext.java:182)
    at oracle.apps.xdo.servlet.security.SecurityFilter.handleSSO(SecurityFilter.java:318)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:108)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:595)

  • Barcode's in R12.1.1 xml report output's (English and Arabic)

    Dear Frednds,
    we are using R12.1.1 and we need to get the barcode output's (in place of numbers) in out xml report output's.
    We need it in English report and also in Arabic reports (it has seperate arabic template file)
    Please let us know the method?
    Regards,
    DB

    Desar Hussein,
    1) we have downloaded and installed the Font Code128bWinLarge.ttf on windows PC.
    2)Set the barcode font for the required field in the rtf Template.
    3) Copied the font file, Code128bWinLarge.ttf to $OA_JRE_TOP/lib/fonts
    4) Copied xdo.cfg file from our local desktop where we have BI publisher installed to
    $OA_JRE_TOP/lib Directory.
    5)added these lines locating barcode font location ($OA_JRE_TOP/lib/fonts
    /Code128bWinLarge.ttf)accordingly.
    Now For English reports we are getting the barcode
    But for Arabic reports we are getting junk characters
    so is there any other font available for Arabic barcode.Plerase suggest
    Regards,
    DB

  • At oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.jav

    Hi ,
    I have the following xml file
    <dataTemplate name="INTDOMHOLD" defaultPackage="" description="INTDOMHOLD">
    <parameters>
    <parameter name="p_hold" dataType="VARCHAR2" defaultValue=""/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1" dataSourceRef=""><![CDATA[SELECT ooh.order_number
                ,ooh.flow_status_code header_status
                ,hp.party_name customer_name
                , ool.line_number ||
                  '.' ||
                  ool.shipment_number line
                ,ott.NAME line_type
                ,ool.unit_selling_price expected_price
                ,ool.flow_status_code line_status
                ,ool.ordered_item
                ,'Yes' "Invoiceable Item"
                ,DECODE( oh.released_flag, 'N', 'Yes', 'No' ) hold_active
                ,ohd.NAME hold_name
                ,TO_CHAR( ohs.hold_until_date, 'DD-Mon-YYYY' ) hold_until_date
                ,TO_CHAR( ohs.hold_until_date, 'DD-Mon-YYYY' ) hold_release_date
                ,( SELECT rct.trx_number
                    FROM ra_customer_trx_lines_all rcl, ra_customer_trx_all rct
                   WHERE rct.customer_trx_id = rcl.customer_trx_id
                     AND rcl.interface_line_context = 'ORDER ENTRY'
                     AND rcl.sales_order_line = ool.line_number
                     AND rcl.sales_order = ooh.order_number
                     AND rcl.interface_line_attribute2 = 'OKS Billing Order' )invoice
                ,( SELECT TO_CHAR( rct.trx_date, 'DD-Mon-YYYY' )
                    FROM ra_customer_trx_lines_all rcl, ra_customer_trx_all rct
                   WHERE rct.customer_trx_id = rcl.customer_trx_id
                     AND rcl.interface_line_context = 'ORDER ENTRY'
                     AND rcl.sales_order_line = ool.line_number
                     AND rcl.sales_order = ooh.order_number
                     AND rcl.interface_line_attribute2 = 'OKS Billing Order' ) invoice_date
            FROM oe_order_lines_all ool
                ,oe_order_headers_all ooh
                ,oe_order_holds_all oh
                ,mtl_system_items_b msi
                ,apps.hz_parties hp
                ,apps.hz_cust_accounts hca
                ,apps.hz_cust_acct_sites_all hcas
                ,apps.hz_cust_site_uses_all hcsu
                ,oe_transaction_types_tl ott
                ,oe_hold_sources_all ohs
                ,oe_hold_definitions ohd
           WHERE ooh.header_id = ool.header_id
             AND ool.org_id = msi.organization_id
             AND ool.ordered_item = msi.segment1
             AND msi.invoiceable_item_flag = 'Y'
             AND ool.flow_status_code IN( 'CLOSED', 'INVOICE_HOLD' )
             AND ool.line_type_id = ott.transaction_type_id
             AND ott.NAME = 'OKS Billing Line'
             AND ool.header_id = 11878
             AND ool.line_id = oh.line_id
             AND ooh.header_id = oh.header_id
             AND oh.hold_source_id = ohs.hold_source_id
             AND ohs.hold_id = ohd.hold_id
             AND oh.released_flag = 'N'
             AND ool.invoice_to_org_id = hcsu.site_use_id(+)
             AND hcsu.cust_acct_site_id = hcas.cust_acct_site_id(+)
             AND hca.party_id = hp.party_id(+)
             AND hcas.cust_account_id = hca.cust_account_id(+)
             AND hcsu.site_use_code(+) = 'BILL_TO'
             AND ohd.NAME = NVL( :p_hold, ohd.NAME )
    --   AND ohs.hold_until_date = NVL( :p_to_release, ohs.hold_until_date )
             AND NOT EXISTS(
                    SELECT 1
                      FROM ra_customer_trx_lines_all
                     WHERE interface_line_context = 'ORDER ENTRY'
                       AND sales_order_line = ool.line_number
                       AND sales_order = ooh.order_number
                       AND interface_line_attribute2 = 'OKS Billing Line' )
          UNION
          SELECT ooh.order_number
                ,ooh.flow_status_code header_status
                ,hp.party_name customer_name
                , ool.line_number ||
                  '.' ||
                  ool.shipment_number line
                ,ott.NAME line_type
                ,ool.unit_selling_price expected_price
                ,ool.flow_status_code line_status
                ,ool.ordered_item
                ,'Yes' "Invoiceable Item"
                ,DECODE( oh.released_flag, 'N', 'Yes', 'No' ) hold_active
                ,ohd.NAME hold_name
                ,TO_CHAR( ohs.hold_until_date, 'DD-Mon-YYYY' ) hold_until_date
                ,TO_CHAR( ohr.creation_date, 'DD-Mon-YYYY' ) hold_release_date
                ,( SELECT rct.trx_number
                    FROM ra_customer_trx_lines_all rcl, ra_customer_trx_all rct
                   WHERE rct.customer_trx_id = rcl.customer_trx_id
                     AND rcl.interface_line_context = 'ORDER ENTRY'
                     AND rcl.sales_order_line = ool.line_number
                     AND rcl.sales_order = ooh.order_number
                     AND rcl.interface_line_attribute2 = 'OKS Billing Order' ) invoice
                ,( SELECT TO_CHAR( rct.trx_date, 'DD-Mon-YYYY' )
                    FROM ra_customer_trx_lines_all rcl, ra_customer_trx_all rct
                   WHERE rct.customer_trx_id = rcl.customer_trx_id
                     AND rcl.interface_line_context = 'ORDER ENTRY'
                     AND rcl.sales_order_line = ool.line_number
                     AND rcl.sales_order = ooh.order_number
                     AND rcl.interface_line_attribute2 = 'OKS Billing Order' ) invoice_date
            FROM oe_order_lines_all ool
                ,oe_order_headers_all ooh
                ,oe_order_holds_all oh
                ,mtl_system_items_b msi
                ,apps.hz_parties hp
                ,apps.hz_cust_accounts hca
                ,apps.hz_cust_acct_sites_all hcas
                ,apps.hz_cust_site_uses_all hcsu
                ,oe_transaction_types_tl ott
                ,oe_hold_sources_all ohs
                ,oe_hold_definitions ohd
                ,oe_hold_releases ohr
           WHERE ooh.header_id = ool.header_id
             AND ool.org_id = msi.organization_id
             AND ool.ordered_item = msi.segment1
             AND msi.invoiceable_item_flag = 'Y'
             AND ool.flow_status_code IN( 'CLOSED', 'INVOICE_HOLD' )
             AND ool.line_type_id = ott.transaction_type_id
             AND ott.NAME = 'OKS Billing Line'
             AND ool.header_id = 11878
             AND ool.line_id = oh.line_id
             AND ooh.header_id = oh.header_id
             AND oh.hold_source_id = ohs.hold_source_id
             AND ohs.hold_id = ohd.hold_id
             AND oh.released_flag = 'Y'
             AND ohr.hold_release_id = oh.hold_release_id
             AND ool.invoice_to_org_id = hcsu.site_use_id(+)
             AND hcsu.cust_acct_site_id = hcas.cust_acct_site_id(+)
             AND hca.party_id = hp.party_id(+)
             AND hcas.cust_account_id = hca.cust_account_id(+)
             AND hcsu.site_use_code(+) = 'BILL_TO'
             AND ohd.NAME = NVL( :p_hold, ohd.NAME )
    --   AND ohr.creation_date = NVL( :p_to_release, ohr.creation_date )
             AND NOT EXISTS(
                    SELECT 1
                      FROM ra_customer_trx_lines_all
                     WHERE interface_line_context = 'ORDER ENTRY'
                       AND sales_order_line = ool.line_number
                       AND sales_order = ooh.order_number
                       AND interface_line_attribute2 = 'OKS Billing Line')]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_ORDER" source="Q1" groupFilter="">
    <element name="ORDER" value="ORDER" function=""/>
    <element name="HEADER_STATUS" value="HEADER_STATUS" function=""/>
    <element name="CUSTOMER" value="CUSTOMER" function=""/>
    <element name="LINE" value="LINE" function=""/>
    <element name="LINE_TYPE" value="LINE_TYPE" function=""/>
    <element name="EXPECTED_PRICE" value="EXPECTED_PRICE" function=""/>
    <element name="LINE_STATUS" value="LINE_STATUS" function=""/>
    <element name="ORDERED_ITEM" value="ORDERED_ITEM" function=""/>
    <element name="HOLD_ACTIVE" value="HOLD_ACTIVE" function=""/>
    <element name="HOLD_NAME" value="HOLD_NAME" function=""/>
    <element name="HOLD_UNTIL_DATE" value="HOLD_UNTIL_DATE" function=""/>
    <element name="HOLD_RELEASE_DATE" value="HOLD_RELEASE_DATE" function=""/>
    <element name="INVOICE" value="INVOICE" function=""/>
    <element name="INVOICE_DATE" value="INVOICE_DATE" function=""/>
    </group>
    </dataStructure>
    </dataTemplate>
    I am getting the following error
    XDO Data Engine Version No: 5.6.3
    Exception in thread "main" java.lang.NullPointerException
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:190)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    oracle.apps.xdo.oa.cp.JCP4XDODataEngine
    Program exited with status 1
    Please let me know.
    Thanks

    Hi..What was the issue?.

Maybe you are looking for