Universe: ER diagram

Hi,

Is it required to plot ER diagram to design universe??

Hello,
(BO version: XI-3.x)

1 . My DB : SQL server2000 and have no keys(Primary, Foreign) relations defined in DB.
Domain: Banking

Which factors i need to take care to design Universe??

  1. Can i use stored procedure directly to design universe??

  2. Can i use stored procedure directly to create Web-I reports??

  3. Is it possible to use both (Universe and Stored procedure) means, few reports based on Universe and few on stored procedure? (Web-I)?

Please help me…!!

Thanks


BOCP (BOB member since 2007-07-02)

Because you are in 3.x, the answers get a little more complicated.

You can base objects in a universe on a stored procedure. (I’m guessing that’s what you mean by “use stored procedure directly to design universe.”)

WebI reports really should use universes. That’s the way they are designed to work.

However, I believe that there is a way with WebI Rich Client to use the “local source” option to reference a stored procedure. You may need to do an intermediate step, though, like putting the results of the stored proc into a local file. I’m not positive on that.

Generally speaking, if you are finding yourself with a number of business cases in which you need to work around universes, you really should be using Crystal Reports instead. It just has a lot more strengths in that area, and will be much less of a pain about it.


Lugh (BOB member since 2009-07-16)

according to this BOB post it is possible to create WebI reports from stored procedures. The original poster used XI R2 however later posters appear to have achieved it in 3.x

Having said that I have been attempting to both build universes and reports using stored procedures (MS SQL Server 2000 and 2005) in XI 3.1 without much luck although I can get DeskI reports to work intermittently.

I would be very interested to hear how you get on.


clg :uk: (BOB member since 2009-09-23)

What sort of problems are you facing?

Why are you considering plunging down the stored procedure route?

Is it an OLTP system or a reporting database?

Thank you all for educating me…!!

@ Mark, It’s an OLTP system.

Actually half of my reports need to be develop based on Stored Proc’s which have more than 1500 lines of code.

Is it possible to design universe on them??

Thanks


BOCP (BOB member since 2007-07-02)

In XI3.1 yes.

The problem comes with support though and if you don’t have control of the stored procedures, you’ll never know when they change for sure.

You’re far better off recommending a reporting database be built that’s geared up to hold everything together in one place.

Reporting database?? means, separate DB setup with required tables specifically for BO reporting ??

You mean by designing separate schema at the back-end, right??

Thanks


BOCP (BOB member since 2007-07-02)

Yes… :slight_smile:


zack :us: (BOB member since 2007-08-02)

Zack knows where I’m going with this. :wink:

A dedicated reporting database will save you a whole load of pain later.
Reports will perform well, universe design will be easy and so on.
You can build all the stored procedure logic into your ETL process, get rid of your outer join woes and so on.

:yesnod:

I’ll add a small thing to this, do it properly now, save a lot of pain later… :slight_smile: .


Mak 1 :uk: (BOB member since 2005-01-06)

Thank you guys for your valuable inputs… I will talk to my PM regarding this.

I started from UI(Java) part to design Universe. Is it good??
coz from the front end they are showing me Input screens and letting me know that which tables affecting for each change/entry.

Like they have different set of modules like, M1, M2, M3, M4 etc…, Is it required for me to grow through with each and every module ??

Or

I need to start from DB(SQL Server 2000)??

Please suggest me…

Thanks


BOCP (BOB member since 2007-07-02)

Hi,

If you have a ER diagram for the database that is being used by the application (in a lot of cases you can generate one using reverse engg capabilities of tools like ERWIN), that will be a good place to start with your analysis.

Once you figure out the structure of the database, you can then identify the tables you want to use depending on the data that is exposed in the front end (Java UI in your case) and take it from there.

Remember, building a logical model for the universe is just a starting point, you still need to collaborate with the users to figure out what is the best way to represent the data in the business model (classes, objects and conditions).

Regards,
Satish.


mvssatish (BOB member since 2007-03-06)

Satish,

With all due respect, he has already stated that there are no FKs/PKs so he will probably struggle to reverse engineer the ERD.

BOCP,

I’d suggest throwing your efforts behind two causes - establishing reporting requirements and finding out who knows something about the underlying database. Only once you expose the complexities of getting data out of it can you justify to people why you need a reporting database. Obviously you’ve got the complexity of the stored procedures to refer to but you need people to understand that it will be easier in the long run to build the reporting database with good ETL routines.

Cheers,
Mark

Thank you all…!!

From UI i got few test cases or i had a look on SQL Profiler for each step i made to UI and identified whats going on back-end…, like which table it’s refering and queries it generating.

Few of queries like follows:

Query -1 :
SELECT ENAME FROM EHEAD WHERE EID IN (SELECT FID FROM FHEAD WHERE eid= <>) /* SQL Profiler generated */

EHEAD and FHEAD are two tables and condition is on eid.

Now my questions , Can i join EID of EHEAD with FID of FHEAD in universe or am i going wrong.

Could you please help me out…

Query -2:
select ed, ename from ehd where sd=? and ccode=? and eid in (select distinct fid from glac) and eid in (select eid from usrdt where userid=?) order by entityname

In this case, what i can do?? Please…,

Thanks


BOCP (BOB member since 2007-07-02)

We don’t know!

Be realistic, how are we meant to know your data structures?
Ask someone within your company how your database works. :wink: