Skip to Content
author's profile photo Former Member
Former Member

sap bw

what is routines what is the use of routines and when go for routines?

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 07:30 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 25, 2008 at 05:02 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 27, 2008 at 12:29 PM

    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.

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6090a621-c170-2910-c1ab-d9203321ee19

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 07:08 PM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.