<?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 Implementing enhancement point - not triggered in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-enhancement-point-not-triggered/m-p/2277182#M495418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling trying to implement enhancement point. The point in question is located in include MM06EF0B_BUCHEN:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ENHANCEMENT-SECTION     buchen_04 SPOTS es_mm06ef0b_buchen INCLUDE BOUND.
    CALL FUNCTION 'ME_UPDATE_DOCUMENT' IN UPDATE TASK
      EXPORTING
&amp;lt;skipped to save space&amp;gt;
END-ENHANCEMENT-SECTION.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the steps described in OSS note 922557, I've read through &amp;lt;a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/the%2bnew%2benhancement%2bframework%2band%2bthe%2bnew%2bkernel-based%2bbadi"&amp;gt;thomas Weiss' blogs&amp;lt;/a&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is step-by-step of what I've done&lt;/P&gt;&lt;P&gt;1. Go to SE38 and edit include MM06EF0B_BUCHEN (&amp;lt;a href="http://img394.imageshack.us/img394/3482/step1lm4.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;2. In the popup that appeared offering me to select main program I chose SAPLMEPO (&amp;lt;a href="http://img527.imageshack.us/img527/7686/step2ty7.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;3. Switched into enhancement mode using menu Program -&amp;gt; Enhance&lt;/P&gt;&lt;P&gt;4. Right-click on the enhancement-section and choose Enhancement-&amp;gt;create (&amp;lt;a href="http://img394.imageshack.us/img394/1043/step3gn4.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;5. In popup click Create button (&amp;lt;a href="http://img162.imageshack.us/img162/3219/step4om4.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;6. Enter enhancement name and description and click green check button (&amp;lt;a href="http://img162.imageshack.us/img162/5131/step5fv4.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;7. Select my newly created enhancement implementation and click green check button&lt;/P&gt;&lt;P&gt;(&amp;lt;a href="http://img522.imageshack.us/img522/5447/step6jq6.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;8. Enhancement implementation proposal appeared (&amp;lt;a href="http://img518.imageshack.us/img518/6082/step7fz6.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;9. I entered the code I wanted to implement&lt;/P&gt;&lt;P&gt;(&amp;lt;a href="http://img49.imageshack.us/img49/4553/step8pe8.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;10. Saved. Upon saving, my enhancement disappeared for some reason, but 2 other enhancement shown up (I collapsed them on the &amp;lt;a href="http://img524.imageshack.us/img524/3336/step9px7.jpg"&amp;gt;screenshot)&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;11. Program -&amp;gt; Activate enhancement brought up another pop-up that I green-checked&lt;/P&gt;&lt;P&gt;(&amp;lt;a href="http://img162.imageshack.us/img162/1512/step10dv9.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;12. I went to verify in SE80 that my enhancement is active and well - it appeared to be:&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://img340.imageshack.us/img340/9026/step11xd4.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when I debug through the code of include MM06EF0B_BUCHEN, when I come to the enhancement point, debugger only shows original code, so I don't seem to be able to  debug the enhancement (maybe because it is marked as Dynamic in enhancement definition?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I went back to SE38 and tried to change my newly created enhancement implementation - but it did not even appear in the list from step 4!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, what did I do wrong? Why my enhancement, though active, does not get triggered or even visible on attempt to edit it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2007 22:19:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-22T22:19:08Z</dc:date>
    <item>
      <title>Implementing enhancement point - not triggered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-enhancement-point-not-triggered/m-p/2277182#M495418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling trying to implement enhancement point. The point in question is located in include MM06EF0B_BUCHEN:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ENHANCEMENT-SECTION     buchen_04 SPOTS es_mm06ef0b_buchen INCLUDE BOUND.
    CALL FUNCTION 'ME_UPDATE_DOCUMENT' IN UPDATE TASK
      EXPORTING
&amp;lt;skipped to save space&amp;gt;
END-ENHANCEMENT-SECTION.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the steps described in OSS note 922557, I've read through &amp;lt;a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/the%2bnew%2benhancement%2bframework%2band%2bthe%2bnew%2bkernel-based%2bbadi"&amp;gt;thomas Weiss' blogs&amp;lt;/a&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is step-by-step of what I've done&lt;/P&gt;&lt;P&gt;1. Go to SE38 and edit include MM06EF0B_BUCHEN (&amp;lt;a href="http://img394.imageshack.us/img394/3482/step1lm4.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;2. In the popup that appeared offering me to select main program I chose SAPLMEPO (&amp;lt;a href="http://img527.imageshack.us/img527/7686/step2ty7.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;3. Switched into enhancement mode using menu Program -&amp;gt; Enhance&lt;/P&gt;&lt;P&gt;4. Right-click on the enhancement-section and choose Enhancement-&amp;gt;create (&amp;lt;a href="http://img394.imageshack.us/img394/1043/step3gn4.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;5. In popup click Create button (&amp;lt;a href="http://img162.imageshack.us/img162/3219/step4om4.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;6. Enter enhancement name and description and click green check button (&amp;lt;a href="http://img162.imageshack.us/img162/5131/step5fv4.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;7. Select my newly created enhancement implementation and click green check button&lt;/P&gt;&lt;P&gt;(&amp;lt;a href="http://img522.imageshack.us/img522/5447/step6jq6.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;8. Enhancement implementation proposal appeared (&amp;lt;a href="http://img518.imageshack.us/img518/6082/step7fz6.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;9. I entered the code I wanted to implement&lt;/P&gt;&lt;P&gt;(&amp;lt;a href="http://img49.imageshack.us/img49/4553/step8pe8.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;10. Saved. Upon saving, my enhancement disappeared for some reason, but 2 other enhancement shown up (I collapsed them on the &amp;lt;a href="http://img524.imageshack.us/img524/3336/step9px7.jpg"&amp;gt;screenshot)&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;11. Program -&amp;gt; Activate enhancement brought up another pop-up that I green-checked&lt;/P&gt;&lt;P&gt;(&amp;lt;a href="http://img162.imageshack.us/img162/1512/step10dv9.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;)&lt;/P&gt;&lt;P&gt;12. I went to verify in SE80 that my enhancement is active and well - it appeared to be:&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://img340.imageshack.us/img340/9026/step11xd4.jpg"&amp;gt;screenshot&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when I debug through the code of include MM06EF0B_BUCHEN, when I come to the enhancement point, debugger only shows original code, so I don't seem to be able to  debug the enhancement (maybe because it is marked as Dynamic in enhancement definition?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I went back to SE38 and tried to change my newly created enhancement implementation - but it did not even appear in the list from step 4!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, what did I do wrong? Why my enhancement, though active, does not get triggered or even visible on attempt to edit it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 22:19:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-enhancement-point-not-triggered/m-p/2277182#M495418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T22:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing enhancement point - not triggered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-enhancement-point-not-triggered/m-p/2277183#M495419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a similar problem. Solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Step 2. &amp;lt;b&amp;gt;Don't do this !&amp;lt;/b&amp;gt; "In the popup that appeared offering me to select main program I chose SAPLMEPO (screenshot)" --&amp;gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Select CANCEL&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 15:29:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-enhancement-point-not-triggered/m-p/2277183#M495419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T15:29:20Z</dc:date>
    </item>
  </channel>
</rss>

