Vous êtes sur la page 1sur 15

Steps to Create Infoset using InfoObject and DSO

Applies to:
This article applies to SAP_BW 3.X and SAP_BW 7.0. For more information, visit the EDW homepage

Summary
This article explains how to create Infoset using InfoObject (Characteristic master data) and DSO which also explains steps to create InfoObject (Characteristic with master data) and DSO. Author: K Venu Gopal
th

Company: YASH Technologies Pvt Ltd Created on: 25 July 2011

Author Bio
K Venu Gopal is presently working for YASH Technologies Pvt Ltd, India as SAP BI ABAP consultant.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 1

Steps to Create Infoset using InfoObject and DSO

Table of Contents
Introduction: ........................................................................................................................................................ 3 Requirement: ...................................................................................................................................................... 3 Step 1: Creating InfoObject (Characteristics with master data) ...................................................................... 3 Step 2: Steps to create Data Store Object. ..................................................................................................... 7 Step 3: Steps to create Infoset using InfoObject (characteristic master data) and DSO. ............................. 10 Step 4: Building Query on Infoset. ................................................................................................................ 12 Related Content ................................................................................................................................................ 14 Disclaimer and Liability Notice .......................................................................................................................... 15

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 2

Steps to Create Infoset using InfoObject and DSO

Introduction:
Definition: Infoset is described as a specific kind of InfoProvider which do not store data physically.Infoset collects data from the tables of InfoProviders used to build it.InfoSet describes data sources that are defined as a rule of join on DataStore objects, standard InfoCubes and/or InfoObjects (characteristics with master data).
Note: A join can contain objects of the same object type, or objects of different object types. We can include individual objects in a join condition as many times as we want. Default join condition is inner join, we can also use left outer join by right clicking on choosing left outer join from the context menu.

Requirement:
Some times we come across the scenarios where we have to build a report on two/more different data targets.In this cases we can use Infosets which joins two/more data targets,and we can bulid Query on Infoset,which gets data from tables of Infoproviders used to build it(Infoset). Now we will create an Infoset on both custom DSO and InfoObjects (characteristics with master data).Prerequisites to create Infoset is at least two data targets should be ready. The following are the steps to be followed to create Infoset. 1) Creating InfoObject (Characteristics with master data). 2) Creating a DSO. 3) Creating an Infoset using the above InfoObject and DSO. 4) Creating a Query using this Infoset. Step 1: Creating InfoObject (Characteristics with master data) Goto transaction RSA1 and select Infoarea and choose InfoObject catalog, right click on it and choose Create InfoObject from context menu.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 3

Steps to Create Infoset using InfoObject and DSO

Enter Technical Name and Description and click on continue

Give the technical details like data type, length in General tab.

In Master data/texts tab check the indicator with master data.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 4

Steps to Create Infoset using InfoObject and DSO

In Attributes tab fill the attributes for the characteristic.

Now save & activate the characteristic InfoObject. Next to load master data create transformation.

Give InfoObject name, source details and click on continue.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 5

Steps to Create Infoset using InfoObject and DSO

Now map the corresponding source fields with the corresponding InfoObjects of target and activate the transformation.

To create a DTP right click on master data attribute and context menu choose create DTP.

Save and activate the DTP and click on execute button.

After successful completion of loading data, activate the master data by right clicking on InfoObject (characteristic master data) and from context menu choose activate master data.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 6

Steps to Create Infoset using InfoObject and DSO

Step 2: Steps to create Data Store Object. Right click on Infoarea and choose Create Data Store Object.

Give the DSO name and description for it.

Now we will add the key fields of DSO either by direct input method or drag & drop method. Right click on Key fields and choose InfoObject direct Input method.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 7

Steps to Create Infoset using InfoObject and DSO

Note: Fields can be added either by Drag & Drop method or by using Direct Input Method

Here we go for InfoObject direct Input method.Right click on key fields/data fields and from context window choose InfoObject Direct Input.In the pop up window give the InfoObject name and choose continue.

In the same way add InfoObjects to Data part of DSO. After adding InfoObjects Save & Activate the DSO. Now we will Create Transformations. Right click on DSO created and form context menu choose Create Transformation.

Enter the target DSO name and give the data source name for DSO and fill the source system details.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 8

Steps to Create Infoset using InfoObject and DSO

In the transformation screen map the corresponding InfoObjects with the corresponding fields of data source.

Activate the Transformation and to create DTP right click on DSO/DTP from context menu choose Create DTP.

Give the data source name and source system name.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 9

Steps to Create Infoset using InfoObject and DSO

Now Save & Activate the DTP and Execute the DTP.

Now two Data targets are ready we can start creating Infoset on DSO and InfoObject (characteristic master data). Following are the steps to create Infoset.

Step 3: Steps to create Infoset using InfoObject (characteristic master data) and DSO. Right click on the Infoarea and choose create Infoset from context menu.

Give the name for Infoset and description of Infoset; also give the name of InfoProvider to start with. Here we are starting with DSO (as we have created DSO in the beginning).

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 10

Steps to Create Infoset using InfoObject and DSO

Now we can see the DSO in right pane as shown below. Click on InfoObject and choose the second target for Infoset.

Join the InfoObjects (fields) of two targets i.e. DSO & InfoObject.

Now save and activate the Infoset. We have successfully created Infoset.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 11

Steps to Create Infoset using InfoObject and DSO

Step 4: Building Query on Infoset. Open Infoset in BEx query designer by clicking on create query button.

Now give the Infoset details and click on open

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 12

Steps to Create Infoset using InfoObject and DSO

Build a query according to the requirement and save the query. Open the query in BEx analyzer and check the result.

We are ready with Query, run the query in BEx analyzer and we can see the result.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 13

Steps to Create Infoset using InfoObject and DSO

Related Content
http://help.sap.com Data Modeling: Infoset MultiProvider Vs Infoset For more information visit: Enterprise Data Warehousing

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 14

Steps to Create Infoset using InfoObject and DSO

Disclaimer and Liability Notice


This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.

SAP COMMUNITY NETWORK 2011 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com 15

Vous aimerez peut-être aussi