Enhancement spot in ECC 6.0

Hi all,
can anyone please make it clear on what enhancement spot is in ECC 6.0.
All Useful answers will be rewarded..
Thanks & Regards,
Saroja.

Hi
ENHANCEMENT-POINT
ENHANCEMENT-POINT can either be static (for example, additional data declaration) or dynamic (for example, additional coding).
http://help.sap.com/saphelp_nw2004s/helpdata/en/56/ee9441026aae5fe10000000a1550b0/content.htm
Refer the very useful links below:
Enhancement-Point is a part of the new enhancement framework. He is some lite reading.
http://help.sap.com/saphelp_nw2004s/helpdata/en/94/9cdc40132a8531e10000000a1550b0/frameset.htm
Please check this blogs and wiki as well.
/people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
/people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/thenewEnhancementFrameworkandthenewkernel-basedBAdI&
Please check these weblog for more information and sample codes.
/people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners
/people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/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
/people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
Look at this articles:
New Enhancement Framework
Enhancement Framework
Enhancement Framework - The New Way to Enhance Your ABAP Systems
Switch Framework Demo
Introduction to the Enhancement Framework
To now more about BADi Implementation see:
How To Define a New BAdI Within the Enhancement Framework
How to implement a BAdI And How to Use a Filter
Enhancement-Point is a part of the new enhancement framework. He is some lite reading.
http://help.sap.com/saphelp_nw2004s/helpdata/en/94/9cdc40132a8531e10000000a1550b0/frameset.htm
Please check this blogs .
/people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
/people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/thenewEnhancementFrameworkandthenewkernel-basedBAdI&
Enhancement frame work is the new concept using which SAP allows you to change the existing programs
See the following blogs that talk about the same in detail
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/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
/people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
Defines a position in an ABAP program as an enhancement option, at which one or more source code plug-ins can be inserted.
Syntax
ENHANCEMENT-POINT enh_id SPOTS spot1 spot2 ...
                  [STATIC]
                  [INCLUDE BOUND].
Extras:
1. ... STATIC
2. ... INCLUDE BOUND
Effect
: This statement defines an explicit enhancement option at the current position in the program at which a source code enhancement can be made. In program generation, the source code plug-ins of the assigned enhancement implementation that are available in the current system and have a switch in the status stand-by or on, are inserted at this position.
If the addition STATIC is not specified, the source code enhancement is dynamic. This means that in program execution, only those source code plug-ins are executed whose switch has the status on. If a source code plug-in does not have a switch assigned to it, it is handled in the same way as a plug-in with a switch in the status on.
With enh_id, an ID must be specified directly for the enhancement option, which is unique in the current compilation unit without the addition INCLUDE BOUND, and with this addition, is unique in current Include program. At least one enhancement spot must be assigned to the enhancement option using the specification simple enhancement spots spot1, spot2, and so on.
Within enhancements, one or more source code plug-ins can be created for one enhancement option. A source code plug-in is created by the assignment of an enhancement implementation in the Enhancement Builder. This automatically generates an empty source code plug-in with a unique ID, which is displayed underneath ENHANCEMENT-POINT in the Editor, where the actual enhancement can be implemented between ENHANCEMENT and ENDENHANCEMENT.
A source code plug-in is assigned to only one enhancement option. Multiple source code plug-ins of one enhancement implementation and the source code plug-ins of multiple enhancement implementations can be assigned to one enhancement point.
Notes
: In the terminology of the enhancement concept, the statement ENHANCEMENT-POINT includes both the enhancement spot element definition and the enhancement spot invocation of the enhancement option.
The statement ENHANCEMENT-POINT can either be entered directly or created by choosing Edit ? Enhancement operations ? Create enhancement in the Enhancement Builder. After the program has been saved or created using Edit ? Enhancement operations ? Create enhancement, the statement can only be deleted by choosing Edit ? Enhancement operations ? Delete enhancement.
In addition to the enhancement options explicitly specified by ENHANCEMENT-POINT, ABAP programs also contain implicit enhancement points, which can also be enhanced using source code plug-ins.
Addition 1
... STATIC
Effect
: The addition STATIC is used to define a static source code enhancement. In a static source code enhancement, all incorporated source code plug-ins are taken into account when the program is executed, including those whose switch is in the status stand-by.
Note
: The STATIC addition is intended for the enhancement of data declarations, while the statement ENHANCEMENT-POINT without the STATIC addition is designed for the enhancement of executable coding. When the statement is executed using Enhancements ? Create enhancement, the addition is set according to this selection.
Addition 2
... INCLUDE BOUND
Effect
: This addition can be entered in Include programs. It links the source code enhancement to the current Include program. Each program that incorporates an Include program only includes the source code enhancements that are defined with this addition. Source code enhancements created using the INCLUDE BOUND addition have their own namespace in each Include program. This ensures that if several Include programs are integrated into one compilation unit, no namespace conflicts arise, either between Include programs, or with the source code enhancements of the compilation unit.
Without the addition INCLUDE BOUND, a source code enhancement is assigned to only one compilation unit. If the statement ENHANCEMENT-POINT is executed in an Include program without this addition, a compilation unit must be assigned to it in the Enhancement Builder.
Note
: In an Include program, Include-bound and non-Include-bound source code enhancements can not be defined at the same time. This also applies if an Include program incorporates other Include programs.
Enhancement points are points provided by sap in standard programs to modify the source code. Go to any standard program, Locate the spiral button on the toolbar. Then press it and then navigate to edit->enhancement operations->display enhancement point menu. Then a no of yellow lines would appear, which are the available en points. You would have to change it and write the applicable source code.
Regards
Anji

Similar Messages

  • Creating Enhancement Implementation for the  Enhancement spot in ECC 6.0

    Hi All,
    I have an urgent requirement of creating an Enhancement implementation for the existing Enhancement Spot in ECC 6.0 ..
    I never worked on enhancement in ECC 6.0.
    There is an existing enhancement spot called "ES_SAPLIQS0" in the package " IWOC". which has got three existing implementations
    1. DI_ROT_SAPLIQS0
    2. ISU_SAPLIQS0
    3. DIMP_GENERAL_SAPLIQS0
    I need to create another implementation for the same enhancement spot.. Please let me know the detailed procedure to create the enhancement implementation for the same spot..
    Thanks-
    Shrikant
    useful answers will be rewarded.

    First of all find out the include program where you want to write the logic.. Click the spiral button to go to enhancement mode.. then click on Edit > Enhancement operations> Show implicit enhancement points.
    This will hightlight all the enhancement points in your include program. Right click on exact enhancement point and select Enhancement Implementations --> Create,, It should give you the same Enhancement spot you are talking about. select that and write the code.. This code will be automatically appear in the same enhancement spot. You can see one more Enhancement implementation in the same Enhancement spot from the transaction code se19.
    Hope my explanation is clear, if you have any doubts, send me a mail at [email protected]
    All the best.
    Shrikant

  • Enhancement Spot in ECC 6

    Hi Gurus,
    I want to know about Explicit Enhacement spot and how it can be made and what is the use of it.if there is some screen shots available then kindly provide the link.
    Every Helpfull software will surely awarded Points.

    goto the program. click on the enhancment button(one with curled) on the tool bar.
    the screen color will change. click on goto->enhancments->show implicit enhacment.
    you will see yellow color line. chose the line wher you want to enhance and right click and select enhanment->create.
    in the dialog box, press create button. give the enhacment spot name. press ok.
    now select your enhancement name and press ok
    your enhancment will be added in the code.
    press activate to activate the point.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bb54c452-0801-0010-0e84-a653307fc6fc
    Reward if useful.

  • Wt are different ways to find enhancement spots(User Exits) in ECC 6.0??

    Hi Friends,
    How are you all doing??
    Friends relevant  answers are awarded points. Pls give solutions..
    What are the different ways to find the enhancement spots (i mean user exit points) in ECC 6.0??
    I want to find the enhancement spot in sale order transaction (va01/va02) after save happening or else after commit happen. In that i need to call the badi method on_costing_component. So friends could you give solution for this.

    Hi
    You can see this document for knowing the Userexits for a given Trxn.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/abap-code-samples/userexits%20in%20a%20transaction.doc">Listing UserExits in Transactions</a>
    Regards
    Raj

  • Badi implementation in ECC 6 version using Enhancement spot

    Hi,
              I've to create an implementation for an already existing BADI in ECC 6.0 version.The interface method of the badi is getting called in main program in a standard include.Is it possible to create that using New badi Enhancement spot option in se19? If so where should i create the enhancement point because when i'm trying to create implementation i'm getting the message Enhancement point zbadi_le_shipment does not exist .
    Thanks in advance
    poornima

    Hi,
       First u need to implement the BADI badi_le_shipment
    Implementing Business Add-Ins (BADI)
    The use of object orientated code within SAP has lead to new method of enhancing standard SAP code called
    Business Add-Ins or BADI's for short. Although the implementation concept is based on classes, methods and
    inheritance you do not really have to understand this fully to implement a BADI. Simply think of methods
    as a function module with the same import and export parameters and follow the simple instructions below.
    Steps:
    1. Execute Business Add-In(BADI) transaction SE18
    2. Enter BADI name i.e.badi_le_shipment  and press the display
    button
    3. Select menu option Implementation->Create
    4. Give implementation a name such as Zbadi_le_shipment
    5. You can now make any changes you require to the BADI within this
    implementation, for example choose the Interface tab
    6. Double click on the method you want to change, you can now enter
    any code you require.
    7. Please note to find out what import and export parameters a
    method has got return the original BADI definition
    (i.e. badi_le_shipment ) and double click on the method name.Under this AT_SAVE  is the method put break point.
    8. When changes have been made activate the implementation
    YOu can go through these links...
    http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
    http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    Regards
    Kiran Sure

  • Enhancement spots for ME59N

    Hi All,
    Can any one give an idea to find the suitable enhancement spots for any transaction.
    I am working in ECC 6.0.
    In my case i need to find for ME59N, the program name is RM06BB30, and the requirment is for automatic creation of PO for different Tax Classifications.
    There is an user exit ME590001 which is suitable for this application, but we are instructed to avoid user exits so we have to go for enhancement spots.
    Thanks,
    Rama

    Hi,
       refer
    https://forums.sdn.sap.com/click.jspa?searchID=7035836&messageID=3610819
    Regards

  • Enhancement Spot & BADI

    Hi All,
    I know we can create a BADI in ECC 6.0 using the Enhancement Sopts. Then why do we need a BADI create option also in SE18, when Enhancement Spots take care of BADI's already?
    Please provide any inputs on the same.
    Thanks & Regards,
    Binu

    Hi,
    check below link
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=howtoimplement+badi&cat=sdn_all
    Regards,
    Madhu

  • Enhancement Spot, Custom Badi

    Hi Experts,
    can any solve my problem.
    What is Enhancement Spot. What is the use of this.
    In ECC 6.0 I am unable to create a custom BADI. ( I know to create this in ECC5.0 ).
    Can any One give detail procedure to create Custom BADI
    and to Implement this in an executable program in ECC 6.0.
    Thanks & Regards,
    Kumar.

    Hi
    Please go through the below links to learn about the SAP new enhancement frame which explains you all about enhancement spot, enhancement points , enhancement option etc.
    SDN links.
    https://www.sdn.sap.com/irj/sdn/nw-development?rid=/webcontent/uuid/2342e1f3-0b01-0010-a186-fdd404884050
    help.sap links
    http://help.sap.com/saphelp_nw04s/helpdata/en/91/f1e540f8648431e10000000a1550b0/frameset.htm
    Wiki
    https://wiki.sdn.sap.com/wiki/display/ABAP/ThenewEnhancementFrameworkandthenewkernel-basedBAdI
    In WIKI read the weblog series.
    Edited by: Surender Yadav on Sep 19, 2008 1:17 PM

  • Enhancment spot

    hello!
    we upgraded the system from 46C to ECC6. I have some problem with one of the print program which isn't sap standard. in one of the includes FM06PTOP some of the fields are missing.
    I created an include ZFM06PTOP, but when i activated it, it created enhancement spot FM06PTOP_01.
    I have no idea about how to create and use the enhancement spots.
    how can i change the standard include without creating Z include, using the enhancement spot.
    Is there any tutorial about it?
    regards
    yifat

    Hi Yifat,
                I cannot give you a confident answer since I am not using ECC 6.0, but to help you out, - Enhacement spots consists of some exits (Function, Menu, Screen). In the exit, say Function Exit, you will find an <b>INCLUDE</b> <program_name>. Just double click that, go to the change mode and you can write your code in the INCLUDE program. After that activate it.
    Till ECC 5.0 there were some predefined Enhancement spots, I mean there were no provision to create them. But since you are telling the Enhancement spot  <b>FM06PTOP_01</b> got created, try giving this name in SMOD transaction and click display. If it shows some Function Exit(s), follow the above procedure and I think your job will be done.
    Regards,
    Abdul

  • Enhancement Spot Vs BADI

    Hello SDNites,
    The question I am asking is a simple conceptual question but am not able to get the answer of the same. Please help me in this regard.
    1. In ECC 6.0 can we create custom BADI definition. I have tried the same and it is not allowing me and it is saying creation operation only possible for enhancement spots. Why is that so?
    2. Enhancement spot falls under explicit enhancement of enhancement framework. Correct me if ?I am wrong?
    3. How can we find Enhancement spot for a particular transaction.
    Regards,
    Abhi

    Hi,
    The idea behind  the Enhancement spot is to organize all the enhancements in a specific place called enhancement spots, earlier if you implement a BADI you can't track it using object navigatore but now you can track all the enhacements which you made in the system using se80->Tab Enhancement Info System.
    2. Yes.
    3. You can't find the spot for a transaction, but you can find the Enhancement spots by providing application component and package name in se18 transaction.
    Regards,
    Narayan

  • Enhancement spot implementation - HREIC_ACTIVITY_BEFORE_SAVE

    Hi
    I need to implement this enhancement spot - 'HREIC_ACTIVITY_BEFORE_SAVE' and change the method 'CHECK_ATTRIBUTES' in it.
    Whenever I click to implement it asks for the enhancement name which I give, but then it asks for a Class, I am giving some related classes to EIC, but all say that the interface is not a part of this class, I also gave a Z class, but whenever I go to change the method, it asks for an access key.
    I have not worked on enhancement spots yet...can anyone help.
    Thanks
    Bhavna

    Hi Bhavna,
    What you need to do is specify the name of the "z" class for the enhancement spot to create. It will create the class, implementing the interface. You can specify for it to be saved in your "package" so that it can stay with all of your other objects.
    But, if you want it to use an existing class, then you need to be sure your existing class implements the interfaces "IF_BADI_INTERFACE" and "IF_HREIC_ACTIVITY_BEFORE_SAVE".
    When you say "it asks for an access key", is it asking for a developer key or for an object access key? If a developer key, that means you need to be set up still to develop in ABAP (a requirement for implementing your own BAdI). if an object access key, you are trying to edit an SAP delivered object which is not what you want to do. On the ECC 6.0 system I'm currently working with, there does not appear to be an SAP delivered implementation for this BAdI, just one I created earlier on in our EIC project.
    Let me know if anything here helps. I can also send you some screen shots of how mine is configured.
    Sincerely,
    Glenn
    Covington Creative, LLC

  • How to use Enhancement spot in program

    Hi gurus,
    now i am working ecc 6.0, so how to use Enhancement spot in program, can anybody explain step by step.
    Rewarded with points.
    Thanks
    Naveen

    Hi Naveen ,
    Enhancement Spot are available.
    Examples:
    -End of Executable Program, Include, Function group, Dialog module
    -Begin/End of Form routine / Function module / Method
    -End of a structure
    -End of Private/Protected/Public Section of a local class
    If you want to create Implementation , You have to right click on yellow color line and gve Zxxx and save it in any
    transport request under any dev class. Then you can write your own code and save it and activate it .
    Later If you want to Transport it you need to transport this request.
    Reqward if usefuil
    Thanks
    Jagadeesh.G

  • How implement Enhancement Spots??

    Hi Group,
    I have done some thing in BADI, but, one more thing is there like "Enhancement Spots" in the same Screen.
    Could you please let me know the relevance of it over the BADIs and how to implement the same , if possible through some Links/Blogs on the same.
    Thanks in advance.
    Regards,
    Vishnu.

    Hi Vishnu,
    First of all, if you are using ECC 6.0, then you will fine new Enhancement Framework wiht Enhancement Spots.
    From ECC 6.0 onwards, if you want to implement BADI, you need to find the respective Enhancement Spot for that BADI in the code and go to SE19 and, give the ESpot and BADI name and then implement the same.
    Hope this helps, if you need enough info, pls mail me to my id:
    [email protected], I ll send you docs related to the implementation of the same.
    Reward Points if helpful
    Regards,
    Harish Kalla

  • Enhancements spot not working at debugging.

    Hi All,
    I am implementing enhancements spot in FM 'QEST_TOLERANCE_INSPECTION' that all implementation done successfully But while i am debug this code at that time the implemented  enhancements spot doesn't appear on debugging  screen. i have put all this think i.e BREAK-POINT and all and program control also going in that position, please help me out to resolve this.
    Thanks & Regards,
    Ams K.

    Ams,
    I use ECC 6.0 ( ABAP release 701 ) where the FM 'QEST_TOLERANCE_INSPECTION' is not released for customer usage.May be you should think twice before using it.
    Check if the FM is getting triggered in the first place.
    Check if the Enh is active.Try reactivating it.
    K.Kiran

  • Runtime error in enhancement spot-' mereq_topline does  not exists.'

    Hi all,
    I have implemented an implicit enhancement spot in ME53n.
    When i applied break point in enhancement spot and control goes to ebhancement spot in debugging mode, i got purchse requisition number in mereq_topline.
    When i tried to use this structure value in code i get runtime error-
    ' mereq_topline does  not exists.'
    Can you please guide how to resolve  this runtime error.
    thanks.
    Edited by: Sanjay_lnt on Sep 20, 2010 8:52 AM

    Sanjay,
    try to delete the enhancement and recreate it
    Thanks
    Bala Duvvuri

Maybe you are looking for

  • Problems in creating records in z table

    Dear All I have created a z table, initially i created some records in it, using SM30. But now i am not able to create any record. Kindly help me in this. Regards Deepti

  • Retrieve data from xml attributes

    Hi I used oracle xml function to query the database and return the following xml data. <Item    item1="1000"  item2="A"  item3="B"  />Now i would like to extract the value of item1 attribute from the above xml data. I am not sure how to retrieve the

  • MacBook Pro iChat no-go

    After 5 months of iChat failure through Powerbook I just purchased top MacBook Pro, and iChat still does not function. I am in Italy, on Fastweb 10mbs fiber. I get a "can't get video from camera" error and my son in USA gets "expecting remote machine

  • A challenge: High-design spreads that are editable by end-users

    Dear Adobe gurus, Can anyone suggest a solution to the following challenge: We want to create high-design spreads in InDesign, the majority of which should not be editable by end-users (i.e. sales people), but in which they could add specific data po

  • How to increase the camera download speed and save binary file speed

    My camera is pco dimax S1 camea. The interface is cameralink Base. The memory is on board. I use 1000fps@480*480 resolution to capture 1 sec. Then download the images from the on board memory to computer. The board in the PC side is NI-1429 board. Th