ABAP Preview: ABAP Debugger – Creating Watchpoints

Watchpoints are like “stop signs” for the ABAP Debugger. Sometimes we debug and look for a specific value on an internal table that has more than 1,000 records. Debugging the table one record at a time can be exhaustive and time consuming. To solve this, we can place a watchpoint. Run the debugger, and it will stop at the watchpoint’s given value. This video will show you how to accomplish this.

Creating Watchpoints

Watchpoints are like "stop signs" for the ABAP Debugger. Sometimes we debug and look for a specific value on an internal table that has more than 1,000 records. Debugging the table on record at a time can be exhaustive and time consuming. To solve this, we can place a watchpoint. Run the debugger, and it will stop at the watchpoint's given value. This video will show you how to accomplish this.

Example

You have a report that prints all the flight information that an airport generates on a daily basis. Your boss asks you to debug the report and find the dates in which only 39 seats were occupied on all flights. To accomplish this task you are going to place watchpoints that look for 39 occupied seats.

Steps

  1. Place a breakpoint inside an ABAP Loop.
  2. Run the executable program, function or method.
  3. When the debugger activates, search for Watchpoint and create a new one.
  4. Type the name of the variable and the value you are looking for.
  5. Activate the watchpoint and let the debugger run (F8).It will then stop at the given value.

Purchase a Premium Pass with an access link to watch the full video:
After completion of purchase , download the Premium Pass file where you will find the access link to the video.
You will also receive an email, shortly after the purchase, from Mendoza Learning Hub that will contain the Premium Pass and instructions for your video.


Or, become a Premium Member... - click here to become one

As a Premium member you get access to all of the videos, including this one. Log in to your Premium Account by clicking on 'Sign Up/Log In'. Visit your 'Member Profile' page where you will find access to all the Premium content. Alternately, you can visit the course's main page where you can access the premium videos.

If you didn't receive an email:
Check your spam folder. Many internet providers have spam filters that block emails that contain links. If you’re unable to find the confirmation email, then please contact us.

If you have problems with this video visit Help & Support, or contact us at info@abaptutorials.carlosmendoza.io .


If you want a video on a particular topic, fill the form below.

[contact-form][contact-field label='Name' type='name' required='1'/][contact-field label='Email' type='email' required='1'/][contact-field label='Video Topic' type='text' required='1'/][contact-field label='Description' type='textarea' required='1'/][/contact-form]

Share this on Social Media

Facebook
Twitter
LinkedIn
Pinterest
WhatsApp

Unit 1 – SAP System Architecture

Unit 2 – Object Navigator, Repository and ABAP Programs

Unit 3 – Transparent tables in the ABAP Dictionary

Unit 4 – Basic ABAP statements, ABAP Structures and ABAP Logical Expressions

Unit 5 – ABAP Data Retrieval

Unit 6 – SAP Analysis Tools

Unit 7 – ABAP Subroutines

Unit 8 – ABAP Events

Unit 9 – ABAP User Interface

Unit 10 – Function Modules, Methods, ALV and BAPI

Unit 11 – Adjusting SAP Standard Software

Unit 12 – ABAP Debugger, Selection Screens, and Table Controls

Unit 13 – ABAP Web Dynpro

Unit 14 – Advanced Topics

Unit 15 – Advanced Topics II

Object Oriented (OO) ABAP

ABAP for SAP HANA (Introduction)

OData and SAP Netweaver Gateway