-
SAP BI training notes
Posted on October 21st, 2008 1 commentRecently, I attended a 5 day training programme on SAP BI 7.0 (It was good). Thought I will share my training notes here.
I am not sure if these notes will help you any. This is mainly for my own use. In the process, if it helps you, I will be happy.
And also, I would be happy to receive your comments on it too.
Morning Day 1
- BW history ( 2.1 -> 3.0 -> 3.1 -> 3.5 -> BI 7.0 and 7.1 now)
- Mainly deployed where R/3 is used
- In R/3 database tables are of 2 types : Master and transaction
- Infoobjects – characteristic IO is for master data
- Infoobjects – Key figure IO is for trans data
- RSA 1 – code for Data warehousing workbench
- RSA6 – to check where DS is created
- RSA3 – extract checker
Noon Day 1
- Architecture overview
- PSA is a temp storage area
- Loading to PSA is mandatory in 7.0
- BEx is for excel based reporting
- Web Application Designer – WAD is for web based reporting
- Mobile Intelligence is also used but not much
- IF R/3 is customized, SAP BI 7.0 also would need customization
- SAP provided content is called business content
- Activate BI content, to create definitions in the database
- Transaction data is stored in infocubes and each field is known as infoobject
- Key figure – facts
- Characterstics – dimensional attributes
- InfoArea is a folder where infoobject or infocube is stored
- Infocatalog – stores characteristics or key figures
- Steps
- Create info area
- Create info catalog (contains chars and key figures IOs)
- Create IO – chars and key figures
- Time and unit are mandatory dimensions
Morning Day 2
- To track time, data is stored in T tables. Else in P tables
- Master data is NOT in the dimension table
- SID links characteristic to the dimension table
- Modelling techniques
- ERM
- MDM – multi dim model
- By default 3 dimensions are created in SAP BI – Time, unit and data package
- Maximum 16 dimensions including 3 above. (net it is 13)
- Max 248 chars in one dimension
Noon Day 2
- P is only attributes except name
- H table is for hierarchy
- T table is for text
- Mapping is done in a transformation
- Infopackage – pulls data from a file and into PSA
- DTP – extract from PSA, transform and then load to Infoobjects and Infoproviders
- Flat file support is only for CSV & ASCII
- Steps in loading a cube
- Create info area
- Create info catalog
- Create info object – characters
- Create info object – key figures
- Activate them all
- Create the Datasource
- Specify source and edit / copy the fields (Ctrl Y for copy)
- Create infopackage to load data into PSA
- Go to info provider and select “Insert Characteristic as infoprovider”
- Choose the characteristic given in the Infoobject
- Create transformation
- Create DTP
- Execute Infopackage and DTP job requests
The flow of data into Infocube
Morning Day 3
- R/3 datasource has 2 structures – extract and transfer
- Extract structure – need to specify the source. It will show all the fields in the source
- Transfer structure -
- Length of R/3 sources – 18 minimum
- RSA6 – to check where DS is created
- RSA3 – extract checker
- Datasources of 3.X are different from 7.0
- Steps loading from R/3
- Create infoobject
- In Info area, insert it as char
- Use RSO2 to create DS
- Select trans, master or text option and give it a name (like DS_MAT_ATR)
- Select the application component (R/3 -> MM -> MMIO)
- Enter short, medium and long description
- Enter table name (like MARA)
- Click on save
- From the window that pops up, select local object
- Select the needed fields and hide unwanted and click on save
- Datasource is created
- Go to main window and hit RSA1
- Go to Datasources tab and under right infoarea (like Material Management MM-IO), right click and select replicate metadata
- Select as Datasource (and not 3.x option)
- Select background
- You will get the DS here
- Make changes to the DS if needed and activate
- Create infopackage and make necessary changes
- Start job
Noon Day 3
- DTP is available in 7.0 onwards only.
- Update rules is the name for transformations in 3.5
- RSA5- to see SAP predefined datasources from BUsiness content
- In standard installation, first go to RSA1 – > BI Content, select cube and say In data flow before and then hit RSA5 and activate all required datasources
- DSO – data store object
- ODS in 3.X is now known as DSO
Morning Day 4
- ODS types – standard and transactional
- DSO types – standard, write optimized and direct update
- DSO supports delta. Cube has no delta support.
- DSO stores transactional whereas cube stores summarized
- DSO is for consolidation & formalization of data
- You can report using the DSO too
- DSO has overwrite funtionality. Cube has only summarized.
- Full upload is taken from Active data
- Delta upload is taken from change log
- Active data, change log, activation queue – see manual page 268
- X value in the change log means before image. Blank means after image
Noon day 4
- Loading data to Infocube using DSO
- Create datasource
- Import the structure from flat file and copy the template and activate
- Create the infopackage to load data to PSA
- Go to infoprovider
- Assuming that the infoarea and infocatalog for char and key are already done
- Create DSO
- Drag and drop key and data fields from the infoobject catalogs and activate
- Create the transformation with the target as DSO and source as the Datasource (of flat file)
- Create DTP
- Create infocube
- Create dimensions
- Drag and drop characteristics from infoobject catalog
- Drag and drop key figures from IO catalog
- Activate
- Create transformation, this time with target as Infocube and source as DSO
- Create DTP
- Execute infopackage job and check if flat file data is loaded to PSA
- Execute DTP to load DSO
- Right click on DSO and select manage

- You will see the DTP job there
- Click on contents and see if new data is there
- Go back to requests, select the request and activate it
- A new window will appear. Select the request and start the job
- Now check the data in the content tab in active data
- Execute DTP for infocube
- Right click on infocube and select Display data.
- Check columns needed and if needed, click on Use DB aggregation
- See if data is loaded.
- Now for the delta load to Infocube
- Repeat all steps above
- Now go and change key figure data in the flat file
- Execute Infopackage for loading PSA
- Execute DTP to load DSO
- Right click on DSO and select manage
- Activate the new request
- Check the changed log
- Execute DTP to load infocube
- Check the data in infocube and see if incremental is done

Day 4 noon
- Virtualprovider overview
- Virtualprovider creation steps
- Right click on Infoarea and select create Virtualprovider
- Give the name and if you want to copy details from a cube, specify it. Activate it
- Go to datasources and create a datasource
- In the extraction tab, say Direct access allowed
- Specify the flat file and copy template and activate it
- Go to Virtual provider and create transformation and DTP
- Activate but DO NOT EXECUTE as it is not needed
- Infopackage creation for datasource is not needed
- Right click on virtual provider and select Activate direct access
- Right click on Virtualprovider and select display data
- RDA
Day 5
- Aggregates – used to improve query performance
- Steps to create an aggregate
- Right click on infocube and choose Maintain aggregate
- Select Create by yourself
- Create new aggregate or hit F5
- Drag and drop the characteristics for aggregation
- If you want to choose Fixed values, select it by right clicking on Characteristic
- Click on Aggregate and activate it
- Start the job (immediate or later)
- Click on the Spectacle symbol to view data or hit SHIFT+F9

- Process chains – used to automate loading
- Process chains work only with files present on Application server and not with local workstation files
- Go to transaction window and hit RSPC
- Click on create, enter name
- Create a start process by clicking on variant and hit OK
- Click on Change selection, choose immediate and save
- Save again and go back
- Click on Continue
- Go to process types
- Insert the Infopackage for master data datasource
- Insert the DTP for masterdata
- If all masterdata is done, create an AND
- Next, insert the infopackage for transaction datasource
- Insert DTP for DSO
- Insert Activate datastore object from data target administration
- Insert DTP for infocube
- Click on schedule and execute
- Click on logs and see execution
- Refresh to see status

- Creation of master data, cube and loading from scratch
- Create Infoarea
- Create Infocatalog for char
- Create Infocatalog for Key fig
- Create char Infoobjects, mention data type and length
- Assign attributes to master object
- Create key fig infoobjects, assign unit and currency (0Currency, 0Unit, etc are default)
- Go to datasources
- Create datasources, specify source, (for Process chains, the source has to be on application server), copy template in fields tab (use CTRL Y) and activate
- Preview data
- Create infopackage and activate
- Repeat for all master data and transaction data
- Go to infoprovider
- For masterdata, right click on infoarea and select insert char as infoprovider
- Create transformation and DTP
- For transaction data, create DSO
- Create transformation and DTP
- Create infocube
- Create transformation and DTP
- See Process chain picture above for execution flow
- Infoset creation
- Right click on Infoarea and select create infoset
- Choose a start with object
- From the screen that appears, choose a cube from the left
- Join the objects using the common object
- Right click on link and choose required join
One response to “SAP BI training notes”
-
very helpful…
I preferred to thank you for this good article. http://wtrjn.onsugar.com/ I by all odds liked every little bit of it…
Leave a reply
You must be logged in to post a comment.





