cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging the start routine in update rules for ODS

Former Member
0 Kudos

Hi all,

I have written a start routine in the update rules of an ODS and I want debut it. I go to monitor->datapackage(context menu)->select 'Simulate update' option and check for debugging the update rules. In the ABAP editor I cannot find the start routine, I searched by some unique words like comments that I wrote but not able to find the routine. Does anyone know how I can find.......

thanks

Sabrina.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member188975
Active Contributor
0 Kudos

Hi Sabrina,

In the ABAG debug screen search for FORM ROUTINE 9998, or simply 9998. You can add a break point here if you like. When you reach this part of the code, hit F5 and it should get you to your start routine.

Hope this helps...

Former Member
0 Kudos

Hi bhanu, I searched on 9998 and it says string not found.

Former Member
0 Kudos

Hi Sabrina...

I think adding a break point just before the start routine code should help you debug it.

Ashish.

former_member188975
Active Contributor
0 Kudos

When debugging, in FORM UPDATE_INFOCUBE I can search using binoculars and find 9998. Are you sure there is a start routine in the update rules...Try adding a break point in the start routine code other wise.

Former Member
0 Kudos

Hi all, there is no facility to add a breakpoint in start routine.

former_member188975
Active Contributor
0 Kudos

Hi Sabrina,

You can write BREAK-POINT.

former_member671571
Participant
0 Kudos

Hi sabrina,

You Can do this way:

Write a endless loop in Start routine.

data value(1).

while value ne 'X'.

endwhile.

Then run the InfoPackage and go SM50 transaction.

Select the Process and Then Select Program/Mode -> Program -> Debugging.

It will take you to the Start routine and the debug your code.

Hope this helps.

Cheers,

Ram