Wednesday 9 February 2022

How can you save your Debugger spot and save it in a file to use it later?

Introduction

The life of an ABAPer revolves around debugging. ABAPer debugs for a lot of reason and while debugging they sometimes gets distracted or something comes up(Coffee Break). Most of the time I used to always save the debugging screenshots as later when I will debug I can find those debug points and start my Debugging Journey. This Blog will explain how you can just save the debug spot in a file and Load the Debugging journey from where you left or at least get all the debug point/ Watchpoint activated

Solution

Login to SAP and Press /H to activate debugger

SAP ABAP Development, SAP ABAP Extensibility, SAP S/4HANA, SAP ABAP Exam Prep, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Learning, SAP ABAP Skills, SAP ABAP Jobs

Then we will go to ME23N Tcode. Debugger has started

SAP ABAP Development, SAP ABAP Extensibility, SAP S/4HANA, SAP ABAP Exam Prep, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Learning, SAP ABAP Skills, SAP ABAP Jobs

Now we will put debugger on Select Statement

SAP ABAP Development, SAP ABAP Extensibility, SAP S/4HANA, SAP ABAP Exam Prep, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Learning, SAP ABAP Skills, SAP ABAP Jobs

Follow this path and save the debugger Spot

SAP ABAP Development, SAP ABAP Extensibility, SAP S/4HANA, SAP ABAP Exam Prep, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Learning, SAP ABAP Skills, SAP ABAP Jobs

Make sure you select all the checkbox like below and save this in your desktop

SAP ABAP Development, SAP ABAP Extensibility, SAP S/4HANA, SAP ABAP Exam Prep, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Learning, SAP ABAP Skills, SAP ABAP Jobs

Now we logout

SAP ABAP Development, SAP ABAP Extensibility, SAP S/4HANA, SAP ABAP Exam Prep, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Learning, SAP ABAP Skills, SAP ABAP Jobs

We again login and activate debugger by pressing /H

SAP ABAP Development, SAP ABAP Extensibility, SAP S/4HANA, SAP ABAP Exam Prep, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Learning, SAP ABAP Skills, SAP ABAP Jobs

Now Press ME23n Tcode

SAP ABAP Development, SAP ABAP Extensibility, SAP S/4HANA, SAP ABAP Exam Prep, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Learning, SAP ABAP Skills, SAP ABAP Jobs

Now load the debugger file by following the below path

SAP ABAP Development, SAP ABAP Extensibility, SAP S/4HANA, SAP ABAP Exam Prep, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Learning, SAP ABAP Skills, SAP ABAP Jobs

Select the filename we created and press green arrow

SAP ABAP Development, SAP ABAP Extensibility, SAP S/4HANA, SAP ABAP Exam Prep, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Learning, SAP ABAP Skills, SAP ABAP Jobs

Wala the Breakpoint is loaded from the file

SAP ABAP Development, SAP ABAP Extensibility, SAP S/4HANA, SAP ABAP Exam Prep, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Learning, SAP ABAP Skills, SAP ABAP Jobs

This is the solution you can use across different systems. I love this as it saves a lot of time and full proof solution

Source: sap.com

No comments:

Post a Comment