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

How to create breakpoint with ABAP code?

Former Member
0 Likes
681

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
Read only

Former Member
0 Likes
515

Hi,

that is the only way.

Try it with an if-statement.

if sy-uname eq 'chris.p'.

break-point.

endif.

Regards

Nicole

Read only

0 Likes
515

OK, thank you.

Read only

Former Member
0 Likes
515

Hi chris.

greetings

try like this:-

if sy-uname = 'CHRIS.P'.

break-point.

endif.

if helpful, plz reward points.

regards

prashant