Tuesday, April 24, 2007

De SAPFANS - Debugg desde PSA

I have written code in Start Routine and for few characteristics and key figure fields in the update routine. I am getting wrong values in ODS data.

I want to debug Start routine and fields of update routine.
Could any one of you suggest how to debug the Start routine and update routine code ???



Respuestas:

Or have a look at help.sap.com. In short: Go to the monitor, right-click a data package and choose simulate update. The rest should be pretty self-explanatory


Hi there,
try simulate update option with breakpoints in the routines. You can only use it when updating via PSA.

You can insert an endless loop in the beginning of your start routine or update rule routine, for example:

DATA: x(1) type c.

x = 1.
While x = 1.
Endwhile.

Then you execute your load. Go to transaction sm50 in your BW system and when you see that your process keeps hanging, you go to Program/Mode > Program > Debugging. Then you come into your code

0 Comments:

Post a Comment

<< Home