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 create breakpoint with ABAP code?

Former Member
0 Kudos
218

Hi all,

I would like to create a breakpoint for my user id only.

So far, the only way that I know is by:

break <user_id>.

e.g.

break john.

HOWEVER, my user id contain a "." (i.e. chris.p) , and this cause syntax error.

Could anyone help me?

Thank you.

Best regards,

Chris

3 REPLIES 3

Former Member
0 Kudos
52

Hi,

that is the only way.

Try it with an if-statement.

if sy-uname eq 'chris.p'.

break-point.

endif.

Regards

Nicole

0 Kudos
52

OK, thank you.

Former Member
0 Kudos
52

Hi chris.

greetings

try like this:-

if sy-uname = 'CHRIS.P'.

break-point.

endif.

if helpful, plz reward points.

regards

prashant