Crosstab report with XML Publisher without aggreate function
Hi Gurus,
I have query that returning the task schedule of the man power as below
Source Date Week Day Customer Activity Service
Pat
16-Oct-14
42
T
C1
A1
S1
Pat
17-Oct-14
42
F
C1
A1
S1
Pat
18-Oct-14
42
S
Pat
19-Oct-14
42
S
Pat
20-Oct-14
43
M
Pat
21-Oct-14
43
T
Pat
22-Oct-14
43
W
Pat
23-Oct-14
43
T
C2
S2
Pat
24-Oct-14
43
F
Riley
16-Oct-14
42
T
C3
A1
S3
Riley
17-Oct-14
42
F
Riley
18-Oct-14
42
S
Riley
19-Oct-14
42
S
C4
A1
S4
Riley
20-Oct-14
43
M
Riley
21-Oct-14
43
T
Riley
22-Oct-14
43
W
Riley
23-Oct-14
43
T
Riley
24-Oct-14
43
F
and want to format the output as weekly calendar as below (the week must be dynamic depends on number of dates return) using XML Publisher 10.1.3.3.3
Week-42 Week-43
Source Date Day Customers Activity Service Code Date Day Customers Activity Service Code
Pat 16-Oct-14 T C1 A1 S1 20-Oct-14 M
17-Oct-14 F C1 A1 S1 21-Oct-14 T
18-Oct-14 S 22-Oct-14 W
19-Oct-14 S 23-Oct-14 T C2 S2
24-Oct-14 F
Riley 16-Oct-14 T C3 A1 S3 20-Oct-14 M
17-Oct-14 F 21-Oct-14 T
18-Oct-14 S 22-Oct-14 W
19-Oct-14 S C4 A1 S4 23-Oct-14 T
24-Oct-14 F
Is it possible to do that?
Regards,
Fendy
Yes, I got it working.
Follow the instructions as mentioned in the User Guide, it will workout well.
1. Create a concurrent program with "XDODTEXE" as the Executable.
2. Create the data definition and associate a data template (this is with your sql) to it and and link the above concurrent program with this data definition.
Let me know if you need more details. Good thing about this is that you do not have to move any files on to your unix server (like in the case of oracle reports).
Similar Messages
-
Concurrent Request report with XML Publisher
I have Concurrent program (report) which I modified to work with XML Publisher. I change the output format to XML at the concurrent program page. Then I create the data defenition and template at XML Publisher administrator. Then I uploaded and assign the RTF template as the default template for this concurrent program.
Now I can run this report and get the output in XML report publisher .
But when I am running directly as concurrent request , I dont get any output. What am I doing wrong?
**Please Help*George Thomas*
I posted initially at a wrong place and I am re-posting here. my apologyDuplicate thread ..
Concurrent Request with XML Publisher
Re: Concurrent Request with XML Publisher -
Data missing in Crosstab report with calculated field via case when
I use the Oracle 10g discoverer. When I create a crosstab report with a calculate field via function case when and put it as datapoint, some of the data is not showing. I tried to not use the case when function for the calculate field, then all the data show.
I really do not the reason. Could anybody help me out with many thanks?Let me explain more.
I have the original data below.
Work order, Team, Hours_worked, date
800001, S1, 5, 2012/01/01
800001, S1, 15, 2012/01/10
800001, S2, 4, 2012/01/04
800002, S1, 3, 2012/01/15
There are multipul records for the same work order, team on the same day or different.
Finally I want to set the start date and end date as the parameter to create a crosstab report format like
start date>=2012/01/01 and close date<=2012/01/05
Team
Total hours total hours within the range
Work order S1 S2 ... S1 S2 ...
800001 20 4 5 4
800002 3 0 0 0
in order to do it, I create two parameters independently start date and close date. Then I create a calculate field hours_worked_withinrange via
Case when date>=:start date and date<=:end date then Hours_worked else 0 end
This calculated field is correct in the tabular format report in discoverer desktop. But when I duplicate the list as crosstab. Some data is missing in crosstab data point.
I checked once I change the calculate field defination not use case when. (For example, C1=hours_worked*2). Then everything runs correct. -
Matrix report in XML publisher with dynamic column groups
hi,
i have one matrix report in txt format having 5 columns under 1 month heading.
Now i want that all these 5 columns should repeat for multiple months depending upon input parameters.
S. No.
Organization Name
Organization Id
Project Code
1
GRANDWOODS 2
6825
1495
month
January
Wrk Count Ven
Wrk Cont Prw New
Wrk Amt Ven New
Wrk Amt Prw New
Tot Amt New
New
0
0
0
0
0
Existing
0
1
0
255000
255000
Total
0
1
0
255000
255000
rtf template is as follows:
S. No.
Organization Name
Organization Id
Project Code
F CS_11
ORGANIZATION_NAME
ORGANIZATION_ID
PROJECT_CODE E
month
Wrk Count Ven
Wrk Cont Prw New
Wrk Amt Ven New
Wrk Amt Prw New
Tot Amt New
New
F WRK_COUNT_VEN_NEW
WRK_CONT_PRW_NEW
WRK_AMT_VEN_NEW
WRK_AMT_PRW_NEW
TOT_AMT_NEW
Existing
F WRK_CONT_VEN_EXISTING
WRK_CONT_PRW_EXISING
WRK_AMT_VEN_EXISTING
WRK_AMT_PRW_EXISTING E
TOT_AMT_EXIS
Total
TOT_CONT_VEN_NEW_EXIS
TOT_CONT_PRW_NEW_EXIS
TOT_AMT_VEN_NEW_EXIS
TOT_AMT_PRW_NEW_EXIS
TOT E
E
now, please help me as to how repeat these 5 columns for multiple months.
if anybody has some template for matrix report with multiple coloumn group repeatation, pls. share along with sample data.
regards,
mohit guptaHi,
Check this link for developing the matrix report
Oracle Database and Oracle Applications: Matrix Report in XML Publisher
Regards
Srikkanth -
Concurrent Request with XML Publisher
I have Concurrent program (report) which I modified to work with XML Publisher. I change the output format to XML at the concurrent program page. Then I create the data defenition and template at XML Publisher administrator. Then I uploaded and assign the RTF template as the default template for this concurrent program.
Now I can run this report and get the output in XML report publisher .
But when I am running directly as concurrent request , I dont get any output. What am I doing wrong?
Please Help
George ThomasAny errors/warning messages in the log file with/without trace enabled?
Similar issue is reported in the following bug, but it looks like the solution is not available for public access.
Bug 6320244 - NOT ABLE TO SEE OUTPUT OF THE XML PUBLISHERR REPORT
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=BUG&p_id=6320244 -
PROBLEM WITH XML PUBLISHER AND GRAPH NOT DISPLAYING IN ORACLE APPS
Hi
All you XML Gurus here. I have a problem, When i create a report in XML Publisher desktop i can see a graph im putting into the report on preview and works fine. But when i upload the report as a rtf file into Oracle applications i can see everything else the table logo and stuff .. But just not the Graph Itself when run on the concurrant manager....
Problem number 2
Is there a way that i can use XML Desktop and create a line graph with 2 lines rather than 1 plotting
here is my xml for graph i have made with one line
chart:
<Graph>
<Title text="" visible="true" horizontalAlignment="CENTER"/>
<LocalGridData colCount="{count(.//SELF_OTHERS)}" rowCount="1">
<RowLabels><Label></Label></RowLabels>
<ColLabels>
<xsl:for-each select=".//SELF_OTHERS"> <Label><xsl:value-of select="BEHAVIOUR"/></Label>
</xsl:for-each>
</ColLabels>
<DataValues>
<RowData>
<xsl:for-each select=".//SELF_OTHERS"> <Cell><xsl:value-of select="SCORE"/></Cell>
</xsl:for-each> </RowData>
</DataValues>
</LocalGridData>
</Graph>
All help would be much appreciated to my 2 problems....
Thanks
ShaHi All
Will post solution tomorrow or Monday on blog. Heres the chart XML for now.
chart:
<Graph graphType="LINE_VERT_ABS"><LegendArea visible="true" />
<LocalGridData colCount="{count(xdoxslt:group(.//SALE, 'YEAR'))}" rowCount="3">
<RowLabels>
<Label>SOFTWARE</Label>
<Label>HARDWARE</Label>
<Label>SERVICES</Label>
</RowLabels>
<ColLabels>
<xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Label>
<xsl:value-of select="current-group()/YEAR" />
</Label>
</xsl:for-each-group>
</ColLabels>
<DataValues>
<RowData>
<xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Cell>
<xsl:value-of select="sum(current-group()/SOFTWARE)" />
</Cell>
</xsl:for-each-group>
</RowData>
<RowData>
<xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Cell>
<xsl:value-of select="sum(current-group()/HARDWARE)" />
</Cell>
</xsl:for-each-group>
</RowData>
<RowData>
<xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Cell>
<xsl:value-of select="sum(current-group()/SERVICES)" />
</Cell>
</xsl:for-each-group>
</RowData>
</DataValues>
</LocalGridData>
</Graph>
with the following data
<?xml version="1.0" encoding="UTF-8"?>
<SALES>
<SALE>
<YEAR>2006</YEAR>
<SOFTWARE>1200</SOFTWARE>
<HARDWARE>850</HARDWARE>
<SERVICES>2000</SERVICES>
</SALE>
<SALE>
<YEAR>2007</YEAR>
<SOFTWARE>1000</SOFTWARE>
<HARDWARE>800</HARDWARE>
<SERVICES>1100</SERVICES>
</SALE>
<SALE>
<YEAR>2008</YEAR>
<SOFTWARE>900</SOFTWARE>
<HARDWARE>1200</HARDWARE>
<SERVICES>1500</SERVICES>
</SALE>
</SALES>
The latest Template Builder makes this a cinch!
Regards
Tim
http://blogs.oracle.com/xmlpublisher -
Excel Output for Standard Reports using XML Publisher
Hi All,
Customer wants to get Excel Output for the existing Standard/Custom Reports using XML Publisher. I followed the following procedure.
1. Changed the output to XML for Concurrent program ( Trial Balance - Detail )
2. Used the Existing seeded Template
3. Ran the Report using EXCEL as the output.
When I clicked on View Output, I am not able to see the Excel output. I am seeing the HTML tags in the output window. Verified that Viewer Options existed for Excel as follows:
File Format=Excel, Mime Type=application/vnd.ms-excel.
When I ran the report with PDF output. I can see the PDF output.
Ran the HTML output with new Viewer Option ( File Format=HTML, Mime Type=application/vnd.ms-excel) then I can see the output in Browser in the Excel format. I did this test after going through the Metalink Note: Note:316752.1
My question is.. Do I need always choose the HTML ouput in the options window to trigger the Viewer option for HTML. Customer may not like this idea. He would like to choose the Excel Output and see the output in Excel format either in the Browser or Microsoft Excel.
Can someone in this situation before help me out.
Thanks,
VQuestions rephrase:
1. Is the output is same for HTML and Excel options ?
2. Why the output is viewable with HTML option and not with Excel option ?
Customer has XML Publisher Version 5.0.1 and in the process of applying 5.6.1
Thanks,
V -
Integration with XML Publisher
Has anyone found out or used the integration with XML Publisher? I am using the Sourcing product and it can generate report output based on XML Publisher directly from an OAF page. I was wondering how that is done.
Anyone know?I had a similar query - I heard that AR, GL, and AP (11i10) are not compatible with XML Publisher - is this true? I thought was the XML Publisher was independent of modules.
Pls share any experience with the Publisher tool - challenges, installation, comparison to Optio, etc.
Thanks, Vishnu -
Creating a template in Financials for using with XML Publisher..
to whom..
I hope someone can help please. I'm trying this process for the first time so please bear with me..
Ive got everything in place for producing PDF reports via XML Publisher through ORACLE Financials but I'm stuck on the last
part.
According to the notes (Publishing Concurrent Requests with XML Publisher - An Oracle White Paper Jan 2005) I've come
across, I need to update the concurrent program definition with a default template (when you submit a request, its in the
'upon completion' last section where theres an option to change or enter a template layout) yet this section is GREYED OUT.
Now according to my notes, to create a template you..
"Setting a Default Template....to select a default template in the Update Concurrent Program page available from the System Administration
responsibility (Note that this field is available only from System Administration. It is not available from the System
Administrator Forms interface)......."
My query is, where is this 'Update Concurrent Program page'..?
Thanks In Advance..
Steven
Edited by: user554089 on Sep 16, 2008 4:02 AMOK, so now I've found out how to 'default a template for EBS 11i' (System Administration > Concurrent > Programs - notice its Administration not Administrator)... but its unavailable.. in the the 'OnSite Setting' tab there was no box visible for me to enter a template filename. Does anybody know why this could be?
thanks,
Steven -
Arabic Report in XML Publisher
Hi All,
I have a requirement to create a arabic report in XML publisher. SQL query in Report Builder will fetch the Payroll Data in XML mainly Numeric Data and then display this english numerid data in arabic.
Can some guide me to what settings that I have to do for this requirement?
Regards
MunishHi Munish
Did you configure arabic characher set with your XML publisher? Please do character mapping first then try to run report.
Or you can send me your template and XML data at [email protected]
Thanks
Ravi -
EBS 12.1 integrate with XML Publisher
Hi all
I'm new in Xml Publisher yet and I used Oracle Discoverer before
but now i want to use Xml Publisher for reporting.
I see usefull post BI Publisher on EBS R12
also Note: 552735.1 - Integrating Oracle Business Intelligence Applications with Oracle E-Business Suite
but I have some problem yet.
in some article has been said that we should http://<hostname>: <port >/xmlpserver for Logging in to Oracle BI Publisher
1. I think this is not for EBS (is only for when we installed Oracle BI Publisher), is it true?
2. as default xml publisher is active in ebs and we can use this for our report, is it true?
3. i think xml publisher in EBS give us only xml file and we should use Xml Publisher Desktop to see our reports (With xml file source), is it true?
can anybody help me please ....
ThanksM.Khayatan wrote:
Hi all
I'm new in Xml Publisher yet and I used Oracle Discoverer before
but now i want to use Xml Publisher for reporting.
I see usefull post BI Publisher on EBS R12
also Note: 552735.1 - Integrating Oracle Business Intelligence Applications with Oracle E-Business Suite
but I have some problem yet.
in some article has been said that we should http://<hostname>: <port >/xmlpserver for Logging in to Oracle BI Publisher
1. I think this is not for EBS (is only for when we installed Oracle BI Publisher), is it true?
Correct - this is for a standalone install of BI Publisher and not applicable to EBS.
2. as default xml publisher is active in ebs and we can use this for our report, is it true?
Yes - you can use BI Publisher to create reports out of EBS base tables. If you are wanting to create reports out of any custom tables or remote custom databases, pl contact your Oracle salesperson for licensing issues.
3. i think xml publisher in EBS give us only xml file and we should use Xml Publisher Desktop to see our reports (With xml file source), is it true?
BI Publisher Desktop is a development tool to design the layout of the reports. EBS includes seeded xml templates as well as design templates. When XML reports are run, these two templates are automatically used to produce the desired output.
Pl see these links for further info
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/xmlp_ebiz/index.html
http://www.docstoc.com/docs/23964434/XML-Publisher-For-Dummies-%E2%80%93-A-Step-By-Step
can anybody help me please ....
ThanksHTH
Srini -
Error when trying to run an FSG Report via XML Publisher...
hello.
Hope someone can help.
This is our first look into the benefits of XML Publisher in order convince Manager to start using it. Thing is, we really need to get both FSG reports and Dunning Letters working.
We've currently got XML Publisher 5.0.0 and BI Publisher Template Builder for Word v10.1.3.2.0
First up, FSG reports. Having followed this link here:
http://solutionbeacon.blogspot.com/2007/07/simple-tutorial-for-publishing-fsg.html
Ive managed to create a template based upon the basic FSG template supplied. I’ve follwed easy steps but on submitting the request against ANY [its what the notes said] FSG report the error messages from both the log and output files are given.. Those being..
Output file displayed the most productive error message:
DECLARE
ERROR at line 1:
ORA-06550: line 133, column 8:
PLS-00306: wrong number or types of arguments in call to 'SUBMIT_XML_REQUEST'
ORA-06550: line 133, column 5:
PL/SQL: Statement ignored
Can anyone help please? Or perhaps suggest an alternative to running FSG reports through XML Publisher.
Other thought was, do I need any different versions and/or Publisher Enterprise installing?
Many thanks for reading this..
Steven..having tried an alternative presentation I got a singular FSG report to generate in PDF via XML Publisher..
www.darrylcarson.com/Dice/OVOAUG/MAY_2007/XMLP_and_RM.ppt
question closed.. -
Matrix Report in XML Publisher
Hi,
I have a requirement to develop a report through XML publisher. Can anybody tell me the steps to do ?
I don't know XML Publisher.
Thanks in Advance,
PradeepHi,
Check this link for developing the matrix report
Oracle Database and Oracle Applications: Matrix Report in XML Publisher
Regards
Srikkanth -
Reports with XML output complete in error
Hi,
We have migrated Oracle eBiz from HP UX Itanium platform to Linux x86. Since then reports with XML output are completing with following error.
stat_low = 6
stat_high = 0
emsg:was terminated by signal 6
Enter
Password:
*** glibc detected *** ora_rw20_run: free(): invalid next size
(fast): 0x090ee648 ***
Please advise solution if anybody knows.
Regards.Pl post EBS version. Does this occur for all concurrent programs ? Or only seeded ones ? Or only custom ones ? Do you utilize the IX library ?
MOS Doc 1295724.1
Pl continue the discussion in your duplicate post - Reports with XML output complete with Signal 6 error -
Oracle Reports with XML output showing data as asterik character
Hello,
I'm trying to create an Oracle report with xml output. Here is the issue I'm having some of the columns in my report are of datatype number. When I run the report and generate xml file the values for those columns(datatype number) are showing as (*) character, other columns are showing fine. But when I run the report as text output then data is fine. I don't understand why this is happening.
The property of column is Column Type - Database Scalar, Datatype - Number , width 0,-127.
Does the width has to do anything with this?
I'm using Report Builder 6.0.8.11.3, DB version 10g.
Can anyone please help me with the issue I'm having.
ThanksIf the links in your example report1 and report2
follow my format stated earlier
http://machine:port/reports/rwservlet/report=reportnam
e.rdf&destype=cache& paramform=htmlcss&server=<YourReportSe
rverName>&userid=scott/tiger@hrdb&desformat=pdf
This is what I believe
>
so http://machine:port/ is the port where
JBoss is running and
This should be the port that the report server is listening on
>
server=<YourReportServerName> is the name of
my oracle report server
so I call the above link in my current application
and the report would show up
Yes
>
that means (correct me if I am wrong) that my reports
would have to be deployed in OracleAS
Yes
>
I have to try all this yet as till this point I was
trying to run Oracle reports deployed in JBoss...
This may be possible, I am not sure.
>
Oracle J2EE Thin Client?
I am not sure what this is used for in your setup.
Maybe you are looking for
-
Unable to e-mail a pdf through FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'
Hi My requirement is to send purchase order pdf to vendor mail id.i am able to create pdf . i am using function module sO_NEW_DOCUMENT_ATT_SEND_API1.I am not getting any error as my sy-subrc returns 0 but my mail is not sent to vendor email id.can an
-
How to remove a node apps listener from CRS.
We have a node apps in type of listener offline shown from crs_stat -t: ldctrdb01|PDAMLDV11|/u01/crs/product/10.2.0/bin $ crs_stat -t Name Type Target State Host ora....11.inst application ONLINE ONLINE ldctrdb01 ora....12.inst application ONLINE ONL
-
In PHP how to pass a recordset value through a url
I have a blog set up with PHP/MySQL with two tables (1 table for blog entry and 1 table for comments on the blog) I can display the blog and the comment with a LEFT JOIN recordset like this--- SELECT golf_blog.blog_ID, DATE_FORMAT( golf_blog.blog_cre
-
Using Oracle Developer Suite 10g with the 10g Express Edition Database
I'm new to Oracle and I'm taking an SQL college level course using a text book entitled "Guide to Oracle 10g". Our text book came with Oracle Developer Suite 10g (9.0.4.0.1) but no database. We adopted the 10g Express Edition (XE) as the database. I
-
My relatively new 5th gen (had since october '10) has died. When I try to sync, I get a -124 error, saying it's unable to sync, a message saying 'would to like to scan and fix' EVERY TIME I plug the iPod in. It's also been saying that it's corrupted