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

Debugging an User Exit

Former Member
0 Likes
1,166

Hi,

How to debug an USER EXIT?

Thanks in Advance..

TOM..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,145

Hi

Insert a break-point in the beginning of user-exit and run the program.

Max

Message was edited by: max bianchi

8 REPLIES 8
Read only

Former Member
0 Likes
1,146

Hi

Insert a break-point in the beginning of user-exit and run the program.

Max

Message was edited by: max bianchi

Read only

athavanraja
Active Contributor
0 Likes
1,145

place a break-point in the code in user exit.

run the transaction and depending on the event the user exit is in it will get triggered when you run that part of the transaction.

Regards

Raja

Read only

Former Member
0 Likes
1,145

hi,

insert the break point in the user-exit include or use

break <username>

cheers,

sasi

Read only

0 Likes
1,145

Hi Thank you for your reply.

If it is in development sysytem its ok..

If it goes to testing system? Every time it will go to the debugging screen.

Will it create any problem in Testing system?

Regards,

TOM..

Read only

0 Likes
1,145

Hi Tom,

It is not good to put a hard coded break point in the user exit and transport to other systems. Instead you can have the soft break point. Check the 'Stop' button on the application toolbar.

It seems you are using the command 'break <username>'. For this the break point will be activated only for the username given.

Cheers

Vinod

Read only

0 Likes
1,145

Hi

Tom you haven't to set (write) a break point in the code of program, but:

goto se38 or se37 or se19 (depend on the type of user-exit), enter in program of your user-exit, place the cursor at the beginning of user-exit and push the ICON BREAK-POINT (red icon with STOP sign).

After run your program, it'll stop where you have setted the breakpoint.

Max

Message was edited by: max bianchi

Read only

0 Likes
1,145

hi,

we should remove the break statement before release the transport. very few cases only we use for break statement.

cheers,

sasi

Read only

0 Likes
1,145

You can check for your sy-sysid

if sy-sysid = 'TESTSYSTEM'.

break <username>

endif.

Biut I would use a soft-break in se38 also.

Matthias Kabel