ABAP Debugger SAP ABAP Web Dynpro

If any errors occur in our Web Dynpro components, we can use the ABAP Debugger to execute our WD component, by line or by section.

To work with the debugger, we can create Breakpoints at the point where the program should pause

Setting a Breakpoint

Setting a Breakpoint

We run the application and, in the moment when the program flow reached the defined breakpoint, the ABAP Debugger is open

ABAP Debugger

ABAP Debugger

As we can see in the Process Information, the main component of the ABAP Debugger, we debug an HTTP application. The “Exclusive” represents the fact that the application we debug occupies a work process of the application server.

By using the Buttons from the Control Area, we can control the program flow. For Example,We can choose to execute the program line by line-single step or to execute the program up to the next Breakpoint.Continue.

We can use the ABAP Debugger tools to have information about the variable

Tool Component of the ABAP Debugger

Tool Component of the ABAP Debugger

By using the New Tool Button,We can open a selection window that offers the possibility to access additional functionalities. In the Special Tools section, we can find the created tool, to be used for a better debugging of the Web Dynpro components.

ABAP Debugger – New tool selection window

ABAP Debugger – New tool selection window

As we can see in, we are offered the possibility to have access to all the individual elements of the Web Dynpro component; we can see the view attributes, the view layout, the UI elements and data binding, the context structure and its attributes, etc.

The ABAP debugger – web Dynpro ABAP tool

We are able to see not only the context structure, but also to display the runtime object, by choosing from the contextual menu Display Runtime Object.

Displaying the runtime object

Displaying the runtime object

These are only some of the ABAP Debugger capabilities that can be used along with other performance tools (for example, the transactions WD_TRACE_TOOLS, S_MEMORY_INSPECTOR), to help us to develop Web Dynpro applications.



Face Book Twitter Google Plus Instagram Youtube Linkedin Myspace Pinterest Soundcloud Wikipedia

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

SAP ABAP Web Dynpro Topics