Google
SAP BW: Conversion Routines in SAP BW

Tuesday, July 24, 2007

Conversion Routines in SAP BW

Conversion Routine:

Conversion routines are used in SAP BW so that the characteristic values (key) of an InfoObject can be displayed or used in a different format to how they are stored in the database. They can also be stored in the database in a different format to how they are in their original form, and supposedly different values can be consolidated into one.

Conversion routines that are often implemented in SAP BW are now described.

Integration

In SAP BW, conversion routines essentially serve to simplify the input of characteristic values for a query runtime. For example with cost center 1000, the long value with left-hand zeros 0000001000 (from the database) is not to be entered, but just 1000. Conversion routines are therefore linked to characteristics (InfoObjects) and can be used by them.

Conversion routines can also be set with data loading. Although it is important to note that conversion routine are often already defined for DataSource fields (particularly from SAP source systems). The properties of the replicated DataSource fields are displayed in the transfer structure or DataSource maintenance.

In many cases it is desirable to store the conversion routines of these fields in the corresponding InfoObject on the BW side too. It is therefore necessary, when defining transfer rules, to consider the connection between the conversion routine of the InfoObject in the communication structure and the conversion routine of the transfer structure field.

When loading data you now have to consider that when extracting from SAP source systems the data is already in the internal format and is not converted. When loading flat files and when loading using a BAPI or DB Connect, the conversion routine displayed signifies that an INPUT conversion is executed before writing to the PSA. For example, the date field is delivered from a flat file in the external format‚10.04.2003’. If a conversion routine has been specified in the transfer structure maintenance, this field can be converted to the internal format ‘20030410’ in the transfer rules, according to that conversion routine.

Conversion routines ALPHA, NUMCV, and GJAHR check whether data exists in the correct internal format before it is updated. For more on this see the extensive documentation in the BW system in the transaction for converting to conforming internal values (transaction RSMDCNVEXIT). If the data is not in the correct internal form an error message is issued. These three conversion routines can be set in Transfer Rule Maintenance so that a check is not executed but an INPUT conversion is. Make this setting using the Optional Conversion flag in transfer rules maintenance. Both the check and the conversion are executed in the transfer rules for the target field.

Business Content objects are delivered with conversion routines if they are also used by the DataSource in the source system. The external presentation is then the same in both systems. The conversion routines used for the R/3 DataSource fields are then transferred to the BW system when the DataSources from the SAP source systems are replicated.

6 comments:

Anonymous said...

Great blog here! Also your site loads up very fast!
What web host are you using? Can I get your affiliate link to
your host? I wish my website loaded up as quickly as yours lol

my webpage; Chiropractor

Anonymous said...

Great delivery. Solid arguments. Keep up the amazing spirit.


Also visit my webpage: Cheers Sports Bar

Anonymous said...

Does your site have a contact page? I'm having a tough time locating it but, I'd like to shoot you an e-mail.
I've got some creative ideas for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it grow over time.

Also visit my web blog ... sushi bar leipzig

Anonymous said...

of course like your website but you need to test the spelling on quite a few
of your posts. Several of them are rife with spelling problems and I find it very troublesome
to tell the reality however I will definitely come again again.


my homepage; golf lesson driving

Anonymous said...

Excellent goods from you, man. I have keep in mind your stuff previous to and you're simply extremely great. I actually like what you've acquired here, certainly
like what you are stating and the best way in which you say
it. You make it enjoyable and you still take care of to stay it smart.
I can't wait to learn much more from you. That is actually a great web site.

My blog post Orlando Sushi

Anonymous said...

Hi there! This is kind of off topic but I need some guidance from an established blog.
Is it tough to set up your own blog? I'm not very techincal but I can figure things out pretty quick. I'm thinking about making my
own but I'm not sure where to start. Do you have any ideas or suggestions? With thanks

Here is my site ... scapular pain cause