Problem solve Get help with specific problems with your technologies, process and projects.

To break or not to break

This tip shows how to set a hard coded break-point in a program and not disturb any other users.

Ever wanted to set a hard coded break-point in a program and not 
disturb any other users?
You could write an if statement checking SY-UNAME, however there 
is a macro that does exactly that for you. Just type use BREAK 
 
   
in your code, where 
  
    is your UserID.
  
 

For example :
BREAK JOHN. 

This will do exactly the same as 

IF SY-UNAME = 'JOHN'.
  BREAK-POINT.
ENDIF.

This was last published in November 2001

Dig Deeper on SAP trends, strategy and ERP market share

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchHRSoftware

Close