Skip to Content

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.”

 

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. abilash n

    Thanks Gaurang for sharing wonderful option in debugging. It will definitely save lot of people work. Keep posting rocking blogs…..

    (0) 
  2. Vinoth Kumar

    Thanks Gaurang. Can you tell us, from which version of Netweaver “Configure Debugger Layer” is available.

    I am in 701, ECC 604 and not able to see “Configure Debugger Layer” in debug mode. Thank you.

    (0) 
  3. Gaurav Mittal

    Hi,

    Do the layer aware debugging works for Implicit Enhancements also as for me it’s not working at all. Do you have any further steps as how to stop for implicit.

     

    Regards,

     

    Gaurav

    (0) 

Leave a Reply