<?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 Re: Enhancement Sections??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899746#M1327846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replacing a standard implementation will have its overheads as you have stated.. In case one decides to do so then ofcourse one needs to monitor the modifications which SAP has done with laters SPs, which will need to be incorporated in your custom implementation. In the future if SAP delivers the solution for which you needed to replace the standard implementation earlier you can always delete your custom implementation, after which the standard SAP implementation takes over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible solution in your specific case could be:&lt;/P&gt;&lt;P&gt;1. Use modification assistant to create a Custom Enhancement Point and then create an implementation for this enhancement point. This way the standard enhancement implementation remains &amp;amp; is executed as it is. Subsequent changes via SPs also become effective.&lt;/P&gt;&lt;P&gt;2. Implicit enhancement option can also be explored &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jul 2009 04:52:31 GMT</pubDate>
    <dc:creator>nitesh_jain3</dc:creator>
    <dc:date>2009-07-16T04:52:31Z</dc:date>
    <item>
      <title>Enhancement Sections???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899741#M1327841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot seem to figure this out. I have a form routine i Standard SAP&lt;/P&gt;&lt;P&gt;in main program SAPMV60A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here there is an enhancement section XVBRP_MARKIEREN_01 (see below).&lt;/P&gt;&lt;P&gt;We have actived an industry solution, which means that the enhancement&lt;/P&gt;&lt;P&gt;section below has two implementations:&lt;/P&gt;&lt;P&gt; DIMP_GENERAL_SAPMV60A&lt;/P&gt;&lt;P&gt;OID_EXTD_SAPMV60A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When debugging it seems that only one of them is executed&lt;/P&gt;&lt;P&gt;(DIMP_GENERAL_SAPMV60A).  Can an enhancement section only have one&lt;/P&gt;&lt;P&gt;implementation? Is it by chance which one of the two gets executed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I decide to have a 3 implementation, creating my own implementation&lt;/P&gt;&lt;P&gt;of the enhancement section XVBRP_MARKIEREN_01.  This coding is not&lt;/P&gt;&lt;P&gt;executed. Still the former implementation (DIMP_GENERAL_SAPMV60A) is&lt;/P&gt;&lt;P&gt;executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I not able to overwrite existing enhancement section&lt;/P&gt;&lt;P&gt;implementations of an industry solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe there is a documentation on this area I havent found yet.&lt;/P&gt;&lt;P&gt;Maybe someone has some answers. We are on ECC 604 (Enhancement Pack 4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM XVBRP_MARKIEREN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: LOC_CHAR_FIELD(20) TYPE C.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Reset MSGID für XVBRP_LESEN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR: SY-MSGID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEREITS_MARKIERT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENHANCEMENT-SECTION     XVBRP_MARKIEREN_01 SPOTS ES_SAPMV60A.&lt;/P&gt;&lt;P&gt;  IF FCODE = 'FPDE' ...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;END-ENHANCEMENT-SECTION.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;$-Start: XVBRP_MARKIEREN_01----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------" /&gt;&lt;P&gt;$&lt;STRONG&gt;$&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ENHANCEMENT 3  DIMP_GENERAL_SAPMV60A.    "active version&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Former Switches /NFM/SD_SAPMV60A; AD_BOS_01_SAPMV60A&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF FCODE = 'FPDE' ...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDENHANCEMENT.&lt;/P&gt;&lt;P&gt;ENHANCEMENT 1  OID_EXTD_SAPMV60A.    "active version&lt;/P&gt;&lt;P&gt;  IF FCODE = 'FPDE' ...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDENHANCEMENT.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;$-End:   XVBRP_MARKIEREN_01----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------" /&gt;&lt;P&gt;$&lt;STRONG&gt;$&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF FCODE = 'MKAL'.&lt;/P&gt;&lt;P&gt;    XVBRP_TABIX = XVBRP_ERSTER.&lt;/P&gt;&lt;P&gt;    WHILE XVBRP_TABIX LE XVBRP_LETZTER.&lt;/P&gt;&lt;P&gt;      READ TABLE XVBRP INDEX XVBRP_TABIX.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        XVBRP-SELKZ = 'X'.&lt;/P&gt;&lt;P&gt;        MODIFY XVBRP INDEX XVBRP_TABIX.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      ADD 1 TO XVBRP_TABIX.&lt;/P&gt;&lt;P&gt;    ENDWHILE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF FCODE = 'MKLO'.&lt;/P&gt;&lt;P&gt;    XVBRP_TABIX = XVBRP_ERSTER.&lt;/P&gt;&lt;P&gt;    WHILE XVBRP_TABIX LE XVBRP_LETZTER.&lt;/P&gt;&lt;P&gt;      READ TABLE XVBRP INDEX XVBRP_TABIX.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0 AND XVBRP-SELKZ = 'X'.&lt;/P&gt;&lt;P&gt;        XVBRP-SELKZ = ' '.&lt;/P&gt;&lt;P&gt;        MODIFY XVBRP INDEX XVBRP_TABIX.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      ADD 1 TO XVBRP_TABIX.&lt;/P&gt;&lt;P&gt;    ENDWHILE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 12:10:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899741#M1327841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-10T12:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancement Sections???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899742#M1327842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Claus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whatever i have read &amp;amp; understood about Enhancement Sections, it can have only one active implementations at run time. In this case the two active implementation are one each for Automotive Industry Solution (DIMP_GENERAL_SAPMV60A) and the other for Oil IS (OID_EXTD_SAPMV60A). In your system from the information that you have provided, i can infer DIMP is active and Oil IS is not active (Switched Off). Since DIMP is active, the implementation DIMP_GENERAL_SAPMV60A is executed. In case you need to have a custom implementation then you would need to replace this specific implementation. If Oil IS would have been active in your system then the implementation OID_EXTD_SAPMV60A would have been executed and &lt;STRONG&gt;&lt;EM&gt;NOT&lt;/EM&gt;&lt;/STRONG&gt; DIMP_GENERAL_SAPMV60A. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note replacing standard implementation have to be done very very judiciously from the maintenance perspective and normally should be avoided. It would be better to find an Enhancement Point where multiple implementation would be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some useful blogs by Thomas Weiss of SAP would be worth a read to get a good insight into this new Enhancement / Switch framework concepts:&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8021] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8048] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8108] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8310] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8216] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8311] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8312] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12225] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you have any further queries, shoot at will.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Nitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 13:29:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899742#M1327842</guid>
      <dc:creator>nitesh_jain3</dc:creator>
      <dc:date>2009-07-10T13:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancement Sections???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899743#M1327843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess only One Source Code can be active. This status is derived based on its switch status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From SAP Keyword help: &lt;A href="http://help.sap.com/abapdocu/en/ABAPENHANCEMENT-SECTION.htm" target="test_blank"&gt;http://help.sap.com/abapdocu/en/ABAPENHANCEMENT-SECTION.htm&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the program is generated, exactly one source code plug-in replaces the assigned enhancement implementation whose switch has the status stand-by or on. If no switch is assigned to a source code plug-in, it is treated as if the switch is in the status on.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;If several source code plug-ins are found when the program is executed with the switch position on or stand-by, a conflict resolution is performed internally and the primary conflict resolving enhancement implementation is used. If there are several high priority conflict resolving enhancement implementations or if there are none, then correct conflict resolution is not possible. Instead, one of the primary conflict resolving enhancement implementations or one of the conflict resolving enhancement implementations is used. Exactly which one is used is the same for each program execution, but is otherwise undefined. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 13:32:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899743#M1327843</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2009-07-10T13:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancement Sections???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899744#M1327844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;
hi
read the last line of the below mentioned blog ie Caution:
[https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=77988719]

regards
surender.s
&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 13:43:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899744#M1327844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-10T13:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancement Sections???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899745#M1327845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your replies. To me as a customer making customer ABAP enhancements this means: DON'T USE ENHANCEMENT SECTIONS for adding customer functionality, if you have switched on an industry solution. Either SAP has delivered a solution for an enhancement section (you don't want to modify this one, mod. assistent is not supported), or if not, our implementing of an enhancement section might be overwritten by an Support Package or SPStack from SAP. The latter could also mean, i am stuck with my implementation, and standard industry implementation from SAP will not be activated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2009 13:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899745#M1327845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-13T13:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancement Sections???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899746#M1327846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replacing a standard implementation will have its overheads as you have stated.. In case one decides to do so then ofcourse one needs to monitor the modifications which SAP has done with laters SPs, which will need to be incorporated in your custom implementation. In the future if SAP delivers the solution for which you needed to replace the standard implementation earlier you can always delete your custom implementation, after which the standard SAP implementation takes over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible solution in your specific case could be:&lt;/P&gt;&lt;P&gt;1. Use modification assistant to create a Custom Enhancement Point and then create an implementation for this enhancement point. This way the standard enhancement implementation remains &amp;amp; is executed as it is. Subsequent changes via SPs also become effective.&lt;/P&gt;&lt;P&gt;2. Implicit enhancement option can also be explored &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 04:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899746#M1327846</guid>
      <dc:creator>nitesh_jain3</dc:creator>
      <dc:date>2009-07-16T04:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancement Sections???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899747#M1327847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. In general, there should be only one active implementation for an enhancement section.&lt;/P&gt;&lt;P&gt;2. In case, there are several implementations of an enhancement section, the first one in alphabetical order is processed.&lt;/P&gt;&lt;P&gt;3. As already stated, overwriting or replacing an enhancement causes higher maintenance effort. So implementing an enhancement point which can have many implementations is the better choice.&lt;/P&gt;&lt;P&gt;4. For reasons of mainentance the solution shown above to create an enhancement point by modification instead of replacing an enhancement is also a good solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 08:53:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-sections/m-p/5899747#M1327847</guid>
      <dc:creator>thomas_weiss</dc:creator>
      <dc:date>2009-07-16T08:53:26Z</dc:date>
    </item>
  </channel>
</rss>

