Re: Enhancement-point VS Enhancment-Section

HI All,
  Could you please let me know the use of Enhancement-Point and Enhancement-Section.
Thanx in Advance.
Regards
ambi

Hi Ambika,
Please check this link
http://help.sap.com/saphelp_nw70/helpdata/en/91/f1e540f8648431e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/81/9a3942ec4ae22ce10000000a1550b0/content.htm
The ABAP statements ENHANCEMENT-POINT and ENHANCEMENT-SECTION identify positions where code can be inserted or replaced. The enhancement implementations are regular repository objects and are assigned to a development package in the customeru2019s namespace when they are created.
The enhancement spots are used to manage explicit enhancement options. Enhancement spots carry information about the positions at which enhancement options were created. One enhancement spot can manage several enhancement options of a Repository object. Conversely, several enhancement spots can be assigned to one enhancement option.
Best regards,
raam

Similar Messages

  • How to find enhancement point or enhancement section

    Hi,
                        If anybody is trying to make changes to the approved sale order it shows a message
                        "SALE ORDER APPROVED BY xx CHANGES NOT POSSIBLE".
                        i want to know where excatly the enhacement code is written.
    Thanks & Regards,
    vijay karri.
    Edited by: vijaykarri on Jul 8, 2010 11:39 AM

    Hi ,
    Please find in the Source code using Search Option with the Message String  Or Using the Message No and Whereused List .
    Regards,
    Kishore.S

  • Difference between implicit and explicit enhancement points

    Hi Folks,
    I had learned many documents to findout the difference between explicit and implicit enhancement point.I got the theoritical knowledge on that but losing on the practical side..
    Can anybody help me out with one real time scenario where the explicit enhancement points have been implemented and the step by step procedure to implement it..
    Hoping for the positive response from you..
    Regards,
    Rohan.

    Hi Rohan,
    In implicit they are available at the beginning of subroutines defined in the standard reports.
    Edit-> Enhancement operations->show implicit enhancement options.
    This will highlight all the implicit enhancements in the report.
    In Explicit enhancement we have two different types of enhancements -
    Enhancement point and Enhancement section.
    Enhancement point - SAP has some standard functionality defined for a report , but it may be required that you'll need to add your own code. In this case the code that you'll add will be executed along with the standard code.
    Enhancement section - SAP has its standard functionality defines but it may not suit your requirement, in that case you may need to add your code and you'll need that code to be executed only. By this method the existing code is automatically commented and a copy of the same code is available to edit.
    After executing the report only your code will be executed and the standard code will be bypassed.
    For Practicle implementation, follow this link.
    Link : [http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bb54c452-0801-0010-0e84-a653307fc6fc]
    i hope it will give you some clear picture....
    Thanks.
    Anurag

  • Enhancement Point Creation in Internal table

    Hi,
    I want to create a Enhancement Point in Internal table declared in Customize Program.
    This is more related to clarification of concept related to Enhancment Point.
    But when i am putting the cursor inside the internal table and right click and Enhancment -> create ,it is giving me a message
    that "Position of enhancement section/point statement is not allowed".
    This means that we can't create Enhancement point or Enhancement Section inside the Internal table and solution is we can use
    only Implicit Enhancement point.
    But the doubt is that i had seen SAP programs where they have created the Enhancement point in the internal table declarations.
    How that is possible then?
    Please provide your helpful answers to get me more clarification on Enhancement Point/
    Thanks,
    Manish

    Hi Afzal,
    Below is the code from standard program :-
    DATA: BEGIN OF lbbes OCCURS 10,        "Tabelle für LB-Bestände
            lifnr LIKE ekko-lifnr,
            matnr LIKE mdpm-matnr,
            werks LIKE mdpm-werks,
            charg LIKE lifbe-charg,        " SC-batch: Key-Feld
            lgort LIKE resb-lgort,         " SC-batch
            lbmng LIKE lifbe-lblab,        "LB-Bestandsmenge
            erfmg LIKE mdpm-bdmng,         "Verfügbare Menge
            erfme LIKE mdpm-lagme,         "Basismengeneinheit
            wamng LIKE mdpm-bdmng,
            waame LIKE mdpm-lagme,
            vstel LIKE tvstz-vstel,
            ladgr LIKE marc-ladgr,
            sernp LIKE marc-sernp,
            lblfa LIKE t161v-lblfa,
            bdmng LIKE mdpm-bdmng,   "sum of dep. requirements from SC POs
            bdbam LIKE mdpm-bdmng,   "sum of dep. requirements from SC req's
            rsmng LIKE mdpm-bdmng,         "sum of transfer reservations
            slbbm LIKE mdpm-bdmng,   "sum of third-party SC requisitions
            slbmg LIKE mdpm-bdmng,         "sum of third-party SC POs
            lfimg LIKE komdlgn-lfimg,      "sum of open deliveries
            maktx LIKE mdpm-maktx,
            selkz LIKE sy-calld.
    ENHANCEMENT-POINT rm06ellb_03 SPOTS es_rm06ellb STATIC.
    $$-Start: RM06ELLB_03----
    $$
    ENHANCEMENT 3  /CWM/APPL_MM_RM06ELLB.    "active version
    DATA:   /cwm/waame LIKE mdpm-lagme,
            /cwm/lbmng LIKE lifbe-lblab,    "LB-Bestandsmenge in ParallelME
            /cwm/erfmg LIKE mdpm-bdmng,     "Verfügbare Menge in ParallelME
            /cwm/erfme LIKE mdpm-lagme,     "ParallelME
            /cwm/meins LIKE mdpm-lagme,     "CW-BasisME
            /cwm/bdmng LIKE mdpm-bdmng,     "sum of dep.req.< SC POs in PME
            /cwm/lfimg LIKE komdlgn-lfimg,  "sum of open deliveries in PME
            /cwm/rsmng LIKE mdpm-bdmng,     "sum of transfer reservations
            /cwm/slbbm LIKE mdpm-bdmng, "sum of third-party SC requisitions
            /cwm/slbmg LIKE mdpm-bdmng,     "sum of third-party SC POs
            /cwm/bdbam LIKE mdpm-bdmng.  "sum of dep. req´s from SC req's
    ENDENHANCEMENT.
    $$-End:   RM06ELLB_03----
    $$
    DATA:
          END OF lbbes.
    Now in the internal table lbbes they have created the enhancement point and in implementation of enhancement point they have declare some extra fields.This is not a implicit enhancement but it is a explicit enhancment implementation with the help of enhancement point.
    Similarly if i have to do in my customize program then how to go ahead?
    I knew that it is possible with Implicit Enhancement point and i can implement that also.
    Let me know your views about this.
    Thanks,
    Manish

  • ENHANCEMENT-POINT in reprot RM06EPS0

    HI ALL,
    I want to change report 'RM06EPS0' that is price comparson list, i think of copying this into a z report and then make changes. But when i open the source code it contains statements like this.
    [code]ENHANCEMENT-POINT RM06EPS0_G4 SPOTS ES_RM06EPS0 STATIC.
    $$-Start: RM06EPS0_G4----
    $$
    ENHANCEMENT 4  MGV_GENERATED_RM06EPS0.    "active version
    INITIALIZATION.
    DATA: mgv_matnr_prog LIKE rsvar-report,
          mgv_matnr_selopt_tab like rsldbdfs occurs 0 with header line.
    FIELD-SYMBOLS <mgv_matnr_selopt_conv> TYPE STANDARD TABLE.
    ENDENHANCEMENT.[/code]
    What are these ENHANCEMENT statement, can we use it to put our logic in standard report if yes when HOW ?
    Thanks,

    Hi
    See the doc
    ENHANCEMENT
    Syntax
    ENHANCEMENT id.
    ENDENHANCEMENT.
    Effect
    : These statements define a source code plug-in with the ID id. Between the statements, a source code enhancement can be implemented. The control structures and processing blocks contained in the implementation must be complete.
    The statements ENHANCEMENT and ENDENHANCEMENT can not be entered and edited directly. Instead, they are generated by the ABAP Workbench when enhancements are created as a part of the enhancement concept. The ID id is also assigned by the Workbench.
    Notes
    : In the terminology of the enhancement concept, a source code plug-in is an enhancement implementation element of a (simple) enhancement implementation.
    Although source code plug-ins are displayed in the same source code as the corresponding enhancement options ENHANCEMENT-POINT or ENHANCEMENT-SECTION, they are actually stored in other Include programs that are administrated by the Enhancement Builder.
    It is not yet possible to enhance a source code plug-in using further source code plug-ins. This means it is not currently possible to use the statements ENHANCEMENT-POINT and ENHANCEMENT-SECTION between ENHANCEMENT and ENDENHANCEMENT.
    Reward points if useful
    Regards
    Anji

  • Query for enhancement point.

    how to  use enhancement point in report?give me one example for this? give proper ans

    Hi Friend,
    We can use enhancement point to enhance standard report for customize requirement of our client.
    You can create enhancement point in display mode. There is button called Enhance (shift + F4). Click on that and it will ve in change like mode; now you can implement any enhancement point.
    To go to display mode press chnage/display button.
    Hope it will help you.
    Regards
    Krishnendu

  • Wt is enhancement point?

    Hi,
    can any one have documentation for SAP enhancement point and enhancement spot. Please let me know.
    please provide me the link .
    Thanks
    Venkatesh P

    Here are the series over enhancement framework by Thomas Weiss. Go thru them.
    /people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners
    The new Enhancement Framework Part 2 - What Else You Need to Know Before Building an Enhancement
    How To Define a New BAdI Within the Enhancement Framework - Part 3 of the Series
    How to implement a BAdI And How to Use a Filter - Part 4 of the Series on the New Enhancement Framework
    Source Code Enhancements - Part 5 of the Series on the New Enhancement Framework
    Edited by: Naren K Someneni on Jul 16, 2008 4:05 PM

  • Enter code in enhancement point

    Hi,
    Please tell me how i can insert code into an enhancement point. My enhancement point is ENHANCEMENT-POINT MM06BF0B_BUCHEN_01 SPOTS ES_SAPMM06B.
    <removed_by_moderator> Thanks.
    Edited by: Julius Bussche on Aug 26, 2008 12:51 PM

    Hi Charles,
    Click on the 'Enhance' button (button lying before the 'check' , 'activate' buttons) of the include MM06BF0B_BUCHEN which contains the enhancement point.
    Then right click on the enhancement point and select Enhancement Implementation -> Create. Give your enhancement implementation a name and description. Provide ur code under the enhancement point. Finally activate the implementaion by clicking on the button having symbol '(Activate symbol) Enhancements'.
    Regards,
    Soumya.

  • Difference between implicit enhancement and explicit enhancement

    What is the difference between implicit enhancement and explicit enhancement .

    Hi Peters,
    Implicit enhancement option
    Throughout the ABAP system, enhancement options are automatically available at certain pre-defined places. Some of the implicit options are:
    u2022 At the end of all the programs (Includes, Reports, Function pool, Module pool, etc.), after the last statement
    u2022 At the beginning and end of all FORM subroutines
    u2022 At the end of all Function Modules
    u2022 At the end of all visibility areas (public, protected and private) of local class
    To view all the implicit options available in a source code, choose u2018Edit -> Enhancement Operations -> Show Implicit Enhancement Optionsu2019 from the editor.
    Befor that you click on the spiral icon button in the application toolbar
    Explicit enhancement option
    The Implicit enhancement options are provided at specific source code places explicitly by SAP (Note that these enhancement definitions can also be created by partners and customers in their code).
    There are two types of Explicit Enhancement options available. One which can be provided at a specific place - called Enhancement Point, and another which can be used to replace a set of statements u2013 called Enhancement Section. For this, we now have two new ABAP statements, viz.
    u2022 ENHANCEMENT-POINT
    u2022 ENHANCEMENT-SECTION
    When the Enhancement-Section is implemented, only the implementation gets executed and the original code doesnu2019t get executed. This is a new technique, which didnu2019t exist previously in any of the old ways of enhancing, to exclude any standard SAP code from execution. Because of this, there can be only one active implementation of an Enhancement-Section. On the other hand, there can be multiple active implementations of an Enhancement-Point, in which case all the implementations will be executed with no guarantee in the order of execution.
    For more information check the following link
    [http://help.sap.com/saphelp_nw70/helpdata/en/94/9cdc40132a8531e10000000a1550b0/frameset.htm]
    Thanks,
    Surya

  • Program related ENHANCEMENT-POINT/SECTION with the name LMEPOF8D_02 exists

    Hello
    In an upgrade, after finishing with the SPAU task we got the following error in the standard object LMEPOF8D:
    A program related ENHANCEMENT-POINT/SECTION with the name "LMEPOF8D_02" already exists.
    Anyone knows which cause could be generate this kind of error?
    Thanks in advance for your help
    Best Regards,
    Leonardo

    Hello Sandra,
    We have finished with SPAU. Regarding LMEPOF8D include, we kept with the ECC6 standard code. Therefore, from a point of view of code, it should be ok. However, we have this sintax error.
    As you said, the include contains the enhancement point LMEPOF8D_02 which generates the sintax error, but we couldn't find if this enhancement is used in another place.
    We also found note 1331844 and tried to fix the issue by using the 2nd solution propose in the note. But, it didn't work neither.
    Do you have any idea about what cause could generates this error?
    Thanks in advance for your support.
    Best Regards,
    Leonardo

  • Does Web Dynpro support adding Enhancement Points/Sections

    Hi,
    Can someone answer whether the ABAP Web Dynpro framework is supposed to support add enhancement points/sections to code within a component method?
    Cheers
    Michael Arter

    hi,
    check out this link :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/c21ba177be3376e10000000a421937/frameset.htm
    also check out the foll post:
    Pre-Exits and Post-Exits for WDA
    hope this will surely help you!!!
    Thanks & regards,
    Punit Raval.
    Edited by: punit raval on Jul 9, 2009 10:53 AM

  • Create Enhancement Point / Section ?

    Hi,
    I want to create a new enhancement point / section in a standard SAP code, how to create it. I need to create it in the code "SAPLMIGO".
    regards,
    Navneeth K.

    Hello Navneeth,
    Please be aware that this Enhancement Framework is available from netweaver2004s as i understood,or if the SAP Basis version is greater than 700
    Create a composite enhancement spot
    1.Select the package in which you want to create the enhancement spot.
    2.Open the context menu and choose Create ® Enhancement ® Composite
    Enhancement Spot.A dialog appears.
    3.Specify a name and a short description.
    Optionally, you can assign the new spot to an already existing composite enhancement spot.
    4.Choose Activate to activate the new spot.
    Create a subordinate composite enhancement spot
    1. Open the desired package.
    2. Select the composite enhancement spot to which your new subordinate composite spot will belong.
    3.Open the context menu and choose Create ® Subordinate Composite Enhancement Point.
    A dialog appears.
    4.Specify a name and a short description.
    5.Choose Activate to activate the new subordinate spot.
    Result:
    ● The selected composite enhancement spot and its newly created subordinate one are displayed in the object list in a list form (not as a tree) on the same level.
    ● Choose the composite enhancement spot and select the Spot Composites tab to check whether the new subordinate composite is properly attached.
    ● The header of the new subordinate spot has to contain the name of the composite enhancement spot to which this subordinate is attached.
    ● Use a forward navigation to Navigate from parent to child and back.
    Create a simple enhancement spot
    1. Select the package in which you want to create the simple enhancement spot.
    2.Open the context menu and choose Create ® Enhancement ® Enhancement Spot.
    A dialog appears.
    3.Specify a name and a short description.
    Optionally, you can assign the new spot to an already existing composite enhancement spot.
    4.Select the desired technology from the Technology list.
    Currently it is only possible to create enhancement spots of type “BAdI“.
    Source code plug-ins can only be created inside the editor, because they contain points and sections.
    5.Choose Activate to activate the new simple enhancement spot.
    Edit an enhancement spot
    1.Select the package and expand it.
    2.Expand the Enhancements node.
    3.Expand the Enhancement Spot node.
    4.Select the desired enhancement spot.
    5.Choose Change from the context menu.
    Choose Display if you only want to display the enhancement spot.
    Delete an enhancement spot      1.Select the package and expand it.
    2.Expand the Enhancements node.
    3.Expand the Enhancement Spot node.
    4.Select the desired enhancement spot.
    5.Choose Delete from the context menu.
    Additional informations:
    Blog link on enhancement framework
    /people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners Part1
    /people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement Part2
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series Part3
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework Part4
    /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework Part5
    Pls check out the document for another set of notes on enhancements
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bb54c452-0801-0010-0e84-a653307fc6fc
    Hope it was of some help
    Reward if useful
    Regards
    Byju

  • Regarding main difference between  Enhancement point and section

    Hello,
    Actually Iam new to Abap ,I would like to know the main difference between Enhancement point and section, so can you please give a brief clarification.
    Thanks & regards,
    Raju.
    Moderator message: Welcome to SCN!
    Moderator message: please search for available information/documentation.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|Asking Good Questions in the SCN Discussion Spaces will help you get Good Answers]
    Edited by: Thomas Zloch on Feb 5, 2012 8:59 AM

    Hi Raju,
    Please see the article below. He will help you:
    [Introducing the Enhancement Framework: The Cool New Way to Enhance Your ABAP Systems|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/bb54c452-0801-0010-0e84-a653307fc6fc]
    Regards,
    Bruno Xavier.

  • Enhancement Point in ABAP code

    Hi ,
    I am working on an upgrade from 4.6 to ECC ,so have a  have a standard FM with an enhancement point , how do i know if there is an implementaion for that or not and can i debugg the code in the enhancement point .
    When i click on the enhancement spot it goes to a class and i can see the code in that methods but cant set a breakpoint in it , kindly suggest what should i do.
    Regards
    Arun

    Hi
    double click on the enhancement point. it will take you to the enhancement spot into which it is defined.
    click on the tab "enhancement implementation". it will show you all the existing implementation. I you find nothing than this point is not implemented yet.
    if it is taking you to a class then it is a BADi implemented via new enhancement framework. to find it is implemented or not, repeat the above steps. to debug it:
    in the left section, expand entries under heading BADi definitions.
    double click on "implementations". you will get the existing entries on right side. double click on this entry. on the left side under heading "BADI definitions" you will get the implementing class.
    double click on it to get the class name.
    go into the class and see the method implemented. u try to hard code the break point into the method,
    activate it and then try to debug it.
    Thanks
    Vishal Kapoor

  • Enhancement-Point in ECC6 Issue

    Hi all,
    We recently did an Technical Upgrade from ECC5 to ECC6.
    After the Upgrade, during the Syntax Check in one of the custome reports we developed, we are getting an error "The statements ENHANCEMENT-SECTION and ENHANCEMENT-POINT (without the STATIC addition ) can only be used in executable coding".
    When I checked, i found that this comes from a standard include I_RFIDYYWT_FICA_SEL which is called inside out custom report. There is an Enhancement-Point without the STATIC addition and this is resulting in this issue.
    Coudl you please let me know whether there is any way by which we can deactivate this Enhancement-Point or is there any other solution to over come this issue.
    Many thanks in advance,
    Regards,
    Anoop R.S

    Hi,
    to find the user exits & Badi's for the T-code..
    go to table TSTC>enter T-code and execute> get the Program for the t-code..
    and go to-se38-->get the package attached to the t-code..
    next go to t-code Se15>expand the enhacement tab>enter package under userexit and
                                                         execute you will get the list of exits
                                                         available...
                                                      -->enter package under Badi's tab and
                                                         execute you will get the list of Badi's
                                                         available... 
    All the User exits are stored in Table MODSAP..
    Implemeting User-exit..
    go to t-code  smod -->enter the  Exit name --> click on display --> click on components
                                                                      --> clcik on Finction module
                                                                      --> click on include under function module
                                                                       --> it show warning message ignore that and hit enter and write the code
    and activate again the SMOD..
    Prabhudas

Maybe you are looking for

  • How can I set up a VPN between two MacBook Pros

    I am about to buy a new MacBook Pro, I will be leaving my old MacBook Pro in my office in Nicaragua and traveling with my new MBP. I would like to be able to access files on my old laptop from the road, I imagine using some sort of VPN software to pa

  • How do I specify utility jars that my application needs in EAR file

    I'm using weblogic 7.0 and trying to deploy and application. I would like to add any utility classes related to this application with in the .ear file and deploy the application. Where should I add these files. Does APP-INF/lib work with 7.0? Please

  • Error accessing mysql database from a remote host

    Hi all, I'm running the following PL/SQL script and encountered some errors. The MySQL server is hosted off campus by a hosting company. However, when I run the same script against a MySQL database server hosted on campus, the script works fine. Here

  • Why is my list of bookmarks always on my screen?

    Why is my list of bookmarks always on my screen?

  • BUG: LabView 2009 WebServer crash

    Here is a simple VI containing no controls, functions or libraries in LabView 2009 f3. WebServer settings are default. After Tools->Web Publishing Tool operation from other PC we are connecting to this panel (IE6 for example) and putting a finger to