Quantcast
Channel: SCN : Document List - ABAP Development
Viewing all articles
Browse latest Browse all 935

Useful feature of new ABAP debugging editor – Debugger Layer

$
0
0

Hello, sure has ever happened to us all that we have lost much time trying to locate a certain point process in SAP standard code where custom code is

implemented either through a routine (user-exit, cmod, badi o enhancement)

 

There is a functionality in the new debugger that allows us to navigate through the stack and stop at code points depending on certain conditions.

 

Custom code will always be in any of the packages area of customer names eg Z*

 

This tool named Debugger Layer has a filter per package.

 

The first is to change to the new editor if you have the old set.

imagen1.png

 

If you want to have set by default the new debugger must configure it from the menu Tx SE38

imagen2.png

imagen3.png

 

We started throwing the debugger /H at the beginning of our process SAP

imagen4.png

 

 

We make sure that the debugger is active

imagen5.png

 

Press F8…opens the debugger

imagen6.png

 

First active Layer-Aware Debugger flag

 

We can use Predefined Layer using Debugger Profile. To create or maintain, go transaction SLAD.

 

But in our case, we only need to break in custom packages, we use the filter package.

imagen7.png

 

We will use these flags if you want to stop the entry and/or exit of our custom code

imagen8.png

 

If you want to reuse the same filter in the future we can record it, otherwise just press ok.

  imagen9.png

 

We can see that we select Profile Active.  At any time we can disable it.

imagen10.bmp.png

 

and turn it back on by pressing the button

imagen11.bmp.png

 

Press the Next Object Set button to navigate to the following custom code that belongs to any of the packages listed in the filter associated with the profile

imagen12.bmp.png

 

The debugger stopped at a custom function that belongs to a custom package

imagen14.bmp.png.bmp.png

 

In this case it was the BTE 1650 customized where the system allows us to perform additional searches in the process of G/L Account Line Item Display

imagen13.png

 

I think it's a very useful tool for programmers.


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>