Post image for SAP BI Training : Transformation rules

SAP BI Training : Transformation rules

by james · 7 comments

It has been a while since my last post, there have been a lot of questions and emails going back and forth with you all. If you would like to take part in the discussion, and you are not subscribed yet, please do so in the box on the right.

Today, I am going back to basics and continuing the SAP BI training lessons. This is the reason I started this blog but
I have found out that the SAP landscape is wide and people have more questions not neccessarily pertaining to SAP Business Intelligence. Please let me know if you would like to see more posts on SAP BI.

Transformations

The topic of the day is Transformation. Transformation is all about mapping fields from source systems to destination databases. Sometimes, the mapping is one-to-one i.e you have a field in the source table that maps directly to the destination. It is also possible that the fields are not matched up correctly.

For example, length of the fields might be different in both or the way figures are calculated might also be different. A good example is VAT. The amount of value-added tax charged differs from country to country and this needs to be transformed (recalculated).
Transformation rules are used to perform these operations.

Transformation rules

Normally, when mapping fields on the InfoSource to the fields in the InfoCubes,the mapping was always one to one. In real time, this is not always the case. Some InfoObjects are not present in the InfoSource fields but have to be calculated. These calculations are done through transformations.

There are 7 different types of tranformations.

  • Direct assignment
  • Constants
  • Reading master data
  • Routines
  • Formula
  • Time updates
  • No transformation

I shall use an example to explain these transformations. Take a look at the table below. It shows a simplistic view of a potential InfoSource that I want to transform to fields in the InfoCube. The InfoSource has the following fields, Product, Sales quantity and Price/unit. The destination InfoObjects are Product, Sales quantity, price per unit and revenue.

transformation1

Source fields

Destination fields

Destination fields

Direct assignment

This will copy the value in the source field directly into the target field. For example the products, sales quantity will be transformed using direct assignment.

Constants

This transformation rule will fill the target field with a specified value. For example, the import data field can be filled with today’s date.

Routines

Routines are special code written to handle complex cases. There are start routines, end routines and expert routine Start routines are used to pre process the data before transformation, for example they can be used to eliminate empty fields before the process starts. This makes the process efficient when there a lot of records being imported and a handful will be empty fields.

End routines are used to post –process the data on a package-by-package basis. This can be used for integrity checks etc.

Routines are mostly written by ABAP consultants, you as a BI consultant will have to supply the specifications for the routine you would like to implement.

I will explain the rest (Formulas, Reading master data and time updates) in a later post. Do you have any special area of SAP business intelligence you would like more explanation on? Please leave a comment and let me know.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • Yahoo! Buzz
  • Twitter
  • Technorati
  • Live
  • LinkedIn
  • MySpace

How to increase your chances of starting a successful SAP career

SAP unveiled

Find out at SAP Unveiled

You might be asking yourself,

Is SAP right for me?

What are my chances of getting a good SAP job?

The good news is you are not alone. A lot of people have the same questions as well. What is even better news? I have written a series of articles that answer these questions and many more on SAP Unveiled.

Check out SAP Unveiled here

{ 7 comments… read them below or add one }

1 SAP Help November 21, 2009 at 4:11 pm

I have a few knowledge on SAP BI.. This is so interested. Can I download some document on SAP BI? Thanks for sharing

Reply

2 james November 22, 2009 at 11:53 pm

what documents do you need?

Reply

3 Mohan February 5, 2010 at 7:10 am

hi james
i know bw but i have few knowledge in bi
can u send me how to create transformations & infopackages in bi with screen shots if available

Reply

4 Maggie Bada February 1, 2010 at 4:56 pm

Hi James,
I saw your training on InfoObjects on youtube and found it really helpful. Thanks for sharing.

I would like to find out if there is anyway I can get past or practice questions on SAP BI exams as I will be sitting the exams in April.

I am also interested in the SAP BI training videos

I am willing to donate towards this if necessary

Regards

Maggie Bada

Reply

5 Litau Siski March 10, 2010 at 3:47 pm

hi James,
my company is just started using bi last year.
How can i view the queries?
just want to compare in original source

Reply

6 Litau Siski March 10, 2010 at 3:48 pm

hi James,
My company started using bi last year. I need to look at the query for data compare in the data source,
help,
litau

Reply

7 Raj March 19, 2010 at 10:54 pm

Hi James,
I am currently working as MasterData and Stock controller in london and as an end user i use a lot of SAP SD and MM modules. Never had the chance to explore any other modules but your posts on SAP BI is great stuff. Easy to understand and now I feel like I can focus on this module and become a BI consultant. Thank you very much for your info..keep posting

Reply

Leave a Comment

Previous post:

Next post: