Question by showing the data model in reports of 11 g
Hello
I'm working on forms and reports on 11 g. I have a problem with the reports.
After opening an existing report, I am unable to view the queries in the data model. The data model page is open, but immediately, it pops up a window saying generator stopped working. He has no problem working with the rest of reports such as the use of the document layout, etc.
Could someone help me with this problem?
(Sorry, i, m not able to add any image with this)
Thanks in advance.
You use the 64-bit Oracle Forms and reports 11 GR 2 version? If you are, it's a known bug with 64-bit report designer. As long as you use not Sources of pluggable data (PDS) in your reports, you can implement workaround in the following article:
http://Pitss.com/us/2012/10/10/reports-Builder-11gr2-crashes-when-viewing-data-model/
This should solve the problem with the help of the data model in the generator of reports without it crashing.
Thank you
Scott
Tags: Oracle Development
Similar Questions
-
Trigger code of the report to the data model
Hi all
I inserted a report trigger in a data model and created the desired in my database function. Everything works as expected.
My question is, is it possible to write trigger report within the data model? Given the choice, I'd rather have the trigger code integrated within the data model itself rather than in a separate package.
I have found no examples of this, but I just wanted to confirm that it is impossible.
Thank you.
Published by: jasonr on May 17, 2011 07:39No,
The code must be executed by the trigger will be a PL/SQL package, and he resides in DB only.
-
Developer reports 11g fails when opening the data model view
Hello
I see this on one of my client sites.
They have just upgraded to 11.1.2.2.0 suite of developer on Windows 7. The works of developer of fine forms, reports developer opens the report ok, but when you try to use the data model view, the program crashes and closes.
I checked the usual suspects such as the REPORTS_TMP registry variable.
This happens when trying to create a whole new report also, therefore seems to be an installation problem.
Saw someone else this please?
Tony
Hello Tony,.
Then, check this box.
Hamid
-
Use the stored procedure to create the data model for the bi publisher report
Hi all
Can we use stored procedure to create the data model for BI Publisher reports? I did find an example by using the stored procedure to complete the data model in the bi publisher report.
Thank you
ViratCheck out these links
BI publisher to use the stored procedure
Re: Stored procedures and dynamic columns
Re: Is it possible to use stored procedures in BI Publisher GUI?
Re: PL/SQL stored w / model XML?If brand pls help
-
Generating reports (11g R2) crashing when you open the data model - VGS.dll Crash
Hello
I have the Report Builder on a 2008 Server R2(64-bit) with 11 g R2 (11.1.2 - 64bits) configured with weblogic, reports and forms for a developer machine. Whenever I try to open the data in a report, Report Builder model no longer works and I get error APPCRASH indicating Module as VGS.dll error all the time. If someone had a similar problem before, please help me.
Problem event name: APPCRASH
Application name: rwbuilder.exe
Application version: 11.1.2.0
Application timestamp: 4e8c21a7
Fault Module name: VGS.dll
Fault Module Version: 11.1.2.0
Timestamp of Module error: 4e996706
Exception code: c0000005
Exception offset: 00000000000988b 1
OS version: 6.1.7600.2.0.0.16.7
Thnx,
Sona.Hi son, one
Try this after the closure of Report Builder.1-backup ORACLE_INSTANCE\config\FRComponent\frcommon\TOOLS\admin\cauprefs.ora
2. then open this file in a text editor (such as Notepad) and look for the following lines:
Reports.PluggableDataSourceFactories =
("oracle.reports.plugin.datasource.xmlpds.XMLDataSourceFactory",
"oracle.reports.plugin.datasource.jdbcpds.JDBCDataSourceFactory,"
"oracle.reports.plugin.datasource.textpds.TextDataSourceFactory")and change these lines as follows:
Reports.PluggableDataSourceFactories =)
3 save the file
4 - retry
It will be useful. Roberto
-
SQL IN keyword does not not in the data model. ???
I created a data model that extract codes window a table by using the IN keyword.
< name of dataTemplate = "Enonce1" defaultPackage = "" than one dataSourceRef 'Flex' = > "
Properties of <>
< property name = "include_parameters" value = "true" / >
< property name = "include_null_Element" value = "true" / >
< property name = "include_rowsettag" value = "false" / >
< property name = "scalable_mode" value = "off" / >
< property name = "db_fetch_size" value = "300" / >
< / properties >
< Parameters >
< name of the parameter = Valeurdefaut 'branchcode"="000"/ >
< / Parameter >
< lexicals / >
< dataQuery >
< name sqlStatement = than one dataSourceRef "Q2" = "" >
<! [CDATA]
SELECT branch_code from sttm_branch@dbuser1 where branch_code IN(:branchcode)
[]] >
< / sqlStatement >
< / dataQuery >
< dataStructure >
< name of the group = "G_BRANCHES" source = "Q2" groupFilter = "" >
< element name = "BranchCode" value = "branch_code" / >
< / Group >
< / dataStructure >
< / dataTemplate >
I created a LOV named branches that hold the entire industry codes and have created a branchcode parameter and set its type from the menu and have assigned branches LOV. I've also selected the check box "Multiple Sélection" and "Can select all" for
' Can SΘlectionner everything ' I select 'pass all values '.
Now I am faced with two questions.
(1) when I select "All" from the LOV and try to view the report there is no counter code be passed as a parameter. When I select "All" in LOV the XML that is generated, that's how.
<? XML version = "1.0" encoding = "UTF-8"? >
< Enonce1 >
< > 000 BRANCHCODE < / BRANCHCODE >
< / STATEMENT1 >
As you can see he is just passing the value defined as defaultValue in the data model.
(2) when I select several entries of LOV they demonstrate them as parameter in XML, but no data is returned. Resulted in the XML is like that.
<? XML version = "1.0" encoding = "UTF-8"? >
< Enonce1 >
< BRANCHCODE '000 ', '001','002 ' > < / BRANCHCODE > (these are the parameter values)
< / STATEMENT1 >Hello
you need a lexical parameter in your query:
SELECT DEPTNO, DNAME, LOC FROM DEPT * & deptwhereclause *.
This glossary can be defined in one before the report according to your setting of multiple selection
If p_deptno is not null then
deptwhereclause: = ' WHERE DEPTNO IN ('| p_deptno |') ' ;
end if;This complete example is here: http://www.oracle.com/global/de/community/bip/tipps/dynamische_queries/index.html
It's in German, but the screenshots and code may help anyway.
Concerning
Rainer -
XML with a member does not properly in the data model
I use XmlDataAccess class to load an XML list in GroupDataModel. Everything works fine if the XML file has more than one Member, however, it does not load if the list contains a single member. I use the following code to get the XML content:
QVariant list = xda.load(home.absoluteFilePath("MembersList.xml"),"/members/member");
I need to know if the list has only one or 2 + members, so I can direct the data model to load with the appropriate settings. Can I know the number of members in the list?
This problem is closely related to this question, where a solution QML is given.
Hi Mitch99,
Please see this forum post for a workaround for this problem. I tested it and confirm that it works as with QML.
-
Hide button in the data model of bi publisher 11.1.1.6.4 apply
Hi all
According to the oracle documentation, we can hide the button apply in the data model in OBIEE 11.1.1.6... Version. However, I checked the version 11.1.1.6.0,11.1.1.6.4 there is no feature in the data model to hide the button apply as shown in the figure below. Is available in 11.1.1.7.0 latest version only?
http://Tinypic.com/r/bg9yf/5
Thank you
SushilI think that is in with settings in the "Apply" button. You do not have the ablility to show the button apply or not. You can set it in the display options settings page-> show the button apply.
I work with the version of Oracle Business Intelligence 11.1.1.6.7 and I am able to set this property.
Thank you
Bipuser -
How to build the data model to the server of short?
After the Quick Start Guide, I am still confused of short components. In the view of BI, it should be a short server integrated data model and a tool to develop and manage the data model. Which component is this role, CloverETL or something?We have created a series of screencast "Getting started with short Information" discovered who should provide that you answer these questions.
You can find the full outline on our page OTN: http://www.oracle.com/technetwork/middleware/endeca/learnmore/index.html
And, the screencasts are on our YouTube channel: https://www.youtube.com/user/OracleEID
Thank you
Carrie -
Comment of tables and columns are included in the Data Modeler
Hi all
I used Oracle SQL Developer Data Modeler (Version 3.0.0.665) and created a data model for my project. I sent an email a PDF version of the data model to our systems analyst. She asked if I could re - create the data model and include table and column comments. Is this possible and if so how this work is it?
Thank you for your comments,
SeyedSeyed salvation,
I used the Data Modeler and create a report. The report included 36 .csv files
What is the purpose of this 'report' task, because 36 files csv does not sound like report to me. Watch "files > reports" feature - you can generate reports for your model. -for any model, single table or tables belonging to specific subview. The report of the complete table contains additional details, so if you need these comments, then only you can create a template and select column comments appear only. So some general information table will be also included.
Philippe
-
How data (xml) sample in the data model get updated in bi publisher?
Hi all
I want to know how data sample get updates that is used in the reports to bi publisher data model?
Thanks in advance
VishalHello
Its actualization based on the query that you create in the data model.
Hope this answer will help you. Please let me know it's what you are expected?
Thank you
RDM -
Is it possible to make the condition depending on the sql statements in the data models
Hi all
Is it possible to include the condition based on sql statements in the data models.
For example
Is something like this? Also, the good doc is available for ' how to take full advantage of the "data models" in BI Publisher?if (some parameter is not null) <sqlstatement name="STATEMENT_1"> ... </sqlstatement> else <sqlstatement name="STATEMENT_2"> ... </sqlstatement>
Thank you
-SookieHello Sookie,
I couldn't find the time to get a data model of demonstration of work for you, but I'll try to explain.First, write a PL/SQL package. Make sure that you set all the parameters of model of data such as a global variable in the default PL/SQL package.
CREATE OR REPLACE
package as employee
function BeforeReportTrigger return Boolean;
query_text varchar (2000);
number of p_DEPTNO;
END;
/CREATE OR REPLACE
package as body employee
function BeforeReportTrigger return Boolean IS
StartIF (p_DEPTNO = 10) THEN
query_text: = select col1, col2, col3 from HR.
elsif (p_DEPTNO = 20) THEN
query_text: = select col1, col2, col3 hr_history.
on the other
query_text: = select col1, col2, col3 hr_history1.
end if;
Returns true;
end;
/Use this package in the default package in your data model. Check the "defaultPackage ="employee"in the following data model header.
Sample data model
------------------------------
--
--
--
--
Before running the query SQL, data engine reads the "before the release of the report" and all the texte_requete argument based on the p_DeptNo value. When executing the Q1, engine sqlQuery analyze the query ' & quert_text and replace it with the actual value. For example if the p_deptno = 10, the query will be "select col1, col2, col3 from HR.
Try it...
-
How to pass parameters to Date on the data model
Hi all
I try to pass parameters of date on the data model and unable to pull all the data. When I tried hard-coded in the SQL query, it works. Here is the data model, can I pass parameters directly to the dataquery?
I searched a lot but couldn't find it. Any help is greatly appreciated.
<? XML version = "1.0" encoding = "WINDOWS-1252"? >
< name of dataTemplate = "AIMS_VDIS_VALIDATION_REPORT" description = 'Invalid records in the GOALS and for the given date VDIS' version = "1.0" >
< Parameters >
< name of the parameter = "p_start_date" dataType = "date" / >
< name of the parameter = "p_end_date" dataType = "date" / >
< / Parameter >
< dataQuery >
< SQLStatement instance name = "T4" >
<! [CDATA [SELECT pgw_custom. Account_Validate (acct_new) invalid,
acct_new,
DECODE (pgw_custom. Account_Validate (acct_new), 0, 'ACCOUNT OF OBJECTIVES not VALID', 'VALID OBJECTIVES ACCOUNT') message
Of
(SELECT DISTINCT SUBSTR (acct, 1, 3) |) JE_CAP | SUBSTR(ACCT,8) acct_new
Of
(SELECT the jav.jav_hours hours,
ACCT GCC.concatenated_segments,
GCC.code_combination_id ccid,
$ (bua.hourly_rate * jav.jav_hours);
CASE WHEN (um.class2 IN (' a ',' B', 'C', d ', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', ',' n, 'O', 'P', 'Q', 'R', 't')) THEN '3201'
WHEN (um.class2 IN ('Z', "ZA", "ZA1', 'W', 'U', 'V', 'X', 'Y',"ZA2","ZB","ZC","ZD", the from ')) THEN '3301 '."
END je_cap
OF pgw_custom.jems_aims_vehicle jav,.
Apps.mtl_generic_dispositions mg/d,
Apps.gl_code_combinations_kfv gcc,
mfour.unit_main@m4prg01 uh,.
BUA mfour.bill_unit_acct@m4prg01
WHERE jav.jav_glaccount = mgd.segment1 AND
MGD.distribution_account = gcc.code_combination_id AND
JAV.jav_vehicle = um.unit_no AND
UM.unit_id = bua.unit_id AND
JAV.jav_project IS NULL AND
JAV.jav_task IS NULL AND
JAV.jav_charge_date BETWEEN: p_start_date AND: p_end_date AND
GCC.detail_posting_allowed = 'Y' AND
GCC.enabled_flag = 'Y' AND
NVL (gcc.end_date_active, TO_DATE('31-DEC-4720','DD-MON-YYYY')) > = SYSDATE AND
SUBSTR (bua.billing_code, 1, 1) = "I" AND
((bua.eff_dt < = (SELECT date_fin)))
OF apps.gl_periods
WHERE period_name = (SELECT TO_CHAR(:p_end_date,'MON-RRRR') FROM DUAL)) AND
BUA.end_dt IS NULL)
OR
(bua.end_dt >(SELECT start_date)
OF apps.gl_periods
WHERE period_name = (SELECT TO_CHAR(:p_end_date,'MON-RRRR') FROM DUAL)))
ORDER BY valid, acct_new]] >
< / sqlStatement >
< / dataQuery >
< dataStructure >
< group name = "G_ACCTS" source = "T4" >
< element name = "VALID" value = "valid" / >
< element name = "NEW_ACCOUNT" value = "acct_new" / >
< element name = "MESSAGE" value = "message" / >
< / Group >
< / dataStructure >
< / dataTemplate >the parameter name must be
p_start_date
p_end_dateAnd when the report is run, a value must be selected in the settings. Try this default sysdate.
-
Display today date + 10 days or show the date of the event if this is earlier.
I have created an agreement form PDF.
I would like to have the deposit due 10 days from "Date of the day" or the "EventDate", whichever comes first.
currently it shows the date of the day + 10 days but sometimes the event date is earlier than that.
Thank you all in advance!
This script can be used for the filing date:
document level scripts;
function GetField (oDoc, cName)
{
get the object field with error checking.
oField = oDoc.getField (cName);
if(oField == null)
{
App.Alert ("Error to the field named" + cName + "\nPlease check the spelling of the domain name and capitalization.', 1, 0");
}
return oField;
} / / end GetField function;Scand (cFormat, cDate) function
{
convert date stirng date with error checking object;
Kai var = util.scand (cFormat, cDate);
if(oDate == null)
{
App.Alert ("Date of conversion Error" + cDate, "using the format" + cFormat + "\nPlease verify that the date is valid", 1, 0);
}
Return to oDate;
} / / end Scand function;function Date2Num (oDate)
{
convert the date object to the number of days since the EPO / / date of ch;
set the time at midnight of the date;
oDate.setHours (0, 0, 0, 0);
convert milliseconds to days;
Math.ceil (oDate.getTime (return) / (1000 * 60 * 60 * 24));
} / / end of function Date2Num;function Num2Date (nDays)
{
Convert number of days date object.
Back to oDate = new Date (nDays * 1000 * 60 * 60 * 24);
} / / end Num2Date funciton.SetDate() function
{
If (GetField(this,_"Today").valuesAsString == null |) GetField(this,_"Today").valuesAsString == "")
{
var oToday = new Date(); get the date system;
oToday.setHours (0, 0, 0, 0); Set to midnight;
GetField(this,_"Today").value = util.printd ("dd-mmm-yyyy", oToday);
}
return;
}
Set the field to today's date.
SetDate();
end document level scripts;Event.Value = ""; Turn off the field;
get the field objects and field values;
var cToday = GetField(this,_"Today").valueAsString;
var cEvent = GetField(this,_"Event").valueAsString;
var cDateFormat = "dd-mmm-yyyy";
If (cToday! = "" & cEvent!) = "")
{
objects convertdate to days;
var oTodayDays = Scand (cDateFormat, cToday)
var nTodayDays = Date2Num (oTodayDays);
var oEventDays = Scand (cDateFormat, cEvent);
var nEventDays = Date2Num (oEventDays);
Make sure that the date of the event is not before the date of the day;
If (nEventDays<>
{
App.Alert ("event date cannot be before the date. today', 1, 0);
}
on the other
{
Assume that filing date is the date of today + 10 days
var nDepositDays = nTodayDays + 10
If (nEventDays<>
{
nDepositDays = nEventDays;
}
fixed date of filing;
Event.Value = util.printd ("dd-mmm-yyyy", Num2Date (nDepositDays));
}
} -
The relationship "designed to" make visible in the Data Modeler?
Hello
I was wondering about the following topic:
When I create (engineer), a table based on its entity, there is a relationship between the entity and the table.
So to speak: a relationship "carried out by".
This relationship can be demonstrated in Data Modeler?
If so,.
-can we use them to navigate a table to the entity and vice versa
-can we maintain, in the case of design changes and changes to the execution table?
I know that the relationship is available in the xml file that stores the table (Table > generatorID), but I am unable to see / use the relationship in the Data Modeler itself.
Kind regards
Art
Hi Art,
There is a section "Impact analysis" in the entity and table dialog boxes. Under the 'Mapping' node you will see mapped objects and can open the box from there.
You cannot create or modify the mappings manually for now.
Philippe
Maybe you are looking for
-
How do I change in the classification 5 stars on iOS iPhone 6s 10.0.1?
I do not have the option of just two choices, there is a collection of music that I don't like and I leave 2 stars or less. Is there a way I can change it back my music back to stars of note app and not like and don't like? It's really * me off and i
-
HP 4500 wireless printer: printer all-in-one cannot scan glass
My hp 4500 wireless printer worked fine until it just stopped printing. I reintstalled the original installation disk and printing has been repaired. However, the desktop icon for the hp Solution Center, which allows scanning of computer files, has
-
connecting to a hdmi TV, laptop detects but tv says 'no signal '.
I have a HP G60-445DX with nvidia 8200 M G. I graphics card had been using HDMI to connect to my tv all the time, but when I updated the driver for a day it stopped completely working... now whenever I plug the cable HDMI to my laptop, the screen tur
-
Pavilion dv7 - if I add a second hard drive?
I have a HP Pavilion dv7 laptop 2173 cl. I read that I can add a second internal hard drive. Is this correct? If so, what is the maximum size that it will take? Any special type should I buy? Thank you!
-
I have a T5810 and a sound system - subwoofer and 6 speakers. Bureau took a sound card which could connect struggling of the sound system. Is there a compatible sound with the T5810 card. The speaker of this system is a farce.