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

regarding break statement

Former Member
0 Likes
1,019

hi,

What does the following statement signify

Break username.

Is it akind of break-point??

helpfull answers will be rewarded.

regards,

niky

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
992

Hi Niky ,

This statement in used to set breakpoint for a specif user , so the breakpoint is active only for the specific user , whose username is mentioned in the statement .

e,g, break arun.

means that the program will stop at the statement only when the user arun is executing the program for all other users it will just execute without break.

Regard's

Arun

7 REPLIES 7
Read only

kostas_tsioubris
Contributor
0 Likes
992

Hi,

the statement break username in fact is the following code.

if sy-uname = username.

break-point.

endif.

Kostas

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
992

Hi

It will break that user at the time of execution.

It's similar to:

if sy-uname = username.

break-point.

endif.

Regards,

Sreeram

Read only

Former Member
0 Likes
992

Hi,

just refer this thread u will get u r answer

Reward points if useful..

Regards

Nilesh

Read only

Former Member
0 Likes
992

Hi

its not a break point but it is used instead of break-point if u pass this statement to any name as

break sachintendulkar

Rewards if helpfull

Regards

Pavan

Message was edited by:

pavan praveen

Read only

0 Likes
992

this is a user specific break point. if u set a breakpoint in this way it will set a break point only for that particular user !! this is done so that other users dont get break point!!!

Read only

former_member186741
Active Contributor
0 Likes
992

as the others have said it is a special kind of break. It is actaully a 'macro' which will only break if the user name = the one coded.

Read only

Former Member
0 Likes
993

Hi Niky ,

This statement in used to set breakpoint for a specif user , so the breakpoint is active only for the specific user , whose username is mentioned in the statement .

e,g, break arun.

means that the program will stop at the statement only when the user arun is executing the program for all other users it will just execute without break.

Regard's

Arun