Need Help In XML Publisher Report
Hi All,
i am building a report , in which i am getting an error in the Dignostics option in the Front End but not in the Error LOG FILE.
it is pasted below.
can anybody tell us ,where could be the problem.&
what is the solution?
Error Is: The following tags were not closed: XXPO_PRINT_REPORT, LIST_G_INIT_INFO, G_INIT_INFO, LIST_G_HEADERS. Error processing reso...
Hello,
The BI Publisher forum is here :
BI Publisher
Regards
Similar Messages
-
Need help on XML Publisher Template features
Hi,
We have a requirement to develop an Invoice Register report to display the invoices for a period. Details of each Invoice and Amount needs to be displayed in a single line. At the bottom of each page we have to display running total of the Invoices displayed till that page. At the beginning of each page we have to display the total amount of Invoices displayed in the previous page.
We had developed the report using Reports Builder and registered concurrent program with output type as PDF. We are working in Spanish environment (UTF-8 character set). The report is working properly and producing output as required. But Spanish characters appear as junk character on the report. From Metalink Notes 443778.1 and 338990.1, I understand that PDF output in UTF-8 character set is not supported. We need to use XML Publisher to generate the PDF output.
We have developed .rtf template. It is generating PDF output and Spanish characters appearing properly. But we are not able to get the running total at the bottom of each page or total of previous page amounts at the beginning of each page. In the output from Reports Builder, we could use various page level options (like reset at page level, etc.) to achieve the requirement. But in the template generated using .rtf, I do not have such options.
I am not sure if there are advanced features in .rtf template to achieve the requirement. Could anyone please advise me how I can achieve the requirement? It would be great if you could provide me some reference.
Thanks and Regards,
NabenduHi Nabendu.
BI publisher does have the option of showing a running total in PDF format usign a RTF template. If you look up the advanced rtf samples provided with the BI publisher plugin there is one example to show running totals, with the previous page total at the top.
you can find this located on your PC where the Word Plugin is installed. C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\samples\RTF templates
replace C:\ with the drive leeter of the drive where your desktop plugin is installed
Hope this Helps,
Domnic -
Need help on XML Publisher Layout
Hi,
I need some help in the XML Publisher Layout.
we have the following requirement for Disbursement Document report.
In this report the check should always be printed at the bottom of first page(Preprinted Check). The invoices associated with that check should be printed on the top of the page and the remaining invoices associated with the check should be printed on the next pages with 'Invalid' on the bottom of remaining pages.
Is there any way of restricting the invoices to a part of page, then print the check and then continue printing the invoices on to next pages and have 'Invalid' at the bottom of remaining pages?
This requirement can be met with RDF but is it possible to do it from XML Publisher?Please let me know?
Attaching the sample layout.
XXXXXX, INC. Page: 1 Of 2
26-NOV-07 233631 THE XXXXXX TEST COMPAN 32
==========================================================
INVOICE DATE || DESCRIPTION || GROSS AMT || DISCOUNT AMT || NET AMT
=========== || ===========|| ========= || ============ || =======
|| || || ||
==========================================================
XXXXXXX, INC. BANK ONE 60-100
61 DUNWOODY DR ATLANTA 300
ATLANTA, GA 30328
TELEPHONE (412) 345 5784 CHECK NUMBER 233631
PAY
One Hundred Dollars And 00 Cents
DATE AMOUNT
26-NOV-07 $100.00
TO THE
ORDER OF XXXXXXX COMPANY
ATLANTA, GA 30328
CHECK NOT VALID 90 DAYS AFTER CHECK DATE
AUTHORIZED SIGNATURE
MICR CODE WILL BE PRINTED HERE
===========================================================
XXXXXX, INC. Page: 2 Of 2
26-NOV-07 233631 THE XXXXXX TEST COMPAN 32
==========================================================
INVOICE DATE || DESCRIPTION || GROSS AMT || DISCOUNT AMT || NET AMT
=========== || ===========|| ========= || ============ || =======
|| || || ||
==========================================================
TOTAL CHK AMT:
| INAVLID |
===========================================================Hi Nabendu.
BI publisher does have the option of showing a running total in PDF format usign a RTF template. If you look up the advanced rtf samples provided with the BI publisher plugin there is one example to show running totals, with the previous page total at the top.
you can find this located on your PC where the Word Plugin is installed. C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\samples\RTF templates
replace C:\ with the drive leeter of the drive where your desktop plugin is installed
Hope this Helps,
Domnic -
Need help on xml publisher 5.6.2 for E-business suite
Hi,
we are on 5.5.X now, i tried to find a install guide and download patch for 5.6.2 for E-business Suite but could not find any. Can you point me to the right place.
Thanks,
Message was edited by:
tlcal1Metalink Note: 367394.1 (About Oracle XML Publisher Core Rollup Patch 5.6.2)
Patch 5097966 -
Need Help on BI Publisher Report
I need to generate a report like either dept wise or supplier wise
so I've written query like
Select Im.Item ItemID,Gp.Division Division, Deps.Group_No Group_No,Is1.Supplier Supplier ,soh.stock_on_hand stock_on_hand,im.dept,soh.loc
From Item_Master Im , Deps Deps, Groups Gp,
Item_Supplier Is1, item_loc_soh soh
Where IM.DEPT=DEPS.DEPT AND DEPS.GROUP_NO=GP.GROUP_NO
AND IS1.ITEM=IM.ITEM and im.item=soh.item and soh.loc_type in ('W','S')
and IS1.supplier=nvl(:supp,IS1.supplier)
or im.dept=nvl(:dept,im.dept)
and im.dept = decode(:dept,-999, im.dept, :dept)
and Is1.Supplier=decode(:supp,-999,Is1.Supplier,:supp)
in the lov I've given
select distinct decode(supplier,-999,'All',supplier) supplier, value
from (select supplier, supplier value
from (select -999 supplier from dual
UNION ALL
select supplier
from item_supp_country_loc))
order by value ---for supplier
and
select distinct decode(dept,-999,'All',dept) dept, value
from (select dept, dept value
from (select -999 dept from dual
UNION ALL
select dept
from item_master))
order by value -- for dept
but I cant see the output..
It says XML-20108: (Fatal Error) Start of root element expected
Please help
Edited by: erp on Nov 29, 2010 12:59 AM1. use internet explorer to view data, f you are viewing Mozilla.
Also Check if the query runs properly without any issue. -
Call Xml Publisher report from Jdeveloper
Hi,
I am first time integrating XML publisher with Jdevloper.
I need to call xml publisher report from Jdeveloper.
I followed all steps from anilpassi link for sample
its showing error while tring to open pdf file
Error:
Adobe Reader could not find 'EmpReport[1].pdf' because it is either not a supported file type or because the file has been damaged.
Please help ,i m stuvk because of this error.
below is the code
EmpCO :
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModuleImpl am =
(OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
am.invokeMethod("initEmpVO");
// am.invokeMethod("getEmpDataXML");
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModuleImpl am =
(OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
if ("GenerateReport".equals(pageContext.getParameter(EVENT_PARAM)))
System.out.println("event fired");
// Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
DataObject sessionDictionary =
(DataObject)pageContext.getNamedDataObject("_SessionParameters");
HttpServletResponse response =
(HttpServletResponse)sessionDictionary.selectValue(null,
"HttpServletResponse");
try
System.out.println("inside try");
ServletOutputStream os = response.getOutputStream();
// Set the Output Report File Name and Content Type
String contentDisposition = "attachment;filename=EmpReport.pdf";
response.setHeader("Content-Disposition", contentDisposition);
response.setContentType("application/pdf");
// Get the Data XML File as the XMLNode
XMLNode xmlNode = (XMLNode)am.invokeMethod("getEmpDataXML");
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
xmlNode.print(outputStream);
ByteArrayInputStream inputStream =
new ByteArrayInputStream(outputStream.toByteArray());
ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
//Generate the PDF Report.
TemplateHelper.processTemplate(((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
APP_NAME, TEMPLATE_CODE,
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
inputStream,
TemplateHelper.OUTPUT_TYPE_PDF, null,
pdfFile);
// Write the PDF Report to the HttpServletResponse object and flush.
byte[] b = pdfFile.toByteArray();
response.setContentLength(b.length);
os.write(b, 0, b.length);
os.flush();
os.close();
catch (IOException e) {
System.out.println("Exception1"+e);
} catch (SQLException e) {
System.out.println("Exception2"+e);
} catch (XDOException e) {
System.out.println("Exception3"+e);
pageContext.setDocumentRendered(false);
EmpAMImpl:
public void initEmpVO() {
EmpVOImpl vo = getEmpVO1();
if (vo == null) {
MessageToken errTokens[] =
{ new MessageToken("OBJECT_NAME", "EmpVO1") };
throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
} else {
vo.executeQuery();
public XMLNode getEmpDataXML() {
OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
XMLNode xmlNode =
(XMLNode)vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
return xmlNode;
Please help !!Hi,
I tried the way suggested by Anil in the above link as well today, but still am getting the same error while openning the pdf .
Dont know why it shows error that either the file is not a supported file type or because the file is damaged.
Please suggest way to solve this error or some other way of calling xml report from OAF page.
Edited by: user13573749 on Apr 10, 2011 9:59 PM -
How to generate XML Publisher report from PLSQL Stored Procedure in APPS
Hi,
I have concurrent program of type PLSQL Stored procedure.I need to generate XML Publisher report from the same.I have changed the output of the concurrent program as "XML" but when I tried running it,the XML tags are not generated.Due to this I am unable to create the template.Its a urgent issue.
Please help me out .
Thanks in advance.
KaveriHi Kaveri
Sadly there is nothing magic about that output field. The only program type that you can flip it to XML and then magically get XML is for Oracle Reports. For plsql you will need to recode the plsql to generate XML rather than text that you have now.
You have some options, best option first:
1. Move the sql to a data template - check the user guide and blog for help or
2. Use SQL XML or XMLGEN (not great for large datasets) or
3. Use dbms_output.put_line and write the XML file manually - not performant at all
Regards, Tim -
11i EBS XML Publisher Report with Multiple Data Source
I need to create XML Publisher report in 11i EBS pulling data from another 10.7 EBS Instance as well as 11i EBS in single report.
I am not allowed to create extract or use db links.
My problem is how to create Data Source Connection using Java Concurrent Program.
The approach I am trying is
1. create Java concurrent program to establish connection to 10.7 instance.
2. Will write the SQL queries in Data Tempalete with 2 Data Source 1 for 11i EBS and 2 for 10.7 EBS
3. Template will show the data from both query in 1 report..
Is there any other way to proceed using datasource API...
thanksoption1:
The query should be same @ detail level, only the template has to be different for summary and details.
@runtime, user can choose to see the detail/summary
Disadvantage, if the data is huge,
advantage , only one report.
option2:
create two separate reports summary and details
and create diff data and diff layout and keep it as different report
Advantage, query will perform based on the user run report, summary/detail, so that you can write efficient query.
Dis advantage , two reports query/template to be maintained. -
Need help in Multi language XML Publisher report
Hi Experts,
I am working in EBS R12, database 10g.
I am have a requirement to develop the multilanuge XML Publisher report.
Details i have till now:
query in report builder: select * from emp;
RTF: created RTF(test_rtf)
Datadefinition: test_dd
Template:test_t (Language:English, terittory:US, uploaded the RTF)
Requirement: I need the output in English and German Language.
For French language, how to proceed further.... Could somebody help me with procedure to get it.
Do i need to create any RTF and Template for FRENCH language.
Kindly help me with procedure to be followed.
Thanks in advance.Hi Experts,
I have below procedure to achieve this but still not able to print output in desired language.
1. created rtf
2. created data definition (dd)
3. created template (tt) [language-english, terittory-US, translatable].
4. Exported the translated file(.xlf file) to local system
5. In .xlf file, changed the target language to 'fr-FR' (I want to print in french)
6. It was successfull done and status is complete
Through SRS window, i submitted the program...but it's still showing output in english only not in french.
Note:At SRS window, it's showing only ENGLISH LANGUAGE.
Am i missing anything....How to show desired languages at SRS WINDOW.
Could somebody help me how to print data in FRENCH language.
I hope that i can get the solution from this forum.
Thanks in advance. -
Need help in developing XML Publisher Report in Multi Language
Hi Tim,
We have requirement to develop XML Publisher report in Multi language.
I know we can upload multiple Templates, one for each language.
Can any one help me in knowing the process other than uploading multiple templates.
Any documents or setup process related to this will be of great help.
I appretiate your help.
Thanks & Regards,
SahooHi,
Lets say you have two smart styles with X and Y, and runtime based on the number of pages, if you would like to modify the style, then check any standard table or structue which holds and responsible for the holding the style value.
If you can trace that, based on the coding we can modify accordingly.
Regards,
Santhosh. -
Need to find the root cause of the XML Publisher report erroring out.
Hello All,
After I ran for a Particular Invoice, to have output in XML Publisher Report for Invoice Priting. It got errored out with the below details which i got from the OPP Log file.
From the below information, how do I get exact root cause. Please do the needful.
=======================================================================
[8/6/09 11:16:32 AM] [774712:RT14922832] Executing post-processing actions for request 14922832.
[8/6/09 11:16:32 AM] [774712:RT14922832] Starting XML Publisher post-processing action.
[8/6/09 11:16:32 AM] [774712:RT14922832]
Template code: XXBIORAXINV_PHY
Template app: BIO_AR
Language: en
Territory: 00
Output type: PDF
[8/6/09 11:16:33 AM] [UNEXPECTED] [774712:RT14922832] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:229)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
Caused by: oracle.xdo.parser.v2.XMLParseException: Unexpected EOF.
at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
at oracle.xdo.parser.v2.XMLReader.popXMLReader(XMLReader.java:526)
at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1287)
at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
... 17 more
[8/6/09 11:16:33 AM] [774712:RT14922832] Completed post-processing actions for request 14922832.
=======================================================================
Please do the needful. Suggest the steps to get rid of this critical - issue.
Thanks,
AbdulPlease check if Output Post Processor concurrent manager is down/ inactive.
Restart the manager/ get it restarted and test the issue.
System Admin >> Concurrent >> Manager >> Administer -
I need 3 dimentional charts as an output in xml publisher report
Hi,
As off now chrarts r in 2 dimension But I need 3 dimentional charts as an output in xml publisher report, please any one tel me wheather is possible or not.....?? if possible please tell me how to develop that report....Not sure you are on the right forum...
-
XML PUBLISHER report in Excel out put problem
Hi Experts,
I have developed one XML report which output type is EXCEL in Oracle Application.
I am getting some -ve value in the report so I need to do the trailing sign
Menace for example I got a value -8645 I need to display the value like (8645).
This functionality is working in PDF output but in EXCEL out put it is not working.
Could any body please help me on this..
Its Urgent .
Thanks in Advance.Check this metalink notes, did you got any error..?
Note: 364547.1 - Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=364547.1
Note: 359875.1 - Cannot View Xml Publisher Report Output In Excel Format
Note: 358296.1 - How To Produce Requests In Formats Of HTML, RTF, and Excel From XML Publisher
Note: 850685.1 - Wrong Output Format In Xml Publisher Output
Note: 727031.1 - XML Publisher Requests Always Get Defaulted to Output Format as PDF Whatever the Template Type is Set To
Note: 337343.1 - Unable to View Excel Output File Created by XML Publisher
Note: 401328.1 - Default Layout Format for XML Publisher Concurrent Request Is Always PDF
Re: XML Publisher Server on EBS 11.5.10.2 -
Xml Publisher Report Without RDF
Hi experts,
I need to customize the seeded XML publisher report.Till now i developed XML publisher reports by developing rdf only. But here i didn't see any rdf for it..
without rdf how we can create the xml publisher report. I need to insert a field in this report where i need to insert this field.
where i found the SQL query for this report.Please help me
Thanks
AshokThank u,
Here I need to customize the Sales Order XSL Template which is a seeded template in Order Management.
and it will execute when user select the actions button-> print and prview .so there is no concurrent program for this.they did the setups for this.
I didn't find any datetemplate for this in data defination window.here I need to change this one as
1. Update the Report Header to read “Dispatch Note” instead of “ORDERING DOCUMENT”.
2. Inclusion of logo for each police authority (Open Issue).
3. Modification to include *“United Kingdom” instead of U.S.* in the free text portion of the PRODUCT section. “United Kingdom” value will be derived from the country specified for the selected organization and not hardcoded.
4. Footer to include shipment date instead of Sales Order Creation date and the document should be available to print only after Ship Confirm.
5. Updating the Layout template in the Transaction Type setup, so that it points to the modified layout template.
6. The modified Dispatch Note document will be included in the Ship Confirm document set and this document set will be included in the respective Ship Confirm rules. This Ship Confirm Rule will be attached in the Shipping parameters tabs for both the organisations. This step would enable the Dispatch Note to be printed automatically after successful completion Ship Confirm process.
I have *.XSD file and .XSL file * .. I don't find any data template in datadefination window to see the SQL query.
I thought now i have to change the *.XSD AND .XSL FILES* is it right? Is there any other solution for this ..
Thanks
Ashok
Edited by: 886640 on Oct 11, 2011 6:41 AM
Edited by: 886640 on Oct 11, 2011 10:00 PM
Edited by: 886640 on Oct 11, 2011 11:07 PM -
Xml publisher report genarate through Url.
Hi All,
I need to call the XML Publisher report through url Please anyone help this .is it ebs?
if yes i can not be sure what it is work for ebs
for ebs related bip you can ask in General EBS Discussion
Maybe you are looking for
-
I believe I want to use TWO USB Hard Drives with my Airport Extreme, but it seems there is only 1 USB port. I am currently using that USB port for my backup external hard drive (works with Time Machine). But now I have decided I want a common hard dr
-
i connected my new iphone 4 to itunes before backing up my old one but now it wont recognise my old 3gs. My name doesnt appear on the left. i want to transfer all my songs to my new one but cant sync now. can anyone help
-
IOS doesn't accept dot1x commands on 4510r+e
I am running a 4510 with a SUP-8. I am trying to implement 802.1x for NAC, but the switch refuses the interface-level command. Below is the entire config I am trying to implement and the results. Any ideas as to why it rejects the interface level com
-
XML connection is giving Blank output
Hi , I am trying to connect my dashboard with XML data but it is giving total blank dashboard. I am unable to find out reason. Can some one help. my XML file is <data> <variable name="Test"> <row> <EmpType>ALL</EmpType> <S_PL>0.12
-
Hi experts Am trying to apply SPS to our EP 7.0 portal. So I downloaded the files from SMP and dumped them into /usr/sap/trans/EPS/in directory including the SAPCAR file. I renamed the SAPCAR_XXX(some file name ) to SAPCAR. I am getting errors while