Professional Documents
Culture Documents
Applies to:
SAP Business Intelligence (BI 7.0). For more information, visit the EDW homepage
Summary
This article will give detailed step by step procedures to load master data from flatfile. This article explains loading procedure for both attribute and text using BI 7.0 Author: Indrashis Bose
th
Company: Accenture Services Pvt Ltd (Mumbai/India) Created on: 30 August, 2011
Author Bio
Indrashis Bose is a SAP BI consultant currently working with Accenture Services Pvt Ltd in Mumbai, India. He is working in SAP BI for the last one year and he has experiences in development/support activities. He is presently working in a support project and enriching his experiences in variouis support related issues.
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
Table of Contents
Introduction: ........................................................................................................................................................ 3 Loading data upto PSA by datasource and infopackage: .................................................................................. 3 Loading Master Data Attribute: ....................................................................................................................... 3 Loading Master Data Text: .............................................................................................................................. 8 Creating Transformations and DTPs: ................................................................................................................. 8 Loading Data to Infoobject and Activating Data: .............................................................................................. 12 Related Contents .............................................................................................................................................. 14 Disclaimer and Liability Notice .......................................................................................................................... 15
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
Introduction:
Let us first describe the scenario. Here we have one infoobject Employee (Z_EMPLOY) for which we have to load the master data. This infoobject contains Employee information. The master data is Employee ID and the attributes are currency key, Employee Annual Salary, Employee Category, Employee Date of Birth, Employee Country, Employee Designation and Employee Date of Joining.
And this infoobject contains text where we will load employee names. Now for loading we have two CSV files. One contains master data attributes and other contains master data texts. Let us now see the detailed procedure for loading master data.
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
Then right click on any application component and select Create Datasource. You can create your own application component and create datasource under that.
You will get a screen like this. Put your datasource technical name. Choose source system as FLATFILE and Data Type as Master Data Attributes. Then click on continue.
Then your datasource will be created. Give datasource description in the General tab.
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
Then go to Extraction tab. Here you need to specify some fields. Give Delta process = Full upload and Direct Access = Allowed. Adapter is Load Text-Type File from local workstation. Then give the path to your CSV file for master data attributes. As in my file there are header row, so I have put header rows to be ignored = 1. If you do not have header row in your CSV file no need to put it as 1. Then put Data Format = Separated with Separator and Data Separator = , as the file is CSV file.
Then go to proposal tab and click on Load Example Data. You can check from here that whether data are being loaded or not.
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
Then go to Fields Tab. There you can see those fields which are present in your flatfile. Then in the infoobject section enter the corresponding infoobjects that you have.
Then activate your datasource first and then go to Preview tab. There click on Read Preview Data and check whether your data are coming properly or not.
Now your datasource is created. You have to now load data actually upto PSA. You can now see your datasource under your application component. Right click on the datasource and click on Create Infopackage.
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
You will get a pop up. There put your infopackage description and click on save.
Then your infopackage will be created. You need to execute this infopackage to load data from flatfile to PSA. To run that infopackage, go to schedule tab and click on Start.
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
After completion of loading, go to infopackage monitor and check all data are loaded or not.
Now the data loading upto PSA is complete for master data attribute.
Loading Master Data Text: Repeat the whole procedure for master data text. Only when creating the datasource, select Data Type as Master Data Text. Repeat everything and load data upto PSA.
You will get a pop up. Put Target Object Type as InfoObject, subtype as Attribute and give the infoobject name. Then click on continue.
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
Your transformation will be created. You need to map the fields between source and target. Then activate the transformation.
Upon activation, you can see the transformation under your datasource.
Then again right click on the datasource and click on Create Data Transfer Process.
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
You will get a pop up. Check target and source of the DTP and click on continue.
Your DTP will be created. Change the Extraction Mode = Full and activate the DTP.
Now, we have to create transformation and DTP for loading master data text. For that same procedures should be followed. Right click on the data source for text and click on Create Transformation. Then give subtype as Text and click on continue.
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
Follow the same procedure and create the DTP. Change extraction mode to Full and activate it.
Now all transformations and DTPs are created and ready to load the data. You can see all transformations and DTPs if you drilldown your datasources.
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
Now from DTP monitor screen check whether the load is successful and every data is loaded.
Now the loading is done for master data attribute. Follow the same procedure for master data text and execute that DTP and check whether it is successful.
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
Now our Master Data loading is done totally. For activating master data right click on the infoobject and click on Activate Master Data.
When everything is completed, check the master data in the nfoobject. For that right click on the infoobject and click on Maintain master data.
Here you can see the master data attributes and as well as texts. That means our master data loading is totally successful.
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0
Related Contents
Updating Master Data from a Flat File Master Data Types in SAP BW Master Data in SAP BW For more information, visit the EDW homepage
Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0