| « SAP Technical Interview Question - Advanced # 9 Reporting Tools SAP | SAP Technical Interview Question - Beginner # 9 - Controlling Area » |
SAP Technical Interview Question - Intermediate # 9 ABAP Debugger Debug SAP Programs
SAP Technical Interview Question - Intermediate # 9 ABAP Debugger Debug SAP Programs
Q). Is there any way in SAP by which users can debug programs?
Answer:
A number of tools are available in the ABAP debugger to debug programs. A program may be behaving in a unique manner contrary to normal behaviour as a result of which it might have to be debigged. To debug a program, a step by step approach has to be followed. In the first place, to locate the reason of the error, one should follow the standard process in the dialog box until the error occurs. At this point of time, one should activate the debugger. Once this is done, a user should go through the source code and examine each step until he finds the error.
Also, another way to debug a program is to set a breakpoint automatically at a sub-routine, system exception or function. This helpful in cases where system is sending an error message without any known cause. To set a breakpoint at a statement user should press SHIFT + F5 and then insert the statement where the user wishes to stop.
Feedback awaiting moderation
This post has 66 feedbacks awaiting moderation...