Entering content frameBackground documentation Structural Changes in a Logical DB Locate the document in its SAP Library structure

Background

There should be as few changes as possible made to a logical database. Those that are made should be upwards compatible. This means that tables may be extended to include new fields and that new tables may be incorporated into the tree in such a way that the existing structure does not get changed but forms a subset of the new structure.

When you use a logical database to create a new InfoSet, the structure of the logical database (how its tables are arranged in the tree) is read once from the corresponding system tables and stored in the InfoSet. This structure is accessed whenever relationships between tables are analyzed, for example, when query reports are generated. Each time an InfoSet is generated or the InfoSet maintenance is called, the structure of the logical database is read again and compared with the structure that is stored in the InfoSet. The InfoSet can subsequently be adjusted to match any modified structures.

Straightforward cases

Changes to individual tables (for example new fields, deleted fields, changes to the technical properties of fields) are usually straightforward to handle, since they are easily recognized and evaluated. If necessary, the appropriate warnings and error messages are shown when the generation is taking place.

Complicated cases

There are, however, fewer options if you need to adjust an InfoSet to a change that has been made to the structure of the logical database. As long as the change to the structure is nothing more complex than the insertion of a new table in the tree, the process to adjust the InfoSet is fairly simple, and the system does not display any messages telling you what steps it has taken.

In the following, more complex cases, a message is displayed and the InfoSet must be checked and possibly revised.

These kinds of changes can be very critical. You can no longer be sure that the queries using the InfoSet still function exactly as they used to. You therefore have to checked and modify these queries wherever necessary.

 

 

 

Leaving content frame