BusinessObjects Board

Document a universe using Excel and the Designer SDK

Thanks,thats a good tool,BUT How to get information of DERIVED TABLES?


Naveen Vanaparthi (BOB member since 2008-07-02)

Hi, posting your question twice isn’t really going to help get it answered any quicker … and especially not when the answer to your question lies within the very same thread you asked the question in :roll_eyes:

HINT: Try page 5 and see if that helps :wink:


Peter Hughes :uk: (BOB member since 2005-11-21)

sandeepk66, please do not bump your post until at least one business day has passed.


Nick Daniels :uk: (BOB member since 2002-08-15)

I am trying to document a XI 3.1 universe, but I am getting an out of memory error. It is in the LictConditions() section.


Franko418 (BOB member since 2004-07-07)

Thanks

I was wondering if there is any tool that can document by report name, the corresponding classes/objects & the table/column name. i.e. Excel with report → class/ objects used → Table.column name? The reason for this is I am looking at 250 odd XIR2 reports that needs documenting.

:?:


pravin_kadambi :us: (BOB member since 2005-05-18)

Assuming you mean full client reports, look here … List objects used in a series of reports. If you mean WebI reports, there is also a WID Scanner tool here in BOB’s Downloads.

The full client utility will document the classes / objects used, but not the tables / columns directly. Remember, a single universe object could reference many tables / columns. That said, you could use the output from the full client documentation and link it (on your own) to the universe documentation, and get very close.


Dwayne Hoffpauir :us: (BOB member since 2002-09-19)

Thanks Dwayne. As you rightly said, I can get pretty close :slight_smile:

Anyway, two awesome contributions from you. Hats off!!! :yesnod: :yesnod:


pravin_kadambi :us: (BOB member since 2005-05-18)

This was great information and this macro worked wonders for me. Just wanted to say thanks


klongmire (BOB member since 2009-02-09)

while running the excel sheet for XIR2 which u posted the execution was failing at the end so can you please check and send me the correct one
it would help alot for me

Thanks & regards
krishna
09620202420


ummalety :india: (BOB member since 2009-02-19)

While I could be available to do some custom work for you, I’m fairly sure you won’t like my rates! :roll_eyes:

That said, if you could give me a few more details than “was failing at the end,” I’ll be glad to see if there is anything wrong in the utility itself. Please include what version of the utility, and what version of Designer you are using.


Dwayne Hoffpauir :us: (BOB member since 2002-09-19)

I’m having this same problem.

I have Business Objects Designer 12.0 Object Library.

Doesn’t appear to be any error messages (blank pane when I click Compile VBA project).

Thanks,

Moira


moiram (BOB member since 2009-02-20)

If you are double-clicking the button and getting a code page, it means Excel is in Design mode. Turn off Design mode, click the button once, and it will execute.


Dwayne Hoffpauir :us: (BOB member since 2002-09-19)

Hi Dwayne,

I am also getting a error in the ListObjects() : VBAProject -7 : Out of Memory. I made the change suggested above and I still get the error. The universe is 871kb in size; I saved universe as text document and none of the objects look too long

Any thoughts?


jemstar :ireland: (BOB member since 2006-03-30)

A few people have reported an “out of memory” error, but no one has ever provided a repeatable example I could research. All I can suggest is standard debugging techniques. Try it on a co-worker’s machine to try to eliminate a corrupt installation. Turn off the error handling in the code, and step through line by line to try to find the culprit. Not the answer you hoped for I’m sure, but without more concrete information that’s all I can offer.


Dwayne Hoffpauir :us: (BOB member since 2002-09-19)

Hi Dwayne,

I think the size of my column names might be a factor - they all have table names tacked on the front of them. If it would help, I could send you a copy of the universe for you to research? I was able to re-produce the issue when I tried to document the universe on my laptop


jemstar :ireland: (BOB member since 2006-03-30)

I am having a similiar issue… when i use the tool on a smaller universe, it works perfectly, however, when I try to use this on a much larger, and more complex universe, I get this error. The only difference is that my error says ListContexts not ListObjects.

Can someone tell me what the solution is for this error?

thank you


Alandwehr :us: (BOB member since 2008-02-20)

Let’s try some debugging. In the DocumentUniverse procedure, there is a section with the following lines of code:

Call ListTables(Univ.Tables)
Call ListColumns(Univ.Tables)
Call ListJoins(Univ.Joins)
Call ListContexts(Univ.Contexts)
Call ListClasses(Univ.Classes, 1)
Call ListObjects(Univ.Classes, 1)
Call ListConditions(Univ.Classes, 1)

Comment them out, and run maybe one at a time. In your case, run only the ListContexts line. See if it runs then.

Honestly, I’m still suspicious of simply “too large / complex” of a universe. I have a universe with 10,000 objects, 1,000 joins, and 200 contexts, and it runs just fine. I still suspect it is something about the particular “thing” being looked at, but let’s see if the debugging turns up anything.


Dwayne Hoffpauir :us: (BOB member since 2002-09-19)

Hi,
Great Utility.

I was wondering if there is a way to identify hierarchy of classes within this utility. What I mean is identify parent class from child class.

Thanks,
Wasi :hb:


wasinoor :pakistan: (BOB member since 2005-08-16)

In the ListObjects procedure, Cls.RootClass.Name would return the parent class name.


Dwayne Hoffpauir :us: (BOB member since 2002-09-19)

Thanks Dwayne.

I did tried that but for couple of classes (which are already at root-level) it gave error something like “Cannot find mother class”.

I will try it on other Universes and see if it works.

Thanks,
Wasi :+1:


wasinoor :pakistan: (BOB member since 2005-08-16)