cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug update rules from ODS to Cube

Former Member
0 Kudos

Hello all,

I have found out that some of the calculations in update rules are not yielding the results we were expecting. How can i debug these update rules that are between an ODS and a Cube ?

P.S: All data is correct upto the ODS level.

Thanks in advance

S N

View Entire Topic
Former Member
0 Kudos

Hi SN,

There are 3 methods to debug an update rule in a Development box:

1. The best option is the infinite loop in the start routine of the update rules. Your code may be as follows:

data: t_debug_flag_start value 'X'.

if t_debug_flag_start = 'X'.

do.

if t_debug_flag_start = ' '.

exit.

endif.

enddo.

endif.

Now when you execute the infopackage you would find that a generated program GP*** in sm50. You can debug the generated program by changing the value of t_debug_start.

2. The second method is to create a breakpoint in the generated program of the update rule.

3. The third method is the simulate update from the monitor of the request.

Bye

Dinesh