Classic DataStore Object Vs Advanced DataStore Object PDF
Classic DataStore Object Vs Advanced DataStore Object PDF
There have been many architecture level changes in SAP BW/4HANA. One of this
change are data modeling based.
In this article we will walk through the various features and capabilities of ADSOs,
as well as explore how these capabilities help to optimize various tasks in your SAP
BW environment.
At first, we will talk about the classic DSO and his features. After that I will present
you the differences between the classic DSO and the new implemented ADSO.
DSO (DATA STORE OBJECT)
What is DSO?
A DSO is a two-dimensional storage unit which mainly stores transaction data or
master data on a lowest granularity. The data is stored at detailed level.
Types of DSO
When creating a DSO, you must choose the type:
When we create a DSO, the system sets a system ID of ‘SIDs Generation upon
Activation ‘by default. This option can be found in the edit mode settings of a DSO.
If we checked this option, the system will check the SID values for all the
characteristics in the DSO. If a SID value for the characteristic doesn’t exist, the
system will then generate the SIDs. If the SIDs are generated during the Activation,
this process will help the system to improve the runtime performance of a query.
In this way the system doesn’t have to generate SID’s at query runtime. SID values
are always stored in SID table of a InfoObject. Using this SID, the attributes and
texts of a master data InfoObject is accessed. The SID table is connected to the
associated master data tables via the char key.
The following Table shows you the properties of the different DSO types and
architecture:
ADSO (ADVANCED DATA STORE OBJECT)
The Advanced DSO manages to replace all these objects.
Acquisition Layer
In this layer you can create objects that cover the “write-optimized” use cases for
classic DSO. It is divided into 3 other layers:
1. Data Acquisition Layer
Corresponds to a persistent staging area (PSA) and acts as an
incoming storage area in BW for data from source systems
No use of Active Table, so activation is not needed
Requests will be loaded into and extracted from the inbound table
All the records in the Inbound Table contain a Request Transaction
Number (TSN), Data packet, and Data record number
The inbound (Old name = New Data / Activation Queue Table) table is
accessed to execute a BEx query and for extraction
Data doesn’t get aggregated
2. Corporate memory with compression feature
Requests will still be loaded into the inbound table
All characteristic fields are marked as key fields in the Active Table,
which is a necessary requirement to make it suitable for planning.
Only have a Summation option
PROCESS OF SID GENERATION HIGHLY OPTIMIZED FOR HANA
With the goal to optimize the performance, in BW/4HANA it is possible to set a flag
not only on InfoProvider level, but individually per characteristic of the DSO. The
data integrity check then is only executed on the selected characteristic.
InfoObjects/Fields
As a new feature, you can use fields with simple data types instead of InfoObject.
To do so, go to the Details tab and click the Add Field button. Under Identify, you
can specify in the “With” dropdown menu whether you want to use an InfoObject
or a Field for the definition.
In BW the user can choose whether he is modeling with InfoObjects or fields.
Modelling with InfoObjects brings extra effort, but also brings a lot of advantages.
Before you choose one of this option, you should consider the advantages and the
disadvantages of both of this modeling options.
In the following I will present you a part of the advantages and disadvantages
when you choose the option of modeling with fields:
ADVANTAGES WHEN USING FIELDS:
If the query contains fields, it can be processed key-based in SAP HANA
Using fields can enhance the flexibility and range of the data warehouse,
when the data volume is small.
DISADVANTAGES WHEN USING FIELDS
The services for InfoObjects (attributes and hierarchies for example) are not
available for fields.
Validity characteristics for DataStore objects (advanced) with non-
cumulative key figures must be InfoObjects.
InfoObject attributes must be InfoObjects
A field-based key figure cannot be an exception aggregation
Planning queries on DataStore objects (advanced) are only supported with
fields as read-only
If fields are used in the query, the InfoProviders can only be read
sequentially
In the query on a CompositeProvider, not all data types for fields are
supported (ex. maximum length for fields is 20 characters)