Application Development and Automation 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: 
Read only

transaction code for debugging

Former Member
0 Likes
3,771

CAN ANYONE TELL ME WHAT IS THE TRANSACTION CODE FOR ABAP PROGRAM

10 REPLIES 10
Read only

Former Member
0 Likes
1,697

/h --> enter and then execute the program from same session.

Read only

0 Likes
1,697

Hai Anid.,

/H is a command not a transaction code. I want tcode other than /H

Read only

Former Member
0 Likes
1,697

sorry...transaction code for debugging an abap program.

Other than '/H' Command.

Is there any transaction code 4 debugging???

Read only

0 Likes
1,697

Hari,

There is no transaction code for debugging. Either you have to hard code break points, or set the break points at the desing time or type /h in the command line.

Regards,

Ravi

Note : Please reward the helpful posts.

Read only

0 Likes
1,697

why do want to have some thing other than /h...

anyway if you want debugging from a certain statement,you can activate the program and then put a breakpoint on line..or you can put hardcoded breakpoint like

break harikrs. (if harikrs is ur user id)

so whenever the controls of execution comes here the program will switch to debugging mode.

dont forget to remove the break statement , once you fixed the error.

plz reward points if it helps you.

Read only

Former Member
0 Likes
1,697

Hi hari,

There is no transaction code for debugging.Instead u can set a break point in ur program where u want to check ur result.before setting the brealkpoint activate the objest and set ur break-pt.so that it appears in yellow color for ur reference.

This takes u to the debub mode.

Hope this helps u,

Regards,

Nagarajan.

Read only

abdul_hakim
Active Contributor
0 Likes
1,697

Hi Hari,

There is no transaction code exists for debugging.

You can either set a static break point / dynamic one.

For instance u type /h in command field to debug on the run.

Else u can use utilities->set break point

Before setting break point ur program needs to be activated..

Regards,

Abdul

Read only

Former Member
0 Likes
1,697

Hi,

As far as I know there is no transaction code to debug, however when you run the transaction SDMO and give the search string as 'DEBUG' this will list the following transactions,

Tcode Transaktionstext

@@D Debugger -> Documentation

DBG_A Debugger -> ABAP Editor

DBG_B Debugger -> Repository Browser

DBG_S Debugger -> Screen Painter

LAST_ Debugger -> ABAP Editor

PACC PF debugger

STDA Debugger display/control (server)

STDC Debugger output/control

STDU Debugger display/control (user)

Not able to navigate to most of the transactions mentioned here,

Rgds,

Read only

FredericGirod
Active Contributor
0 Likes
1,697

Hi Hari,

the simple way, I think is to create a shortcut (in your SAPgui).

Edit the shortcut and set:

Type : System command

Command: /h or /hs (hs is system command, if you want to debug all the program of SAP).

Rgd

Frédéric

Read only

Former Member
0 Likes
1,697

u can set break points in the program.no separate T code.