cancel
Showing results for 
Search instead for 
Did you mean: 

Different Routines??? Please Help

Former Member
0 Kudos

Hi Gurus,

I am new to BW and need to clear a few basics first. What are the detailed differences between Start Rountine, Update Routine and Global Routine? Also can you please tell me where each of these routines can be added in BW 3.5?

Thanks in advance

Krishna

Accepted Solutions (1)

Accepted Solutions (1)

former_member699913
Contributor
0 Kudos

Start Routine----While loading if you want some logic/calculations to happen on an entire package ....rather than specific infobjects, this routine is used...u can find that why displaying update rukes.

Update routine---This routine is used when u want logic/calculations to happen at unit level of infobjects

U find that while displaying update rules for particular infobjects...

Global routine.....I think u meant start soutine here...

Hope it helps,

Ajay

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I would recommend to search the forums for answers as this question has been asked a lot of times already.

regards

Siggi

Former Member
0 Kudos

Hi,

Code written in start routine runs only once for whole data in the data package. and the code written in update routine will run for each and every record of the data package. Suppose data package contains 1000 records, start routine will run once and update routine will run 1000 times. So the code which is common to all the records should be written in start rountine. Ex. getting look up data into internal tables etc. All select statements will be in start routine and read statements will be in update routine. The below links will give more information on this.

http://help.sap.com/saphelp_nw04/helpdata/en/a6/45333b5f3ad646e10000000a114084/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/b3/0ef3e8396111d5b2e80050da4c74dc/frameset.htm

Hope this helps.

Regards,

Bindu