Introduction To SAP BW
Introduction To SAP BW
Creating InfoArea
Go to transaction code RSA1. Click on ‘InfoProviders’ below ‘Modelling’. Right click icon
and click ‘Create InfoArea”.
Following the same procedure, we create an InfoObject Catalog to hold key figures. This
time, make sure that the option Key figure is selected
.
Don’t forget to activate.
Enter an attribute name IO_MATNM, and then click to create the attribute.
Note
Saving an InfoObject means saving its properties, or meta-data. You have not yet created its
physical database objects, such as tables. Activating an InfoObject will create the relevant
database objects.
Select ‘exclusively attribute’ means allow to select lowercase letter. Lowercase letter means
no master data tables, text tables, or another level of attributes underneath are allowed
Repeat the preceding steps to create the other characteristics listed in Table 1.1.
Select Amount in the Type/data type, select USD as the Fixed currency in the block Currency/unit of
measure, and then click to check the key figure. If it is valid, click to activate the key figure.
Repeat the preceding steps to create other key figures listed in Table 1.2.
Create Infocube
Select Data targets under Modelling in the left panel. In the right panel, right-click
InfoArea – demo and then select Create InfoCube.
Note
An InfoCube can be a basic cube, a multi-cube, an SAP remote cube, or a general remote
cube. A basic cube has a fact table and associated dimension tables, and it contains data.
We are building a basic cube.
Click on icon , and put your cursor in info object catalogue that you want to add in
dimension Customer. Info object customer is in info object catalogue ZIC_TEST.
Click to continue.
Drag and drop info object Customer ID to dimension Dim Customer.
Add new dimension. Right click on ‘Dimension’ and choose ‘Create New Dimensions’.
Then, add infoobject to dimension ‘Time’. Right click on dimension ‘Time’ and choose
‘InfoObject Direct Input’.
Click ‘Create’ .
Give Hierarchy name and description.
1. Flat File
Select Source systems under Modelling in the left panel. In the right panel, right-click Source
systems icon and select Create.
Select InfoSources under Modelling in the left panel. In the right panel, right-click
InfoSources icon and select Create application component.
Go to ‘general Info.’ tab, in General Info.’ tab, give short, medium, and long description.
Go to ‘Extraction’ tab. Extraction tab – provides details of file to be extracted.
In a Data source, we need to mention 2 details:
- Name of Flat File (ASCII or CSV) to be uploaded
- Structure (Layout) of the input file, mentioning the fields.
Select Data Format as – “Separated with Separator (for ex CSV)”. Enter the Data
Separator as ‘ , ‘.
Go to ‘Proposal’ tab – provides a quick view of the data in the flat file to be uploaded. Click
on the ‘Load Example’ tab. The details can be viewed in the below pane.
Fields tab – provides details of all fields used to create a data structure, to map with the
fields from Source file.
Fill InfoObject name and press ‘Enter’.
Click ‘copy’.
Field, descrition, Data Type Lngth , etc, will be copied from info object automatically.
Click Add to add other fields. You will get the following screen.
Preview tab – gives a preview of data on flat file loaded onto a structure. Click on “Read
Preview Data”.
Create InfoPackage
Note
An infoPackage helps to transport data from the Data Source structure into the PSA
tables. (This is similiar to transfer of data from work area to internal tables in R/3
ABAP).
For the target of transformation, enter object type ‘InfoObject’ , subtype ‘Atrributes’
and enter name of the InfoObject that we have created.
For the source of transformation, enter Object type, Data Source and Source System
that we have created.
Click
If we find message :
Do this step :
Go to ‘Master Data’ tab in InfoObject ZIO_MAT. Scroll down until you find column
‘InfoArea’. Fill ‘InfoArea’ name.
Back to ‘Create Transformation Process’. After that, you will see the following screen :
Data Transfer Process
Data transfer process s a process used to transfer data from PSA tables, into data
targets , based on Transformation ( mapping ) rules.
Click on Ok .
Click ‘Yes’.
Step 1
Click DataSources > Test Application Component > Data source for Material Number >
Info Package for Data Source > Data Flow Upwards > ZDS_MAT/ZSS_FF -> ZIO_MAT.
Step 2
Click InfoProvider > Test InfoArea > Material Number. Right click on Material number
and choose ‘Maintain Master Data’.