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
- Place a breakpoint inside an ABAP Loop.
- Run the executable program, function or method.
- When the debugger activates, search for Watchpoint and create a new one.
- Type the name of the variable and the value you are looking for.
- 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@carlosmdubon.com .
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]