Skip to Content
Author's profile photo Former Member

Different Idea’s of Debugging Routine’s in SAP BW/BI

Prerequisites to know/master on these idea’s is to learn writing ABAP Routine’s like start routine,expert routine,end routine,characteristic routine,dtp routine for filter’s and Info package routine’s for filter’s.

Go through the following help note’s to know about these routine’s.

Routines in Transformations (SAP Library – Business Intelligence)

You can also explore SCN forum to master on these routine’s.

As it is known that transformation generates a standard program where we can see our routine written in start/expert/end routine’s.

1.Go to generated program and find your respective routine’s in generated program and keep a session break-point as shown below.

-Select Dispaly Generated program in Extras menu as shown below.

Capture 1.JPG

-Find your piece of code in generated program

Capture 2.JPG


DTP in Debugging mode

Capture 4.JPG

Debugger screen opens and stops the control at session break-point as shown below.

Capture 5.JPG

2.Hard coding in the routine’s.

Go to your respective routine’s hard code BREAK-POINT as shown below.

Capture 6.JPG

Run/Simulate DTP.

Capture 4.JPG

Control stops at hard coded break-point as shown below.

Capture 7.JPG

3.From DTP

We have many break-points can be set up while in simulating the DTP as shown in below.

I have checked “Before Transformation” in Change break-points of transformation which creates a break point in simulation mode.

Capture 9.JPG

Control stops at a point before the transformation code is executed as shown below.

Now Just click on Session break-point as highlighted.

Capture 11.JPG

A screen appears with different tabs now select ABAP Command where you want to stop the control again which should be at your code(Start/End/Exper/Characteristic routine’s).

Capture 12.JPG

In my example Delete is the command used in start routine so the control stops as shown below.

Capture 13.JPG

Now go ahead with your debugging come out with successful colors.

Note:Hard coding in the routine’s is least suggested so please give least preference for point no. 2.

For more information Expert mode debugging go through my blog on

Assigned tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Matthew Billingham
      Matthew Billingham

      Never use a hardcoded breakpoint in that way. Always use it for your own user: BREAK-POINT myuser.

      Never let a hardcoded breakpoint into your production system.

      Author's profile photo Former Member
      Former Member
      Blog Post Author