Packaged InfoCubes and Query Sets
How many Ready to Use InfoCubes and Query Objects come ready to use with the baseline BW implementation; any breakdown by functional area?
Thanks in advance!
Hi,
If you have a standard R/3 implementation, there is Business Content for most reporting needs. Those Ready to Use models include Hundreds of queries.
The data models are of great help and implementation time can bei reduced dramatically using them. However, IMO the supplied queries give a good example of the possibilities, but we usually create our own ones.
Beat Stoller
The Swiss Post
Similar Messages
-
Re: Info set and query transport under same request number
Hi,
I would like to know the details about info set and query transport from development to quality using SAP Query: Trnasport tool.my quesion is,
Can i create all info sets and related queries under same request number or will it be created in diffrent request numbers?Please respond any body to my question.
Regards,
Suresh Kumar.No it is possible as per SAP.
Please read follwoing help-
http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
It is talking abou the Special Features of InfoCubes in InfoSets.
For queries based on an InfoSet with an InfoCube, the system decides at runtime whether aggregates can be used for the InfoCube. This is the case if all the required InfoObjects of the InfoCube exist in an aggregate. The following InfoObjects are required:
The key figures of the InfoCube selected in the query
The characteristics of the InfoCube selected in the query
The characteristics required for a join with other InfoProviders in the InfoSet.
Furthermore, as a prerequisite for using aggregates, all the data required by an InfoCube must be readable using logical access. For an InfoCube within an InfoSet with InfoCubes, it is no longer possible to read part of the data from one aggregate and part of the data from another aggregate or the InfoCube itself. -
Re:User group,info set and Query combination table
Hi,
I would like to know the combination table of User group,info set and Query.
Can any body please respond to my question?
Regards,
Suresh Kumar.Hi,
Check the tables starting with AQG*.
Reward points if useful.
Regards,
Atish -
Query: Correlation ID and Correlation sets.
Hello,
Can somebody please brief me about the Concept and implementation of the correlation ID and correlation sets ?
Thanks in advance.Hi,
In the aromatic activity also you can set the Correlation ID.
Please write the following code inside the automatic activity.
Correlation.initiate(name : <Unique_ID>, values : {<your_actual_value>});
As Dan suggested terminate the Correlation id after completing the process by using the following code.
Correlation.terminate(name : <Unique_ID>)
Bibhu -
Hi guys,
i'm new to BI. can any one differentiate between Infocubes and info objects..
please be a bit specific.....Hi,
An InfoCube describes (from an analysis point of view) a self-contained dataset, for example, for a business-orientated area. You analyze this dataset in a BEx query.
An InfoCube is a set of relational tables arranged according to the star schema: A large fact table in the middle surrounded by several dimension tables.
Use
InfoCubes are filled with data from one or more InfoSources or other InfoProviders. They are available as InfoProviders for analysis and reporting purposes.
Structure
The data is stored physically in an InfoCube. It consists of a number of InfoObjects that are filled with data from staging. It has the structure of a star schema.
The real-time characteristic can be assigned to an InfoCube. Real-time InfoCubes are used differently to standard InfoCubes.
ODS versus Info-cubes in a typical project scenario
ODS
why we use ods?
why is psa & ods nessasary
InfoObject: Basic building block of BW.. ( Its like a field )
Definition
Business evaluation objects are known in BI as InfoObjects. They are divide into characteristics (for example, customers), key figures (for example, revenue), units (for example, currency, amount unit), time characteristics (for example, fiscal year) and technical characteristics (for example, request number).
Use
InfoObjects are the smallest units of BI. Using InfoObjects, information is mapped in a structured form. This is required for constructing InfoProviders.
InfoObjects with attributes or texts can themselves also be InfoProviders (if in a query).
Regards,
Ram. -
How to see lock on table and query?
Hi All,
How do we see lock on table and query?
Thanks,
RafiYes Rafi,
It is working fine at my end. See below:
Opened Session 1 with scott/tiger and:
update emp set ename='xx' where empno=7499;
Opened Session 2 with scott/tiger and:
update emp set ename='xx' where empno=7499;
<<Its lock here>> This session is locked by above one.
Opened Session 3 with sys/pw as sysdba and:
SQL> set serveroutput on
SQL> BEGIN
2 dbms_output.enable(1000000);
3 for do_loop in (select session_id, a.object_id, xidsqn, oracle_username, b.owner owner,
4 b.object_name object_name, b.object_type object_type
5 FROM v$locked_object a, dba_objects b
6 WHERE xidsqn != 0
7 and b.object_id = a.object_id)
8 loop
9 dbms_output.put_line('.');
10 dbms_output.put_line('Blocking Session : '||do_loop.session_id);
11 dbms_output.put_line('Object (Owner/Name): '||do_loop.owner||'.'||do_loop.object_name);
12 dbms_output.put_line('Object Type : '||do_loop.object_type);
13 for next_loop in (select sid from v$lock
14 where id2 = do_loop.xidsqn
15 and sid != do_loop.session_id)
16 LOOP
17 dbms_output.put_line('Sessions being blocked : '||next_loop.sid);
18 end loop;
19 end loop;
20 END;
21 /
Blocking Session : 139
Object (Owner/Name): SCOTT.EMP
Object Type : TABLE
Sessions being blocked : 134
PL/SQL procedure successfully completed.HTH
Girish Sharma -
Okay so I'm trying to download Adobe Flash Pro. I've gone to creative cloud and downloaded "Flash Professional CC and Mobile Device Packaging (2014)" and I have no idea what to do afterwards... There's no way to open or run the file. And to be honest, I'm not even sure if it's the right download... Help!
I'm using PC with Windows 8.1. I got onto the Creative Cloud and downloaded "Flash Professional CC and Mobile Device Packaging (2014)". <--- That would be the file. I can't open or run it from CC and I couldn't find a file in my computer either.
I've also found direct downloads for the trial version and hit the set-up button, it loads up, and then nothing happens. -
Combining package configuration and Execute SQL task at run time
Hi everyone,
I have an issue regarding setting values at run time
I use package configuration to manage different enviroments scenarios (DEV, PROD):
XML file to store the connections string of SSISConfigDB
and the actual values of parameters in that SSISConfig DB tables Filtered by ConfigurationFilter column
Now, one of my packages needs in addition setting at run time value of a flat file name
i used an Execute SQL task - within the task i read into a variable the file name using command line
then, the full path of Flat File Connection is set by expression concatenating the root folder and the variable
the problem is that the variable stays empy! as if the Execute SQL task was never executed!
Am i doing something incorrect? in the package configuration wizard the configured value are only XML file and the connection string of the DB.
to summerize - how can i combine package configuration, default value, Execute SQL task and expression at runtime?1.EvaluateasExpression=TRUE (Full Path variable)
2. Do you mean to invlole a ISNULL() function in the expression? if so, no
3. Of course i recieve a valid value
4. The Full path expression is evaluated to the root folder - without the portion of the file name
here is the syntax in Execute SQL Task:
truncate table OnErrorFlagTable
Declare @Path varchar(128)
Declare @FileName varchar(128)
Declare @SenderID varchar(5)
Declare @INST_COD varchar(5)
Declare @Flag int = 0
Declare @FileType varchar(2)='01'
Truncate table TraumaRecords
Select @Path = 'C:\RootFolder\'
--***Insert into Temp table the file so we can take his name***--
Create Table #Tmp(Txt Varchar(Max))
Insert Into #Tmp(Txt)
Exec master..xp_cmdshell 'Dir *.txt C:\RootFolder\/b'
select top 1 @Filename = Txt From #Tmp
Where ISNUMERIC(substring(Txt,1,1))=1
order by Txt desc
Insert into OnErrorFlagTable
Select 2,@FileName
Select @FileName as TraumaFileName,@FileType as FileType
Then, in ResultSet TraumaFileName and FileType are mapped
Expression of @TraumaFlatfileFullPath is
@[User::TraumaFlatfilePath]+ @[User::TraumaFlatFileName]
where the variable @[User::TraumaFlatfilePath] is evaluated in variable window (default value)
and it's value is C:\RootFolder\
and @[User::TraumaFlatFileName] is the ResultSet of the ExecuteSQLTask
and for some reason when executed in SSIS return null while in SSMS return the expected value
Can you try making this into a procedure with required parameters and call it from SQL task to see if you get return value correctly? Use OUTPUT parameters for getting back required values
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to find proc/func name from package name and line number?
Hi,
We are using the pl/sql call stack dump (dbms_utility.format_call_stack) for some debugging purposes. But in the case of a package body execution, the dump does not return the name of the procedure/function that is being executed, but only the name of the package and the line number being executed. So, we have a requirement wherein we need to extract the type and name of a package subunit from the package name and line number.
e.g.
From the information package 'A', line number 739
we should be able to deduce that line 739 is a part of *'function A.f'*
Does the oracle database provide any native mechanism (PL/SQL packages or otherwise) to support such functionality? If it does not, how can we achieve the desired result?
Thanks in advance,
ShashankThe approach we are currently planning to take up is this :
1. Write PL/SQL code to parse the entire source (user_source) and build a database table with a structure like this :
PACKAGE_NAME | UNIT_TYPE | UNIT_NAME | START_LINE | END_LINE
=============================================
A | PROCEDURE | P1 | 20 | 345
A | FUNCTION | F1 | 347 | 629
etc..
2. Start PL/SQL package execution.
3. Keep dumping call stack snapshots whenever a custom debug procedure is called.
4. Dump the package name and line number to a log file.
5. Using the package name and line number, query the table built in step 1 and build the final report which shows the control flow in a readable form.
What we want is to get rid of step 5 and by some means get the logic to extract the unit type and name in step 4 itself.
Keep them coming..
Thanks and regards,
Shashank -
Develop report based on INFOCUBE and ODS
Hi,
Pls, can anybody help regarding developing reports based on INFOCUBE
and ODS object
i am using SAP BW 7.0
what is the transaction code for reports
what are the steps to develop reports
Thanks\
- Mubeen.There is no transaction code as such as you have to use the front-end application to create queries off your Cubes/ ODS.
open Bex query designer -> select info provider (cube or ods) -> drag and drop the keyfigures in columns, -> char in rows -> save.
Also look at
http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm -
How to show PL/SQL package output and fix below error(please help)
--PACKAGE SPECIFICATION AND BODY complied successfully but I can not see output some error are also there.. please help ;how to fix this problem
-- with code
CREATE OR REPLACE PACKAGE package_variables IS
-- Declare package components.
PROCEDURE set(value VARCHAR2);
FUNCTION get RETURN VARCHAR2;
END package_variables;
CREATE OR REPLACE PACKAGE BODY package_variables IS
-- Declare package scope variable.
variable VARCHAR2(20) := 'Initial Value';
-- Define function
FUNCTION get RETURN VARCHAR2 IS
BEGIN
RETURN variable;
END get;
-- Define procedure.
PROCEDURE set(value VARCHAR2) IS
BEGIN
variable := value;
END set;
END package_variables;
VARIABLE outcome VARCHAR2(20)
CALL package_variables.get() INTO :outcome;
SELECT :outcome AS outcome FROM dual;
EXECUTE package_variables.set('New Value');
CALL package_variables.get() INTO :outcome;
SELECT :outcome AS outcome FROM dual;
OUTPUT
PACKAGE package_variables Compiled.
PACKAGE BODY package_variables Compiled.
Error starting at line 2 in command:
CALL package_variables.get() INTO :outcome
Error report:
SQL Error: ORA-01008: not all variables bound
01008. 00000 - "not all variables bound"
*Cause:
*Action:
OUTCOME
1 rows selected
anonymous block completed
Error starting at line 2 in command:
CALL package_variables.get() INTO :outcome
Error report:
SQL Error: ORA-01008: not all variables bound
01008. 00000 - "not all variables bound"
*Cause:
*Action:
OUTCOME
1 rows selected
*/EXECUTE package_variables.set('New Value');
CALL package_variables.get INTO :outcome;
SELECT :outcome AS outcome FROM dual;
OUTPUT
anonymous block completed
Error starting at line 2 in command:
CALL package_variables.get INTO :outcome
Error report:
SQL Error: ORA-06576: not a valid function or procedure name
06576. 00000 - "not a valid function or procedure name"
*Cause: Could not find a function (if an INTO clause was present) or
a procedure (if the statement did not have an INTO clause) to
call.
*Action: Change the statement to invoke a function or procedure
OUTCOME
1 rows selected -
Urgent: Add another Row feature and Query bean
Hi,
I have added "Add another Row" feature to the result table of a query bean which is results based search. The table is also updateable. I am able to update rows, save, rollback and query another set of records again without any problem.
But, if I add a row, save or rollback those changes and go back and perform a query, it doesn't return any records. What would I be missing?
Thank you.Please ignore this. I figured out.
Thank you -
Lookup-table and query-database do not use global transaction
Hi,
following problem:
DbAdapter inserts data into DB (i.e. an invoice).
Process takes part in global transaction.
After the insert there is a transformation which uses query-database and / or lookup-table.
It seems these XPath / XSLT functions are NOT taking part in the transaction and so we can not access information from the current db transaction.
I know workarounds like using DbAdapter for every query needed, etc. but this will cost a lot of time to change.
Is there any way to share transaction in both DbAdapter insert AND lookup-table and query-database?
Thanks, Best Regards,
MartinOne dba contacted me and made this statement:
Import & export utilities are not independent from characterset. All
user data in text related datatypes is exported using the character set
of the source database. If the character sets of the source and target
databases do not match a single conversion is performed.So far, that does not appear to be correct.
nls_characterset = AL32UTF8
nls_nchar_characterset = UTF8
Running on Windows.
EXP produces a backup in WE8MSWIN1252.
I found that if I change the setting of the NLS_LANG registry setting for my oracle home, the exp utility exports to that character set.
I changed the nls_lang
from AMERICAN_AMERICA.WE8MSWIN1252
to AMERICAN_AMERICA.UTF8
Unfortunately , the export isn't working right, although it did change character sets.
I get a warning on a possible character set conversion issue from AL32UTF8 to UTF8.
Plus, I get an EXP_00056 Oracle error 932 encountered
ORA-00932: inconsistent datatypes: expected BLOB, CLOB, get CHAR.
EXP-00000: export terminated unsuccessfully.
The schema I'm exporting with has exactly one procedure in it. Nothing else.
I guess getting a new error message is progress. :)
Still can't store multi-lingual characters in data tables. -
Invalid packages, functions and procedures
Hi,
Ok, I think I screwed up. Maybe someone can help me.
Our dev db which I just created a few days ago is 10.2.01. I was reading to see what needed to be done to this base for it to accept a 9.2 version. Data. I came upon oracle documentation that said to run the catalog.sql script. This had something to do with the Import full database and export full database procedures, they had to be added. So I did. I then noticed all these packages, procedures and functions listed on my oem tool as invalid. To correct this problem I ran the following scipts several times
On individual schemas: EXEC DBMS_UTILITY.COMPILE_SCHEMA (SCHEMA => ‘OLAPSYS’);
And this one: EXEC UTL_RECOMP.recomp_serial(); for all of them.
But yet I still get invalid objects ( 6 different schemas) when I run this script the SYS owner being the outstanding one.
COLUMN object_name FORMAT A10
Column owner format a10
Column object_name format a40
SELECT owner,
object_type,
object_name,
status
FROM dba_objects
WHERE status = 'INVALID'
--And owner = 'PUBLIC'
ORDER BY owner, object_type, object_name;
Any suggestions on repairing this damage short of recreating the database?
Any suggestions would help.
Regards,
alI just did a flashback database to time. Before I did any of these procedures above. That db came up ok and you would think that everything is fine. I went in to check with the same query
COLUMN object_name FORMAT A10
Column owner format a10
Column object_name format a40
SELECT owner,
object_type,
object_name,
status
FROM dba_objects
WHERE status = 'INVALID'
--And owner = 'PUBLIC'
ORDER BY owner, object_type, object_name;
and found the same amount of objects still invalid. I know that I didn't do any work at that time because I was in a meeting. I even logged out and back in on the oem tool and sql plus and got the same invalid in the column.
Anyone knows what is going on here?
regards,
al -
Need to take a value from the csv file and query in a OAF page.
Hello,
I have a requirement to take the list of employee numbers in a csv file and display its corresponding job on the page.
I have created a item 'MessageFileupload' where the user will upload the csv file containing the employee number and a Button 'Display Jobs' which will display the corresponding jobs on the page.
Any idea how to take the values from the csv file and query it?
Regards,
den123.Hi ,
Check
http://oraclearea51.com/contribute/post-a-blog-article/csv-file-upload-for-oa-framework.html
http://www.roseindia.net/jsp/upload-insert-csv.shtml
Below code works from above blogs.
package xx.oracle.apps.pa.Lab.webui;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
// import java.io.*;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.server.OAViewObjectImpl;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.jbo.domain.BlobDomain;
import oracle.cabo.ui.data.DataObject;
import oracle.jbo.Row;
* Controller for ...
public class deptCsvUploadCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
// Code Addition Started for CSV upload
OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
OAViewObjectImpl vo = (OAViewObjectImpl) am.findViewObject("deptCsvVO1");
//if ("GoBtn".equals(pageContext.getParameter(EVENT_PARAM)))
if (pageContext.getParameter("GoBtn") != null)
System.out.println("Button Pressed");
DataObject fileUploadData =(DataObject)pageContext.getNamedDataObject("FileUploadItem");
String fileName = null;
String contentType = null;
Long fileSize = null;
Integer fileType = new Integer(6);
BlobDomain uploadedByteStream = null;
BufferedReader in = null;
try
fileName = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_NAME");
contentType =(String)fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, fileName);
in = new BufferedReader(new InputStreamReader(uploadedByteStream.getBinaryStream()));
fileSize = new Long(uploadedByteStream.getLength());
System.out.println("fileSize"+fileSize);
catch(NullPointerException ex)
throw new OAException("Please Select a File to Upload", OAException.ERROR);
try{
//Open the CSV file for reading
String lineReader="";
long t =0;
String[] linetext;
while (((lineReader = in.readLine()) !=null) )
//Split the deliminated data and
if (lineReader.trim().length()>0)
System.out.println("lineReader"+lineReader.length());
linetext = lineReader.split(",");
t++;
//Print the current line being
if (!vo.isPreparedForExecution())
vo.setMaxFetchSize(0);
vo.executeQuery();
System.out.println("Trimmed "+ linetext[1].replace("\"", ""));
Row row = vo.createRow();
row.setAttribute("Deptno", linetext[0].trim());
row.setAttribute("Dname",linetext[1].trim().replace("\"", ""));
row.setAttribute("Loc",linetext[2].trim().replace("\"", ""));
//row.setAttribute("Column4", linetext[3].trim());
vo.last();
vo.next();
vo.insertRow(row);
catch (IOException e)
throw new OAException(e.getMessage(),OAException.ERROR);
//else if (pageContext.getParameter("Upload") != null)
am.getTransaction().commit();
throw new OAException("Uploaded SuccessFully",OAException.CONFIRMATION);
}Thanks,
Jit
Maybe you are looking for
-
Changing Properties At runtime
Hi SDN's, I m having a Veiwset(Grid) like VIEW1 VIEW2 View1 is having one dropdown list(say selecting Country), view2 is having custid, custname input fields. while executing program, i hav to select sme country frm view1, so the cust
-
How to query data from database and store it into Managed Bean ?
Hi all, In our application we have requirement to store information within Managed Bean to be accessed by ADF pages. The information is stored in database tables. The question is : What is the efficient / recommended way to do that ? I do not use app
-
WEBUTIL and CLIENT_TO_AS_WITH_PROGRESS
I run into the following problem when using WEBUTIL_FILE_TRANSFER.CLIENT_TO_AS_WITH_PROGRESS: I transfer a file to the Applicationserver using the mentioned command. After the transfer the file on the client is locked and cannot be deleted or renamed
-
No more data to read from socket error.
Oracle Version SQL> select * from v$version; BANNER Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production PL/SQL Release 11.2.0.2.0 - Production CORE 11.2.0.2.0 Production TNS for Linux: Version 11.2.0.2.0 - Production
-
Why cant i watch video on fb with flash player
why cant i watch videos with flash player all i get is erro message