cancel
Showing results for 
Search instead for 
Did you mean: 

Update Rules n routines

Former Member
0 Kudos

Hi Experts,

can anyone explain whn do we wite routines in update rules. n how does they work? n what is the purpose behind writing a routine.

thnx

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sonam,

Update rules specify how the data (key figures, time characteristics, characteristics) is updated into the InfoProvider from the communication structure of an InfoSource.

You use routines to define complex update rules for a key figure or characteristic.Start routines are used in Transfer rules and update rules, this abap code is executed before starting the load and used in scenarios where we want to perform some operations on all the data example deleting some records before processing records in Update rules or transfer rules.

Example Scenarios can be :

1. You need to delete a selected number of records within the data package based upon a particular pattern that the records being loaded have.

2. Populate a field based upon values of other fields being passed in the load process.

3. Derive an additional field for the target record structure

Hope this helps.

Revert back for any Queries.

Regards

Hemant Khemani