answers.sap.com Open in urlscan Pro
18.194.205.222  Public Scan

URL: https://answers.sap.com/questions/4793349/debug---how-can-i-put-a-break-point-when-a-variabl.html
Submission: On June 05 via manual from DE — Scanned from DE

Form analysis 1 forms found in the DOM

https://community.sap.com/search/

<form action="https://community.sap.com/search/" class="ds-question-detail__search">
  <div class="ds-search"><label class="ds-input__box"><input type="hidden" name="ct" value="qa"><input class="ds-input__control" name="q" type="search" autocomplete="off" value=""><span class="ds-input__placeholder">Search Questions and
        Answers</span><button class="ds-search__button ds-search__button-submit" type="submit" title="Search"><i class="ds-icon-encoded--search"></i></button></label></div>
</form>

Text Content

Diese Website verwendet Cookies und verwandte Technologien, wie in
unserer Datenschutzrichtlinie beschrieben, für Zwecke, die den Betrieb der
Website, Analysen, eine verbesserte Benutzererfahrung oder Werbung umfassen
können. Sie können sich dafür entscheiden, unserer Verwendung dieser
Technologien zuzustimmen oder Ihre eigenen Einstellungen vornehmen.
Einstellungen verwalten Alle akzeptieren Alle verweigern Cookie-Erklärung

Skip to Content

Do you have an S- or P- account?
If so, you need SAP Universal ID. In a few months, SAP Universal ID will be the
only option to login to SAP Community. Without it, you will lose your content
and badges. If you have multiple accounts, use the Consolidation Tool to merge
your content.
Get started with SAP Universal ID
 * Home
 * Community
 * Questions

 * Ask a Question
 * Write a Blog Post
 * Login / Sign-up
 * * Send a Message
   * Manage My Blog Posts
   * Quick Start Guide


Search Questions and Answers

Vote up1Vote down
Former Member
22 09 2008 um 08:33


DEBUG - HOW CAN I PUT A "BREAK-POINT" WHEN A VARIABLE HAVE A CERTAIN VALUE

6982 Views
Follow
RSS Feed

Answers

Include Comments
Get RSS Feed

Hi



I need help...

Do you know some kind os instruction or tools to see and stop in debug a program
when a variable have a specified value ?



For example:



At debug I want that a program "stop" when likp-vbeln = 70000123000.

Now for do this, I change the code and insert a IF( ), and i put a breakpoint.
But i need a way without need change code.





Thanks



 * Add a Comment
   
   HELP TO IMPROVE THIS QUESTION BY ADDING A COMMENT. IF YOU HAVE AN ANSWER FOR
   THIS QUESTION, THEN PLEASE USE THE YOUR ANSWER FORM AT THE BOTTOM OF THE PAGE
   INSTEAD.

 * Alert Moderator
   
   REPORT AS OFFENSIVE (I.E. CONTAINING SPAM, ADVERTISING, MALICIOUS TEXT, ETC.)


ASSIGNED TAGS

 * ABAP Development

Similar Questions
 * Watch Point
   Former MemberMar 07, 2007
 * Watchpoint equivalent to user breakpoint?
   Former MemberApr 13, 2015

5 Answers
Sort by:
Stimmen
Erstellt
Oldest
Best Answer
Vote up4Vote down
Former Member

Sep 22, 2008 at 08:39 AM

In the debug mode,

you can see a button called " watch point"(with icon)



a pop up will appear.

in the "filed name" mention "likp-vbeln"

in the "Relational Operator" mention " = "

in the Comp. field/value" mention "70000123000"

 * Add a Comment
   
   HELP TO IMPROVE THIS ANSWER BY ADDING A COMMENT. IF YOU HAVE A DIFFERENT
   ANSWER FOR THIS QUESTION, THEN PLEASE USE THE YOUR ANSWER FORM AT THE BOTTOM
   OF THE PAGE INSTEAD.

 * Alert Moderator
   
   REPORT AS OFFENSIVE (I.E. CONTAINING SPAM, ADVERTISING, MALICIOUS TEXT, ETC.)

 * Share

Vote up2Vote down
Former Member

Sep 22, 2008 at 08:34 AM

You can create watch points while debugging and save the watch point

Regards

MD

 * Add a Comment
   
   HELP TO IMPROVE THIS ANSWER BY ADDING A COMMENT. IF YOU HAVE A DIFFERENT
   ANSWER FOR THIS QUESTION, THEN PLEASE USE THE YOUR ANSWER FORM AT THE BOTTOM
   OF THE PAGE INSTEAD.

 * Alert Moderator
   
   REPORT AS OFFENSIVE (I.E. CONTAINING SPAM, ADVERTISING, MALICIOUS TEXT, ETC.)

 * Share

Vote up1Vote down
Naveen Inuganti

Sep 22, 2008 at 08:35 AM

Hi..,



You can go for WATCH POINT for this.

query-list



Thanks,

naveen Inuganti.

 * Add a Comment
   
   HELP TO IMPROVE THIS ANSWER BY ADDING A COMMENT. IF YOU HAVE A DIFFERENT
   ANSWER FOR THIS QUESTION, THEN PLEASE USE THE YOUR ANSWER FORM AT THE BOTTOM
   OF THE PAGE INSTEAD.

 * Alert Moderator
   
   REPORT AS OFFENSIVE (I.E. CONTAINING SPAM, ADVERTISING, MALICIOUS TEXT, ETC.)

 * Share

Vote up1Vote down
Former Member

Sep 22, 2008 at 08:38 AM

Hi Ricardo,



Use Watch point for this puppose.

Watchpoints allow you the option of monitoring the content of individual
variables.

The Debugger stops as soon as the value of the monitored variable arrives.



In addition, conditions can be specified. The Debugger also checks whether such
a condition is fulfilled.



Creating a Watchpoint



In the toolbar of the New Debugger, you will find the pushbutton Create
Watchpoint . It brings you to the dialog box Create Watchpoint.



Using this function, you can enter the variable to be monitored.

All possible ABAP data structures are allowed here.



Hope this will help.

Regards,

Nitin.

 * Add a Comment
   
   HELP TO IMPROVE THIS ANSWER BY ADDING A COMMENT. IF YOU HAVE A DIFFERENT
   ANSWER FOR THIS QUESTION, THEN PLEASE USE THE YOUR ANSWER FORM AT THE BOTTOM
   OF THE PAGE INSTEAD.

 * Alert Moderator
   
   REPORT AS OFFENSIVE (I.E. CONTAINING SPAM, ADVERTISING, MALICIOUS TEXT, ETC.)

 * Share

Vote up1Vote down
Former Member

Sep 22, 2008 at 08:39 AM

Hello,

Put a breakpoint and execute. Here in debugging mode u can find a watchpoint
button. click on it and give that variable and assign the value to it.. Then
press F8. Here watch point is executed and the code is executed till the value
to the variable assigned.



Rgds.,

subash

 * Add a Comment
   
   HELP TO IMPROVE THIS ANSWER BY ADDING A COMMENT. IF YOU HAVE A DIFFERENT
   ANSWER FOR THIS QUESTION, THEN PLEASE USE THE YOUR ANSWER FORM AT THE BOTTOM
   OF THE PAGE INSTEAD.

 * Alert Moderator
   
   REPORT AS OFFENSIVE (I.E. CONTAINING SPAM, ADVERTISING, MALICIOUS TEXT, ETC.)

 * Share


Know someone who can answer? Share a link to this
question.


BEFORE ANSWERING

You should only submit an answer when you are proposing a solution to the
poster's problem. If you want the poster to clarify the question or provide more
information, please leave a comment instead, requesting additional details. When
answering, please include specifics, such as step-by-step instructions, context
for the solution, and links to useful resources. Also, please make sure that
your answer complies with our Rules of Engagement.

 * Rules of Engagement


YOU MUST BE LOGGED IN TO SUBMIT AN ANSWER.

 * 
 * 
 * 
 * 
 * 
   Link einfügenLink entfernen
 * 
 * 
 * 
 * 

Please provide a distinct answer and use the comment option for clarifying
purposes.

10 characters required.
Submit your Answer

FIND US ON

 * 
 * 
 * 
 * 
 * 
 * 
 * 

 * Privacy
 * Terms of Use
 * Legal Disclosure
 * Copyright
 * Trademark
 * Cookie-Präferenzen
 * Newsletter
 * Support