DISCLAIMER: This and all future posts regarding this topic are for informational purposes only. I am sharing this information with the intent to help others like myself who support more than one reporting tool in their organization. All information posted here by myself in no way represents the views or opinions of the organization I work for.
Universe and Master File Description Comparison
Once again speaking from the perspective of using BOE XI R2 to create Business Objects documents, a universe is needed first in order to create documents. A connection string must also be defined for the universe to use for accessing the database.
In WebFOCUS a Master File Description or MFD must exist for reports to be created. When reporting from a relational database such as Oracle or SQL Server, there also needs to be an Access File Description or ACX with the same name as the MFD.
The MFD defines the relationship between the database tables in a hierarchical structure. Each database table is known as a SEGMENT in the hierarchical structure and all segments must be related/joined to another segment. Unlike in a universe where tables may exist as standalone tables in the structure, segments in an MFD must be connected to the structure.
The ACX file contains information that relates each segment name in the MFD to a table name in the database and may also have an explicit connection name for each segment. The connection name is defined to the WebFOCUS Server and may be referenced by multiple ACX files just like multiple universes in Business Objects may reference the same connection string. The fact that each segment may have a separate connection definition in the ACX file allows defining an MFD that pulls information from different data sources. At this point a universe has one and only one connection.
The MFD in WebFOCUS has the same concept of an ALIAS table. This serves the same purpose as the ALIAS functionality in Designer. However, there is no such thing as a CONTEXT in an MFD.
MFDs may also be JOINed and unJOINed to other MFDs during execution of a FOCEXEC. In addition, the type of JOIN (INNER, OUTER, etc.) may be controlled during the execution of the FOCEXEC. This JOINing of MFDs is similar to the linking of universes. I have not ever linked universes so I cannot give more details.
In Business Objects, users will only see the objects and classes defined by the universe designer therefore permitting tables to be defined in the structure but not available to users for reporting purposes. The Class structure defined by the universe designer offers great flexibility as to how to organize the objects for the user.
In WebFOCUS, when using a relational database as the data source, not all fields (think objects) need to be included in the MFD. This is one way to hide fields from users which they should not use. However, if a field is included in the MFD, it will be available to users unless additional security, refered to as DBA, is applied to the MFD. The DBA security feature of WebFOCUS allows control over access to fields as well as specific values of fields. This is similar to class and object restrictions and row restrictions. In the GUI development tools the hierarchical structure defined in the MFD controls the organization of how fields appear. There are some options in the GUI tools to control the order in which the fields are displayed but there is no option in WebFOCUS that is equivalent ot the Class and Object organization in Business Objects.
WebFOCUS introduced what is called Business Views in the version 7 series of the product in an effort to allow better presentation of fields to the user in the GUI tools. However, it still does not afford as much flexibility as the universe designer Classes and Objects in Business Objects.
Last but not least, the FOCUS language offers the capability to create interim HOLD files (temporary files) which then can be used as the data source for another part in a FOCEXEC. This gives the report developer great flexibility in manipulating data before the final output in presented to the user. More about reporting capabilities in a future post.
To sum things up for this post, WebFOCUS offers finer data handling capabilities through the FOCUS language but has its limitations as far as the hierarchical structure of MFDs and presentation of fields in the GUI tools. Business Objects offers a better GUI and control over what the user sees in the universe.
mgrackin
(BOB member since 2002-08-29)