Sei sulla pagina 1di 14

DATA STORE OBJECT (DSO)

PRESENTED BY BY

MANIKANTA
_
WHAT IS A DSO ?
• Data Store Object (DSO) is a two-dimensional storage object.
• Data is stored in detailed level.
• By default DSO has “OVER WRITE” functionality.
• Detailed level of reporting can be obtained from DSO’s.
• DSO contains “Key fields” & “Data fields”.
Key fields – This field contains unique characteristics like “customer id” or “material
id” .
Data fields – This field can have key figures & characteristics like “customer name”,
“sales quantity”, “material name”, “sales order” etc…
• Data in DSO is stored in transparent flat database tables.
TYPES OF DSO’S

There are three types of DSO’s


Standard DSO
Write Optimized DSO
Direct Update DSO

TYPE OF DSO STRUCTURE SUPPPLY OF SID GENERATION


DATA
STANDARD DSO Consists of 3 From data transfer Yes
tables process
New table
Active table
Change log table

WRITE OPTIMIZED Contains active From data transfer No


DSO table only process
DIRECT UPDATE Contains active From application No
DSO table only programming
STANDARD DSO :-
• Standard DSO contains three tables in it.
• New Table – Holds the data that are to be updated and not yet activated. After activation
all the data in this table is deleted if all the requests in the table is activated.
“ /BIC/A DSO NAME 40 ” is the naming convention of New Data Table.
• Active Table - This table contains the active data that has been activated after new data
table.
“ /BIC/A DSO NAME 00” is the naming convention of Active Data Table.
• Change Log Table – This table contains the same data as Active data table at first. When
we modify the existing data or given new data as another record , the changes can be
seen in this table with different record modes.
“/BIC/B 10 DIGIT NUMBER” is the naming convention of Change Log Table.
0 RECORD MODE
• When activation is done over the Standard DSO, SAP Netweaver BW adds the
0RECORDMODE Info Object to the definition of the Standard DSO and to all
the three tables (New, Change & Active tables).
• This Info object is used internally by SAP Netweaver BW.
• Delta is a extractor feature, which refers to changes (new/modified entries).
• Record mode is used in Delta process.
• The record mode describes the type of change that a data record contains.
RECORD MODE MEANING

BLANK The record provides an “after image”


X The record provides a “ before image”
A The record provides an “additive image”
D The record must be “deleted”
R The record provides a “reverse image”
N The record provides a “new image”
CREATING STANDARD DSO

Step 1 : Go to transaction code RSA1


Click the ok button

STEP 2: 1.Navigate to modeling tab->info provider.


2.Right click on info area.
3.click on “create data store object” from the context menu.
SETTINGS IN DSO
• Type of data store object : This option can be used to change the type of
DSO. by default, standard DSO would be chosen. this can be changed to write
optimized or Direct update DSO.
• SID generation upon activation : Generated the surrogate id (SID) for each
master data value, when this option is checked.
• Unique data records:  This option can be used when the DSO will never hold
duplicate values.
• set quality status to “ok” automatically:  This setting sets the quality status
after the data loading has been completed.
• Activate data automatically: DSO activation is automated by using this
setting.
• Update data automatically: Data loaded in the dso can be automatically
• To create DSO add all your Primary keys under “Key Field” and give all your
remaining characteristic and key figures under Data Field.
• Where Key fields is used to make the records unique, other fields can be
included as data fields in DSO.
• Then Activate the DSO.
CREATION OF DATA SOURCE

• Now we need to create data source.


• To create, select your application component under source system and create your
data source by selecting the data source type.
• While creating your data source under each tab fill the required fields
CREATE INFO PACKAGE
• To Trigger Info package, select the Data Source and right click upon that we
will get Few options. Select and click on Create Info Package.
• After going to the info package screen under Schedule tab click on Start
button.
• Now the data will be requested and the monitor the data which is in PAS
table.
CREATE TRANSFORMATION
• Transformation object specifies the rules how the source object fields should
map to data target fields. There are multiple transformation types, in this we
are showing DIRECT ASSIGNMENT as example.
• To create Transformation, select the Data source and right click on it > then
click on create Transformation
• Mapping between source and target will be like as shown in the below figure .
• After proper mapping just activate it.
DATA TRANSFER PROCESS
• DTP can read data from PSA or Data target.
• To create DTP Same as like info package and Transformation, right click on
the data source and click on create DTP.
• First activate the DTP to enable the Execute button, after the activation click
on Execute Button.
• After clicking on click the Execute option. Data gets processed
asynchronously in background process.
• Click on Monitor icon to open the MONITOR DTP page, this will list the status
and duration and breakdown of all requesting process steps.

Potrebbero piacerti anche