Sunteți pe pagina 1din 5

Creating InfoSets

Use:
 InfoSets allows reporting on several InfoProviders by combining data from infoproviders by join
condition.
 An InfoSet can have following join conditions
 Inner Join
 Left Outer Join
 Temporal Join

Procedure:
Inner Join
1. You are in the Modeling functional area of the Data Warehousing Workbench.(Tcode: RSA1)
2. In the context menu of you InfoArea, Select Create InfoSet
3. Enter Details in next screen:

Select start with DSO and enter the DSO you created for Sales Transaction.

4. Now Selct InfoObjects


Select the Material InfoObject you created.

Now add the links by selecting the fields (common fields on which you want to create join) and
dragging.
5. Activate the InfoSet
6. Inner join will bring records that have common material numbers in DSO and infoobject.

Left Outer Join:


1. You are in the Modeling functional area of the Data Warehousing Workbench.(Tcode: RSA1)
2. In the context menu of you InfoArea, Select Create InfoSet
3. Enter Details in next screen:
Start with InfoObject Material
4. Now Select DSO

Select the Sales Transaction DSO


5. Now right Click on Material and select join type -> Left outer Join
6. Activate the InfoSet
7. Left outser join will bring all the material numbers from infoobject and their corresponding other
fields from DSO. In case particular material number is not present in the DSO but present in
infoobject, that material will still be fetched but fields fetched from DSO against it would be
blank. If material number is present in DSO but not in infoobject, it will not bring records for
such material number.

Temporal Join:
1. Create an InfoSet in your InfoArea
2. Start with InfoObject Sales Office and add DSO Sales Transactions
3. Since the InfoObject is time dependent, we have “Date to” and “Date From”
4. For fields of an infoprovider you can set key date indicator. If it is set, field acts as temporal
operand. In temporal join they influence the result set.
5. In below case only those records will be populated at the output of the infoset in which key date
(of DSO) falls in the range of Valid from and Valid to (of infoobject). Key date falling outside and
their corresponding records will be ignored in the output.
Result:
We have created InfoSets with different joins:

1. Inner join will bring records that have common material numbers in DSO and infoobject.
2. Left outser join will bring all the material numbers from infoobject and thiere corresponding
other fields from DSO. In case particular material number is not present in the DSO but present
in infoobject, that material will still be fetched but fields fetched from DSO against it would be
blank. If material number is present in DSO but not in infoobject, it will not bring records for
such material number.
3. Temporal join will bring records where key date (of DSO) falls in the range of Valid from and Valid
to (of infoobject). Key date falling outside and corresponding records will be ignored in the
output.

S-ar putea să vă placă și