Building Universe over SSM tables (CPMS tables)
Hi all,
I´m trying to build a BO universe over SAP strategy management tables (ex: CPMS_KPI, CPMS_OBJECTIVES, CPMS_CONTEXT..) since the ODBO provider supplied by SAP to connect BO and SSM does not include all the necessary Scorecard data.
So, i´ve created an ODBC connector to the SQL database server to get the SSM tables referred above (and a few more tables), the problem that i´m having relates with the fact that the webi report is getting wrong:
The result that im having is:
KPI A1, Objective O1, Perspective P1, Context C1
KPI A2, Objective O2, Perspective P1, Context C1
Expected result:
KPI A1, Objective O1, Perspective P1, Context C1
KPI A2, Objective O1, Perspective P1, Context C1
The KPI A2 only belongs to Objective O1 and not Objective O2.
The tables CPMS_KPI and CPMS_OBJECTIVE are linked by CPMS_KPI_ID.
If anyone with some experience creating universes with these SSM tables can give me some help I would appreciate it.
Thanks,
Pedro
Hi ,
Use CPMS_CONTEXT, CPMS_OBJECTIVE, CPMS_PERS_OBJ, CPMS_KPI .
Make the following joins,
CPMS_OBJECTIVE.CPMS_CONTEXT_ID(+)=CPMS_CONTEXT.ID
CPMS_PERS_OBJ.OBJECTIVE=CPMS_OBJECTIVE.NAME
CPMS_KPI.CPMS_KPI_ID=CPMS_OBJECTIVE.CPMS_KPI_ID
Let the designer finds the cardinality.
I hope this will help.
regards
Baris.
Similar Messages
-
Hi Experts,
I need to create an Universe designer based on SAP Tables , for example EKKO EKPO Tables.
Can you help me with details ?
I would be grateful if you could help me showing details for this.
Best regards,
Maicon Nevesdo you have SAP BW?
if yes, then load the table to SAP BW and make a model for it
and from BW, you can use the integration KIT to build a universe based on a Query on top of this model
if not, you can load the table using any data integration tool to another database, and u can build a universe over this database
and one more option, that you can build a virtual datawarehouse on top of that SAP table using Data Federator
and build your universe on top of your vritual datawarehouse.
good luck -
Numbers ought to keep check box that allows carriage return within a cell universally within a table
Apple really fell asleep at the switch when releasing its latest version of Numbers 2013 (3.2), because it ignored the universal learning styles of human beings who have used the software in earlier releases and seemed to change features with little consideration for the community as a whole.
For example, why would you delete the feature that allows a user to turn-on or turn-off the "carriage return within a cell". It seems smart of them to add the abilityt to simply press the Option key and hit return at the same time to allow a carriage return within a cell, but why would you DELETE the feature that allows returns within a cell universally within a table?
And then the Inspector got completely revised.
Time saved in creating technologies gets eaten up in having to relearn technology every time a new release is created that doesn't build on the previous release very well.Adamo,
You are complaining to fellow users. It is best to post your feedback to Apple using the menu item
"Numbers > Provide Numbers Feedback" -
Hi gurus,
I have a question about buildings sql trees over several tables.
This is the Output I hope for:
0
- 10, 'Company Blue1', 0
-- 101, 'Part Blue1', 10
--- 1001, 'Accounting Blue', 101
---- 10001, 'Hans Mueller', 1001
--- 1002, 'Special Problems Blue', 101
---- 10002, 'Stephen Meyer', 1002
---- 10003, 'Carlos Anceto', 1002
-- 102, 'Part Blue2', 10
--- 1003, 'Information Technology Blue', 102
---- 10004, 'Tobias Tries', 1003
- 20, 'Company Red1', 0
-- 201, 'Part Red1', 20
--- 2001, 'Accounting Red', 201
---- 20001, 'Carl Van Deser', 2001
---- 20002, 'Geromel Boats', 2002
- 30, 'Company Green1', 0
-- 301, 'Part Green1', 30
--- 3001, 'Accounting Green', 301
---- 30002, 'Peter Finnighan', 3001
--- 3003, 'Special Problems Green', 301
---- 30001, 'Loui Van Ecke', 3003This is the situation: I have 4 table which can be constraint by foreign key and all toghether build up a tree.
Table1:
tbl_company (c_id, company_name)
Values:
10, 'Company Blue1'
20, 'Company Red1'
30, 'Company Green1'
Table2:
tbl_company_parts (cp_id, part_name, company_id)
Values:
101, 'Part Blue1', 10
102, 'Part Blue2', 10
201, 'Part Red1',20
301, 'Part Green1',30
Table3:
tbl_departments (d_id, dept_name, part_id)
Values:
1, 'Accounting Blue', 101
2, 'Special Problems Blue', 101
3, 'Information Technology Blue', 102
4, 'Accounting Red',201
5, 'Accounting Green',301
6, 'Special Problems Green',301
Tablemployees (e_id, dept_name, department_id)
Values:
1, 'Hans Mueller', 1
2, 'Stephen Meyer', 2
3, 'Carlos AncetoÄ, 2
4, 'Carl Van Deser',4
5, 'Geromel Boats', 4
6, 'Loui Van Ecke',5
7, 'Peter Finnighan',6
8, 'Tobias Tries',3The problem is that I don't know how to concate alle these values and using the connect by clause creating this tree viewHi Tobias,
It was not exactly clear how the id's had to be calculated, but this example will get you going:
SQL> create table tbl_company (c_id, company_name)
2 as
3 select 10, 'Company Blue1' from dual union all
4 select 20, 'Company Red1' from dual union all
5 select 30, 'Company Green1' from dual
6 /
Table created.
SQL> create table tbl_company_parts (cp_id, part_name, company_id)
2 as
3 select 101, 'Part Blue1', 10 from dual union all
4 select 102, 'Part Blue2', 10 from dual union all
5 select 201, 'Part Red1',20 from dual union all
6 select 301, 'Part Green1',30 from dual
7 /
Table created.
SQL> create table tbl_departments (d_id, dept_name, part_id)
2 as
3 select 1, 'Accounting Blue', 101 from dual union all
4 select 2, 'Special Problems Blue', 101 from dual union all
5 select 3, 'Information Technology Blue', 102 from dual union all
6 select 4, 'Accounting Red',201 from dual union all
7 select 5, 'Accounting Green',301 from dual union all
8 select 6, 'Special Problems Green',301 from dual
9 /
Table created.
SQL> create table tbl_employees (e_id, emp_name, department_id)
2 as
3 select 1, 'Hans Mueller', 1 from dual union all
4 select 2, 'Stephen Meyer', 2 from dual union all
5 select 3, 'Carlos Anceto', 2 from dual union all
6 select 4, 'Carl Van Deser',4 from dual union all
7 select 5, 'Geromel Boats', 4 from dual union all
8 select 6, 'Loui Van Ecke',5 from dual union all
9 select 7, 'Peter Finnighan',6 from dual union all
10 select 8, 'Tobias Tries',3 from dual
11 /
Table created.
SQL> select coalesce
2 ( case when e.department_id is null then null else
3 trunc(d.part_id,-2) * 100 + dense_rank() over (partition by d.part_id order by e.e_id)
4 end
5 , trunc(d.part_id,-2) * 10 + dense_rank() over (partition by d.part_id order by d.d_id)
6 , p.cp_id
7 , c.c_id
8 , 0
9 ) id
10 , coalesce
11 ( e.emp_name
12 , d.dept_name
13 , p.part_name
14 , c.company_name
15 ) name
16 , coalesce
17 ( trunc(d.part_id,-2) * 10 + dense_rank() over (partition by d.part_id order by d.d_id)
18 , d.part_id
19 , p.company_id
20 , case grouping(c.c_id) when 0 then 0 end
21 ) parent_id
22 from tbl_company c
23 , tbl_company_parts p
24 , tbl_departments d
25 , tbl_employees e
26 where c.c_id = p.company_id
27 and p.cp_id = d.part_id
28 and d.d_id = e.department_id
29 group by rollup
30 ( ( c.c_id,c.company_name)
31 , ( p.cp_id,p.part_name,p.company_id)
32 , ( d.d_id,d.dept_name,d.part_id)
33 , ( e.e_id,e.emp_name,e.department_id)
34 )
35 order by c.c_id nulls first
36 , p.cp_id nulls first
37 , d.d_id nulls first
38 , e.e_id nulls first
39 /
ID NAME PARENT_ID
0
10 Company Blue1 0
101 Part Blue1 10
1001 Accounting Blue 1001
10001 Hans Mueller 1001
1002 Special Problems Blue 1002
10002 Stephen Meyer 1002
10003 Carlos Anceto 1002
102 Part Blue2 10
1001 Information Technology Blue 1001
10001 Tobias Tries 1001
20 Company Red1 0
201 Part Red1 20
2001 Accounting Red 2001
20001 Carl Van Deser 2001
20002 Geromel Boats 2001
30 Company Green1 0
301 Part Green1 30
3001 Accounting Green 3001
30001 Loui Van Ecke 3001
3002 Special Problems Green 3002
30002 Peter Finnighan 3002
22 rows selected.Regards,
Rob. -
Using interface builder to create a table view and add a cell
So I am using interface builder to make a table view. Should be easy. I drag a table view controller to my view, then it seems I should be able to drag a table view cell to the table view but it won't let me drop it down. If I do it in the documents window it just replaces the table view with a cell. Seems like this shouldn't be hard, but it's one of those things that should take 2 seconds but I have been messing with it for hours. It seems like most of the examples I have looked at in the same code don't use iB so I haven't found a good reference. If somebody can point me in the write direction let me know.
I struggled a bit too. Here's what I did on my recently completed app. I used IB to create the basic view and add the table. That's it. Then ensure your UIViewController based class implements the UITableViewDelegate and UITableViewDataSource protocols. Your cells will come from those methods, not anything you do in IB.
If you're creating a set of screens that just have tables that allow you to navigate up and down through the data then IB isn't worth using at all.
Just have your views extends UITableViewController and follow some of the supplied table based example apps.
I rewrote my first app 3 times as I slowly figured all of this out.
Hope that helps. -
Weird print/pdf error when images are over a table
Hi all
I'm having a trouble with Pages where if I have an image over a table (so it looks like it's in the box) it can cause the table borders to go missing. As this is a little hard to describe I have made a pdf file showing the problem...
http://homepage.mac.com/sonicisblue/FileSharing29.html
As you can see, the first page appears fine, where as the second page's table borers have gone...
I have the same problems throughout the document, regardless of whether I print to a printer or print to PDF.
If someone could help I'd be very grateful. Thanks!
Adam
MacBook, 1.83 Ghz, 1.25 GB RAM Mac OS X (10.4.8)Ah - I've spent a lot of time mastering tables in Pages - they could be a wonderful tool for lots of things - my favourite being positioning photo captions right beneath the picutre...
Re your problem, try this:
- double click the cell in the table (you will see yellow highlight around it)
- go to Object Inspector, then choose Image Fill, then either choose your image (photo) from the folder you'd saved it in or open Media from the toolbar and click and drag the image you want in the cell from the Media dialogue window to the little window in the Object Inspector (it shows a green plus sign when it's ready to be imported)
See if your photo best fits the cell with Image Fill set to 'Scale to Fit' or 'Scale to Fill'. You may have to crop the original photo if the way the picture fills the cell doesn't suit you. Go back to iPhoto (or import your image to iPhoto), duplicate it, crop the duplicate (so as not to loose the original image) and repeat the procedure.
This helped me. See several articles I published on working with tables on:
http://i-work-in-pages.blogspot.com
Hope this helps,
Sashura,
Normandy
iMac, iBook Mac OS X (10.4) -
Will there performance improvement over separate tables vs single table with multiple partitions? Is advisable to have separate tables than having a single big table with partitions? Can we expect same performance having single big table with partitions? What is the recommendation approach in HANA?
Suren,
first off a friendly reminder: SCN is a public forum and for you as an SAP employee there are multiple internal forums/communities/JAM groups available. You may want to consider this.
Concerning your question:
You didn't tell us what you want to do with your table or your set of tables.
As tables are not only storage units but usually bear semantics - read: if data is stored in one table it means something else than the same data in a different table - partitioned tables cannot simply be substituted by multiple tables.
Looked at it on a storage technology level, table partitions are practically the same as tables. Each partition has got its own delta store & can be loaded and displaced to/from memory independent from the others.
Generally speaking there shouldn't be too many performance differences between a partitioned table and multiple tables.
However, when dealing with partitioned tables, the additional step of determining the partition to work on is always required. If computing the result of the partitioning function takes a major share in your total runtime (which is unlikely) then partitioned tables could have a negative performance impact.
Having said this: as with all performance related questions, to get a conclusive answer you need to measure the times required for both alternatives.
- Lars -
Insert the MDX Query Data into SSMS Table
Hi, I'm using below query frequently on SSAS .
select * from $system.discover_commands
I want that when this query executed & If any output returns , then that output should be inserted into SSMS
Table(OLTP DB) .Hello,
You can use a linked server to SSAS to run queries from SQL Server against SSAS cubes and to insert the result into a relational table.
See e.g.:
Passing Queries from SQL Server to a Linked Analysis Server
Querying SSAS with SQL
Creating a Linked Server for Analysis Services
Olaf Helper
[ Blog] [ Xing] [ MVP] -
IP: How to build a single planning table
Hi,
Could somebody tell me how could I build a single planning table (without fact column) for BEx Analyzer? If I put only the plan column into the input ready query, than the Analyzer not displaying any data ("there aren't data to display"). Recently we define a hidden fact column next to plan data, but I think there are better way to solve this problem...
Regards,
AdamHi.
As I can understand, you want to show blank cells fof entering a planning data ?
Just set to "mater data" access for the characteristic in BEX.
This way all master data values of the characteristic will appear with blank key figures.
Regards. -
Creating BO universe on Transparent tables
Hi,
Can we create a BO universe on Transparent tables in the BW system?
Kindly respond if you hvae any inputsHi,
Assuming your are using BOE XI 3.1, Integration Kit for SAP, and WebIntelligence
Then, NO, that MDX BAPI driver is for consumption of BEx Queries only.
Regards,
H
p.s. however, you might have more luck using Crystal Reports "SAP Table, ABAP function, and InfoSet" driver - although that is intended for ERP access (R/3 // ECC) -
PLScript: Syntax Definition to Loop over a Table is missing
Hi,
I miss the syntax definition in the SAP HANA Database - SQL Script Guide to loop sequentially
over an table of CREATE TYPE <...> AS TABLE (...);
For Ex:
1) Defineing a Table Type:
CREATE TYPE SHPL.typ_sample13 AS TABLE
( CHANNEL_ID INTEGER
, PROD_ID INTEGER
, UNIT_COST DOUBLE
, UNIT_PRICE DOUBLE
2) Wrtite a Query to a Table of Type Table:
CREATE PROCEDURE SHPL.SAMPLE13_TABLE_OUT
( IN v_prod_id INTEGER
, OUT tab_sample13 typ_sample13)
LANGUAGE SQLSCRIPT
AS
BEGIN
tab_sample13 =
select CHANNEL_ID
, PROD_ID
, SUM(UNIT_COST) UNIT_COST
, SUM(UNIT_PRICE) UNIT_PRICE
from SH.COL_COSTS
WHERE PROD_ID = :v_prod_id
GROUP BY CHANNEL_ID
, PROD_ID
END ;
3) Looping Sequentially trough the table:
CREATE PROCEDURE SHPL.SAMPLE15_TABLE_OUT_READ_LOOP
LANGUAGE SQLSCRIPT
AS
BEGIN
CALL SHPL.SAMPLE13_TABLE_OUT( 15, :tab_sample13 );
--???FOR rtab_sample13 as :tab_sample13_ DO
--???insert into sh.RESULTS VALUES (_r_tab_sample13.UNIT_COST ,r_tab_sample13.UNIT_PRICE_ );
--???END FOR;
END ;One could use cursors to accomplish that, but it's not at all recommended.
Cursor processing (looping row-by-row iteratively) is extremely crippling for performance.
You want to achieve all data processing and manipulation that you possibly need by bulk processing, either through pure SQL (Selects or DML) or SQLScript (using the so called bult-in Hana Calculation Engine Functions). -
Errors when querying against universe with DBlink tables
Running XI 3.1
DB1: MS SQL Server
DB2: Oracle 11g
Universe created on DB2 has linked tables from DB1.
I created a view as Select * from table@DB1
Using Webi Rich Client: successful query results
Using Webi Lite: ORA-12154 error: TNS:could not resolve the connect identifier specified
Using Deski: ORA-01002: fetch out of sequence. ORA-02063: preceding line from DBlink_name
I've tried numerous array fetch size parameters but Deski still has that error message. Is there a different way to fetch data from a DBLink table? Why no errors when using Webi Rich? when creating universe against DBlink tables
ThanksIn our environemnt, we have encountered ORA-4030 and ORA-4031 in the past in one particular windows server. What i remember from that is , a single process in windows will be limited to use 2Gb of memory(irrespective of how much you allocate and how much RAM the server has). All the oracle user and server processes in windows has to get their share from this 2Gb allocated to a single process called oracle.exe. There is some way to extend this 2Gb limit to 3Gb or 4Gb by enabling a switch on some windows config file. You can easily get that by google.
Check the memory used by oracle.exe in 10g server's task manager.
Next, you may need to reduce SGA size... to give more room for user processes. You may investigate on these lines. -
Trouble in table updating when getting focus or mousemove over a table.
I have JTable and dynamically updating data in mymodel by using
mymodel.addTableModelListener(Table) through fireTableRowsInserted()
and fireTableRowsUpdated() method of AbstractTableModel.It just work
fine, the problem is when i move mouse over a table or restoring the
window the getValueAt(row,column) method is called repeatdly to
corresponding row and column , then the value in that cell is changing.
I incremented the value of the cell basing on perticular condition.When
i move mouse over the table or restored then the value of the cell is
incrementing repeatedly .Can any body give the solution , when i moved
the mouse over a table or restore the window the value of corresponding
cell has not to increment.
Regards,
Sreedhar.AIt sounds like you do not have your table model implemented properly.
The getValueAt() method should always return the proper value for a cell from the model data. It gets called all the time and you have no control over when it is called. You must make sure that it will always return the proper data given the params passed to the method.
AFTER you update the data underlying the model you should fire the proper event. Then the table (view) will repaint the impacted cells (by calling a number of other methods, including the getValueAt method).
Subclass AbstractTableModel, implement all the required methods. When implementing the methods, remember that you cannot guess in what order or how the methods will be called. Just make sure they always return the proper thing. Also make sure you fire the appropriate event when you modify the underlying data in the model. -
CSV datasource vs Building universe on MYSQL database
Hello
Does anyone know what are the advantages and disadvantages of using excel spreadsheet (CSV file) as a data source to build a report in webi rich client VS migrating the same spreadsheet (CSV file) in to MYSQL database and then build a universe on top of it in order to build a webi reports.
I have a huge data in CSV file which I can use in rich client to make reports but I have an option to transfer this data into MYSQL and then build universe on top of this database and then start building reports.
I would appreciate if you advise your expert opinion on this and way how would I approach this scenario.
Also if you can advise me that how would data gets synchronize in both cases when there is any update records (delta records) in either CSV file as a data source and MYSQL database as a data source.
Look forward to have your expert opinion.
RegardsHi,
You can Transfer the (.csv)data using Import Export Wizard/SSIS transformations to MYSQL database. It is very easy to transform and if the new data comes it will overwrite all the data from CSV to MySQL.
Next create a universe using OLEDB Data Source. It will Synchronize the data when updates comes. Just refresh the tables when you are creating the unv.
Follow this link:
http://www.geekology.co.za/blog/2010/02/import-export-comma-separated-csv-and-other-files-to-from-mysql/
All the Best,
Madhu... -
Universes over BEx - LOV questions
In old school BOBJ when we build a LOV for an object you would normally use the ID (or Key) and then add the description into the LOV so when a user selects the long description actually the ID (or Key) is passed into the SQL and therefore would be more preformat.
However, what I am seeing when you build a Universe over BEx query is that the user also is presented with the LOV but the two columns are reversed and they select the Description and that is passed into the u201Cpromptu201D. Does BEx do something clever under the hood to replace the Description with the ID when executing the query or is it doing badly performing text matching ?Hi,
LOVs generated in universes out of BEx queries are using index awareness mechanisms.
The caption is displayed to the user but the key is sent to the database.
So there is no issue in SAP BW because the right key is sent to the server.
Regards,
Didier
Maybe you are looking for
-
I just set my bookmark toolbar up with my most often used URL's. However when I click on a bookmarked URL from my toolbar, it opens in a sidebar to the left on my main screen, rather than in a new tab. The sidebar is cumbersome because I have to scro
-
Hi, Oracle RAC database 10.2.0.3/RedHat4 with 2 nodes. In the begining we had an error ORA-600[12803] so only sys can connect to database I find the note 1026653.6 this note said that we need to create AUDSES$ sequence but befor that we have to resta
-
15" Brand New (June 2009) Macbook Pro and Capturing HD Footage
Right now I capture HD footage in FCP from my Canon XH A1 via firewire 400 onto an external 7200 rpm hard drive connected via firewire 800. My iMac is getting a bid dated and I would like to upgrade to the highest end 15" MBP - except I'm not sure ho
-
ALG_RSA_SHA_PKCS1
Hi guys, I have a question that seems to be rather critical, but I couldn't find any mention of it in the archive here: In the Java card API spec of Sigature class, ALG_RSA_SHA_PKCS1 is defined to expect the SHA hash, the algorithm will then pad it a
-
Not sure why my wireless setting are set up high connections.What happens if I put something into the wan port?