Warehour builder Vs data model
Can Oracle Warehouse Builder be used for any data modeling development(logical to physical)
Any licensing required?
Ad. thanks for the info!.
The error is query block consists of inconsistent no of columns
Similar Messages
-
ORACLE reports Build 10g - Data Model - query - If statement in Alias ?
I have the following select statement. It has the alias Survivors, Deaths and "All
With the ORACLE reports Build 10g - Data Model - I have the following query statement. I require the alias to change. Can the following be done.
Cases". Is it posible to use :P_LANGUAGE variable to say that -- IF :P_LANGUAGE = FRENCH THEN alias are Survivants for survivors, Décès for Deaths, Tous_les_cas for All Cases. Please advise
SELECT ALL T_NTR_MULTIBAR.CAT, T_NTR_MULTIBAR.NUM_CASES_LEFTBAR AS Survivors,
T_NTR_MULTIBAR.NUM_CASES_MIDDLEBAR AS Deaths, T_NTR_MULTIBAR.NUM_CASES_RIGHTBAR AS "All Cases"
FROM T_NTR_MULTIBAR
WHERE INSTANCE_NUM = :P_INSTANCENUM
order by ORDERSIt is no problem, you can automatically change the complete query before the report is running, which delivers you different kind of values. But the alias names does not change in the group of the data-model, although two query are running with different alias names at different times. In the data model you see the alias names of the first implemented select statement, which are the column fields in the layout.
-
Report Builder 6i is ending in error if we try to add additional column in the data model query
select rpad('a',50,'-') cust_name_inv,
rpad('a',30,'-') cust_no_inv,
rpad('a',30,'-') sal_name, ---added column
rpad('a',4000,'-') sort_field1_inv,
rpad('a',4000,'-') sort_field2_inv,
0 inv_tid_inv,
0 contact_site_id_inv,
rpad('a',60,'-') cust_state_inv,
rpad('a',60,'-') cust_city_inv,
0 addr_id_inv,
0 cust_id_inv,
0 payment_sched_id_inv,
rpad('a',20,'-') class_inv,
sysdate due_date_inv,
0 amt_due_remaining_inv,
rpad('a',30,'-') invnum,
0 days_past_due,
0 amount_adjusted_inv,
0 amount_applied_inv,
0 amount_credited_inv,
sysdate gl_date_inv,
'x' data_converted_inv,
0 ps_exchange_rate_inv,
0 b0_inv,
0 b1_inv,
0 b2_inv,
0 b3_inv,
0 b4_inv,
0 b5_inv,
0 b6_inv,
rpad('a',25,'-') company_inv,
rpad('a',30,'-') cons_billing_number,
rpad('a',32,'-') invoice_type_inv
from dual
where 1=2
UNION ALL
&common_query_inv
We checked the number of columns passed in the lexical parameter, it tallys with the columns in the data model
Any suggestions is welcome to overcome this issue
Thanks
The lexical parameter passes the following query at run time
SELECT SUBSTRB (party.party_name, 1, 50) cust_name_inv,
cust_acct.account_number cust_no_inv,
jr.NAME sal_name,
c.segment1|| ' '|| c.segment2|| ' '|| c.segment3|| ''|| c.segment4||''|| c.segment5|| ''|| c.segment6 sort_field1_inv,
arpt_sql_func_util.get_trx_type_details(ps.cust_trx_type_id,'NAME') sort_field2_inv,
c.code_combination_id inv_tid_inv,
site.site_use_id contact_site_id_inv,
loc.state cust_state_inv,
loc.city cust_city_inv,
DECODE (:format_detailed,NULL, -1, acct_site.cust_acct_site_id) addr_id_inv,
NVL (cust_acct.cust_account_id, -999) cust_id_inv,
ps.payment_schedule_id payment_sched_id_inv,
ps.CLASS class_inv,
ps.due_date due_date_inv,
DECODE (:c_convert_flag,'Y', ps.acctd_amount_due_remaining, ps.amount_due_remaining) amt_due_remaining_inv,
ps.trx_number invnum,
CEIL (:as_of_date - ps.due_date) days_past_due,
ps.amount_adjusted amount_adjusted_inv,
ps.amount_applied amount_applied_inv,
ps.amount_credited amount_credited_inv,
ps.gl_date gl_date_inv,
DECODE (ps.invoice_currency_code,:functional_currency, NULL,DECODE (ps.exchange_rate, NULL, '*', NULL)) data_converted_inv,
NVL (ps.exchange_rate, 1) ps_exchange_rate_inv,
arpt_sql_func_util.bucket_function (:bucket_line_type_0,
dh.amount_in_dispute,
ps.amount_adjusted_pending,
:bucket_days_from_0,
:bucket_days_to_0,
ps.due_date,
:bucket_category,
:as_of_date
) b0_inv, --------------bucket 1
arpt_sql_func_util.bucket_function (:bucket_line_type_1,
dh.amount_in_dispute,
ps.amount_adjusted_pending,
:bucket_days_from_1,
:bucket_days_to_1,
ps.due_date,
:bucket_category,
:as_of_date
) b1_inv, --------------bucket 2
arpt_sql_func_util.bucket_function (:bucket_line_type_2,
dh.amount_in_dispute,
ps.amount_adjusted_pending,
:bucket_days_from_2,
:bucket_days_to_2,
ps.due_date,
:bucket_category,
:as_of_date
) b2_inv, --------------bucket 3
arpt_sql_func_util.bucket_function (:bucket_line_type_3,
dh.amount_in_dispute,
ps.amount_adjusted_pending,
:bucket_days_from_3,
:bucket_days_to_3,
ps.due_date,
:bucket_category,
:as_of_date
) b3_inv, --------------bucket 4
arpt_sql_func_util.bucket_function (:bucket_line_type_4,
dh.amount_in_dispute,
ps.amount_adjusted_pending,
:bucket_days_from_4,
:bucket_days_to_4,
ps.due_date,
:bucket_category,
:as_of_date
) b4_inv, --------------bucket 5
arpt_sql_func_util.bucket_function (:bucket_line_type_5,
dh.amount_in_dispute,
ps.amount_adjusted_pending,
:bucket_days_from_5,
:bucket_days_to_5,
ps.due_date,
:bucket_category,
:as_of_date
) b5_inv, --------------bucket 6
arpt_sql_func_util.bucket_function (:bucket_line_type_6,
dh.amount_in_dispute,
ps.amount_adjusted_pending,
:bucket_days_from_6,
:bucket_days_to_6,
ps.due_date,
:bucket_category,
:as_of_date
) b6_inv, --------------bucket 7
c.segment1 company_inv,
TO_CHAR (NULL) cons_billing_number,
arpt_sql_func_util.get_trx_type_details(ps.cust_trx_type_id,'NAME') invoice_type_inv
FROM hz_cust_accounts cust_acct,
hz_parties party,
ar_payment_schedules_all ps,
jtf_rs_salesreps jr,
ra_customer_trx_all ra,
hz_cust_site_uses_all site,
hz_cust_acct_sites_all acct_site,
hz_party_sites party_site,
hz_locations loc,
ra_cust_trx_line_gl_dist_all gld,
ar_dispute_history dh,
gl_code_combinations c
WHERE ps.gl_date <= :as_of_date
AND UPPER (RTRIM (RPAD (:p_in_summary_option_low, 1))) = 'I'
AND ps.customer_site_use_id = site.site_use_id
AND site.cust_acct_site_id = acct_site.cust_acct_site_id
AND acct_site.party_site_id = party_site.party_site_id
AND loc.location_id = party_site.location_id
AND ps.gl_date_closed > :as_of_date
AND DECODE (UPPER (:p_in_currency),
NULL, ps.invoice_currency_code,
UPPER (:p_in_currency)
) = ps.invoice_currency_code
AND gld.account_class = 'REC'
AND gld.latest_rec_flag = 'Y'
AND gld.code_combination_id = c.code_combination_id
AND ps.payment_schedule_id = dh.payment_schedule_id(+)
AND :as_of_date >= NVL (dh.start_date(+), :as_of_date)
AND :as_of_date < NVL (dh.end_date(+), :as_of_date + 1)
AND cust_acct.party_id = party.party_id
AND jr.salesrep_id = ra.primary_salesrep_id
AND ps.customer_id + 0 = cust_acct.cust_account_id
AND ps.customer_trx_id + 0 = gld.customer_trx_id
AND 1 = 1The error is query block consists of inconsistent no of columns
-
Decision to Build BW data model with legacy data
Hi experts,
I was assigned a task to take decision on creating new data warehouse on the following scenario's
Option1:
1.SAP BW + Legacy data( Separate database)
Option2:
2.SAP BW+ Legacy data integrate to BW.
Please let me the pros and cons involved in integrating legacy data to BW or to report separately as two different data bases using BOBJ.Client is having SAP R/3 EEC6.0 running.SAP data is around 60% and remaining is legacy.
My question is which option is better with some detail.
Regards
prasadHi Prasad,
As mentioned no need to combine Legasy data and BW data in BOBJ.You can directly extract to BI from R/3 and Legasy Data.But
Please check the folliwng points from DB People.
1. As per requirement how many Tables that you are using to extract the data?
2. You have three source tables.But there are no unique records.In this case first you need to identify the common key field.
Note : That key field also should same as in R/3 also.
Based on the three source tables inform the DB team Mainatain a separate table (Which should collect only common record from three tables).
3. Now you can load the data into BI.So the above scenario will resolve issue.
Issues & Concern :
1. If yopu extract Lagasy and BI to BOBJ ?How u r going to combine data in BOBJ to generate a global report.
2. Is this possible to maintain a separate table in DB by the DB team.
Check once with DB team before proceeding further.
Regards
Ram. -
Building data model using business modeler in demantra
Hello.
During this week I've been trying to build a data model using the business modeler but i keep getting an error during the process. My main problem is that I don't really know if i am making the mistake or it is a configuration problem with my demantra install. To begin with I'm trying to build the most simple of the models, 3 files or tables (tryed both) sales, items, and location, all joined by their respectives id's. So If anyone could be so kind to direct me to a tutorial with an example (besides the implementation guide) or a anything like that will be greatly appreciated.
Thanks!
Data tables estructure:
Sales table:
Item_Id|Item_Name|Org_Id|Org_Name|Site_Id|Site_name|sales_date|Quantity
Items table:
Item_Id|Item_Name
Location table:
Org_Id|Org_Name|Site_Id|Site_name
So far I've tryed building the model with one record on each table.
this is the error that i'm getting:
<a href="http://imageshack.us/photo/my-images/832/errornuevo.png/"></a>
Uploaded with ImageShack.usWe currently don't support DataControls based on the ADF BC technology. We will consider such support if there is a strong interest in that use case.
Independent of the IDE's you use, there are ways to expose services based on ADF BC that can then be consumed by the view layer. A Google search will point you to some of the approaches.
HTH. Thanks for your interest in OEPE. -
I am trying to edit the default forms/reports that come with CM14, trying to edit the data model, data set, (to get to the old Infomaker style graphic view) , the Query model does not display (error the list of tables is too long..) Oracle tell me the limit is 60, there are not 60 tables referenced in any CM report.
Does this Query builder view work at all on any report?
(bigger question, we are moving from CM12, should we move to CM13 which works with infomaker?)
Thanks,
Paul LKurt, thanks for your replies.
A couple of notes/clarifications.
1. You are correct that BI works better in Firefox--I have observed issues with the BI display when using IE. I would recommend using Firefox too.
2. You are correct about the way to get to the Query Builder to see a graphical view of data tables. There are basically two issues with this that I mentioned, but will re-iterate:
a. If you have an EXISTING query in the data set, then click the "Query Builder" button, this will remove the existing query that's there, it will NOT display the existing query in the query builder. Query Builder works only to create a NEW query from scratch.
b. Query builder is limited to selecting 60 fields max in your query. If you are creating a large report with many tables, you may find that 60 fields is not enough. For that you will have to work in the SQL edit screen rather than using the query builder.
I would impress on anyone developing CM14 reports that they become familiar with the database schema and relationships to avoid problems when developing your BI reports. You should be able to find the tables and joins documentation in the knowledgebase. -
Unable to see columns of Data Model in Template Builder for Word.
Experts,
My customer has defined Data Model,
and when Ct is trying to insert fields into their documents,
the columns in the Data Model can't been seen in Template Builder for Word.
(in tool bar; Oracle BI Publisher > Insert > Field)
The details is as follow;
(Data Model)
Name : TEST
Type : SQL Query
SQL Query : select case_id,case_name from TEST where case_id = :p_case_id and serious_flag = 'Y';
'p_case_id' is taken from LOV.
(sample data in TEST table)
CASE_ID CASE_NAME SERIOUS_FLAG
1 case1
2 case2 N
3 case3 Y
In this case, CASE_ID and CASE_NAME can't be seen in Template Builder.
But we can see the columns when the sample data is as follow;
CASE_ID CASE_NAME SERIOUS_FLAG
1 case1 Y <-(*)
2 case2 N
3 case3 Y
I mean, the data of the first row (in this case, case_id=1) is hit by the SQL query,
we can see the columns in Template Builder.
I'd like to know whether it is an intended behavior.
Regards.Hi,
I reformed the sample data in TEST table.
In this case,the columns in the Data Model can't been seen in Template Builder for Word.
CASE_ID CASE_NAME SERIOUS_FLAG
1 case1
2 case2 N
3 case3 Y
But we can see the columns when the sample data is as follow;
CASE_ID CASE_NAME SERIOUS_FLAG
1 case1 Y <=(*)
2 case2 N
3 case3 Y
In fact, when the data of the first row (in this case, case_id=1) is hit by the SQL query,
we can see the columns in Template Builder.
Any information would be appreciated.
Thanks in advance. -
Error to open a data model in Report builder (Word)
Dear all,
Im troubles when i try to open a data model in Report Builder (Word). Someone know about this problem?
The message is: A error has ocurred. Check the settings and try again.
Any suggestion?
Thanks for all!I've also got this error several times. Usually the reason is an error in the Publisher query (or data template). It's better to first test (view) that you get a proper xml-output in Publisher, and only after that try to create an rtf-template. If this doesn't work, I usually start from the beginning, and first make a very simple report, then try the template, and if it works, then gradually increase elements for the Publisher side. Sometimes I haven't got any idea why it didn't work at the first place, when it then works after beginning from the simple report.
-
Building report from more than one data model
Hi Experts,
I have a requirement to build a report in BI Publisher.
The report has three section each having their own data source.
When i try to create report in BI Publisher it allows me to associate one data model per report.
is it feasible to have more than one data source for a single report.
Cheers,
AndyHi Andy,
Not sure If this meets your requirement, please do have a look at the following links:
http://www.rittmanmead.com/2008/04/24/bi-publisher-reports-with-multiple-data-sources/
http://blogs.oracle.com/xmlpublisher/2008/07/multiple_datasources_i.html
http://blogs.oracle.com/xmlpublisher/2008/07/multiple_datasources_ii.html
Thanks. -
Need tips to build a Logical data model
Hey Gurus,
1) I need some tips in building a logical data model.
I have reviewed a functional spec and listed all the fields required in a report. I now looked into datasources( extractor) in R/3 side which can bring most of these fields but there are certain characteristices which are not part of this extractor, what i have found out is that they are the attributes of a master Data <u>but there are still some more fileds which are not part of the extractor and attributes of a master data</u> , so now how do i bring the data for those fieds????? <b>Do I have to enhance the extractor or do i need to enhance the Masterdata???????</b>
How do i decide whether to enhance the extractor or the Master data?? Experts please give me some tips out of ur experiences so that i can decide on what to enhance.
2) Assume that i have an extractor which can bring me all the fileds required in a report. Now how do i build a logical data model????????
is it like
Replication Transformation/DTP Transformation/DTP
DS-->PSA> ODS--
>IC
Am I right else correct me gurus.
Will surely award points.
thanks.1. Use XML Spy Enterprise edition editor.
2. Goto www.xmethods.com, select service you want to create demo of.
3. Get its WSDL url.
4. In XML Spy SOAP menu there is a command 'create new soap request'. Press that, enter the WSDL url. You will get a SOAP request.
5. Edit SOAP request parameters. Type parameters of your choice.
6. Press 'send request to server'. You will get SOAP response. It will contain result from the requested method.
7. Paste that response inside a JSP.
8. Write a local method which will return same response (remote method's return value) that came from remote web service.
9. Paste that method inside abovementioned JSP. Replace static response in that JSP with the response generated by local method. The method parameters will come from client's SOAP request. Parse SOAP request to get request parameters. (As it's your demo, you know the data types of the parameters).
10. Host that JSP on any Servlet/JSP engine.
That makes your Web Service.
You can use any package like Aapche SOAP, AXIS or JAX-RPC to generate a SOAP client. Use the URL of JSP(step 10) as "endpoint".
Note: Indside JSP make sure that there in no endline and carriage return character. Otherwise it won't be a valid SOAP response.
Good luck. -
Want to build OBIEE compatible data model.
Hi Experts,
I want to design a data model which i use with OBIEE. Mainly my reports contain different metrics compared over time. Can any one give me some suggestions or web references that help me in building a strong data model. Sorry if this is a big topic to discuss........any web references you know will help me a lot.
Thanks,
DKThanks Stijn,
but there are several books written by Kimball...........which one of the below you prefer??
The Data Warehouse Toolkit: The Complete Guide to Dimensional Modeling
http://www.amazon.com/Data-Warehouse-Toolkit-Complete-Dimensional/dp/0471200247/ref=sr_1_1?ie=UTF8&s=books&qid=1279297864&sr=8-1
The Data Warehouse Lifecycle Toolkit
http://www.amazon.com/Data-Warehouse-Lifecycle-Toolkit/dp/0470149779/ref=sr_1_9?ie=UTF8&s=books&qid=1279297864&sr=8-9
or some other book??
Thanks once again for the reply,
DK -
Step-by-step tutorial for building data model
Hello,
I'm looking for a step-by-step tutorial, which will build data model in BW (data sources, transformations, cubes). So far I found only one: http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4096b8fc-6be7-2a10-618e-b02a5e5e798f
May someone knows other tutorials?http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4096b8fc-6be7-2a10-618e-b02a5e5e798f
Regards,
Sushant -
Data Model plugin for Flash Builder 4
Hello there!
I've just watched a video tut on Youtube (http://www.youtube.com/watch?v=U1aWeoTV63M) on how to work with Flash Bulder + LC Data Services and he mentions a plug-in to add this option (Data Model) to Flash Builder.
I looked around on Adobe's website and found two download links, both for Eclipse, with lots of jar files.
Sorry, I don't get it!
Please, where do I get the right plug-in file and how do I install it in Flash Builder?
Thank you!
MarcosSame here. Modeler plugin for Helios, Eclipse 3.6, Flash Builder 4.5 would be great.
-
Help Needed with Data-modeling to build an application on
Hi would anyone be able to help me in creating a data model cause im really stuck with this one .Basically if been asked to create a survey application in oracle apex that use to excel based . So the info i was given was in a form of excel sheet which looks like this
NAME
E-MAIL
TSSA
ORACLE
HP
IBM
MS
SAP
INTERGRAPH
CISCO
Relationship
Contracting
Performance
Architecture
Supplier Feedback
comments
Jxxxxxx yyyyyyf
[email protected]
Yes
Yes
Yes
Yes
x
requested to be added
nnnitha iiiiiah
[email protected]
Yes
Yes
Yes
x
x
Knnnn kkkikot
[email protected]
Yes
x
x
is not payed
Gggrt Louuuue
[email protected]
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
x
x
x
x
jeiiiha ad
[email protected]
Yes
x
to meet with
John Rat
[email protected]
Yes
x
x
So where it says yes thous are the vendors that people associated with them have to asses and where there's an X thous are the topics that the vendors have to be rated on . So if for example the first guy on the list Jxxxxxx yyyyyyf will asses TSSA , ORACLE, HP , IBM , MS , SAP on the topic of Architecture and if you look at the second user nnnitha iiiiiah he would rate TSSA , ORACLE , INTERGRAPH on the topics of Relationship and performance . Any idea how i could data model this to get my table structures right .so that features like completion status could be displayed to the user through APEX which can only be done by a correct data-model i have tried normalization but i did go anywhere becauce there are so many variations any idea on how you would go about data modeling this would be greatly appreciated thank youNot really an APEX specific question.. Maybe you should try posting this in the data modeler forum : SQL Developer Data Modeler
Thank you,
Tony Miller
LuvMuffin Software -
Building BI Publisher report with "BI Answers" data model
I've installed OBIEE 10.1.3.4.1 and try to create a BI Publisher report using BI Answers as data model. The catalog list of Answers comes up empty, and in the log files I find following error:
- Exception:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.IllegalArgumentException: The char '0x14' after '��u���3' is not a valid XML character.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.lang.IllegalArgumentException: The char '0x14' after '��u���3' is not a valid XML character.
at org.apache.axis.components.encoding.UTF8Encoder.writeEncoded(UTF8Encoder.java:81)
at org.apache.axis.encoding.SerializationContext.writeSafeString(SerializationContext.java:1289)
at org.apache.axis.encoding.ser.SimpleSerializer.serialize(SimpleSerializer.java:104)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
Does anyone have a clue?
Thanks,
Marcoption1:
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.
Maybe you are looking for
-
Audio Loops vs. Midi Loops
I am new to Logic Express: Can Audio Apple loops be played on the "Apple Loops" tracks? Because as of now, when I just drag the audio loops into the track (and I've checked the instrument/output settings), they don't play. The Midi loops play just fi
-
Time Machine: Backup folder changing size when connected to different computers
Can someone please help me wrap my head around why the size of my Time Machine backup folder changes when connected to different computers? I tried to be as thorough as possible. Thanks in advance for taking the time to read this. I made a backup of
-
I am EXTREMELY disappointed in Apple. I preordered my iPhone 5 as soon as it was available, but did not receive it in the mail until yesterday. I excitedly met the UPS man and ran inside to open my new phone. Upon opening the package, I found that my
-
Windows server backup crash vss errors
We're having an issue where every other day the system state fails. We use a 3rd party piece of software that uses WSB for the system state. We get the following in the eevnt logs: Faulting application name: wbengine.exe, version: 6.1.7601.17514, tim
-
I recently got a new Macbook Pro with OS X 10.9.1 A free upgrade was done and included Pages, Keynote, Numbers. The only problem is that I cant send Keynote files i.e with extension .key through gmail. Even compressing the files doesnt solve the issu