HI Ialitha,
you use routines if the standard transformation rules don't fit to your szenario.
In the routines you have to place you own ABAP coding which will be responsible for the changes you want to make with your input data.
[http://help.sap.com/saphelp_nw70/helpdata/en/b9/2d9778476b11d4b2b40050da4c74dc/frameset.htm]
Regards,
Frank
Hi,
We have 3 types of routines. 1.Transfer routine, 2.update routine. 3.object routine.
1. Transfer routine: it is globle, if we write any routine here ,we can use this for multiple data targets.
2.Update routine: it is local. if we write any routine here, it will be used only once to send data in to data targete.
3.Object routine: it is also globle. if it is used, it will show effect wherever we use that object.
Thanks
Subba Rao
Hi,
The BI Routines:
you have to write the routines at Transformation.Transformations include different types of routine: Start routines, routines for key figures or characteristics, end routines and expert routines.
Start routines - :Start routine
It is used to perform preliminary calculations.if you have any modifications required before the actual transformation is done, then you must write those routines in the start routine of 7.0.
End routines - new:
You can use an end routine to postprocess data after transformation on a package-by-package basis.
Expert routine - update routine :
You can use the expert routine if there are not sufficient functions to perform a transformation. The expert routine should be used as an interim solution until the necessary functions are available in the standard routine. You can use this to program the transformation yourself without using the available rule types. If you have already created transformation rules, the system deletes them once you have created an expert routine.
For How to Write,Check the below link for detail info.
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/732c42be6fde2ce10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/43/c3963dfbde4dede10000000a422035/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/43/bcdc6001344defe10000000a422035/frameset.htm
Hope this helps.
Regards
CSM Reddy
HI,
Trnsfer routine will perform the required transformation in the transfer rules while the update routine will do the same in the update rules.
The purpose of these routines is when you wish to transform the incoming records by performing some checks and validations before the data get into the data targets.
A realtime example will be:
You bring in profit cemtre transaction data and for each profit centre record you wish to check if it has value type indicator. The business rule is if there is no such indicator, either reject the record or tag a value of 10.
Since this is to be checked for each record, we do it in the transfer routine or in update routine.
Also, you would have heard of start routine; if a logic is to be applied on the whole data package, then you do it in start routine.
In 7.0, all these things got replaced bu start routine, expert routine and end routine.
Regards
KP
Edited by: KP on Jan 30, 2008 1:20 AM
Add a comment