Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Debuging the ABAP Programs

former_member577909
Participant
0 Kudos

Generally how does the ABAPer do debug the programs in real time environment, and how to check the the performance of the programs.

6 REPLIES 6

Former Member
0 Kudos

U can debug the program by setting Break-Point in ur code... else u can use the command '/H' while u execute the program.

u can see the performance of ur program in Transaction SE30..

pls reward points if its helpful to u

dani_mn
Active Contributor
0 Kudos

HI,

there are two ways to debug a program, if you want to debug from start then you can put '/h' in command now when you execute the program it goes into debugging mode.

second one is open the code and put a break point on the line where you want to debug, by selecting 'STOP' button from application tool bar or pressing 'CTRLSHIFTF12'

performance can be checked from SE30, ST05, SM50.

REgards,

Former Member
0 Kudos

Hello,

There are various ways to debug a program like a break-point or break <user> statement in the code or setting a external/session breakpoint in the ABAP editor or by typing /h in the command area.

Performance of the program is measured by using the transaction SE30 (Runtime Analysis) or ST05 (Performance Trace).

Regards,

Manoj

sourabhshah
Advisor
Advisor
0 Kudos

Hi,

Debuggin is done in the abap debugger provided by the ABAP editor.You can set break points in a actiive program and execute the program or even type /h in command window and hit enter to activate the debugger and then hit f8.

Performance can be check by using the SQL Trace tool.

Regards,

Sourabh

Former Member
0 Kudos

hi,

there is a button on the standard toolbar (stop) .place the cursor on the line which u want to check on the source code and click on that button . next time when u execute the program it will stop where u set the breakpoint ,at that point u can check the stack or values of field or tablecontents etc...

the performance of the program ,u can use se30 for runtime analysis and st05 for sql trace.

Former Member
0 Kudos

Hi,

there are few methods for the same..

one using a break point(stop button in editor),

using tcode /h or going to utilities - abap debugger.

performance you can check using tcode se30.

if you want to learn debugging for all the objects go through these links..

<b>and do reward all the helpful answers for all your questions</b>

ABAP DEBUGGING

http://help.sap.com/saphelp_webas620/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2d...

Debug Program scheduled Background

regards,

pankaj singh