With complex SAP platform, Debugging becomes troublesome. In many of the support projects you need to find out the BADI, Customer Exit or in simple words customer code implemented.This can be sometimes hectic and cumbersome.

Even when you are debugging a webdynpro application you come across a lot of SAP Code which you are not interested in.

SAP Layer Aware Debugging comes here to rescue.

So without putting any more words let’s see how to use it.

Scenario

Here in my case I am executing a PA40 action to terminate the employee.

Image1.jpg

 

I will put  “/h” in the command box to start the debugging

   Image2.jpg

Important Step :-  You  need to click on “configure debugger layer”

Image3.jpg

 

Following Screen Appears.

I entered Z* in the package as I wanted to search any customer code in the Terminating Action. (All the packages in my project are Z . You can enter Y* to Z* in select option if needed)

 

           Image4.jpg

 

Very Important Step :- I skipped it the very first time, You have to click on Next Object Set i.e.

(CTRL + SHIFT + F5)

Image6.jpg

       Image5.jpg

The debugger stopped at the Z code in Termination action.

You can click on Next Object Recursively to to go the next customer implemented code.

Enjoy, Have fun happy debugging.

 

“If debugging is the process of removing bugs, then programming must be the process of putting them in.”

 

New NetWeaver Information at SAP.com

Very Helpfull

User Rating: Be the first one !