Problem with data size in XML Publisher report
Hi Experts,
I am working on EBS11i and database 9i. I working on XML Publisher reports, i have one XML Publisher report with generating output in EXCEL format. If i submit the report, if the data is huge (like 2.3 million records), it's ending up with warning, but if data is less, it's completing normal. Could somebody help me why it's behaving like this, is it because the report is XML Report, the xml file it's generating not have enough memory in server side if the data is huge.
Could somebody help me how to solve this issue.
Note: I need output in EXCEL format only.
Pl identify the version of XMLP you are using.
Pl post the complete warning message from the concurrent log file. Are there any additional error messages in the Output Post Processor log file ? Have you specified enough temp space using the XML Publisher Administrator responsibility ?
How to Determine the Version of Oracle XML Publisher for Oracle E-Business Suite 11i and Release 12 (Doc ID 362496.1)
Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite (Doc ID 364547.1)
How to set the Temp Directory for BI Publisher ? (Doc ID 1166024.1)
Output Post Processor (OPP) Log Contains Error "java.lang.OutOfMemoryError: Java heap space" (Doc ID 1268217.1)
HTH
Srini
Similar Messages
-
Problem with data template in XML publisher
When I create data template in xml publisher and save it, I get next message:
dbase:
Failed to save data.
Error occurred when creating xml data.
undefined
NaN
NaN
dbase is a database server
JDBC connection name:asu_fox
JDBC connection URL: jdbc:oracle:thin:@dbase:1521:ora03
Text in data template:
<?xml version="1.0" encoding="UTF-8"?>
<dataTemplate name="data_report_2" description="data template for reports 2 and 10"
dataSourceRef="asu_fox" version="1.0">
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[select kol_pl,kol_sv,trud_pl,trud_sv,nom_per_p,kod_polu_p,p_v,kod_tmc,liter,kol_skl,nom_per,shifr_dse,shifr_izd,kod_polu,kod_post,trud,kol_m,tip_rin,kod_op,kod_op0,order1,n_val,shifr_usel_val,sum_trud_val,sum_trud_val_sv from reporter.t_plan_report_2]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="group_all" source="Q1">
<element name="kol_pl_l" value="kol_pl"/>
<element name="kol_sv_l" value="kol_sv"/>
<element name="trud_pl_l" value="trud_pl"/>
<element name="trud_sv_l" value="trud_sv"/>
<element name="nom_per_p_l" value="nom_per_p"/>
<element name="kod_polu_p_l" value="kod_polu_p"/>
<element name="p_v_l" value="p_v"/>
<element name="kod_tmc_l" value="kod_tmc"/>
<element name="liter_l" value="liter"/>
<element name="nom_per_l" value="nom_per"/>
<element name="shifr_dse_l" value="shifr_dse"/>
<element name="shifr_izd_l" value="shifr_izd"/>
<element name="kod_polu_l" value="kod_polu"/>
<element name="kod_post_l" value="kod_post"/>
<element name="trud_l" value="trud"/>
<element name="kol_m_l" value="kol_m"/>
<element name="tip_rin_l" value="tip_rin"/>
<element name="kod_op_l" value="kod_op"/>
<element name="kod_op0_l" value="kod_op0"/>
<element name="order1_l" value="order1"/>
<element name="n_val_l" value="n_val"/>
<element name="shifr_usel_val_l" value="shifr_usel_val"/>
<element name="sum_trud_val_l" value="sum_trud_val"/>
<element name="sum_trud_val_sv_l" value="sum_trud_val_sv"/>
</group>
</dataStructure>
</dataTemplate>
I get this error with different data templates.
Help me, please.
VladimirHi Vladimir
Can you test the data template posted here. http://static7.userland.com/oracle/gems/leslieStuddard/EMPLOYEES.xml
It needs to connect to the sample scott schema, hopefully you have it installed?
Let me know if you get the same error.
thanks
Tim -
How to print Barcode data in Oracle XML Publisher Report
Hi,
We have an rdf report which prints Bar code in the starting page based on a custom procedure from MarkView. It works well with Oracle Reports.
But since the current report was a matrix report, we are changing it to a Linear report through Oracle XML Publisher Report.
We have all the things possible in the new Oracle XML Report.. But we are unable to print the Bar code data which is BLOB in the XML Report..
Can anyone help me on this? We have UAT dates around the corner..
We have an RTF Template .
Help asap.
Thanks
AbhilashHi Abhishek,
Bar code Registration Steps in XMLPublisher responsibility:
1. Go to responsibility XML Publisher Administrator
2. Open Administration
3. Open Font Files Tab
4. Create Font File
5. Give Font Name : XX_BARCODE
6. File : Browse Barcode file
7. Apply
8. Go to Font mapping Tab
9. Open Create Font Mapping Set
10. Give Mapping Name: XX_BARCODE
11. Give Mapping Code: XX_BARCODE
12. Type : FO TO PDF
13. Apply
14. Open Tab Create Font Maping
15. Font Family: Code39-Digits(This name should be exactly the font name comes in word)
16. Style: Normal
17. Weight: Normal
18. Target Font Type: Truetype
19. Continue
20. Font : XX_BARCODE
21. Apply
1. Go to Template Tab
2. Query for your template
3. Open Edit Configuration
4. Click on FO Processing
5. In Font Mapping set Give XX_BARCODE
RTF Template (word):
1.Design the RTF template
2.Insert the barcode against reqd field
3.Make sure to put an * before and after the barcode so that scanner understands the beginning and end
Please send your rtf ,xml file if you are still facing issues.
Rgds, -
Issue with conditional formatting in XML publisher report
Hi All,
I am working on a XML report where in I am required to use conditional formatting to highlight changes, if there is change in any of the column value. The condition is required to be implemented on a text column as well as a number column. I have tried to use the conditional formatting available in the BI Publisher Release 10.1.3.2, wherein I have compared the two columns, and when they are not equal to, then formatting should change to red color; but the same is not working in the excel output.
Can anybody help here?
Thanks,
NitinCross conditional formatting ie formatting based on some other column is not supported in pivot view.
There are some workaround.See if that helps
http://www.obinotes.com/2010/03/pivot-view-conditional-formatting-in.html
Regards,
Sandeep -
NEED HELP: Problem with Canvas Size in Crystal design/report.
Hello,
I am having some trouble with one of my reports, the canvas size is so much bigger than my design/report, which is causing it to preview really small. I have gone into the document properties and tried to change those settings, I have also used the tools to try to make the canvas size smaller, it seems as thought nothing is really working. When I use those tools it cuts off part of my report and also adds huge scroll bars into my design... Does anyone have any insight on this? It would be a great help.
Thank you,
Kerry Jenkins
Harte-Hanks AnalystHi Kerry,
Are you using Crystal Reports Designer or BusinessObjects designer ( what ever it was called ) Crysstal Reports 5 was released in the summer of 1997 and definitely did not support a flash file.
Need more info and details on the versions you are using and info on the Clients portal, Is it Businessobjects Enterprise 5.1?
Thank you
Don -
Sorting Problem in XML Publisher Report
Dear Members,
I am facing problems with sorting data in my XML Publisher Report.
We are using Oracle E-Business Suite 12.1 Version and i developed a rtf Template and executable is an RDF which generates XML Data.
I want the whole report to group by element ITEM_NAME which is a character in the ascending order. I tried several ways but it is not working properly.
I don't know how to upload the RTF template in this forum. I tried to post the XML Code and since its excceds 30000 characters i cant post it in the forum.
Any help is greatly appreciated.
Thanks
SandeepYou can't upload the template here; you can post a part of the relevant XML code and template code here.
or send me a sample XML and RTF template to [email protected] and I will take a look. -
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. -
Problem with Cell size in Excel output of XML report
Dear all,
I am facing a problem with cell size when i run my XML report in Excel output. I found that it imitates the cell size of whatever i gave in the RTF. I cannot increase the cell size in RTF as my report contains 60 columns and max width of MS Word table is 22 inches.
Can any one suggest a way of doing this which shows full data in Excel sheet depending on the column data size with out any word wrap.
Thanks
RAJHi ,
You can try with
<xsl:attribute xdofo:ctx="block" name="wrap-option">no-wrap</xsl:attribute>
may be helpful to you
Thanks,
Ananth
http://bintelligencegroup.wordpress.com/ -
Excel Output problem with XML Publisher Report
Hi Experts,
I am working on XML Publisher report with EBS 11i and database 9i. My XML Report output type is EXCEL, i have below issue with the output.
I have column 'quantity' with xml tag <?QUANTITY?>.
In the XML file it's showing the value '028' for quantity, but when i open the output in EXCEL, it's showing up '28', removing leading zero. I want to show the data in EXCEL also '028'. Could somebody help me how to print the XML Tag value as it is in EXCEL output.
Thanks in advance.Hi, try using this in your template.
<fo:bidi-override direction="ltr" unicode-bidi="bidi-override"><?QUANTITY?></fo:bidi-override> -
XML Publisher Report with PL/SQL
Hi
Like to know how to develop the XML Publisher Report with PL/SQL, i did the following
1. created a pkg like as below
CREATE OR REPLACE PACKAGE BODY APPS.TEST_XMLTAG_PKG AS
PROCEDURE main (errbuf OUT VARCHAR2,
retcode OUT NUMBER
) IS
BEGIN
DECLARE
ctx DBMS_XMLGEN.ctxHandle;
xml CLOB;
BEGIN
ctx := dbms_xmlgen.newcontext('select * from scott.emp');
dbms_xmlgen.setrowtag(ctx, 'MY-ROW-START-HERE');
xml := dbms_xmlgen.getxml(ctx);
dbms_output.put_line(xml);
Fnd_file.put_line (fnd_file.LOG, XML);
END;
END;
END TEST_XMLTAG_PKG;
this pkg produces the output with xml tag in the view log.
I have registered the conc program & xml rtf but it does not produce the output in PDF, , I am not able to get the xml tag when i click the Diagnostics --> View XML.
can you please let me know the next steps involved.
Regards
YramI think the problem is because there is no begin and end tag. save the xml from the logfile and open with xml editor or IE.. then you will see the problem.
add Begin and end tag...then you should be fine.. i.e
fnd_file.put_line(fnd_file.output,'<EMP_DATA>'); -- begin Tag
tx := dbms_xmlgen.newcontext('select * from scott.emp');
dbms_xmlgen.setrowtag(ctx, 'MY-ROW-START-HERE');
xml := dbms_xmlgen.getxml(ctx);
dbms_output.put_line(xml);
Fnd_file.put_line (fnd_file.LOG, XML);
fnd_file.put_line(fnd_file.output,'</EMP_DATA>'); -- End Tag
Hope this helps..>Good Luck
Ravi -
XML Publisher Report:how to disappear the column if no data found
Hi,
I have a XMl publisher report requirement , the format is tabular lets say with the structure of 4 columns and 10 rows.requirement is to if suppose there is no data for row number 6 the row itself should not appear over the report and the immediate next row should come in place.
please help me if any one of u has implemented the same.
AnkitAnkit,
This is almost hard to work although NOT impossible to achieve on the template.
A little big of PL/SQL genius where all the columns are selected into variables may be used to achieve this, although you will have to manage them accordingly.
I don't any other way round it.
Rgds -
XML publisher report with a template file missing
I get the following error
Active template file not found in the template definition <TEMPLATE_NAME> for date <EFFDT>. (235,2515)
PSXP_RPTDEFNMANAGER.TemplateDefn.OnExecute Name:GetActiveTemplateFile PCPC:15872 Statement:346
but in
Reporting Tools > XML Publisher > Report Definition > Template tab
I did have the setting Effective date, what cause the problem?Have a look at following post and run the sql in this post to see if your template definition is missing.
http://peoplesoft.wikidot.com/xml-publisher-template-file-missing
You could also run Application Engine PSXPCLEAN to clean orphan rows.
Are you running the report online or through PeopleCode?
In last case make sure the effdt is set correct in PeopleCode.
Also have a look if your server time settings are correct.
Hakan -
I have a xml publisher report which list job names. After submitting concurrent program, I am getting below error
A semi colon character was expected. Error processing resource
some of the Jobs have special character '&'. below is code
CREATE OR REPLACE PACKAGE BODY XML_RPT AS
FUNCTION XML_TAG (p_tag IN VARCHAR2, p_data IN VARCHAR2) RETURN VARCHAR2 IS
l_ret_str VARCHAR2(5000);
BEGIN
l_ret_str := '<'||p_tag||'>'||p_data||'</'||p_tag||'>';
RETURN l_ret_str;
END XML_TAG;
PROCEDURE JOBS(errbuf OUT VARCHAR2,
retcode OUT NUMBER) IS
CURSOR inv_Cur IS
select name
from per_jobs pv;
xmldata varchar2(1000);
l_sqlstr varchar2(1000);
l_seqnum varchar2(3);
l_job_name varchar2(100);
BEGIN
xmldata := '<?xml version="1.0" encoding="UTF-8"?>';
xmldata :=xmldata|| '<JOB>';
xmldata := xmldata||' <LIST_JOB>';
fnd_file.put_line(fnd_file.output,xmldata);
FOR rpt_rec IN inv_Cur LOOP
xmldata := '<JOB_REC>';
l_job_name := replace(rpt_rec.JOB_NAME,'&','&');
xmldata := xmldata || XXMCG_XML_TAG('JOB_NAME',L_JOB_NAME);
xmldata :=xmldata|| '</JOB_REC>';
fnd_file.put_line(fnd_file.output,xmldata);
END LOOP;
xmldata := '</LIST_JOB>';
xmldata := xmldata||'</JOB>';
fnd_file.put_line(fnd_file.output,xmldata);
EXCEPTION
WHEN OTHERS THEN
fnd_file.put_line(fnd_file.log,substr(SQLERRM,1,500));
END JOBS;
END XML_RPT;I resolved the problem. I have to put ; in the special character.
-
Problem in XML Publisher Report submission from OAF Pages
Hi,
I am trying to submit Concurrent Program from OAF Page which is an XML Publisher Report.
The request is Submitting and Completing successfully but when we open to view the out put we are able to view the HTML tags.
We checked the same Concurrent program by submitting from the SRS window After completing if we click on view output the rtf file is getting opened correctly.
I tested with normal rdf report it is working fine with standard Concurrent program used in OAF
So my doubt is
Does the Standard Concurrent program used in OAF supports the rtf reports.
Please suggest if any modifications to be done in the Concurrent program
KrishnaKrishna
Modified your code a little bit.Use this
public int submitCPRequest(String shipmentId) {
System.out.println("into submitCPRequest");
OAPageContext pageContext;
OAWebBean webBean;
try {
OAApplicationModule am =pageContext.getApplicationModule(webBean);
OADBTransaction tx = (OADBTransaction)am.getOADBTransaction();
java.sql.Connection pConncection = tx.getJdbcConnection();
ConcurrentRequest cr = new ConcurrentRequest(pConncection);
String applnName = new String("XXAPL"); //Application that contains the concurrent program
System.out.println("ApplName"+ applnName);
String cpName = new String("XXAPLPOSMPRD"); //Concurrent program name
System.out.println("Concc Name"+ cpName);
String cpDesc = new String(" APL PO Shipping Material Pickup Request"); // concurrent Program description
// Pass the Arguments using vector
// Here i have added my parameter headerId to the vector and passed the
//vector to the concurrent program
Vector cpArgs = new Vector();
cpArgs.addElement(shipmentId);
System.out.println("Args"+ cpArgs);
// Calling the Concurrent Program
int requestId = cr.submitRequest(applnName, cpName,cpDesc, null, false, cpArgs);
cr.addLayout("XXAPL", "XXAPLPOSMPRT", "ENG", "US" , "RTF");
System.out.println("Req Id"+ requestId);
tx.commit();
return requestId;
catch (RequestSubmissionException e) {
System.out.println("Into Exception");
OAException oe = new OAException(e.getMessage());
oe.setApplicationModule(this);
throw oe;
catch(Exception exception)
throw OAException.wrapperException(exception);
}Thanks
AJ -
Data is repeating in xml publisher report
Hi,
We desinged the orcle xml publisher report.
When we are running the report, the address infromation is repeating in every page.
We have not mentioned any where the for each logic.
Can any one help me on this issue.
We designed the report as 'rdf data mocel' and designed and rtf for this.For 11i, pl see the XML Publisher User Guide at http://download.oracle.com/docs/cd/B25516_18/current/html/docset.html on how to achieve this
HTH
Srini
Maybe you are looking for
-
Compc: cannot resolve mx:Object to a component implementation
Hi, I need to migrate a component library to Flex 3.0 but i am running into problems with one simple component when trying to build the swc by the compc command line tool from within an ant script. In FB3.0 the library is created as expected without
-
Windows machine connecting and disconnecting...?
Hey all. My airport has been working great with most all my computers. Works like a charm on my macbook, iMac and my brothers macbook. It even works great with an older PC laptop I have but for some odd reason my Dad's HP notebook is having a really
-
I have a 3550 doing routing between vlans with two 3548's connected. I've enabled the ip helper address for the specified vlan I'm testing, but the workstation is unable to contact the server. The DHCP server is Windows Server 2003. What am I missing
-
Any suggestions? IE 9.0.8112.14621IC. Symantec End Point Protection 11.0.5002.3333. Latest MS patches, rebooted, nothing has changed on my computer in months besided the MS patches. This is crazy - spent more time on this already than it's worth.....
-
Hi I have created a Table in Webdynpro and I would like to change the style of heading say make it bold, is there anywy to do this. Thanks Regards Senthil