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: 

How to Debug a Screen or Transaction ?

Former Member
0 Kudos

Hi ,

I am developing a screen with table control. I would like to debug that one.

How can I do it ?

Bye,

Muttu.

11 REPLIES 11

Former Member
0 Kudos

you can debug the PBO and PAI of the screen.

for this got to the PBO and put a break point.

Hope this helps.

Regards,

kinshuk

Former Member
0 Kudos

To debug a transaction, u can put /h in command field and then start the transaction, the transcation will be opened in debug mode.

I hope it helps.

Best Regards,

Vibha

*Please mark all the helpful answers

0 Kudos

Hi ,

When I am giving like this /hzsdm where zsdm is the transaction code for that program..

then it is giving like ...

This function is not possible ( in the status bar it is giving)

0 Kudos

hi,

Enter the transaction zsdm in the command field..press enter...

after u get ur screen.. enter the required fields and then give /H in the command field.

it will go to the debugging mode.

regards,

priya.

sreeramkumar_madisetty
Active Contributor
0 Kudos

Hi

Using dynamic debugging (/h) you can debug the transaction code.

Regards,

kumar

Former Member
0 Kudos

type break-point at the place where you want to start your debugging.

Or activate everything, en press the stop button in the menubar when your cursor is at the place where you want to stop. When you run your programme, and code passes your breakpoint, the debugger will start automatically

Former Member
0 Kudos

Go to the menu System>Utilities>Debug ABAP

-->Debug Screen

-->Debug System

Regards,

Madhusudhan

Former Member
0 Kudos

Hi Satya,

You need not concatenate the transaction code with '/h'.

Simply write '/h' in the command editor and press Enter.

Now do whatever processing you need to do (e.g. press a button etc.).

The system will automatically switch to debugger mode.

Please reward points if helpful.

Thanks,

Himanshu.

0 Kudos

Hi ,

When I am debugging it is showing entire sap code also like calling abap editor ..methods ,, every thing which was written by sap people..

How to overcome this problem?

Former Member
0 Kudos

Hi Satya ,

In the satus of the transaction you would find the program name of the transaction.

Set the break point at the status code and execute the code it will go to debugging mode.

System - status- Program name - break point.

P.S : Reward if you find this useful

Regards,

Sandeep

Former Member
0 Kudos

you can dynamically debug the screen or transaction by using /h and entering and thjen executing.

reward this with points.