Skip to Content
Author's profile photo Gaurang Gujar

Layer Aware Debugging

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.


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



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


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



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)




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




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


Assigned Tags

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

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

      Author's profile photo Vinoth Kumar
      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.

      Author's profile photo Former Member
      Former Member


      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.





      Author's profile photo Gaurang Gujar
      Gaurang Gujar
      Blog Post Author

      Ye s It works for Implicit Enhancement ( make sure you are pressing CTRL+SHIFT+F5 while debugging.