<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to put a breakpoint at a particular text in program while debugging in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345943#M6506</link>
    <description>&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;while debugging , suppose i want stop  my debugger at a position where there is some text&lt;/P&gt;&lt;P&gt;like 'Please Check the LOC No' (which is coded is my program as if sy-subrc = 4.&lt;/P&gt;&lt;P&gt;          message 'Please check the  LOC No' type 'E'.&lt;/P&gt;&lt;P&gt;and there is no message number assigned for this error message..&lt;/P&gt;&lt;P&gt;how do i force stop my debugger at this particular point..&lt;/P&gt;&lt;P&gt;in my system there is no option break point at-&amp;gt;message &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/16975-debug1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;thanks in advance..&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2017 07:11:04 GMT</pubDate>
    <dc:creator>former_member185116</dc:creator>
    <dc:date>2017-01-25T07:11:04Z</dc:date>
    <item>
      <title>how to put a breakpoint at a particular text in program while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345943#M6506</link>
      <description>&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;while debugging , suppose i want stop  my debugger at a position where there is some text&lt;/P&gt;&lt;P&gt;like 'Please Check the LOC No' (which is coded is my program as if sy-subrc = 4.&lt;/P&gt;&lt;P&gt;          message 'Please check the  LOC No' type 'E'.&lt;/P&gt;&lt;P&gt;and there is no message number assigned for this error message..&lt;/P&gt;&lt;P&gt;how do i force stop my debugger at this particular point..&lt;/P&gt;&lt;P&gt;in my system there is no option break point at-&amp;gt;message &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/16975-debug1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;thanks in advance..&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 07:11:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345943#M6506</guid>
      <dc:creator>former_member185116</dc:creator>
      <dc:date>2017-01-25T07:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a breakpoint at a particular text in program while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345944#M6507</link>
      <description>&lt;P&gt;The message number 001 of message class 00 is implicitly used to map the text. Try setting a watchpoint on "SY-MSGNO = '001' "&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 07:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345944#M6507</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-01-25T07:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a breakpoint at a particular text in program while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345945#M6508</link>
      <description>&lt;P&gt;Ooo - I never knew that! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 09:31:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345945#M6508</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2017-01-25T09:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a breakpoint at a particular text in program while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345946#M6509</link>
      <description>&lt;P&gt;Is "Breakpoint at statement" with statement MESSAGE not an option?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 10:25:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345946#M6509</guid>
      <dc:creator>Peter_Inotai</dc:creator>
      <dc:date>2017-01-25T10:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a breakpoint at a particular text in program while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345947#M6510</link>
      <description>&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;per &lt;A target="_blank" href="https://help.sap.com/abapdocu_740/en/abapmessage_msg.htm#!ABAP_ALTERNATIVE_4@4@"&gt;SAP documentation&lt;/A&gt; - &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For compatibility reasons, this variant can still be used for classes that only implement the interface IF_MESSAGE. In this case, the interface methods GET_TEXT and GET_LONGTEXT are called automatically in the referenced object and their return value is used as the short text or long text of the message. &lt;U&gt;In this case, the system fields sy-msgid and sy-msgno are not filled specifically.&lt;/U&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;What am i missing here?&lt;EM&gt; &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 10:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345947#M6510</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2017-01-25T10:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a breakpoint at a particular text in program while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345948#M6511</link>
      <description>&lt;P&gt;hi sandra,&lt;/P&gt;&lt;P&gt;thanks for your solution, now i am able to force stop the debugger at any message text,&lt;/P&gt;&lt;P&gt;is this the only method or is there any other way by which we can force stop the debugger.&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;vinay..&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 11:09:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345948#M6511</guid>
      <dc:creator>former_member185116</dc:creator>
      <dc:date>2017-01-25T11:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a breakpoint at a particular text in program while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345949#M6512</link>
      <description>&lt;P&gt;To stop at each and every message statement you can create a statement breakpoint as already mentioned by Peter. To do that: Start the debugger, press Shift-F5, enter 'message' and confirm. &lt;/P&gt;&lt;P&gt;If you want to stop only at message statements that use text literals and not if they use message classes (as described in your original question) then Sandras solution is great and I think you won't find a better one. &lt;/P&gt;&lt;P&gt;If you have even more complicated requirements, e.g. stop only if a special literal occurs, then a custom debugger script might be helpful but that would be much more effort. The script would have to fetch the current source line...&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 14:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345949#M6512</guid>
      <dc:creator>Armin_Beil</dc:creator>
      <dc:date>2017-01-25T14:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a breakpoint at a particular text in program while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345950#M6513</link>
      <description>&lt;P&gt;The documentation you refer to is relevant for message statements that use object references (section "Alternative 4"). I think the original question was how to stop at message statements that use text literals.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 14:45:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345950#M6513</guid>
      <dc:creator>Armin_Beil</dc:creator>
      <dc:date>2017-01-25T14:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a breakpoint at a particular text in program while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345951#M6514</link>
      <description>&lt;P&gt;Gotcha... My bad! &lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 14:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345951#M6514</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2017-01-25T14:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a breakpoint at a particular text in program while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345952#M6515</link>
      <description>&lt;P&gt;hi armin,&lt;/P&gt;&lt;P&gt;in my system there is no option for message,&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/17255-d1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;i think i should go with sandras solution..&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;vinay.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 12:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345952#M6515</guid>
      <dc:creator>former_member185116</dc:creator>
      <dc:date>2017-01-26T12:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a breakpoint at a particular text in program while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345953#M6516</link>
      <description>&lt;P&gt;You nearly made it. ABAP Cmnds is the right tab. &amp;lt;Enter 'message'&amp;gt; means enter the text 'message' as first row entry into that table that is visible on your screenshot.&lt;/P&gt;&lt;P&gt;But as mentioned that will stop at each and every message statement while Sandras solution is better if you only want to stop at those message statements that use literals.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 07:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345953#M6516</guid>
      <dc:creator>Armin_Beil</dc:creator>
      <dc:date>2017-01-27T07:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a breakpoint at a particular text in program while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345954#M6517</link>
      <description>&lt;P&gt;Hi Armin Beil,&lt;/P&gt;&lt;P&gt;got your point,&lt;/P&gt;&lt;P&gt;thanks for your reply..&lt;/P&gt;&lt;P&gt;Note : unfortunately there is no Helpful Answer option in new platform, i hope the community designers would add this option in coming days..&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;vinay..&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 10:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-a-breakpoint-at-a-particular-text-in-program-while-debugging/m-p/345954#M6517</guid>
      <dc:creator>former_member185116</dc:creator>
      <dc:date>2017-01-27T10:19:25Z</dc:date>
    </item>
  </channel>
</rss>

