‎2007 Oct 22 6:58 AM
hi iam new to bw .can any body tell me the scenario when we are going to use start routine .give an example.
‎2007 Oct 22 7:07 AM
Hi
The link below is a PDF for SAP-BW.
Check out this. it shud help u.
Regards
Anji
‎2007 Oct 22 7:11 AM
HI
Routines are like conditions or business rules that could be applied to filter the data while entering the BW system or could be used to apply certain conditions on the info objects itself.
There are 4 types of routines
1. Start routine- Could be used at two levels (transfer rule level and the Update rule level)
This Start routine written at the transfer rule level helps filter the necessary data coming from the source system.
For Example: If you decide to extract data that contain only quantity greater than 500 , then you could specify the Start rouitne to achieve this.
The Start routine at the Update rule level provides similar functionality but at this point it helps direct specific data to
different data targets. For Example: If there 3 data targets being fed from the Infosource, you may want to apply some condition to each data target, like send year 2000 data ti Data target1, 2001 to data target 2 and so on. This can be achieved by using Start routine at the Update rule level
2. Transfer Routine: This feature is available at the transfer rule levels
While performing the transfer rules operation, there are 4 features available to the developers to create business rules on top pf the Infoobjects.
1. You could do a one to one mappping of the Infoobject
2. Provide a constant value
3. Include a formula
4. Write an ABAp routine.
These 4 options refers to the transfer routine
3. Update Routine:
The limitations of just having 4 options in the transfer routine is overcome at the update rule level. There are various other
sophisticated features avaialable apart from the 4 options mentioned above. These business rules could be specified pertaining to each data target.
4. Conversion Routine: It provides functionality to do Currency and unit conversion.
Check this link
http://bluestonestep.com/component/option,com_docman/task,doc_download/gid,13/.
www.sap-hefte.de/download/dateien/1127/098_leseprobe.pdf
Regards
Pavan
‎2007 Oct 22 7:09 AM
Hi,
in the start routine you have the complete data package in an internal table and you can do lots of derivations at once. In the field routine you have only one single row each time the routine gets processed and you can only derive the value of that single field.
The decision is pretty much depending on the fields of your communication structure (data package). If everything you need is there, it is best to use a start routine.
Check this link for more details.
ashish