132
The Business Objects Repository Reference Guide Version 6.5 All operating systems

SAP BoRepository

Embed Size (px)

DESCRIPTION

SAP BOR

Citation preview

Page 1: SAP BoRepository

The Business Objects Repository Reference Guide

Version 6.5

All operating systems

BORepository.book Page 1 Friday, August 27, 2004 5:33 PM

Page 2: SAP BoRepository

2 The Business Objects Repository Reference Guide

Copyright Copyright © 2004 Business Objects. All rights reserved.

Trademarks Business Objects, the Business Objects logo, Crystal Reports, and Crystal Enterprise are trademarks or registered trademarks of Business Objects SA or its affiliated companies in the United States and other countries. All other names mentioned herein may be trademarks of their respective owners.Contains ICU libraries (c) 1995-2003 International Business Machines Corporation and others. All rights reserved.

Use restrictions This software and documentation is commercial computer software under Federal Acquisition regulations, and is provided only under the Restricted Rights of the Federal Acquisition Regulations applicable to commercial computer software provided at private expense. The use, duplication, or disclosure by the U.S. Government is subject to restrictions set forth in subdivision (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at 252.227-7013.

Patents Business Objects owns the following U.S. patents, which may cover products that are offered and sold by Business Objects: 5,555,403, 6,247,008 B1, 6,578,027 B2, 6,490,593 and 6,289,352.

Part Number N/A

BORepository.book Page 2 Friday, August 27, 2004 5:33 PM

Page 3: SAP BoRepository

Business Objects Repository Reference Guide 3

Contents

ContentsChapter 1 The Business Objects Repository 7

Chapter 2 The Security Domain 9DS_PENDING_JOB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12DS_USER_LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21OBJ_M_ACTOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22OBJ_M_ACTORDOC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27OBJ_M_ACTORLINK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28OBJ_M_CATEG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30OBJ_M_CHANNEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31OBJ_M_CONNECTDATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33OBJ_M_CONNECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35OBJ_M_DOCAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36OBJ_M_DOCCATEG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37OBJ_M_DOCATVAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38OBJ_M_DOCCST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40OBJ_M_DOCUMENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41OBJ_M_GENPAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45OBJ_M_MAGICID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51OBJ_M_OBJSLICE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53OBJ_M_REPOSITORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55OBJ_M_RESERVATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57OBJ_M_RESLINK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59OBJ_M_TIMESTAMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62OBJ_M_UNIVCST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68OBJ_M_UNIVDBCST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72OBJ_M_UNIVERSES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75OBJ_M_UNIVSLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

BORepository.book Page 3 Friday, August 27, 2004 5:33 PM

Page 4: SAP BoRepository

4 Business Objects Repository Reference Guide

Contents

OBJ_M_USRATTR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

BORepository.book Page 4 Friday, August 27, 2004 5:33 PM

Page 5: SAP BoRepository

Business Objects Repository Reference Guide 5

Contents

Chapter 3 The Document and Universe Domains 83OBJ_X_DOCUMENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85UNV_AUDIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86UNV_CLASS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87UNV_CLASS_DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89UNV_COLUMN_DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90UNV_COLUMNS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91UNV_CONTEXT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93UNV_CONTEXT_DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94UNV_CTX_JOIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95UNV_DIMENSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96UNV_DIM_OBJ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97UNV_JOIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98UNV_JOINCONTENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100UNV_JOIN_DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102UNV_JOIN_OBJECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103UNV_OBJCONTENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104UNV_OBJECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108UNV_OBJECT_DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110UNV_OBJECT_KEY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112UNV_OBJ_COLUMN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113UNV_OBJ_TAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114UNV_PROPERTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115UNV_PROP_DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117UNV_PROP_TAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118UNV_RELATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119UNV_TABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120UNV_TABLE_DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122UNV_TAB_OBJ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123UNV_TAB_PROP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124UNV_UNIVERSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125UNV_UNIVERSE_DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129

BORepository.book Page 5 Friday, August 27, 2004 5:33 PM

Page 6: SAP BoRepository

6 Business Objects Repository Reference Guide

Contents

BORepository.book Page 6 Friday, August 27, 2004 5:33 PM

Page 7: SAP BoRepository

chapter

The Business Objects Repository

1

BORepository.book Page 7 Friday, August 27, 2004 5:33 PM

Page 8: SAP BoRepository

8 The Business Objects Repository Reference Guide

The Business Objects Repository

OverviewThe Business Objects repository is a relational database used to share data among the applications in the Business Objects suite. The repository stores:• secured user and group accounts• secured Business Objects resources including:

- documents- universes- connections to the corporate data referenced by the universes and used in reports- connections to stored procedures

When it is created, the Business Objects repository is made up of three domains:• the security domain

This domain contains data defining users and groups and their rights to product functionality and resources stored in the repository.

• the document domainThis domain contains the contents of documents stored in the repository, in BLOB (Binary Large OBject) format.

• the universe domainThis domain contains data defining the Business Objects universes which map to corporate data.

This document describes the tables in domain and the structure and contents of the tables they contain.

BORepository.book Page 8 Friday, August 27, 2004 5:33 PM

Page 9: SAP BoRepository

chapter

The Security Domain

2

BORepository.book Page 9 Friday, August 27, 2004 5:33 PM

Page 10: SAP BoRepository

10 The Business Objects Repository Reference Guide

The Security Domain

OverviewThe security domain of the Business Objects repository contains definitions of the other domains as well as of users and groups and their permission to use Business Objects products and resources. A repository can have only one security domain.The address of the security domain is encrypted in the *.key file to which Business Objects applications refer when users log in.At login, data in the security domain is used to create the local security (*.lsi) file, which caches the user’s security attributes for the current session.This chapter describes the structure of the tables in the security domain.

Often used valuesCertain values are used throughout this document. They are defined below.

Last Action DateThe Last Action Date defines a time and date and is stored as the number of seconds between the beginning of December 15, 1970 (December 14 at 11:59:59 PM + 1 second) and the time of the action.

Date/timeOther date/time values are stored in the same format as the Last Action Date.

Last Action TypeThe last action type defines the last type of action performed upon the record. Values are:0 = unchanged1 = deleted

This value is equivalent to the logical, not physical, deletion of the record. The actor is no longer seen in Supervisor and a user with this value can no longer log in. During a scan and repair operation carried out from Supervisor, all records with this value are physically deleted from the table.

2 = inserted4 = updated

BORepository.book Page 10 Friday, August 27, 2004 5:33 PM

Page 11: SAP BoRepository

The Business Objects Repository Reference Guide 11

8 = created, with an actor name (M_ACTOR_C_NAME) that had been used for a previous actor that was then deleted (note that the primary key, M_ACTOR_N_ID, is different)16 = moved

The values for this field may resemble a bitfield, but the values are never combined.

Data typesThe following table shows the data types used per database server type.

RDBMS int10 int6 int1 char(n) blobOracle NUMBER(10) NUMBER(6) NUMBER(1) VARCHAR2(n) LONG RAW

Sybase NUMERIC(10) NUMERIC(6) NUMERIC(1) VARCHAR(n) IMAGE

DB2 UDB INTEGER DECIMAL(6) DECIMAL(1) VARCHAR(n) LONG VARCHAR FOR BIT DATA

ODBC/Microsoft Access

LONG DOUBLE DOUBLE TEXT(n) LONGBINARY

ODBC/Teradata

INTEGER DECIMAL(6) DECIMAL(1) VARCHAR(n) VARBYTE(20480)

ODBC/IBM DB2

INTEGER DECIMAL(6) DECIMAL(1) VARCHAR(n) VARCHAR(255)

ODBC/RDB INTEGER DECIMAL(6) DECIMAL(1) VARCHAR(n) LONG VARCHAR

ODBC/Informix

INTEGER DECIMAL(6) DECIMAL(1) VARCHAR(n) BYTE

ODBC/Sybase

NUMERIC(10) NUMERIC(6) NUMERIC(1) VARCHAR(n) IMAGE

ODBC/Microsoft SQL Server

NUMERIC(10) NUMERIC(6) NUMERIC(1) VARCHAR(n) IMAGE

RedBrick INTEGER INT INT CHAR(n) CHAR(1024)

ODBC/Ingres

INTEGER INTEGER INTEGER VARCHAR(n) VARCHAR(1500)

BORepository.book Page 11 Friday, August 27, 2004 5:33 PM

Page 12: SAP BoRepository

12 The Business Objects Repository Reference Guide

The Security Domain

DS_PENDING_JOBThis table stores information on tasks which have been submitted to a Broadcast Agent. It is used by Broadcast Agent.DS_PENDING_JOB is updated whenever:• a document is sent to Broadcast Agent• a task property is modified• a task is deleted• a task is processedThe distribution list for a Broadcast Agent task is stored in DS_USER_LIST when the document is to be distributed to identified groups or users in the repository.If the document is to be distributed via a web server or the server file system, the paths for distribution are stored in OBJ_M_GENPAR.

Column name Value

BATCH_ID Non-nullType: int10This is the task identifier. This value is unique for each task in a security domain.It is generated by OBJ_M_MAGICID (see page 51).

DOCUMENT_ID Non-nullType: int10This is the document identifier. The same document can be involved in different tasks, so more than one task can have the same Document_ID value. For example, when you schedule a Refresh command, the new task entry will have a different Batch_ID but the same Document_ID.This is a foreign key to OBJ_M_DOCUMENTS.M_DOC_N_ID.

PRC_ID Type: int10This is the process identifier.Broadcast Agent Scheduler writes this value. It identifies the BusinessObjects process that is launched on the server to carry out the task. It can be used for debugging purposes, to identify which instance of BusinessObjects processed a task.

BORepository.book Page 12 Friday, August 27, 2004 5:33 PM

Page 13: SAP BoRepository

The Business Objects Repository Reference Guide 13

DS_PENDING_JOB

USER_SUBMIT_ID Non-nullType: char(10)This is the submitting user identifier.It identifies the user who submitted the “Send to Broadcast Agent” command in BusinessObjects or “Send” with “Scheduled Refresh” in WebIntelligence. It references the M_ACTOR_N_ID column of the OBJ_M_ACTOR table.This is an important value because the security settings associated with this user ID are taken into account when executing a task when the value of IN_NAME_OF in this table is 0 (if the value is 1, the document is “refreshed with the profile of each recipient” rather than the profile of the sender).

PRIORITY Non-nullType: int10This is the task priority. Values:3 = High2 = Normal1 = LowThe task priority is first set by the user when sending. It can be modified using the Broadcast Agent Console. See the Broadcast Agent Administrator’s Guide for more information.Task priority determines when a task starts. Among eligible tasks, high priority tasks start before normal or low, and normal tasks start before low.However, this does not affect the priority of the transaction on the server itself.

Column name Value

BORepository.book Page 13 Friday, August 27, 2004 5:33 PM

Page 14: SAP BoRepository

14 The Business Objects Repository Reference Guide

The Security Domain

FREQUENCY Non-nullType: int10This is a combined field which stores the task frequency and the overwrite mode. Overwrite mode can be chosen when distributing via the repository (with no overwrite, each recurrence of the task saves a new version of the document).Values:With overwrite:4 = Once8 = Hourly16 = Daily32 = Weekly64 = Monthly128 = Monthly interval256 = User-definedWith no overwrite:6 = Once10 = Hourly18 = Daily34 = Weekly66 = Monthly130 = Monthly interval (from version 4.1)258 = User-defined (from version 4.1)

DAY_TIMING Non-nullType: int10This stores internal information about the task execution period which allows Broadcast Agent to compute the actual dates.

BEGIN_TIME Type: int10This stores internal information on scheduling.

Column name Value

BORepository.book Page 14 Friday, August 27, 2004 5:33 PM

Page 15: SAP BoRepository

The Business Objects Repository Reference Guide 15

DS_PENDING_JOB

BEGIN_DATE Type: int10This is the date and time at which the task becomes eligible, stored in the same format as the Last Action Date (see page 10).A task is eligible when: • its status is “waiting” (JOB_STATUS = 2)

and• the value of BEGIN_DATE is in the past, compared to the server

START_DATETIME Type: int10This is the date and time on which the task started on the server, stored in the same format as the Last Action Date (see page 10).

END_DATETIME Type: int10This is the date and time on which the task ended on the server, stored in the same format as the Last Action Date (see page 10). It is not filled until the value of JOB_STATUS indicates the task has ended.

SUBMIT_DATETIME Non-nullType: int10This is the date and time on which the task was submitted by the end user, stored in the same format as the Last Action Date (see page 10).

EXPIRATION_DATE Type: int10This is the date on which the task will expire, stored in the same format as the Last Action Date (see page 10). The task expiry date is first set by the user when sending. It can be modified using the Broadcast Agent Console. See the Broadcast Agent Administrator’s Guide for more information.

Column name Value

BORepository.book Page 15 Friday, August 27, 2004 5:33 PM

Page 16: SAP BoRepository

16 The Business Objects Repository Reference Guide

The Security Domain

JOB_STATUS Type: int10This is the task status.Values:0 = Task was successful1 = Task failed2 = Task is waiting to be run3 = Task is running4 = Task is suspended1001 = Task is retrying (1st time)1002 = Task is retrying (2nd time)1003 = Task is retrying (3rd time)1004 = Task is retrying (4th time)1005 = Task is retrying (5th time)1006 = Task expired

JOB_ERROR Type: int10This column was used in version 4.1 to store error codes for errors encountered in task execution. It is no longer used. Error descriptions are now stored as text in ERROR_TEXT.

DOCSERVER_ID Type: int10This is the Broadcast Agent identifier.It references the M_ACTOR_N_ID field in the table OBJ_M_ACTOR.

Column name Value

BORepository.book Page 16 Friday, August 27, 2004 5:33 PM

Page 17: SAP BoRepository

The Business Objects Repository Reference Guide 17

DS_PENDING_JOB

JOB_SCRIPT Type: char(254)This stores the actions in the task, as defined by the user when submitting the task.Values:1 = Refresh2 = Print (followed by printer name)3 = Distribute via Web Server

The path of the web server is stored in the OBJ_M_GENPAR table, in the M_GENPAR_C_LABEL column.

4 (followed by macro name) = Custom macros 5 = Condition

The text of the condition is stored in the OBJ_M_GENPAR table, in the M_GENPAR_C_LABEL column.

7 = Save as RTF8 = Save as text9 = Save as PDF10 = Save as Excel

JOB_DESC Type: char(254)This is the job description text entered by the user when submitting the task. The value is updated when the task description is modified via the Broadcast Agent Console.

Column name Value

BORepository.book Page 17 Friday, August 27, 2004 5:33 PM

Page 18: SAP BoRepository

18 The Business Objects Repository Reference Guide

The Security Domain

JOB_DATA Type: char(70)This is the encrypted value of the BOPASS variable at the time the task was submitted by the end user. It is refreshed when the task is resubmitted via the Resolve command in the Broadcast Agent Console.The BOPASS variable stores the password entered by the user when logging in. Encryption of this value also depends on the value of BATCH_ID, so if the same user submits two tasks in the same session, the value of JOB_DATA will be different even though the user’s password was the same.Unless the user has no Business Objects password and therefore enters nothing, this column is always filled in. However, it is only used when the “Use Business Objects user name and password” option was set by the supervisor when creating the connection used. In this scenario the user property “No password checking” is also set for the user in Supervisor, and the BOUSER (user name) and BOPASS variables are passed to the data base for authentication.

IP_ADDRESS Type: char(254)This column stores the name of the machine where the scheduler was running and the name of the machine where BOManager was running, that is, the machine where the task was processed. If the machines are named, for example, “alpha” for the scheduler machine and “omega” for the BOManager machine, the value is displayed as alpha<omega>. It is the identity of the BOManager machine that is usually most important for debugging.This value can also be seen per task in the Broadcast Agent Console in the Host Name column. If the column is not displayed, select the task in the console and click Options to set which columns to show.Note that the information stored is the name of these machines, and not their IP address.

ERROR_TEXT Type: char(254)This is the full error description for tasks that have encountered an error.

Column name Value

BORepository.book Page 18 Friday, August 27, 2004 5:33 PM

Page 19: SAP BoRepository

The Business Objects Repository Reference Guide 19

DS_PENDING_JOB

VERSION Type: int10This stores information on the release of the end-user product used to submit the task. The first four digits identify the earliest release that is allowed to read the document concerned. The second four digits identify the release of the end-user product used to submit the task.This column is used in controlling backward compatibility.

IN_NAME_OF Type: int10This stores the document refresh mode (“Refresh with the profile of the submitter,” which is the default, or “Refresh with the profile of each recipient”). 0 = refresh with the profile of the submitterThis is the default option. The submitter is identified in the USER_SUBMIT_ID column.1 = refresh with the profile of each recipient This option is set when sending a document to Broadcast Agent from BusinessObjects, and restricts distribution to identified groups or users in the Business Objects repository. The recipients are identified in the DS_USER_LIST table. It is not available for corporate documents.Note that this option is controlled by the Business Objects security command “Do Not Refresh with the Profile of Each Recipient.” This command is phrased in the negative: it is enabled by default (meaning users cannot use the functionality) and must be set in Supervisor to “Disabled” for the functionality to be available to the user.This column is updated when the document is resubmitted.

Column name Value

BORepository.book Page 19 Friday, August 27, 2004 5:33 PM

Page 20: SAP BoRepository

20 The Business Objects Repository Reference Guide

The Security Domain

Notes:

JOB_PLATFORM Type: int10This stores the execution platform for a task, in other words, the platform on which the task can be processed. A cluster can contain Windows machines, UNIX machines, or both. Certain Windows-specific actions, such as running VBA scripts or publishing to a channel, are not possible on UNIX machines.Each Broadcast Agent is set in Supervisor to work either with UNIX cluster nodes only, or with UNIX or Windows cluster nodes. Supervisor also lets you set the maximum number of retries that will be attempted on a UNIX machine in a mixed cluster before the execution platform is set to Windows only. This information is stored in the OBJ_M_GENPAR table. The platform can also be set to Windows, UNIX, or all from the Broadcast Agent Console, by right-clicking a task and selecting from the contextual menu.The values for this column are:2 = Windows onlyThis value is set when a “Custom macro” or “Publish to channel” action is included in the task, or when the platform is changed to Windows from the Broadcast Agent Console.4 = UNIX only1000<n> = Windows or UNIX (first of n attempts if UNIX; reset to this value if the attempt is successful)1000<n-1> = Windows or UNIX (second of n attempts if UNIX)1000<n-2> = Windows or UNIX (third of n attempts if UNIX)(attempts continue until <n-n> attempts have been made on UNIX)10000 = Windows because failed n times on UNIX

Column name Value

BORepository.book Page 20 Friday, August 27, 2004 5:33 PM

Page 21: SAP BoRepository

The Business Objects Repository Reference Guide 21

DS_USER_LIST

DS_USER_LISTThis table stores information on the identified groups and users in the repository to whom a document is distributed by a Broadcast Agent task. It is not used when a document is distributed only via a web server or the server file system. Distribution options are chosen by the end user when submitting the task.

Notes:The OBJ_M_ACTORDOC table references the same tables to associate a user and a document. However, it is used when an end user uses the Send to User command. OBJ_M_ACTORDOC is not used by Broadcast Agent.

Column name Value

DOCUMENT_ID Type: int10This is the document identifier. It references the M_DOC_N_ID column of the OBJ_M_DOCUMENTS table.

USER_ID Type: int10This is the recipient identifier. It references the M_ACTOR_N_ID column of the OBJ_M_ACTOR table.

BORepository.book Page 21 Friday, August 27, 2004 5:33 PM

Page 22: SAP BoRepository

22 The Business Objects Repository Reference Guide

The Security Domain

OBJ_M_ACTORThis table stores information defining “actors” in the repository. Actors include users, groups, and user-defined predefined settings. All are created in Supervisor. The table is updated whenever a user is created or deleted.

Column name Value

M_ACTOR_N_ID Non-nullType: int10This is the actor identifier. It is generated by OBJ_M_MAGICID (see page 51).

M_ACTOR_N_TYPE Non-nullType: int10This is the actor type identifier.Values are:1 = user16 = group128 = user-defined predefined settingA predefined setting is not visible in Supervisor in the same way as users and groups. It is the equivalent of a defined set of specific security-command settings.

M_ACTOR_N_LEVEL Non-nullType: int10This defines the object security level granted for users. The security level of universe objects is set when they are created in Designer; users can see only those objects at or below their own level.Values are:0 = Public (automatically applied to groups)1 = Controlled2 = Restricted3 = Confidential4 = Private

BORepository.book Page 22 Friday, August 27, 2004 5:33 PM

Page 23: SAP BoRepository

The Business Objects Repository Reference Guide 23

OBJ_M_ACTOR

M_ACTOR_C_NAME Non-nullType: char(70)This is the actor name. The maximum length is 35 characters. The next 35 characters in this field are reserved for internationalization purposes.The maximum length you can give in Supervisor to the name of a user-defined predefined setting is 15 characters; it is preceded in this column by a letter and followed by the name of the application to which it applies, for example:KNo-Import Designer

M_ACTOR_C_PASSWORD Type: char(70)This is the encrypted password of users.

M_ACTOR_N_AUTID Non-nullType: int10This is the identification strategy for user authentication, as defined in Supervisor as a user property and applied at login.1 = Full CheckingThe user’s password is checked.2 = No Password CheckingThe user’s password is not checked.

M_ACTOR_N_LAD Non-nullType: int10This is the Last Action Date (see page 10). It stores the date of the last modification to an actor.

Column name Value

BORepository.book Page 23 Friday, August 27, 2004 5:33 PM

Page 24: SAP BoRepository

24 The Business Objects Repository Reference Guide

The Security Domain

M_ACTOR_N_LAT Non-nullType: int10This is the Last Action Type (see page 10). It defines the last modification of the actor.0 = unchanged1 = deleted This value is equivalent to the logical, not physical, deletion of the record. The actor is no longer seen in Supervisor and a user with this value can no longer log in. During a scan and repair operation carried out from Supervisor, all records with this value are physically deleted from the table.2 = created4 = updated8 = created, with an actor name (M_ACTOR_C_NAME) that had been used for a previous actor that was then deleted (note that the primary key, M_ACTOR_N_ID, is different)16 = movedThe values for this field may resemble a bitfield, but the values are never combined.

Column name Value

BORepository.book Page 24 Friday, August 27, 2004 5:33 PM

Page 25: SAP BoRepository

The Business Objects Repository Reference Guide 25

OBJ_M_ACTOR

M_ACTOR_N_STATUS Non-nullType: int10This stores user properties defined in the User Properties dialog box in Supervisor.This is a bitfield. The values listed below are added to give the value shown in this column.Values are:1 = login enabled (Disable Login option unchecked)2 = value locked4 = offline login disabled (Enable Offline Login option unchecked)8 = password modification disabled (Enable Offline Login option unchecked)32 = real-time user rights update enabled (Enable Real Time User Rights Update option checked)64 = delete document disabled (Enable Delete Document option unchecked)

M_ACTOR_N_ENDING Type: int10This stores information on password aging set in the User Properties dialog box in Supervisor.Values are:0 = password will not expire1 = change password at next login>800 000 000 = password expiry date

Column name Value

BORepository.book Page 25 Friday, August 27, 2004 5:33 PM

Page 26: SAP BoRepository

26 The Business Objects Repository Reference Guide

The Security Domain

Notes:

M_ACTOR_N_CNTDOWN Type: int10This stores the number of consecutive failed logins by a user. The number of failed logins allowed is set in Supervisor by a general supervisor in the Security Policy tab of the Options dialog box (Tools => Options). After each failed login, an error message informs the user of how many failed logins remain before login will be disabled. When the number is reached, login is disabled and an error message informs the user.After each successful login, the value is reset to 0.

Column name Value

BORepository.book Page 26 Friday, August 27, 2004 5:33 PM

Page 27: SAP BoRepository

The Business Objects Repository Reference Guide 27

OBJ_M_ACTORDOC

OBJ_M_ACTORDOCThis table matches users and the documents that have been sent to them by means of the Send to User command in BusinessObjects or InfoView.

Notes:Do not confuse this table with DS_USER_LIST, which is used to match users and documents to be sent to them via Broadcast Agent.

Column name Value

M_ACTDC_N_ACTORID Non-nullType: int10This is the recipient identifier. It references the M_ACTOR_N_ID column of the OBJ_M_ACTOR table.

M_ACTDC_N_DOCID Non-nullType: int10This is the document identifier. It references the M_DOC_N_ID column of the OBJ_M_DOCUMENTS table.

BORepository.book Page 27 Friday, August 27, 2004 5:33 PM

Page 28: SAP BoRepository

28 The Business Objects Repository Reference Guide

The Security Domain

OBJ_M_ACTORLINKThis table links actors and the groups to which they belong.

Column name Value

M_ACTL_N_ID Non-nullType: int10This is the link identifier. It is generated by OBJ_M_MAGICID (see page 51).0 = root group1 = first general supervisor (who created the repository)

M_ACTL_N_ACTORID Non-nullType: int10This is the actor identifier. It references the M_ACTOR_N_ID column of the OBJ_M_ACTOR table.

M_ACTL_N_ACTORTYPE Non-nullType: int10This is the actor type.Values are:1 = group2 = user with general supervisor profile4 = user with supervisor provile8 = user with designer profile12 = user with supervisor-designer profile16 = user with user profile32 = Broadcast Agent64 = user with versatile profile128 = predefined setting

M_ACTL_N_STATUS Non-nullType: int10Not used.

BORepository.book Page 28 Friday, August 27, 2004 5:33 PM

Page 29: SAP BoRepository

The Business Objects Repository Reference Guide 29

OBJ_M_ACTORLINK

Notes:

M_ACTL_N_FATLINKIDM_ACTL_N_INFO

Non-nullType: int10This identifies the parent group of a user or group.This is a recursive relationship that references the M_ACTL_N_ID column of this table. The value of the first record is 0.

M_ACTL_N_INFO Non-nullType: int10This is the Broadcast Agent domain identifier, or else reserved.

M_ACTL_N_LAD Non-nullType: int10This is the Last Action Date (see page 10).

M_ACTL_N_LAT Non-nullType: int10This is the Last Action Type (see page 10).

Column name Value

BORepository.book Page 29 Friday, August 27, 2004 5:33 PM

Page 30: SAP BoRepository

30 The Business Objects Repository Reference Guide

The Security Domain

OBJ_M_CATEGThis table is used in category management. It is updated when a category is created or deleted.Categories are created in Supervisor, Business Objects or InfoView by general supervisors or users with the appropriate rights.This table does not associate categories and documents. That information is stored in OBJ_M_DOCCATEG.

Notes:

Column name Value

M_CATEG_N_ID Non-nullType: int10This is the category identifier. It is generated by OBJ_M_MAGICID (see page 51).

M_CATEG_C_NAME Type: char(255)This is the category name.

M_ACTOR_N_ID This is the category owner identifier. It references the M_ACTOR_N_ID column of the OBJ_M_ACTOR table.By default, the owner of a category is the user who created it. General supervisors or users with appropriate rights can change the category owner.If the creator is deleted from the repository in Supervisor, the supervisor who deleted that user becomes the owner.

M_CATEG_N_LAD This the Last Action Date (see page 10).

M_CATEG_N_PARENTID This is the parent category identifier. Not used in version 5.x or earlier.

BORepository.book Page 30 Friday, August 27, 2004 5:33 PM

Page 31: SAP BoRepository

The Business Objects Repository Reference Guide 31

OBJ_M_CHANNEL

OBJ_M_CHANNELThis is the main table involved in channel management. Channels are created in Supervisor. This table is updated when a channel is created, deleted or modified.Channels are used only in version 5.x.

Column name Value

M_CHNL_N_ID Non-nullType: int10This is the channel identifier. It is generated by OBJ_M_MAGICID (see page 51).

M_CHNL_C_NAME Type: char(254)This is the channel name.Channel names are unique within a repository.

M_CHNL_C_COMMENT Type: char(254)This is a comment entered for the channel.A comment can be entered when the channel is created and modified at any time.

M_ACTOR_N_ID Type: int10This is the channel owner identifier. It is a foreign key to OBJ_M_ACTOR.M_ACTOR_N_ID By default, the channel owner is the user who created the channel. If the user is deleted in Supervisor, the supervisor who deleted that user becomes the owner.

BORepository.book Page 31 Friday, August 27, 2004 5:33 PM

Page 32: SAP BoRepository

32 The Business Objects Repository Reference Guide

The Security Domain

Notes:

M_CHNL_N_LAD Type: int10This is the Last Action Date (see page 10).

M_DASACTOR_N_ID Type: int10This is the associated Broadcast Agent ID identifier.It is a foreign key to OBJ_M_ACTOR.M_ACTOR_N_ID

M_CHNL_N_CDF_VER Type: int10This is the version number of the channel template file (CDX). It represents the number of times a CDX file has been exported.

Column name Value

BORepository.book Page 32 Friday, August 27, 2004 5:33 PM

Page 33: SAP BoRepository

The Business Objects Repository Reference Guide 33

OBJ_M_CONNECTDATA

OBJ_M_CONNECTDATAThis table stores data concerning secured connections, which are encrypted and stored in the repository.The OBJ_M_CONNECTION table stores the connection identification. This table stores other data concerning the connection.The data is stored in two parts, “connection strings” and “parameters.”A connection string contains information used for establishing a connection.Connection parameters are characteristics of the connection.

Column name Value

M_CNTA_N_CNTNID Non-nullType: int10This is the connection identifier. It references the M_CNTN_N_ID column of the OBJ_M_CONNECTION table.

M_CNTA_N_TYPE Non-nullType: int10This is the type of connection data.Possible values are:1 = Connection string 2 = Connection parameter

M_CNTA_N_BLOCKID Non-nullType: int10This is the block ID. Data is stored in blocks, several of which may be necessary depending on the amount of data.

M_CNTA_C_BLKVALUE Non-nullType: int10This is the encrypted value of the connection (string + parameter).

BORepository.book Page 33 Friday, August 27, 2004 5:33 PM

Page 34: SAP BoRepository

34 The Business Objects Repository Reference Guide

The Security Domain

Notes:

BORepository.book Page 34 Friday, August 27, 2004 5:33 PM

Page 35: SAP BoRepository

The Business Objects Repository Reference Guide 35

OBJ_M_CONNECTION

OBJ_M_CONNECTIONThis table stores the description of all secured connections exported to the repository by Supervisor or Designer.

Notes:

Column name Value

M_CNTN_N_ID Non-nullType: int10This is the connection identifier. It is generated by OBJ_M_MAGICID (see page 51).

M_CNTN_C_NAME Type: char(35)This is the connection name.

M_CNTN_N_TYPE Type: int10This is the connection type.Values are:1 = connection for universe or document domains 2 = connection for exported universes

M_CNTN_C_NETNAME Type: char(35)This is the middleware layer name.

M_CNTN_C_RDBMSNAME Type: char(35)This is the database server name.

M_CNTN_N_CHARSET Type: int10Not used

M_CNTN_N_LAD Type: int10This is the Last Action Date (see page 10).

M_CNTN_N_LAT Type: int10This is the Last Action Type (see page 10).

BORepository.book Page 35 Friday, August 27, 2004 5:33 PM

Page 36: SAP BoRepository

36 The Business Objects Repository Reference Guide

The Security Domain

OBJ_M_DOCATThis table stores information on the last time a document was sent to the repository and the last time it was printed.This table is updated each time a Business Objects or WebIntelligence document (version 2.5 or later) is exported to the repository (Send to users, Send to Broadcast Agent, Publish to Corporate documents). It stores the date on which the document was sent to the repository, as well as the date on which the document was last printed.When a document is deleted from the repository (from Supervisor, BusinessObjects or WebIntelligence), then all document properties are deleted as well.

Notes:

Column name Value

M_DOC_N_ID Non-nullType: int10This is the document identifier. It references the M_DOC_N_ID column of the OBJ_M_DOCUMENTS table.

M_DOCAT_N_LPRINT Type: int10This is the last print date of the document, stored in the same format as the Last Action Date (see page 10). This is part of the file properties visible in BusinessObjects or WebIntelligence.

M_DOCAT_N_LAD Type: int10This is the Last Action Date (see page 10). It records the last time this table was updated. It is used to check that document properties are up to date compared with the last time the document was exported.

BORepository.book Page 36 Friday, August 27, 2004 5:33 PM

Page 37: SAP BoRepository

The Business Objects Repository Reference Guide 37

OBJ_M_DOCCATEG

OBJ_M_DOCCATEGThis is the main table involved in category management. It was added for version 5.0.This table is updated each time a Business Objects (5.0) or WebIntelligence (2.5) document with associated categories is sent to the repository (Send to users, Send to Broadcast Agent, Publish to Corporate documents).

Notes:

Column name Value

M_CATEG_N_ID Non-nullType: int10This is the category identifier. It references the M_CATEG_N_ID column in the OBJ_M_CATEG table.

M_DOC_N_ID Non-nullType: int10This is the document identifier. It references the M_DOC_N_ID column of the OBJ_M_DOCUMENTS table.

BORepository.book Page 37 Friday, August 27, 2004 5:33 PM

Page 38: SAP BoRepository

38 The Business Objects Repository Reference Guide

The Security Domain

OBJ_M_DOCATVARThis table lists the document properties attached to data providers of documents that have been exported to the repository.

Column name Value

M_DOC_N_ID Non-nullType: int10This is the document identifier. It references the M_DOC_N_ID column of the OBJ_M_DOCUMENTS table.

M_DOCATV_C_DPNAME Type: char(254)This is the data provider name. Example: “Query 1 with efashion.”

M_SRC_C_NAME Type: char(254)This is the data source name. The data source of a document is chosen when creating it. It can be a universe, connection, personal data file, and so on. It can be seen in BusinessObjects or WebIntelligence in the Data Manager.

M_DOCATV_N_REF Type: int10This is the last refresh date of the data provider, stored in the same format as the Last Action Date (see page 10).

M_DOCATV_N_NBROWS Type: int10This is the number of rows of the data provider. This can be seen in BusinessObjects or WebIntelligence in the Data Manager.

BORepository.book Page 38 Friday, August 27, 2004 5:33 PM

Page 39: SAP BoRepository

The Business Objects Repository Reference Guide 39

OBJ_M_DOCATVAR

Notes:

M_DOCATV_N_REFDUR Type: int10This is the refresh duration of the data provider, in seconds.

M_DOCATV_N_LAD Type: int10This is the Last Action Date (see page 10). It records the last time this table was updated. It is used to check that document properties are up to date compared with the last time the document was exported.

M_DOCATV_N_PARTIAL Type: int10This indicates whether the data provider returned partial results.Values:0 = full results1 = partial results

Column name Value

BORepository.book Page 39 Friday, August 27, 2004 5:33 PM

Page 40: SAP BoRepository

40 The Business Objects Repository Reference Guide

The Security Domain

OBJ_M_DOCCSTThis table is not used.

Notes:

Column name Value

M_DOCC_N_DOCLINKID Non-nullType: int10

M_DOCC_C_FLAGS Non-nullType: char(10)

M_DOCC_N_LAD Non-nullType: int10This is the Last Action Date (see page 10).

M_DOCC_N_LAT Non-nullType: int10This is the Last Action Type (see page 10).

BORepository.book Page 40 Friday, August 27, 2004 5:33 PM

Page 41: SAP BoRepository

The Business Objects Repository Reference Guide 41

OBJ_M_DOCUMENTS

OBJ_M_DOCUMENTSThis table indexes documents stored in document domains.

Column name Value

M_DOC_N_ID Non-nullType: int10This is the document identifier. It is generated by OBJ_M_MAGICID (see page 51).

M_DOC_C_NAME Non-nullType: char(254)This is the document name. A document name is unique in a given document domain.

M_DOC_N_SIZE Non-nullType: int10This is the uncompressed document size in bytes.Note that this is not the size of the document in the repository. Documents are compressed before being stored in the repository. This is the size of the document before compression, so it is larger than the document as stored in the repository.

M_DOC_N_REPOID Non-nullType: int10This is the document domain identifier. It references the M_REPO_N_ID column in the OBJ_M_REPOSITORY table. At the time of submission, end users choose the document domain to which to publish a document.

BORepository.book Page 41 Friday, August 27, 2004 5:33 PM

Page 42: SAP BoRepository

42 The Business Objects Repository Reference Guide

The Security Domain

M_DOC_N_DATE Non-nullType: int10This is the last export date of the document, stored in the same format as the Last Action Date (see page 10).

M_DOC_N_USERID Non-nullType: int10This is the submitting user. It indicates which user submitted the document to the repository. It references the M_ACTOR_N_ID column in the OBJ_M_ACTOR table.

M_DOC_N_TYPE Non-nullType: int10This is the document type.Values are:0 = undefined1 = BusinessObjects document (*.rep)2 = script4 = document sent to Broadcast Agent (after first processing)8 = list of values (*.lov)16 = template (*.ret)32 = BusinessQuery document (*.bqy)64 = compiled script (*.sbx)128 = WebIntelligence document (*.wqy)256 = add-in (*.rea)

Column name Value

BORepository.book Page 42 Friday, August 27, 2004 5:33 PM

Page 43: SAP BoRepository

The Business Objects Repository Reference Guide 43

OBJ_M_DOCUMENTS

M_DOC_N_PERSISTENT Non-nullType: int10This defines document persistency. Values are:0 = not persistent Documents sent to a user or to Broadcast Agent (?) are removed as soon as all recipients have read it.1 = persistent Includes documents sent to the repository, scripts

M_DOC_N_FORMAT Non-nullType: int10This is the document format.Values are:0 = undefined1 = not used2 = Ole2 object3 = text4 = web-readable Ole2 object

M_DOC_C_FLAGS Non-nullType: char(10)

Column name Value

BORepository.book Page 43 Friday, August 27, 2004 5:33 PM

Page 44: SAP BoRepository

44 The Business Objects Repository Reference Guide

The Security Domain

Notes:

M_DOC_N_HELPSLCID Non-null Type: int10This stores information on the release of the end-user product used to submit the task. The first four digits identify the earliest release that is allowed to read the document concerned. The second four digits identify the release of the end-user product used to export the document.This column is used in controlling backward compatibility.Example: 60006000 for a BusinessObjects 6.0 document.

M_DOC_N_LAD Non-nullType: int10This is the Last Action Date (see page 10).

M_DOC_N_LAT Non-nullType: int10This is the Last Action Type (see page 10).

Column name Value

BORepository.book Page 44 Friday, August 27, 2004 5:33 PM

Page 45: SAP BoRepository

The Business Objects Repository Reference Guide 45

OBJ_M_GENPAR

OBJ_M_GENPARThis table stores repository preferences, for example, security policy, etc.

Column name Value

M_GENPAR_N_ID Non-nullType: int10This

M_GENPAR_N_APPLID Non-nullType: int10This is the application identifier. It determines the application to which values are applicable. 0 = Applies to all modules 1 = BusinessObjects 2 = Supervisor3 = Designer 4 = Broadcast Agent 5 = BusinessTracker 6 = BusinessQuery8 = InfoView/WebIntelligence 257 = BusinessObjects Reader 769 = BusinessObjects Explorer

BORepository.book Page 45 Friday, August 27, 2004 5:33 PM

Page 46: SAP BoRepository

46 The Business Objects Repository Reference Guide

The Security Domain

Notes:Repository options are defined in this table by a combination of values in different columns. The table below shows these value combinations per option. These options are set in Supervisor in the Options dialog box (Tools => Options).

Column name Value

M_GENPAR_N_USERID Non-nullType: int10This is the user identifier. It determines to which users the values are applicable.Values are:0 = Applies to all users3 = Date of first execution (M_GENPAR_ID=500) 4 = HTML folder (M_GENPAR_ID=500)5 = File system folder (M_GENPAR_ID=500)Other: Foreign key, refers to M_ACTOR_N_ID column of OBJ_M_ACTOR table.

M_GENPAR_N_TYPE Type: int10See table below

M_GENPAR_N_VALUE Non-nullType: int10See table below

M_GENPAR_C_LABEL Type: char(254)See table below

BORepository.book Page 46 Friday, August 27, 2004 5:33 PM

Page 47: SAP BoRepository

The Business O

bjects Repository R

eference Guide

47

OB

J_M_G

EN

PA

R

Option M_GENPAR_N_ID

M_GENPAR_N_ID

M_GENPAR_N_USERID

M_GENPAR_N_TYPE

M_GENPAR_N_VALUE

M_GENPAR_C_LABEL

New User Name

100 2 (Supervisor) 0 (All users) Unused 0 = Off1 = On

Name template

New Group Name

101 2 (Supervisor) 0 (All users) Unused 0 = Off1 = On

Name template

Confirm Remove From Group

102 2 (Supervisor) ID of the user which has the option. References M_ACTOR_N_ID column of OBJ_M_ACTOR table.

Unused 0 = Off1 = On

Unused

Confirm User Delete

103 2 (Supervisor) Unused 0 = Off1 = On

Unused

Confirm Group Delete

104 2 (Supervisor) References M_ACTOR_N_ID column of OBJ_M_ACTOR table.

Unused 0 = Off1 = On

Unused

Tree List/Sort/Case Sensitive

105 2 (Supervisor) References M_ACTOR_N_ID column of OBJ_M_ACTOR table.

Unused 0 = Off1 = On

Unused

Tree List/Sort/Primary Key

106 2 (Supervisor) References M_ACTOR_N_ID column of OBJ_M_ACTOR table.

Unused 0 = Name1 = Type

Unused

Tree List/Sort/Primary Key

107 2 (Supervisor) References M_ACTOR_N_ID column of OBJ_M_ACTOR table.

Unused 0 = Descending1 = Ascending

Unused

BORepository.book Page 47 Friday, August 27, 2004 5:33 PM

Page 48: SAP BoRepository

48The B

usiness Objects R

epository Reference G

uide

The Security D

omain

Tree List/Sort/Secondary Key

108 2 (Supervisor) References M_ACTOR_N_ID column of OBJ_M_ACTOR table.

Unused 0 = Descending1 = Ascending

Unused

General/Insert Key

109 2 (Supervisor) References M_ACTOR_N_ID column of OBJ_M_ACTOR table.

Unused 0 = Not Active33808 = New User 33810 = New Group

Unused

General/Edit In Place

110 2 (Supervisor) References M_ACTOR_N_ID column of OBJ_M_ACTOR table.

Unused 0 = Off1 = On

Unused

General Supervisor/Refresh

112 2 (Supervisor) 0 (All users) Unused 0 = Off1 = On

Unused

General Supervisor/Default Password Is User Name

114 2 (Supervisor) 0 (All users) Unused 0 = Off1 = On

Unused

General Supervisor/Refresh Value

115 2 (Supervisor) 0 (All users) Unused Number of minutes between two refreshes

Unused

Option M_GENPAR_N_ID

M_GENPAR_N_ID

M_GENPAR_N_USERID

M_GENPAR_N_TYPE

M_GENPAR_N_VALUE

M_GENPAR_C_LABEL

BORepository.book Page 48 Friday, August 27, 2004 5:33 PM

Page 49: SAP BoRepository

The Business O

bjects Repository R

eference Guide

49

OB

J_M_G

EN

PA

R

General Supervisor/Number of logins allowed after password expiration

116 2 (Supervisor) 0 (All users) Unused 0 = None 1 = Number(number given in next column)

Number of logins

Number of failed login allowed before being disabled

117 2 (Supervisor) 0 (All users) Unused 0 = Infinite 1 = Number(number given in next column)

Number of maximum failed logins

General Supervisor/Minimum password length

118 0 (all products) 0 (All users) Unused 0 = Off1 = On

Minimum length value

General Supervisor/Scope Manage-ment

119 2 (Supervisor) 0 (All users) Unused 0 = standard mode 1 = Secured mode 2 = Enhanced mode

Unused

Repo identifier

121 0 (all products) 0 (All users) Unused Unused Actual identifier

Option M_GENPAR_N_ID

M_GENPAR_N_ID

M_GENPAR_N_USERID

M_GENPAR_N_TYPE

M_GENPAR_N_VALUE

M_GENPAR_C_LABEL

BORepository.book Page 49 Friday, August 27, 2004 5:33 PM

Page 50: SAP BoRepository

50The B

usiness Objects R

epository Reference G

uide

The Security D

omain

General Supervisor/Password is Mandatory

200 0 (all products) 0 (All users) Unused 0 = Off1 = On

Broadcast Agent advanced parameters: Start date

500 Batch ID, foreign key to OBJ_M_DOCUMENTS table

3 Date Unused Unused

Broadcast Agent advanced parameters: Distribute via Web server

500 same as above

4 Unused Unused Path

Broadcast Agent advanced parameters: Distribute via the server file system

500 same as above

5 Unused Unused Path

Option M_GENPAR_N_ID

M_GENPAR_N_ID

M_GENPAR_N_USERID

M_GENPAR_N_TYPE

M_GENPAR_N_VALUE

M_GENPAR_C_LABEL

BORepository.book Page 50 Friday, August 27, 2004 5:33 PM

Page 51: SAP BoRepository

The Business Objects Repository Reference Guide 51

OBJ_M_MAGICID

OBJ_M_MAGICIDThis table is used to allocate unique IDs for stored resources. For each object type, where types are specified in the M_MAGICID_C_NAME field, the value of the last allocated ID is stored in the M_MAGIC_N_ID field. This value is incremented by 1 each time a new resource is created.

Column name Value

M_MAGIC_N_ID Non-nullType: int10Last used value. The next value created equals this value+1.This field is initialized at 10, except for the name “ACTORLINK” where it is initialized at 1000.

M_MAGIC_C_NAME Non-nullType: char(35)When a new object of one of the types listed below is created, the number returned is M_MAGIC_N_ID+1, and M_MAGIC_N_ID is incremented by 1. Values are:ACTLORDERACTORDEF: uniquely identifies actors in OBJ_M_ACTORACTORLINK: uniquely identifies user instances in OBJ_M_ACTORLINKBATCH: uniquely identifies Broadcast Agent tasks in DS_PENDING_JOBCATEGORY: uniquely identifies categories in OBJ_M_CATEGCHANNEL: uniquely identifies channels in OBJ_M_CHANNELCONNECTION: uniquely identifies connections in OBJ_M_CONNECTIONDX: uniquely identifies documents in OBJ_M_DOCUMENTS

BORepository.book Page 51 Friday, August 27, 2004 5:33 PM

Page 52: SAP BoRepository

52 The Business Objects Repository Reference Guide

The Security Domain

Notes:

M_MAGIC_C_NAME(continued)

REPOSITORY: uniquely identifies document and universe domains in OBJ_M_REPOSITORYRESLINK: uniquely identifies links between users and resources in OBJ_M_RESLINKSESSIONTIMESTAMP: uniquely identifies timestamps in OBJ_M_TIMESTAMPUNIVCSTSLC: uniquely identifies data slices storing universe parameters in OBJ_M_UNIVSLCTIMESTAMP: uniquely identifies timestamps in OBJ_M_TIMESTAMPUNIVCSTSLC: uniquely identifies data slices storing universe parameters in OBJ_M_UNIVSLCUNIVDBCST: uniquely identifies universe overloads in OBJ_M_UNIVDBCSTUNIVERSE: uniquely identifies universes in OBJ_M_UNIVERSESUSER

Column name Value

BORepository.book Page 52 Friday, August 27, 2004 5:33 PM

Page 53: SAP BoRepository

The Business Objects Repository Reference Guide 53

OBJ_M_OBJSLICE

OBJ_M_OBJSLICEThis table stores objects made up of slices of data (254 characters per slice) which describe document properties, channel properties, or Broadcast Agent task properties.

Column name Value

M_OBJS_N_ID Type: int10This is the object identifier. The unique identifier of the object being sliced.

M_OBJS_N_TYPE Type: int10This is the object type.Value are:1 to 256 = Broadcast Agent task257 to 512 = channel (unused)

257 = Document icon full pathname 258 = Report sheet icon full pathname259 = Section icon full pathname260 = Small channel icon full pathname261 = Medium channel icon full pathname262 = Large channel full pathname263 = URL path264 = URL folder265 = CDX file

513 to 768 = document513 = Document title514 = Document subject515 = Document keywords516 = Document comments

M_OBJS_N_BLOCK_ID Type: int10This is the data slice identifier. It is initialized at 1.

M_OBJS_C_VALUE Type: char(254)This is the data in the slice.

BORepository.book Page 53 Friday, August 27, 2004 5:33 PM

Page 54: SAP BoRepository

54 The Business Objects Repository Reference Guide

The Security Domain

Notes:

BORepository.book Page 54 Friday, August 27, 2004 5:33 PM

Page 55: SAP BoRepository

The Business Objects Repository Reference Guide 55

OBJ_M_REPOSITORY

OBJ_M_REPOSITORYThis table stores information on the universe or document domains in the repository. The security domain is not described in this table: it is described in the bomain.key file.

Column name Value

M_REPO_N_ID Non-nullType: int10This is the domain identifier. It is generated by OBJ_M_MAGICID (see page 51).

M_REPO_N_CONNECTID Non-nullType: int10This is the domain connection. It references the M_CNTN_N_ID column in OBJ_M_CONNECTION.

M_REPO_C_NAME Non-nullType: char(35)This is the domain name. It is not encrypted.

M_REPO_N_TYPE Non-nullType: int10This is the domain type.Values are:2 = universe domain3 = document domain

M_REPO_C_VERSION Non-nullType: char(35)Used only for version 4.x. This is the product release with which the repository was created.

BORepository.book Page 55 Friday, August 27, 2004 5:33 PM

Page 56: SAP BoRepository

56 The Business Objects Repository Reference Guide

The Security Domain

Notes:

M_REPO_N_USERID Non-nullType: int10This is the domain creator identifier.Values are:5 = initially created repository domainOtherwise: user identifier of user who created domain (M_ACTOR_N_ID column of OBJ_M_ACTOR)

M_REPO_N_CREATDATE Non-nullType: int10This is the domain creation date, stored in the same format as the Last Action Date (see page 10).

M_REPO_N_LAD Non-nullType: int10This is the Last Action Date (see page 10).

M_REPO_N_LAT Non-nullType: int10This is the Last Action Type (see page 10).

Column name Value

BORepository.book Page 56 Friday, August 27, 2004 5:33 PM

Page 57: SAP BoRepository

The Business Objects Repository Reference Guide 57

OBJ_M_RESERVATION

OBJ_M_RESERVATIONThis table stores information on password validity periods (“aging”).

Column name Value

M_RSRV_N_ENTID Non-nullType: int10This is the user identifier. It references the M_ACTOR_N_ID column of OBJ_M_ACTOR.

M_RSRV_N_ENTTYPE Non-nullType: int10This indicates the password aging status.0 = Password does not age (never becomes invalid based on time). In the User Properties dialog box of Supervisor, the Password Validity option is not chosen.1 = Password ages (a password validity period has been defined, and the password will not be valid after that period). In the User Properties dialog box of Supervisor, the Password Validity option is chosen.

BORepository.book Page 57 Friday, August 27, 2004 5:33 PM

Page 58: SAP BoRepository

58 The Business Objects Repository Reference Guide

The Security Domain

Notes:

M_RSRV_N_SESSIONID Non-nullType: int10This is the number of days before password expires.This is taken into account when M_RSRV_N_ENTTYPE = 1, that is, when the Password Validity option is chosen in the User Properties dialog box in Supervisor.The password validity period, that is, the number of days the password remains valid after the option is chosen, is set in the User Properties dialog box in Supervisor.Values are between 1 and 365.

M_RSRV_N_ACTORID Non-nullType: int10This indicates whether the password aging period is a periodic action.0 = one-time action: the password aging period, if any, defined in the User Properties box of Supervisor will apply only for the user’s current password.1 = periodic action: the password aging period, if any, defined in the User Properties dialog box of Supervisor will be repeated for each new password of the user.

M_RSRV_N_ENDTIME Non-nullType: int10This is the number of authorized logins possible after password expiry.This is set in the User Properties dialog box of Supervisor. It defines how many times a user is able to log in with an expired password.

Column name Value

BORepository.book Page 58 Friday, August 27, 2004 5:33 PM

Page 59: SAP BoRepository

The Business Objects Repository Reference Guide 59

OBJ_M_RESLINK

OBJ_M_RESLINKThis is a polymorph table storing associations between user or group instances (defined in OBJ_M_ACTORLINK) and resources in the repository. This table defines:• rights of users to applications• security command settings for the user or group instance• rights of users to:

- universes- documents- stored procedures- repository domains

Rights are granted here on an “all or none” basis. The table does not define more detailed permissions such as “read only” or “read-write.” Universe overloads, or personalized universe rights for a user or group, are defined in OBJ_M_UNIVCST. To apply an overload to a user or group, the user or group and the universe must be linked in OBJ_M_RESLINK.

Column name Value

M_RES_N_ID Non-nullType: int10This is the actor-resource link identifier. It is generated by OBJ_M_MAGICID (see page 51).

M_RES_N_ACTLINKID Non-nullType: int10This is the user instance identifier. It references the M_ACTL_N_ID column of OBJ_M_ACTORLINK.

BORepository.book Page 59 Friday, August 27, 2004 5:33 PM

Page 60: SAP BoRepository

60 The Business Objects Repository Reference Guide

The Security Domain

M_RES_N_RESID Non-nullType: int10This is the resource identifier. Its value references the table identifying the resource. The referenced table depends on the resource type identified by the M_RES_N_RESTYPE column of this table.Values are:• If M_RES_N_RESTYPE = 2, the value is a

foreign key to OBJ_M_UNIVERSES.M_UNI_N_ID.

• If M_RES_N_RESTYPE = 3, the value is a foreign key to OBJ_M_DOCUMENTS.M_DOC_N_ID.

• If M_RES_N_RESTYPE = 4, the value is a foreign key to OBJ_M_CONNECTION.M_CNTN_N_ID.

• If M_RES_N_RESTYPE = 5, the value is a foreign key to OBJ_M_REPOSITORY.M_REPO_N_ID.

• If M_RES_N_RESTYPE = 6, the value corresponds to an application (not a foreign key).

• If M_RES_N_RESTYPE = 7, the value corresponds to a security command (not a foreign key).

M_RES_N_RESTYPE Non-nullType: int10This is the resource type identifier. Values are:2 = Universe3 = Document4 = Stored Procedure5 = Repository Domain6 = Application7 = Security command

Column name Value

BORepository.book Page 60 Friday, August 27, 2004 5:33 PM

Page 61: SAP BoRepository

The Business Objects Repository Reference Guide 61

OBJ_M_RESLINK

Notes:

M_RES_N_STATUS Non-nullType: int10This is the resource status. Values are:0 = Disabled (for resources other than security commands)1 = Enabled (for all resources)The following values correspond to security commands, that is, when M_RES_N_RESTYPE=7:2 = Disabled3 = Hidden5 = Inherited

M_RES_N_INFO Non-nullType: int10Not used

M_RES_N_LAD Non-nullType: int10This is the Last Action Date (see page 10).

M_RES_N_LAT Non-nullType: int10This is the Last Action Type (see page 10).

Column name Value

BORepository.book Page 61 Friday, August 27, 2004 5:33 PM

Page 62: SAP BoRepository

62 The Business Objects Repository Reference Guide

The Security Domain

OBJ_M_TIMESTAMPThis table defines time constraints for user login or for Broadcast Agent actions.

Column name Value

M_TMS_N_ID Non-nullType: int10This is the timestamp identifier.It is generated by OBJ_M_MAGICID (see page 51).

M_TMS_N_ENTITYTYPE Non-nullType: int10This is the type of entity the timestamp controls.Values are:0 = undefined1 = a user or group instance2 = a Broadcast Agent

M_TMS_N_ENTITYID Non-nullType: int10This identifies the actor-resource link.It is a foreign key to the OBJ_M_ACTORLINK.M_ACTL_N_ID field.

M_TMS_N_BEGINTIME Type: int10This is the login start time, stored in the same format as the Last Action Date (see page 10). It defines the date and time at which login becomes authorized.

M_TMS_N_ENDTIME Type: int10This is the login end time, stored in the same format as the Last Action Date (see page 10). It defines the date and time at which login ceases to be authorized.

BORepository.book Page 62 Friday, August 27, 2004 5:33 PM

Page 63: SAP BoRepository

The Business Objects Repository Reference Guide 63

OBJ_M_TIMESTAMP

M_TMS_N_REPVALUE Non-nullType: int10This is the periodicity of repeated actions (for example, when login is allowed every Wednesday, or every first day of the month).

M_TMS_N_REPUNIT Non-nullType: int10This is the periodicity type. Values are:10 = hour (unused)20 = day (unused)30 = week40 = month50 = year

M_TMS_N_DURREPVAL Non-nullType: int10This the repeat duration value. It defines the duration of a periodic login permission (for example, a yearly period of two weeks has a repeat duration value of two).

M_TMS_N_DURREPUNIT Non-nullType: int10This is the repeat duration type. It defines the type of a periodic login permission time. Values are:10 = hour (unused)20 = day (unused)30 = week40 = month50 = yearFor example, a yearly period of two weeks has a repeat duration type of 30, or week.

Column name Value

BORepository.book Page 63 Friday, August 27, 2004 5:33 PM

Page 64: SAP BoRepository

64 The Business Objects Repository Reference Guide

The Security Domain

M_TMS_N_OFFREPVAL Non-nullType: int10This is the repeat offset value. It defines the starting date of a period login permission (for example, if the timestamp allows login for two weeks every year, starting from the 4th month of the year, the repeat offset value is 4).

M_TMS_N_OFFREPUNIT Non-nullType: int10This is the repeat offset type. It defines the type of a periodic login offset. Values are:10 = hour (unused)20 = day (unused)30 = week40 = month50 = yearFor example, if the timestamp allows login for two weeks every year, starting from the 4th month of the year, the repeat offset type is 40, or month.

M_TMS_N_LAD TNon-nullType: int10This is the Last Action Date (see page 10).

M_TMS_N_LAT Non-nullType: int10This is the Last Action Type (see page 10).

Column name Value

BORepository.book Page 64 Friday, August 27, 2004 5:33 PM

Page 65: SAP BoRepository

The Business Objects Repository Reference Guide 65

OBJ_M_TIMESTAMP

Notes:

How do timestamps work?

When a month is selected in the How combo box:

This can be understood as follows:every 1 year (value 50 for REPUNIT = 1 year))

give permission for 1 month (value 40 for DUREPUNIT = 1 month)starting on the nth month (where n = OFFREPVAL+1, and applied to month

because value 40 for OFFREPUNIT = month)ORevery M_TMS_N_REPVALUE multiplied by the unit defined in M_TMS_REPUNIT,

give permission for M_TMS_N_DUREPVAL multiplied by the unit defined by M_TMS_DUREPUNIT,

starting on the (M_TMS_N_OFFREPVAL +1)th unit defined by M_TMS_N_OFFREPUNIT

Repvalue Repunit Durrepvall Durrepunit Offrepval Offrepunit

January 1 50 1 40 0 40

February 1 50 1 40 1 40

... 1 50 1 40 ... 40

December 1 50 1 40 11 40

BORepository.book Page 65 Friday, August 27, 2004 5:33 PM

Page 66: SAP BoRepository

66 The Business Objects Repository Reference Guide

The Security Domain

When a day of the week is selected in the “How” combo box:

This can be understood as:every 1 week (value 30 for REPUNIT = 1 week)give permission for 1 day (value 20 for DUREPUNIT = 1 day)starting the nth day (where n = OFFREPVAL+1, and applied to day because value 20 for OFFREPUNIT = 1 day)ORevery M_TMS_N_REPVALUE multiplied by the unit defined in

M_TMS_REPUNIT, give permission for M_TMS_N_DUREPVAL multiplied by the unit defined by

M_TMS_DUREPUNITstarting on the (M_TMS_N_OFFREPVAL +1)th unit defined by

M_TMS_N_OFFREPUNIT

Repvalue Repunit Durrepvall Durrepunit Offrepval Offrepunit

Monday 1 30 1 20 0 20

Tuesday 1 30 1 20 1 20

... 1 30 1 20 ... 20

Sunday 1 30 1 20 6 20

BORepository.book Page 66 Friday, August 27, 2004 5:33 PM

Page 67: SAP BoRepository

The Business Objects Repository Reference Guide 67

OBJ_M_TIMESTAMP

When ‘Last day of the month’ or ’First day of the month’ is selected in the ‘How’ combo box:

This can be understood as:every 1 month (value 40 for REPUNIT = 1 month)

give permission for 1 day (value 20 for DUREPUNIT = 1 day) starting the nth day (where n = OFFREPVAL+1, and applied to day because

value 20 for OFFREPUNIT = 20)ORevery M_TMS_N_REPVALUE multiplied by the unit defined by M_TMS_REPUNIT

give permission for M_TMS_N_DUREPVAL multiplied by the unit defined by M_TMS_DUREPUNIT

starting the (M_TMS_N_OFFREPVAL+1)th unit defined by M_TMS_N_OFFRELUNIT

Repvalue Repunit Durrepvall Durrepunit Offrepval Offrepunit

First day of the month

1 40 1 20 0 20

Last day of the month

1 40 1 20 -1 20

BORepository.book Page 67 Friday, August 27, 2004 5:33 PM

Page 68: SAP BoRepository

68 The Business Objects Repository Reference Guide

The Security Domain

OBJ_M_UNIVCSTIn Supervisor, the default parameters of a universe can be modified for a user or group. This table stores information on universe overloads concerning the connection, SQL and controls. The table is empty until overloads have been applied to a user or group for a universe.Other universe overload information is stored in OBJ_M_UNIVDBCST.

Column name Value

M_UNIC_N_UNILINKID Non-nullType: int10This is the universe instance identifier. It is a foreign key to OBJ_M_RESLINK.M_RES_N_IDThe overload is applied to a universe for a particular actor. The link between universe and actor is defined in OBJ_M_RESLINK.

M_UNIC_C_LONGNAME Type: char(35)Not used

M_UNIC_N_CNTID Non-nullType: int10This is the universe connection identifier. It is a foreign key to OBJ_M_CONNECTION.M_CNTN_N_ID

M_UNIC_N_MAXLINE Non-nullType: int10This is the maximum query result size. It defines the maximum number of rows a query can retrieve from the database.This value is set in the Controls tab of the Universe Properties dialog box in Supervisor.

BORepository.book Page 68 Friday, August 27, 2004 5:33 PM

Page 69: SAP BoRepository

The Business Objects Repository Reference Guide 69

OBJ_M_UNIVCST

M_UNIC_N_MAXTIME Non-nullType: int10This is the maximum query execution time. It defines the maximum duration of the query, after which the query stops.This value is set in the Control tab of the Universe Properties dialog box in Supervisor.

M_UNIC_N_WARNTIME Non-nullType: int10This is the requested maximum time cost estimate after which a warning will appear when the query is launched. It applies only to an RDBMS which has a cost estimate feature based on time.This value is set in the Controls tab of the Universe Properties dialog box in Supervisor.

M_UNIC_N_ITEMLEN Non-nullType: int10This is the maximum size of a long text object, in characters, that a user is authorized to retrieve from the database.The maximum authorized number of characters is 32000.

Column name Value

BORepository.book Page 69 Friday, August 27, 2004 5:33 PM

Page 70: SAP BoRepository

70 The Business Objects Repository Reference Guide

The Security Domain

M_UNIC_C_FLAGS This is a coded field corresponding to check box status in the Controls and SQL tabs of the Universe Properties dialog box in Supervisor. Each of eleven characters gives the value of a specific check box. Values are:Y = checkedN = uncheckedU = unchanged (checked, but default value unchanged)From left to right, the characters represent:position 1: SQL tab, “Allow use of subqueries”position 2: SQL tab, “Allow use of union, intersect and minus parameters”position 3: SQL tab, “Allow complex operands in Query Panel”position 4: SQL tab, “Multiple SQL statements for each context”position 5: SQL tab, “Allow selection of multiple contexts”position 6: SQL tab, “Cartesian products” (Y = Prevent, N = Warn)position 7: Controls tab, “Limit size of result set to”position 8: Controls tab, “Limit size of long text objects to”position 9: Controls tab, “Limit execution time to”position 10: Controls tab, “Warn if cost estimate exceeds”position 11: SQL tab, “Multiple SQL statements for each measure”position 12-20: reserved.

Column name Value

BORepository.book Page 70 Friday, August 27, 2004 5:33 PM

Page 71: SAP BoRepository

The Business Objects Repository Reference Guide 71

OBJ_M_UNIVCST

Notes:

M_UNIC_N_HELPSLCID Not usedForeign key to OBJ_M_UNIVSLC.M_UNIS_N_ID

M_UNIC_N_LAD This is the Last Action Date (see page 10).

M_UNIC_N_LAT This is the Last Action Type (see page 10).

Column name Value

BORepository.book Page 71 Friday, August 27, 2004 5:33 PM

Page 72: SAP BoRepository

72 The Business Objects Repository Reference Guide

The Security Domain

OBJ_M_UNIVDBCSTIn Supervisor, the default parameters of a universe can be modified for a user or group. This table stores information on universe overloads concerning row-level and object-level restrictions, and table mappings. The table is empty until overloads have been applied to a user or group for a universe.Other universe overload information is stored in OBJ_M_UNIVCST.

Column name Value

M_UNID_N_ID Non-nullType: int10This is the primary key, generated by OBJ_M_MAGICID (see page 51).

M_UNID_N_UNILINKID Non-nullType: int10This is the universe instance identifier. It is a foreign key to OBJ_M_RESLINK.M_RES_N_IDThe overload is applied to a universe for a particular actor. The link between universe and actor is defined in OBJ_M_RESLINK.

M_UNID_N_TYPE Non-nullType: int10This is the overloaded universe property type. Values are:1 = Object by ID2 = Object by name3 = Row level by ID4 = Row level by name5 = Table mapping by ID6 = Table mapping by name

BORepository.book Page 72 Friday, August 27, 2004 5:33 PM

Page 73: SAP BoRepository

The Business Objects Repository Reference Guide 73

OBJ_M_UNIVDBCST

M_UNID_N_ITEMSRCID Non-nullType: int10This is the source item ID. Values are:• for type 1 (object by ID): ID of the restricted

object• for type 3 (row-level by ID): 0• for type 5 (table mapping by ID): ID of the table

replaced by mapping

M_UNID_C_ITEMSRC Non-nullType: char(254)This is the source item name. Values are:• for type 2 (object by name): name of the

restricted object (class/object)• for type 4 (row-level by name): name of the

table to which is applied a row-level restriction• for type 6 (table mapping by name): name of the

table replaced by mapping

M_UNID_N_ITEMDSTID Non-nullType: int10This is the destination item ID. Values are:• for type 1 (object by ID): ID of the restricted

object• for type 3 (row-level by ID): 0• for type 5 (table mapping by ID): ID of the

replacement table for table mapping

Column name Value

BORepository.book Page 73 Friday, August 27, 2004 5:33 PM

Page 74: SAP BoRepository

74 The Business Objects Repository Reference Guide

The Security Domain

Notes:

M_UNID_C_ITEMDST Non-nullType: char(254)This is the destination item name. Values are:• for type 2 (object by name): name of the

restricted object• for type 4 (row-level by name): the Where

clause of the row-level restriction• for type 6 (table mapping by name): name of the

replacement table for table mapping

M_UNID_N_LAD This is the Last Action Date (see page 10).

M_UNID_N_LAT This is the Last Action Type (see page 10).

Column name Value

BORepository.book Page 74 Friday, August 27, 2004 5:33 PM

Page 75: SAP BoRepository

The Business Objects Repository Reference Guide 75

OBJ_M_UNIVERSES

OBJ_M_UNIVERSESThis table stores universe definitions.

Column name Value

M_UNI_N_ID Non-nullType: int10This is the primary key, generated by OBJ_M_MAGICID (see page 51).

M_UNI_N_REPOID Non-nullType: int10This is the universe domain identifier. It identifies the universe domain which stores the universe. It is a foreign key to OBJ_M_REPOSITORY.M_REPO_N_ID

M_UNI_C_FILENAME Non-nullType: char(14)This is the universe file name. It is the name of the universe file itself, without the .unv extension.

M_UNI_C_LONGNAME Non-nullType: char(35)This is the universe display name. It is the name displayed in Business Objects products for the universe, entered as the universe “name” parameter.

M_UNI_N_REVISION Non-nullType: int10This is the universe file version number. It is increased each time the universe is exported to the repository.

BORepository.book Page 75 Friday, August 27, 2004 5:33 PM

Page 76: SAP BoRepository

76 The Business Objects Repository Reference Guide

The Security Domain

M_UNI_N_LUT Non-nullType: int10This is the last update time, stored in the same format as the Last Action Date (see page 10), indicating the date and time the universe was last exported to the repository.

M_UNI_N_LOV Non-nullType: int10This is the number of lists of values associated with the universe. In other words, this is the number of objects in the universe which have an associated list of values.

M_UNI_N_HELPSLCID Non-nullType: int10This is the universe description text identifier. The description is entered in the Definition tab of the Universe Parameters dialog box in Designer.The value is generated by OBJ_M_MAGICID (see page 51).

M_UNI_N_CNTID Non-nullType: int10This is the universe connection identifier. The connection is chosen in the Definition tab of the Universe Parameters dialog box in Designer. This field is a foreign key to OBJ_M_CONNECTION.M_CNTN_ID.

M_UNI_N_MAXLINE Non-nullType: int10This is the maximum query result size. It defines the maximum number of rows a query can retrieve from the database. It is set in the Controls tab of the Universe Parameters dialog box in Designer.

Column name Value

BORepository.book Page 76 Friday, August 27, 2004 5:33 PM

Page 77: SAP BoRepository

The Business Objects Repository Reference Guide 77

OBJ_M_UNIVERSES

M_UNI_N_MAXTIME Non-nullType: int10This is the maximum query execution time. It defines the maximum duration of the query, after which the query stops.This value is set in the Controls tab of the Universe Parameters dialog box in Designer.

M_UNI_N_WARNTIME Non-nullType: int10This is the requested maximum time cost estimate after which a warning will appear when the query is launched. It applies only to an RDBMS which has a cost estimate feature based on time.This value is set in the Controls tab of the Universe Parameters dialog box in Designer.

M_UNI_N_ITEMLENGTH Non-nullType: int10This is the maximum size of a long text object, in characters, that a user is authorized to retrieve from the database.The maximum authorized number of characters is 32000.

Column name Value

BORepository.book Page 77 Friday, August 27, 2004 5:33 PM

Page 78: SAP BoRepository

78 The Business Objects Repository Reference Guide

The Security Domain

M_UNI_C_FLAGS Non-nullType: char(20)This is a coded field corresponding to check box status in the Controls and SQL tabs of the Universe Parameters dialog box in Designer. Each of eleven characters gives the value of a specific check box. Values are:Y = checkedN = uncheckedU = unchanged (checked, but default value unchanged)From left to right, the characters represent:position 1: SQL tab, “Allow use of subqueries”position 2: SQL tab, “Allow use of union, intersect and minus parameters”position 3: SQL tab, “Allow complex operands in Query Panel”position 4: SQL tab, “Multiple SQL statements for each context”position 5: SQL tab, “Allow selection of multiple contexts”position 6: SQL tab, “Cartesian products” (Y = Prevent, N = Warn)position 7: Controls tab, “Limit size of result set to”position 8: Controls tab, “Limit size of long text objects to”position 9: Controls tab, “Limit execution time to”position 10: Controls tab, “Warn if cost estimate exceeds”position 11: SQL tab, “Multiple SQL statements for each measure”position 12-20: reserved

Column name Value

BORepository.book Page 78 Friday, August 27, 2004 5:33 PM

Page 79: SAP BoRepository

The Business Objects Repository Reference Guide 79

OBJ_M_UNIVERSES

Notes:

M_UNI_N_LOCKER Non-nullType: int10This is the universe lock indicator. Values are:0 = universe unlocked<user ID> = universe locked by the user whose ID is given. This value a foreign key to OBJ_M_ACTOR.M_ACTOR_N_ID.

M_UNI_N_LAD Non-nullType: int10This is the Last Action Date (see page 10).

M_UNI_N_LAT Non-nullType: int10This is the Last Action Type (see page 10).

Column name Value

BORepository.book Page 79 Friday, August 27, 2004 5:33 PM

Page 80: SAP BoRepository

80 The Business Objects Repository Reference Guide

The Security Domain

OBJ_M_UNIVSLCThis table stores the text of universe descriptions, in 254-character slices.

Notes:

Column name Value

M_UNIS_N_ID Non-nullType: int10This is the universe description-text slice identifier. It is generated by OBJ_M_MAGICID (see page 51).

M_UNIS_N_BLKID Non-nullType: int10This is the data slice identifier (initialized at 1).Bloc sequential number (numbered from 1 on).

M_UNIS_C_NAME Non-nullType: char(35)Contains the string "help".

M_UNIS_C_BULK Non-nullType: char(254)This is the data in the slice.

BORepository.book Page 80 Friday, August 27, 2004 5:33 PM

Page 81: SAP BoRepository

The Business Objects Repository Reference Guide 81

OBJ_M_USRATTR

OBJ_M_USRATTRThis table stores and retrieves information on user attributes.

NOTE

This table was added with the BusinessObjects 6.5 release.

Notes:

Column name Value

M_UATT_N_ACTORID Non-nullType: int10This is the attribute identifier. It is a foreign key to OBJ_M_ACTOR.

M_UATT_N_ATTRTYPE Non-nullType: int10This is the attribute type. Values are:1 = Long name2 = Email

M_UATT_C_ATTRVALUE Non-nullType: char(254)This is the attribute itself.

BORepository.book Page 81 Friday, August 27, 2004 5:33 PM

Page 82: SAP BoRepository

82 The Business Objects Repository Reference Guide

The Security Domain

BORepository.book Page 82 Friday, August 27, 2004 5:33 PM

Page 83: SAP BoRepository

chapter

The Document and Universe Domains

3

BORepository.book Page 83 Friday, August 27, 2004 5:33 PM

Page 84: SAP BoRepository

84 The Business Objects Repository Reference Guide

The Document and Universe Domains

Overview

The document domain of the Business Objects repository stores the binary content of all documents stored in the repository. It has one table, OBJ_X_DOCUMENTS.The universe domain stores data relating to universes.This chapter describes the tables in these domains in detail.

BORepository.book Page 84 Friday, August 27, 2004 5:33 PM

Page 85: SAP BoRepository

The Business Objects Repository Reference Guide 85

OBJ_X_DOCUMENTS

OBJ_X_DOCUMENTSThis is the only table in the document domain. It stores the binary content of all documents sent to the repository (through the user actions Publish to corporate documents, Send to users or Send to Broadcast Agent). The document contents are stored as BLOBs (Binary Large OBjects) stored in slices.

Notes:

Column name Value

X_DOC_N_ID Non-nullType: int10This is the document identifier. It is a foreign key to OBJ_M_DOCUMENTS.M_DOC_N_ID.

X_DOC_N_BLOCKID Non-nullType: int10This is the block ID. It identifies the data slice. A document may require more than one slice.

X_DOC_B_CONTENT Non-nullType: int10This is the data in the slice.

BORepository.book Page 85 Friday, August 27, 2004 5:33 PM

Page 86: SAP BoRepository

86 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_AUDITThis table stores universe modifications for incremental import.

Notes:

Column name Value

AUDIT_ID Non-nullType: int10

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

AUD_UNIVERSION Non-nullType: int10

AUD_ITEM_ID Non-nullType: int10

AUD_ITEMTYPE Non-nullType: int10

AUD_MODIFTYPE Non-nullType: int10

AUD_MODIFDATA Non-nullType: int10

AUD_POSITION Non-nullType: int10

BORepository.book Page 86 Friday, August 27, 2004 5:33 PM

Page 87: SAP BoRepository

The Business Objects Repository Reference Guide 87

UNV_CLASS

UNV_CLASSThis table stores information defining universe classes.

Column name Value

CLASS_ID Non-nullType: int10This is the class identifier. The value increments by 1 with each new class created.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

CLS_NAME Non-nullType: char(35)This is the class name.

CLS_BASECLASSID Non-nullType: int10This is the parent class identifier. Values are:0 = not a subclass<parent class>= value of CLASS_ID of the parent class.There is no limit on subclassification.

CLS_HIDDEN Non-nullType: char(2)

BORepository.book Page 87 Friday, August 27, 2004 5:33 PM

Page 88: SAP BoRepository

88 The Business Objects Repository Reference Guide

The Document and Universe Domains

Notes:

CLS_POSITION Non-nullType: int10This is the class display order, the position in which the class is displayed in the Designer tree view. Values are:0 = topmost position1 = immediately below topmost positionetc.

Column name Value

BORepository.book Page 88 Friday, August 27, 2004 5:33 PM

Page 89: SAP BoRepository

The Business Objects Repository Reference Guide 89

UNV_CLASS_DATA

UNV_CLASS_DATAThis table stores information describing universe classes.

Notes:

Column name Value

CLASS_ID Non-nullType: int10This is the class identifier. It is a foreign key to UNV_CLASS.CLASS_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_CLASS.UNIVERSE_ID.

CLS_DATATYPE Non-nullType: char(2)This is the data slice type. The only value is H for “help.” This refers to the universe description entered in the Definition tab of the Universe Parameters dialog box in Designer.

CLS_SLICE Non-nullType: int6This is the data slice counter, initialized at 1. When the data slice exceeds 240 characters, a new slice is created and the data is stored in multiple slices.

CLS_DATAVALUE Non-nullType: char(240)This is the data in the slice.

BORepository.book Page 89 Friday, August 27, 2004 5:33 PM

Page 90: SAP BoRepository

90 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_COLUMN_DATAThis table stores the data associated with a column.

NOTE

This table was added with the BusinessObjects 6.5 release.

Notes:

Column name Value

COLUMN_ID Non-nullType: int10This is the column identifier. It is a foreign key to UNV_COLUMNS.COLUMN_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

COL_DATATYPE Non-nullType: char(2)This is the column type.

COL_SLICE Non-nullType: int6This is the data slice counter, initialized at 1. When the data slice exceeds 240 characters, a new slice is created and the data is stored in multiple slices.

COL_DATAVALUE Non-nullType: char(240)This is the data in the slice.

BORepository.book Page 90 Friday, August 27, 2004 5:33 PM

Page 91: SAP BoRepository

The Business Objects Repository Reference Guide 91

UNV_COLUMNS

UNV_COLUMNSThis table stores information describing the universe columns. You may use this table for impact analysis as it describes which tables and columns are referenced in a universe.In order to link the data contained into this table to data contained in the source database, you should link the internal “TABLE_ID” to the table name in the source database. You can do this by using the UNV_TABLE of the universe domain.

NOTE

This table was added with the BusinessObjects 6.5 release.

Column name Value

TABLE_ID Non-nullType: int10This is the table identifier. It is a foreign key to UNV_TABLE.TABLE_ID.7

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

COLUMN_ID Non-nullType: int10This is the column identifier.

COLUMN_NAME Non-nullType: char(110)This is the column name.

BORepository.book Page 91 Friday, August 27, 2004 5:33 PM

Page 92: SAP BoRepository

92 The Business Objects Repository Reference Guide

The Document and Universe Domains

Notes:

COLUMN_PROP Type: char(35)This defines column properties. It is a multi-use field with four positions delimited by commas. Position 1: Defines whether column is used. Values are:Y = Column is used.N = Column is not used.Position 2: Defines the level of the key (1 by default). Position 3: Defines data type. Values are:Num, Date, Char, Blob, BbCh, NullPosition 4: Defines key type. Values areAK = All keysNO = No keyPK = Primary keySK = Secondary keyEK = External keyUK = Unknown key

PKCOL_ID Non-nullType: int10This is the primary key identifier.

COL_POSITION Non-nullType: int10This is the column position. It defines the position of the column in the table.

Column name Value

BORepository.book Page 92 Friday, August 27, 2004 5:33 PM

Page 93: SAP BoRepository

The Business Objects Repository Reference Guide 93

UNV_CONTEXT

UNV_CONTEXTThis table stores information defining universe contexts (alternate paths to data when more than one path is possible).

Notes:

Column name Value

CONTEXT_ID Non-nullType: int10This is the context identifier, the primary key. It is incremented by 1 as contexts are created.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

CTX_NAME Non-nullType: char(35)This is the context name.

CTX_POSITION Non-nullType: int10This determines the context display position in the universe structure window. It is initialized at 0.

BORepository.book Page 93 Friday, August 27, 2004 5:33 PM

Page 94: SAP BoRepository

94 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_CONTEXT_DATAThis table stores information describing universe contexts.

Notes:

Column name Value

CONTEXT_ID Non-nullType: int10This is the context identifier. It is a foreign key to UNV_CONTEXT.CONTEXT_ID.

UNIVERSE_ID Non-nullType: int10This is the context universe ID. It is a foreign key to UNV_CONTEXT.UNIVERSE_ID.

CTX_DATATYPE Non-nullType: char(2)This is the data slice type. The only value is H for “help.” This refers to the context description entered when the context is created and visible in the Edit Context dialog box in Designer.

CTX_SLICE Non-nullType: int6This is the data slice counter, initialized at 1. When the data slice exceeds 240 characters, a new slice is created and the data is stored in multiple slices.

CTX_DATAVALUE Non-nullType: char(240)The data in the slice.

BORepository.book Page 94 Friday, August 27, 2004 5:33 PM

Page 95: SAP BoRepository

The Business Objects Repository Reference Guide 95

UNV_CTX_JOIN

UNV_CTX_JOINThis table stores a list of joins per context.

Notes:

Column name Value

CONTEXT_ID Non-nullType: int10This is the context identifier. It is a foreign key to UNV_CONTEXT.CONTEXT_ID.

JOIN_ID Non-nullType: int10This is the join identifier. It is a foreign key to UNV_JOIN.JOIN_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_CONTEXT.UNIVERSE_ID and UNV_JOIN.UNIVERSE_ID.

BORepository.book Page 95 Friday, August 27, 2004 5:33 PM

Page 96: SAP BoRepository

96 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_DIMENSIONThis table stores definitions of universe hierarchies. Hierarchies, formerly called dimensions, define the hierarchical organization of classes and objects in the Universe pane of Designer.

Notes:

Column name Value

DIMENSION_ID Non-nullType: int10This is the hierarchy identifier, the primary key. It is incremented each time a new hierarchy is created.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

DIM_NAME Non-nullType: char(35)This is the hierarchy name. It is defined in the Hierarchies Editor dialog box of Designer.

DIM_POSITION Non-nullType: int10This is the hierarchy display position. It defines the order in which hierarchies are displayed in the Universe pane of Designer. Display order is defined in the Hierarchies Editor dialog box of Designer. Values are:0 = topmost position1 = immediately below topmos positionetc.

BORepository.book Page 96 Friday, August 27, 2004 5:33 PM

Page 97: SAP BoRepository

The Business Objects Repository Reference Guide 97

UNV_DIM_OBJ

UNV_DIM_OBJThis table stores the order of objects in a hierarchy.

Notes:

Column name Value

DIMENSION_ID Non-nullType: int10This is the hierarchy identifier. It is a foreign key to UNV_DIMENSION.DIMENSION_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_DIMENSION.UNIVERSE_ID and UNV_OBJECT.UNIVERSE_ID.

OBJECT_ID Non-nullType: int10This is the object identifier. It is a foreign key to UNV_OBJECT.OBJECT_ID.

DIM_SEQ Non-nullType: int10This is the object display position. It defines the order in which objects are displayed within hierarchies in the Universe pane of Designer. Display order is defined in the Hierarchies Editor dialog box of Designer. Values are:0 = topmost position1 = immediately below topmos positionetc.

BORepository.book Page 97 Friday, August 27, 2004 5:33 PM

Page 98: SAP BoRepository

98 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_JOINThis table stores information on the graphical definition of joins in the Structure pane of Designer.

Column name Value

JOIN_ID Non-nullType: int10This is the join identifier.

UNIVERSE_ID Non-nullType: int10The is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

JN_X_AXIS Non-nullType: int10This helps define the join’s graphical position in the Structure pane of Designer..

JN_Y_AXIS Non-nullType: int10This helps define the join’s graphical position in the Structure pane of Designer..

JN_X1 Non-nullType: int10This helps define the join’s graphical position in the Structure pane of Designer..

BORepository.book Page 98 Friday, August 27, 2004 5:33 PM

Page 99: SAP BoRepository

The Business Objects Repository Reference Guide 99

UNV_JOIN

Notes:

JN_X2 Type: int10This helps define the join’s graphical position in the Structure pane of Designer..

JN_HIDDEN Non-nullType: char(2)This defines whether or not the join is hidden in the Structure pane of Designer.

JN_POSITION Non-nullType: int10This is the join’s list mode position in the Structure pane of Designer. Values are:0 = topmost position1 = immediately below topmost positionetc.

Column name Value

BORepository.book Page 99 Friday, August 27, 2004 5:33 PM

Page 100: SAP BoRepository

100 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_JOINCONTENTThis table stores join properties. Join properties are set in the Edit Join dialog box in Designer.

Column name Value

JOIN_ID Non-nullType: int10This is the join identifier. It is a foreign key to UNV_JOIN.JOIN_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_JOIN.UNIVERSE_ID.

JN_TABLE1_ID Non-nullType: int10This identifies the left table of the join clause.

JN_TABLE2_ID Non-nullType: int10This identifies the right table of the join clause.

BORepository.book Page 100 Friday, August 27, 2004 5:33 PM

Page 101: SAP BoRepository

The Business Objects Repository Reference Guide 101

UNV_JOINCONTENT

Notes:

JN_PROP Non-nullType: int10This defines the join properties.It is a multi-use field with three positions delimited by commas. Position 1 defines the side of the outer join. Values are:No = no outer joinRight = outer join on right sideLeft = outer join on left sidePosition 2 defines the left-side to right-side cardinality. Values are:C1-n = 1 to n cardinalityCn-1 = n to 1 cardinalityCn-n = n to n cardinalityC1-1 = 1 to 1 cardinalityPosition 3 defines shortcut join status. Values are:TRUE = the join is a shortcut joinFALSE = the join is not a shortcut join

Column name Value

BORepository.book Page 101 Friday, August 27, 2004 5:33 PM

Page 102: SAP BoRepository

102 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_JOIN_DATAThis table stores the join expressions which are visible in list mode in the Structure pane in Designer.

Notes:

Column name Value

JOIN_ID Non-nullType: int10This is the join identifier. It is a foreign key UNV_JOIN.JOIN_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_JOIN.UNIVERSE_ID

JN_DATATYPE Non-nullType: char(2)This is the join data type. The only value is E for expression.E=Expression

JN_SLICE Non-nullType: int6This is the data slice counter, initialized at 1. When the data slice exceeds 240 characters, a new slice is created and the data is stored in multiple slices.

JN_DATAVALUE Non-nullType: char(240)This is the data in the slice.

BORepository.book Page 102 Friday, August 27, 2004 5:33 PM

Page 103: SAP BoRepository

The Business Objects Repository Reference Guide 103

UNV_JOIN_OBJECT

UNV_JOIN_OBJECTThis table stores the data to improve the performance of query generation if an outer join is used.

NOTE

This table was added with the BusinessObjects 6.5 release.

Notes:

Column name Value

JOIN_ID Non-nullType: int10This is the join identifier. It is a foreign key UNV_JOIN.JOIN_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID

KIND_OBJECT Non-nullType: char(35)This is the outer join type which is linked to the kind of object.

OBJECT_ID Non-nullType: int10This is the object identifier that propagates the outer join.

BORepository.book Page 103 Friday, August 27, 2004 5:33 PM

Page 104: SAP BoRepository

104 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_OBJCONTENTThis table stores information describing the content of universe objects.

Column name Value

OBJECT_ID Non-nullType: int10This is the object identifier. It is a foreign key to UNV_OBJECT.OBJECT_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_OBJECT.UNIVERSE_ID.

OBJ_PROP Non-nullType: char(35)This defines object properties. It is a multi-use field with eight positions delimited by commas. Position 1: Defines data type. Values are:Num, Date, Char, Null, BlobPosition 2: Defines object type. Values areDim = Dimension objectDetail = Detail objectMeasure = Measure objectPosition 3: Defines of measure objects (otherwise null). Values are:Average, Count, Max, Min, Null, SumPosition 4: NGPosition 5: Defines use in sort. Values are:NS = Cannot be used in sortYS = Can be used in sort

BORepository.book Page 104 Friday, August 27, 2004 5:33 PM

Page 105: SAP BoRepository

The Business Objects Repository Reference Guide 105

UNV_OBJCONTENT

OBJ_PROP(continued)

Position 6: Defines use in condition. Values are:NC = Cannot be used in conditionYC = Can be used in conditionPosition 7: Defines use in result. Values are:NT = Cannot be used in resultYT = Can be used in resultPosition 8: N

OBJ_WEIGHT Non-nullType: int10Not used.

OBJ_INPUT Type: char(50)This is the object input.

OBJ_OUTPUT Type: char(50)This is the object output.

OBJ_LIST_VALUES Type: char(50)This defines the list of values options defined in the Properties tab of the “Edit Properties of <object>” dialog box. It is a multi-use field with 5 positions delimited by commas. Position 1: List namePosition 2: This defines whether a list of values is associated with the object. Values are:N = “Associate a list of values” option not selectedY = “Associate a list of values” option selectedPosition 3: This defines user editing of the list of values. Values are:U = Allow users to edit this list of valuesN = Do not allow users to edit this list of valuesPosition 4: This defines automatic refresh before use. Values are:R = Automatic refresh before useN = No automatic refresh before use

Column name Value

BORepository.book Page 105 Friday, August 27, 2004 5:33 PM

Page 106: SAP BoRepository

106 The Business Objects Repository Reference Guide

The Document and Universe Domains

OBJ_LIST_VALUES(continued)

Position 5: This defines export with universe. Values are:E = Export with universeN = Do not export with universe

OBJ_SECURITY Type: int1This is the object security access level. Values are:0 = Public1 = Controlled2 = Restricted3 = Confidential4 = Private

OBJ_AXIS_ID Type: int10This is the object axis identifier.

OBJ_CONDOBJ_ID Type: int1

OBJ_DATEFORMAT Type: char(35)This is the database regional settings format as entered in the Advanced tab of the “Edit Properties of <object>” dialog box.

OBJ_YEAR_ID Type: int10This is the year identifier.

OBJ_QUARTER_ID Type: int10This is the quarter identifier.

OBJ_MONTH_ID Type: int10This is the month identifier.

OBJ_WEEK_ID Type: int10This is the week identifier.

OBJ_BASICDATE_ID Type: int10This is the basic date identifier.

OBJ_LOVID Type: int10This is the list of values identifier.

Column name Value

BORepository.book Page 106 Friday, August 27, 2004 5:33 PM

Page 107: SAP BoRepository

The Business Objects Repository Reference Guide 107

UNV_OBJCONTENT

Notes:

BORepository.book Page 107 Friday, August 27, 2004 5:33 PM

Page 108: SAP BoRepository

108 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_OBJECTThis table stores information defining universe objects.

Column name Value

OBJECT_ID Non-nullType: int10This is the object identifier, the primary key. It is initialized at 1 and increments with each new object created.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

CLASS_ID Non-nullType: int10This is the class identifier referring to the class containing the object.

OBJ_NAME Non-nullType: char(35)This is the object name.

OBJ_HIDDEN Non-nullType: char(2)This indicates whether the object is hidden. To hide an object, right-click on the object in the Universe pane of Designer and click Hide Item(s). Values are:Y = HiddenN = Not hidden

BORepository.book Page 108 Friday, August 27, 2004 5:33 PM

Page 109: SAP BoRepository

The Business Objects Repository Reference Guide 109

UNV_OBJECT

Notes:

OBJ_POSITION Non-nullType: int10This is the object display position. It defines where the object is displayed within the class. Values are:0 = topmost position1 = immediately below topmost positionetc.

Column name Value

BORepository.book Page 109 Friday, August 27, 2004 5:33 PM

Page 110: SAP BoRepository

110 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_OBJECT_DATAThis table stores stores the text corresponding to the object description, Select clause and Where clause. These are defined in the “Edit Properties of <object>” dialog box in Designer.

Column name Value

OBJECT_ID Non-nullType: int10This is the object identifier. It is a foreign key to UNV_JOIN_OBJECT.OBJECT_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_JOIN_OBJECT.UNIVERSE_ID.

OBJ_DATATYPE Non-nullType: char(2)This is the object data type. Values are:H = Description textS = Select clause textW = Where clause textF = Object default format (version 4.1 only, see Notes)

OBJ_SLICE Non-null Type: int6This is the data slice counter, initialized at 1. When the data slice exceeds 240 characters, a new slice is created and the data is stored in multiple slices.

OBJ_DATAVALUE Non-nullType: char(240)This is the data in the slice.

BORepository.book Page 110 Friday, August 27, 2004 5:33 PM

Page 111: SAP BoRepository

The Business Objects Repository Reference Guide 111

UNV_OBJECT_DATA

Notes:Object Default Format (version 4.1 only):The object default format is described in a string stored in one or more rows in the OBJ_DATAVALUE column.The following strings are used as separators.

Begin separator End separator

Style _STY STY_

Simple Style _SIMSTY SIMSTY_

Border _BOR BOR_

Number Format _NF NF_

Report Color _RPTCOL RPTCOL_

Sub Field Separator ~&

BORepository.book Page 111 Friday, August 27, 2004 5:33 PM

Page 112: SAP BoRepository

112 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_OBJECT_KEYThis table stores the information between objects and their associated keys.

NOTE

This table was added with the BusinessObjects 6.5 release.

Notes:

Column name Value

OBJECT_ID Non-nullType: int10This is the object identifier. It is a foreign key to UNV_OBJECT.UNIVERSE_ID.

KEY_ID Non-nullType: int10This is the key identifier, the primary key.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

KEY_STATES Non-nullType: char(35)This is the key information. It stores the information necessary to disable or enable a key.

KEY_POSITION Non-nullType: int10This is the key position. It defines the position of the primary or foreign key in the table.

BORepository.book Page 112 Friday, August 27, 2004 5:33 PM

Page 113: SAP BoRepository

The Business Objects Repository Reference Guide 113

UNV_OBJ_COLUMN

UNV_OBJ_COLUMNThis table stores the list of universe objects and their associated columns.

NOTE

This table was added with the BusinessObjects 6.5 release.

Notes:

Column name Value

OBJECT_ID Non-nullType: int10This is the object identifier. It is a foreign key to UNV_OBJECT.OBJECT_ID.

COLUMN_ID Non-nullType: int10This is the column identifier. It is a foreign key to UNV_COLUMNS.TABLE_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

BORepository.book Page 113 Friday, August 27, 2004 5:33 PM

Page 114: SAP BoRepository

114 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_OBJ_TABThis table stores the list of universe objects and their associated tables.

Notes:

Column name Value

OBJECT_ID Non-nullType: int10This is the object identifier. It is a foreign key to UNV_JOIN_OBJECT.OBJECT_ID.

TABLE_ID Non-nullType: int10This is the table identifier. It is a foreign key to UNV_TABLE.TABLE_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_TABLE.UNIVERSE_ID and UNV_JOIN_OBJECT.UNIVERSE_ID.

BORepository.book Page 114 Friday, August 27, 2004 5:33 PM

Page 115: SAP BoRepository

The Business Objects Repository Reference Guide 115

UNV_PROPERTY

UNV_PROPERTYThis table stores information defining condition objects. Condition objects can be viewed by selecting the condition option at the bottom left of the Universe pane in Designer.

Column name Value

PROPERTY_ID Non-nullType: int10This is the property identifier. It is a foreign key to UNV_PROPERTY.PROPERTY.ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

CLASS_ID Non-nullType: int10This is the class identifier. It identifies the class containing the condition object. It is a foreign key to UNV_CLASS.CLASS_ID.

BORepository.book Page 115 Friday, August 27, 2004 5:33 PM

Page 116: SAP BoRepository

116 The Business Objects Repository Reference Guide

The Document and Universe Domains

Notes:

PRP_NAME Non-nullType: char(35)This is the condition object name.

PRP_HIDDEN Non-nullType: char(2)This defines whether the conditional object is hidden. Values are:Y = HiddenN = Not hidden

PRP_POSITION Non-nullType: int10This is the condition object display position. It defines the position in which the condition object is displayed within the class. Values are:0 = topmost position1 = immediately below topmost positionetc.

Column name Value

BORepository.book Page 116 Friday, August 27, 2004 5:33 PM

Page 117: SAP BoRepository

The Business Objects Repository Reference Guide 117

UNV_PROP_DATA

UNV_PROP_DATAThis table stores information describing condition objects.

Notes:

Column name Value

PROPERTY_ID Non-nullType: int10This is the condition object identifier. It is a foreign key to UNV_PROPERTY.PROPERTY_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_PROPERTY.UNIVERSE_ID.

PRP_DATATYPE Non-nullType: char(2)This is the condition object data type. Values are:H = Description textW = Where clause text

PRP_SLICE Non-nullType: int6 This is the data slice counter, initialized at 1. When the data slice exceeds 240 characters, a new slice is created and the data is stored in multiple slices.

PRP_SLICE Non-nullType: char(240)This is the data in the slice.

BORepository.book Page 117 Friday, August 27, 2004 5:33 PM

Page 118: SAP BoRepository

118 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_PROP_TABThis table stores a list of universe condition objects and their associated tables.

Notes:

Column name Value

PROPERTY_ID Non-nullType: int10This is the condition object identifier. It is a foreign key to UNV_PROPERTY.PROPERTY_ID.

TABLE_ID Non-nullType: int10This is the table identifier. It is a foreign key to UNV_TABLE.TABLE_ID.

UNIVERSE_ID Non-nullType: int10This the universe identifier. It is a foreign key to UNV_PROPERTY.UNIVERSE_ID and UNV_TABLE.UNIVERSE_ID.

BORepository.book Page 118 Friday, August 27, 2004 5:33 PM

Page 119: SAP BoRepository

The Business Objects Repository Reference Guide 119

UNV_RELATIONS

UNV_RELATIONSThis table stores relationships between linked universes.

Notes:

Column name Value

DERIV_UNV_ID Non-nullType: int10This is the derived universe identifier. The derived universe contains some or all of the components of the kernel universe, in addition to any components that may have been added directly to it.

BASIC_UNV_ID Non-nullType: int10This is the kernel universe identifier. The kernel universe represents a re-usable library of components.

BORepository.book Page 119 Friday, August 27, 2004 5:33 PM

Page 120: SAP BoRepository

120 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_TABLEThis table stores information defining universe tables.

Column name Value

TABLE_ID Non-nullType: int10This is the table identifier. It is a foreign key to UNV_TABLE.TABLE_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

TAB_NAME Non-nullType: char(110)This is the table name.

TAB_PROP Type: char(35)

TAB_SCROLL Type: int10

TAB_LEFT Non-nullType: int10This helps define the table’s position in the Structure pane in Designer.

TAB_TOP Non-nullType: int10This helps define the table’s position in the Structure pane in Designer.

TAB_RIGHT Non-nullType: int10This helps define the table’s position in the Structure pane in Designer.

BORepository.book Page 120 Friday, August 27, 2004 5:33 PM

Page 121: SAP BoRepository

The Business Objects Repository Reference Guide 121

UNV_TABLE

Notes:

TAB_BOTTOM Non-nullType: int10

TAB_WEIGHT Type: int10

ALIAS_TABLE Type: int10This defines whether the table is an alias table. Values are:Possible values are:-1 = Not an alias<UNV_TABLE.TABLE_ID> value of actual table

Column name Value

BORepository.book Page 121 Friday, August 27, 2004 5:33 PM

Page 122: SAP BoRepository

122 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_TABLE_DATAThis table stores the SQL of virtual tables.

NOTE

This table was added with the BusinessObjects 6.5 release.

Notes:

Column name Value

TABLE_ID Non-nullType: int10This is the table identifier. It is a foreign key to UNV_TABLE.TABLE_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

TAB_DATATYPE Non-nullType: char(2)This is the table type.

TAB_SLICE Non-nullType: int6This is the data slice counter, initialized at 1. When the data slice exceeds 240 characters, a new slice is created and the data is stored in multiple slices.

TAB_DATAVALUE Non-nullType: char(240)This is the data in the slice.

BORepository.book Page 122 Friday, August 27, 2004 5:33 PM

Page 123: SAP BoRepository

The Business Objects Repository Reference Guide 123

UNV_TAB_OBJ

UNV_TAB_OBJThis table stores the list of “aggregate-incompatible” associations between tables and objects (used for aggregate navigation).

Notes:

Column name Value

TABLE_ID Non-nullType: int10This is the table identifier. It is a foreign key to UNV_TABLE.TABLE_ID.

OBJECT_ID Non-nullType: int10This is the object identifier. It is a foreign key to UNV_JOIN_OBJECT.OBJECT_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_TABLE.UNIVERSE_ID and UNV_JOIN_OBJECT.UNIVERSE_ID.

BORepository.book Page 123 Friday, August 27, 2004 5:33 PM

Page 124: SAP BoRepository

124 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNV_TAB_PROPThis table stores the list of “aggregate-incompatible” associations between tables and condition objects (used for aggregate navigation).

Notes:

Column name Value

TABLE_ID Non-nullType: int10This is the table identifier. It is a foreign key to UNV_TABLE.TABLE_ID.

PROPERTY_ID Non-nullType: int10This is the condition object identifier. It is a foreign key to UNV_PROPERTY.PROPERTY_ID.

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_PROPERTY.UNIVERSE_ID and UNV_TABLE.UNIVERSE_ID.

BORepository.book Page 124 Friday, August 27, 2004 5:33 PM

Page 125: SAP BoRepository

The Business Objects Repository Reference Guide 125

UNV_UNIVERSE

UNV_UNIVERSEThis table stores information defining universes.

Column name Value

UNIVERSE_ID Non-nullType: int10This is the universe identifier, the primary key.

UNI_FILENAME Non-nullType: char(8)This is the universe file name. It is the name of the universe file itself, without the .unv extension.

UNI_LONGNAME Non-nullType: char(35)This is the universe display name. It is the name displayed in the Business Objects products for the universe, entered as the universe “name” parameter.

UNI_CONNEXION Non-nullType: int10This is the connection identifier. It is a foreign key to OBJ_M_CONNECTION.M_CNTN_N_ID.

UNI_VERSION Non-nullType: int10This is the universe file version number. It is incremented each time the universe is exported to the repository.

UNI_FIRSTAUTHOR Type: char(35)This is the universe creator identifier. It is the user ID of the user who first created the universe.

UNI_LASTAUTHOR Type: char(35)This is the universe last author identifier. It is the user ID of the user who last changed the universe.

BORepository.book Page 125 Friday, August 27, 2004 5:33 PM

Page 126: SAP BoRepository

126 The Business Objects Repository Reference Guide

The Document and Universe Domains

UNI_CREATEDATE Type: char(12)This is the universe creation date, in this format:YYYY/M/D

UNI_MODIFYDATE Type: char(12)This is the universe last modification date, in this format:YYYY/M/D

UNI_MAXTIME Non-nullType: int10This is the maximum query execution time. This limit is set in the Controls tab of the Universe Parameters dialog box in Designer.It is expressed as a number of seconds.

UNI_MAXLINES Non-nullType: int10This is the maximum query result size. It defines the maximum number of rows a query can retrieve from the database.This value is set in the Controls tab of the Universe Parameters dialog box in Designer.

UNI_ESTIMATE Type: int10This is the requested maximum time cost estimate after which a warning will appear when the query is launched. It applies only to an RDBMS which has a cost estimate feature based on time.This value is set in the Controls tab of the Universe Parameters dialog box in Designer.It is expressed as a number of seconds.

Column name Value

BORepository.book Page 126 Friday, August 27, 2004 5:33 PM

Page 127: SAP BoRepository

The Business Objects Repository Reference Guide 127

UNV_UNIVERSE

UNI_MAXCOLUMN Type: int6This is the maximum size of a long text object, in characters, that a user is authorized to retrieve from the database.The maximum authorized number of characters is 32000.

UNI_PREFERENCES Type: char(35)This is a coded field corresponding to check box status in the Controls and SQL tabs of the Universe Parameters dialog box in Designer. Each of eleven characters gives the value of a specific check box. Values are:Y = checkedN = uncheckedU = unchanged (checked, but default value unchanged)From left to right, the characters represent:position 1: SQL tab, “Allow use of subqueries”position 2: SQL tab, “Allow use of union, intersect and minus parameters”position 3: SQL tab, “Allow complex operands in Query Panel”position 4: SQL tab, “Multiple SQL statements for each context”position 5: SQL tab, “Allow selection of multiple contexts”position 6: SQL tab, “Cartesian products” (Y = Prevent, N = Warn)position 7: Controls tab, “Limit size of result set to”position 8: Controls tab, “Limit size of long text objects to”position 9: Controls tab, “Limit execution time to”position 10: Controls tab, “Warn if cost estimate exceeds”

Column name Value

BORepository.book Page 127 Friday, August 27, 2004 5:33 PM

Page 128: SAP BoRepository

128 The Business Objects Repository Reference Guide

The Document and Universe Domains

Notes:

UNI_PREFERENCES(continued)

position 11: SQL tab, “Multiple SQL statements for each measure”position 12-20: reserved.

UNI_CONVERSION Type: int1This is the universe repository version.

UNI_REPODOCID Type: int10

UNI_QUALIFIERS Type: char(35)

UNI_OWNERS Type: char(35)

Column name Value

BORepository.book Page 128 Friday, August 27, 2004 5:33 PM

Page 129: SAP BoRepository

The Business Objects Repository Reference Guide 129

UNV_UNIVERSE_DATA

UNV_UNIVERSE_DATAThis table stores universe description texts.

Notes:

Column name Value

UNIVERSE_ID Non-nullType: int10This is the universe identifier. It is a foreign key to UNV_UNIVERSE.UNIVERSE_ID.

UNI_DATATYPE Non-nullType: char(2)This is the data type. Values are:B = External strategyC = Comments (text entered in the Summary tab of the Universe Parameters dialog box in Designer)G = Text in labels displayed in Structure pane in DesignerH = Description text (entered in the Definition tab of the Universe Parameters dialog box in Designer)J = External join strategyO = Default ownerQ = Default qualifier (target database)

UNI_SLICE Non-nullType: int6This is the data slice counter, initialized at 1. When the data slice exceeds 240 characters, a new slice is created and the data is stored in multiple slices.

UNI_DATAVALUE Non-nullType: char(240)This is the data in the slice.

BORepository.book Page 129 Friday, August 27, 2004 5:33 PM

Page 130: SAP BoRepository

130 The Business Objects Repository Reference Guide

The Document and Universe Domains

BORepository.book Page 130 Friday, August 27, 2004 5:33 PM

Page 131: SAP BoRepository

The Business Objects Repository Reference Guide 131

Index

IndexAactor attributes 81actor definition 22aggregate-incompatible associations 123, 124

BBroadcast Agent

distribution list 21pending tasks 12task properties data 53

Ccategories

definition 30linked to documents 37

channelsdefinition 31properties data 53

classesdefinition 87description 89

columnsand associated objects 113definition 91description 90

condition objectsaggregate-incompatible associations with

tables 124and associated tables 118definition 115description 117

connectionsparameters 33strings 33

contextsdefinition 93description 94

Ddata providers

associated documents 38data sources

of documents 38data types per RDBMS 11date/time format 10derived universe 119document domain

description 55document properties

data providers 38documents

binary data 85data source 38description 41index 41last printed 36last sent to repository 36linked to categories 37properties data 53sent to users 27

Ggroups

definition 22link to resources 59linked to users or groups 28

Hhierarchies

definitions 96order of objects 97

IIDs 51

BORepository.book Page 131 Friday, August 27, 2004 5:33 PM

Page 132: SAP BoRepository

132 The Business Objects Repository Reference Guide

Index

Jjoins

expressions (displayed in List Mode) 102graphical definitions 98per context 95performance 103properties 100

Kkernel universe 119

Llinked universes 119

Mmagic ID 51

Oobjects

aggregate-incompatible associations with tables 123

and associated columns 113and associated tables 114definition 108description 104description text 110key 112order in hierarchies 97select clause text 110where clause text 110

Ppassword validity period 57predefined settings 22

RRDBMS data types 11repository

options set in Supervisor 45universe and document domain

descriptions 55

resourceslinks to users and groups 59

Ssecured connections

definition 33description 35

security command settings 59

Ttable

description 122tables

aggregate-incompatible associations with condition objects 124

aggregate-incompatible associations with objects 123

and associated condition objects 118and associated objects 114definition 120

timestamps 62

Uunique identifiers 51universe domain

description 55universes

default owner 129default qualifier (target database) 129definition 125definitions 75description text 80, 129external strategies 129incremental imports 86linked (kernel and derived) 119overloads (modified parameters per user or

group) 68, 72Structure pane labels 129

usersattributes 81definition 22documents sent to 27link to resources 59

BORepository.book Page 132 Friday, August 27, 2004 5:33 PM