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...
thanks
option1:
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.
Similar Messages
-
BI+ Reporting With Multiple Data Sources
Hi -
We've been using BI+ Reports with multiple data sources on separate grids. We are wondering if there is a better way to ensure the user has their point of view bar in sync between the the data sources. In our case, both Data Sources are separate HFM applications with all the dimensions identical except the account which is defined on the report. We are not using Metadata Management.
I'm aware of the "Merge Equivalent Prompts" in the Preferences > Financial Reporting window, but this does not always ensure the users have the same point of view.
What practice are other companies using to make sure the user runs the reports accurately with both point of view bars pulling the same entity/year/period.
Thanks in advance.Thanks for your answer, however my question - I know it looks quite messy - is not directly related to data templates, my problem is that at the moment I am using a stored procedure following - almost exactly - what another procedure does in oracle EBS to call a BI publisher report.
1. This procedure populates some temporary table with the xml data where the concurrent request picks it up and uses it to populate the BI publisher template.
2. However I can't go and specify the XML location in my data template as this is not an option for us (i.e. reading the xml from the temporary table), so I am looking for another way to populate the BI publisher template (Note: I can't as well include the SQL queries in my Data template).
Thanks ;) -
BI Publisher Report with Multiple data models
I have an Oracle Report with two different data model(querys) and Layouts for Summary and Details. When the user Choses Summary it execute the summary data model query and display the result in summary Repeating frame Layout and when user choses Details it execute the other query and uses the other layout.
Now I am creating the same report in Stand alone BI Publisher. As a company standard we are using Data Template for Data model. How can I accomplish the same feature I mentioned above in BI Publisher? Meaning How can I control and execute the querys in BIP based on a parameter "Summary" or "Details" ?
Can Someone help
Georgeoption1:
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. -
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 -
Publication for Deski report with multiple data providers
Hi,
Has anyone been able to get a publication working that uses a Deski report with multiple data providers as the source? I'm trying to get a publication working that uses dynamic recipients and personalization. When I try to schedule the publication, I get the error "Object not found".
Thanks,
DebbieDebbie,
That's standard.
It's useful for emulating outer joins in reports.
Say you've got a sales report where you want to display all 12 months of the year in a crosstab whatever month you run in.
We're only in May at the moment though. With one data provider (SALES), you'll get a crosstab with just up to May for your months.
If you create a separate data provider called MONTHS to return the months in the current year, you will then have a merged dimension of YearMonth in both.
In your crosstab if you just use YearMonth you'll get just the five months. If you qualify it with its data provider name (in our case MONTHS), you'll see the full twelve months shown.
I hope that clears it up for your.
Regards,
Mark -
Web Analysis : populate the same table with multiple data sources
Hi folks,
I would like to know if it is possible to populate a table with multiple data sources.
For instance, I'd like to create a table with 3 columns : Entity, Customer and AvgCostPerCust.
Entity and Customer come from one Essbase, AvgCostPerCust comes from HFM.
The objective is to get a calculated member which is Customer * AvgCostPerCust.
Any ideas ?
Once again, thanks for your help.I would like to have the following output:
File 1 - Store 2 - Query A + Store 2 - Query B
File 2 - Store 4 - Query A + Store 4 - Query B
File 3 - Store 5 - Query A + Store 5 - Query B
the bursting level should be give at
File 1 - Store 2 - Query A + Store 2 - Query B
so the tag in the xml has to be split by common to these three rows.
since the data is coming from the diff query, and the data is not going to be under single tag.
you cannot burst it using concatenated data source.
But you can do it, using the datatemplate, and link the query and get the data for each file under a single query,
select distinct store_name from all-stores
select * from query1 where store name = :store_name === 1st query
select * from query2 where store name = :store_name === 2nd query
define the datastructure the way you wanted,
the xml will contain something like this
<stores>
<store> </store> - for store 2
<store> </store> - for store 3
<store> </store> - for store 4
<store> </store> - for store 5
<stores>
now you can burst it at store level. -
Adhoc Query Requirement with Multiple Data Source
Hi All,
I have a Adhoc Query Requirement with Multiple Data Source. Is there any way to achive it. Other than Resultant set and bring into Model.
Thanks
SSYou can compare stuff in the EL, but I don't think this is what you need.
You can just use Java code in the backing bean class for all the business logic. You can use DAO classes for database access logic. Finally for displaying you can use the JSF tags such as h:outputText. -
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 -
Bursting with multiple data sources
Hello all,
I am working in a retail environment and we are building reports for the stores. There are several reports and they all receive the same reports. We are using BIP Entreprise with the bursting feature and it works very well.
The problem is that there are too many reports and we would like to combine all reports of the same store within the same PDF. We use the multiple data source feature and was able to concatenate all reports together.
Using this new report and template, we can not make the bursting functionality to work properly: the bursted report do not contain all the required report components.
For example, I have 2 queries A and B each producing reports for 3 stores: 2, 4 and 5. Without bursting, the output is as is:
Query A - Store 2
Query A - Store 4
Query A - Store 5
Query B - Store 2
Query B - Store 4
Query B - Store 5
With bursting into a file using the store number, I get the following:
File 1 - Store 2 - Query A
File 2 - Store 4 - Query A
File 3 - Store 5 - Query A
+ Store 2 - Query B
+ Store 4 - Query B
+ Store 5 - Query B
I would like to have the following output:
File 1 - Store 2 - Query A
+ Store 2 - Query B
File 2 - Store 4 - Query A
+ Store 4 - Query B
File 3 - Store 5 - Query A
+ Store 5 - Query B
The main question is: can this be done using BI Pub Enterprise? We using version 10.1.3.3.2
If it is, can you provide me with help on how to configure either/or the requests and template to accomplish this task?
I create an SR and Oracle Support does not have an answser and suggested that somebody in the Forum might help.
Thanks in advance,
MinhI would like to have the following output:
File 1 - Store 2 - Query A + Store 2 - Query B
File 2 - Store 4 - Query A + Store 4 - Query B
File 3 - Store 5 - Query A + Store 5 - Query B
the bursting level should be give at
File 1 - Store 2 - Query A + Store 2 - Query B
so the tag in the xml has to be split by common to these three rows.
since the data is coming from the diff query, and the data is not going to be under single tag.
you cannot burst it using concatenated data source.
But you can do it, using the datatemplate, and link the query and get the data for each file under a single query,
select distinct store_name from all-stores
select * from query1 where store name = :store_name === 1st query
select * from query2 where store name = :store_name === 2nd query
define the datastructure the way you wanted,
the xml will contain something like this
<stores>
<store> </store> - for store 2
<store> </store> - for store 3
<store> </store> - for store 4
<store> </store> - for store 5
<stores>
now you can burst it at store level. -
Error in viewing data in a data template with multiple data sources
Hello,
I have designed a data template with two data sources.One is from DEPARTMENTS table and the other datasource is a xml file.Following is the code for the data template :
<dataTemplate name="EmployeeListing" dataSourceRef="demo">
<parameters>
<parameter name="p_DEPTNO" dataType="character" defaultValue="20"/>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[SELECT DEPARTMENT_NAME,DEPARTMENT_ID,LOC from DEPARTMENTS]]>
</sqlStatement>
<xml name="empxml" expressionPath=".//ROW[DEPARTMENT_NAME =$DEPARTMENT_NAME]">
<url method="GET" realm="" username="" password="">file:///D:\OraHome_1\xmlp\XMLP\DemoFiles\Employee Salary Report.xml</url>
</xml>
/dataQuery>
</dataTemplate>
The problem is when i am trying to view the data, only data from SQL Query Q1 is getting displayed and the data from Employee xml is not at all getting displayed.
Could anyone please let me know what i am missing?
Thanks
Nutan
Edited by: user609971 on Oct 23, 2008 8:06 AMThis is from Documenation sample....
Did you see the data structure section, where you say, how you wanted the columns ?
<?xml version="1.0" encoding="WINDOWS-1252" ?>
<dataTemplate name="Employee Listing" description="List of Employees" v
ersion="1.0">
<parameters>- Defines a single parameter for the Department Number
- with default of 20:
<parameter name="p_DEPTNO" dataType="character"
defaultValue="20"/>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[SELECT DEPTNO,DNAME,LOC from dept
order by deptno]]>
</sqlStatement>
<xml name="empxml" expressionPath=".//ROW[DEPTNO=$DEPTNO]"> - Defines name
- and link to DEPTNO in Q1
<url method="GET" realm="" username="" password="">
file:///d:/dttest/employee.xml</url> - Defines url for xml data
</xml>
</dataQuery>-
<dataStructure>- The following section specifies the XML hierarchy
- for the returning data:
<group name="G_DEPT" source="Q1"
<element name="DEPT_NUMBER" value="DEPTNO" />
<element name="DEPT_NAME" value="DNAME"/>
- This creates a summary total at the department level based
- on the salaries at the employee level for each department:
<element name="DEPTSAL" value="G_EMP.SALARY"
function="SUM()"/>
<element name="LOCATION" value="LOC" />
<group name="G_EMP" source="empxml">
<element name="EMPLOYEE_NUMBER" value="EMPNO" />
<element name="NAME" value="ENAME"/>
<element name="JOB" value="JOB" />
<element name="MANAGER" value="MGR"/>
<element name= "HIREDATE" value="HIREDATE"/>
<element name="SALARY" value="SAL"/>
</group>
</group>
</dataStructure>
</dataTemplate> -
Hi i want to produce one report from 2 data source where there is no relation but there is one common fields ,Like in form i using 2 datablock to produce the result. My query is
GLDATA BRDATA
tr-dt-------br---Acno---Amt trndt--------Branch-----Amt-curr
01-08-09--020---111----1245.66 10-07-09---030---345000---INR
02-08-09---021-121----16000 01-08-09---020---545----USD
Here when i search by Br it should display from both tables.I cannot join or put datalink because it will produce duplicate records from the tables.
rgds
jyothisimple, either put them into one repeating frame by union or use two repeating frames.
-
Creating BI Publisher report with raw data XML
Hi Guys,
Can anyone please point me to a link or tutorial where we can do reporting using raw data XML as a datasource and defining the Parameters for filters.
Thanks,
AashThanks for your reply.
I'm just add a new data set from BI Analysis, I select the Analysis and press OK, pop-up closed and in the data set I see the box with the message... nothing else.
If I try to use a simple Analysis, the new data set works. -
XML Publisher report with multi sheet excel report
HI Guys,
I need help from you all to develop the report in xml publisher where the output should have multiple sheets in excel file can you pls guide me how to do thisplz see http://docs.oracle.com/cd/E28271_01/bi.1111/e22254/create_excel_tmpl.htm#ext_multsheets
-
Report from multiple data sources
Hello All,
I have a requirement to create a report based on the data coming from XML file and needs to be joined with the data from SQL query extract.
I did research on this and found this link helpful: http://blogs.oracle.com/xmlpublisher/2008/07/multiple_datasources_i.html
But our data source will be FILE for xml files and can any one please suggest me the how can i define XML file in a data template.
Please guide.
Thanks.To link more than one universe all of them have to have the same connection.
to solve your issue, i think you need to read more about Business Objects DATA FEDERATOR
which allows you to integrate data and create one virtual data source from different data sources
its really helpfull in your case.
your Option 2 i think is still valid, integrate all the information into BW and create one OLAP universe
good luck
Amr -
Problem with Multiple Data Source Retrieval
Hi,
We are working on a Project that is concerned with JSF and XML parsing. We have successfully parsed the XML and made an object model- Lists out of it to display it using JSF. Additionaly we also want to display some data from the database compare it with the XML data and then display it on the GUI.
So e.g we have an attribute code in the XML structure which is a number. Before displaying it on the GUI we first have to query the database what this number or code actually means i.e its description text . get it and display alongside the other data from the XML. So the question is
1) How to get data from different data sources
2) Compare the data
3) and merge and display into GUI .
And we have to display it with JSF and as far as i know JSF has no comparison mechanism ..??!!
Thanks for any help,You can compare stuff in the EL, but I don't think this is what you need.
You can just use Java code in the backing bean class for all the business logic. You can use DAO classes for database access logic. Finally for displaying you can use the JSF tags such as h:outputText.
Maybe you are looking for
-
Acrobat Reader XI with Acrobat 8 Pro on one machine
I want to install Acrobat Reader XI on a machine that has Acrobat 8 Pro installed. I need the Acrobat 8 for my old version of AutoCad but I also need to use Acrobat Reader XI. Is it possible to have these two on one machine? Is there any special setu
-
Is anyone using Kensington MouseWorks with OS 10.6.7?
I can't get it to work on my new 2011 MBP. It will not recognize the mouse. It works fine on my 2008 MBP though. I wrote Kenisngton support and they told me that the current MouseWorks (that hasn't been updated in years) does not work with Snow Leopa
-
how do i get my imessage to work without a top up. it has not been working for a few months
-
My colors do not look correct in the colors window
This is kind of hard to describe and I wish I could show you a screen shot but my colors do not look like the default colors when I first installed CS4. So for my lack of ability to explain my problem very well, how do I reset CS4 to show me the orig
-
Why is my others section taking up 8gig on my 32 gig ipod tough 5th generation?
I need to know why my iPod tough 5th generation's 'other' section is taking up 8g of my capacity?