Cisco CloudCenter: Get the Hybrid IT Advantage

Debugging in SAP

Definition - What does Debugging in SAP mean?

Debugging is the process of analyzing the flow of a program to locate and reduce defects or bugs. Unlike other programming languages, debugging in SAP involves analyzing different objects. Thus, different techniques are used to debug different types of objects.

In SAP, the debugging process is applied with the help of ABAP Debugger, a SAP programming tool that is capable of analyzing an ABAP program or object, by line or section, and can even change object values at runtime.

There are two types of SAP ABAP Debuggers: Classical Debugger for releases up to 6.40 and New ABAP Debugger, which is provided for all 6.40 and later releases.

Techopedia explains Debugging in SAP

Debugging is activated for a SAP object in the following ways:

  • By typing the command "/h" in the command field, which executes the program in debugging mode
  • With the help of breakpoints, which may be kept before or during the debugging mode
  • By selecting debugging when the execution program mode appears
  • From menu path system-> utilities-> debug ABAP
Debugging methods for different SAP objects include the following:
  • For ABAP program and function modules, debugging may be applied by typing "/h" in the command field, using breakpoints or choosing the execution mode for debugging.
  • For ABAP SAPscripts, smart forms and Adobe forms, debugging options are provided separately for driver programs, in addition to these objects.
  • For server or remote access, remote access debugging is provided through predefined or customized usernames, which are used for connecting to a server or remote access.
The New ABAP Debugger works as follows:
  • Unlike the classic ABAP debugger, the New ABAP Debugger is processed in its own external mode (known as the debugger) while the analyzed object (known as the debuggee) is run in a second external mode.
  • It is capable of analyzing programs executed in an ABAP processor unit, such as programs that call conversion exits.
  • It has a flexible interface that a user may design according to requirements.
  • It has the ability to accommodate more than eight desktop views, as well as the ability to arrange different tools for analyzing the structure and data passed in the ABAP program or object.
This definition was written in the context of SAP
Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.