Implementing Enhancement Spot

Hi Experts,
           I am looking for an exhancement (Function Exit / Badi ) which will should be trigegred when user presses SAVE button in PO .(Say me22n)
           As I couldn't find suitable exit / badi....I thought of using the enhancement point provided for ME22N in the PAI module.Please correct if there is any issue upto here.
*&      Module  EVENT_PAI_FINISHED  INPUT
      text
MODULE event_pai_finished INPUT.
ENHANCEMENT-POINT EVENT_PAI_FINISHED_01 SPOTS ES_LMEVIEWSF01 INCLUDE BOUND.
  CALL METHOD call_view->handle_event( 'BEFORE_TRANSPORT' ).
  CALL METHOD call_view->handle_event( 'PAI_FINISHED' ).
ENDMODULE.                             " EVENT_PAI_FINISHED  INPUT
           Then to implement the enhancement point by creating a BADI implemetation ..when we are enetering the enhancement spot name ES_LMEVIEWSF01 under the create implementations section of SE19 transctaion with NEW BADI......and when we pressed cretae implementation button...nothing is happening..I mean neither BADI is getting created...nor thorwing any error message......
       Please suggest me how to follow.......You can find above code in the include
LMEVIEWSF01 at line no 188........
        Earlier response will be appreciated.....
        Thanks ina dvance and reward points are garunteed....
Regards,
Sampath

Hi Debhasis,
   Thanks for your reply. While saving exit 12 or exit 13 will be triggered ONLY when we make changes in standard PO item TABS.
    Let's say standard PO has 10 TABS at ITEM level. We are adding one more custom TAB there  adding to that our client interest is not to include this TAB fields in EKPO structure.  Hence we have to create the TAB by using screen exit option and we successfully created the TAB.
     Now take a case that we oopen ME22N with a PO no..then user did not make any changes in all the 10 standard TABS but make changes in only custom TAB...in that case exit 12 or exit 13 will not get triggered....Because they will be triggered only when you make changes to the fields which will be in EKKO or EKPO....as we are not supposed to extend EKPO ....those two exits will not be handy for us.......
     We even tried in existing BADI's ....but no BADI or exit will be getting triggering when we do not make any changes which effect EKKO and EKPO structure....
      Please let us know . if you have any idea to counter this unique problem.
       We also request you to please let us know ,if you ahve any idea, about implementing the this particular enhancement spot. Usually we can do it by SE19. But this particular spot is not allowing us to create one...... 
Anyway Thanks .....Let's flow the discussion...
Regards,
Sampath

Similar Messages

  • Having problem implementing enhancement spot 'OI0_OGSD_XM06'

    Hi,
    I have an enhancement spot using BADI  'OI0_OGSD_XM06'. It has property 'Can only be implemented SAP-internally' checked
    under usability options. I want to know if this enhancement spot could be implemented. If yes, how?
    Thanks in advance!

    I am facing the same issue. However I learnt that we might need to use Adjusting Tool from  Object Navigator/SE80 on the implementation before transporting.

  • 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

  • Steps for Implementing Enhancement Spot

    I want to do some enhancement using the Enhancement Spot 'HR_IN_MONWT_TD_VALUE'  which has the badi  'HR_IN_MONWT_TD_VALUE'.please provide me the proper steps to implement this enhancement spot.

    Exits are basically the hooks whcih SAP has provided to add your own code. There are two types of Exits:
    1. Customer exits: Implemented as Function Modules within z includes. Anybody can change it and no access key is required.
    2. User Exit: Implemented as subroutines within includes (any include except y or z includes). You need access for the specific include and then you can any subroutine (user exit) within that Include.
    BADIs are the enhanced version of user exits where the same logic is implemented via classes and object (OOP)
    Enchancement point is the latest once introduces with ECC6.0 . Not very sure about that but you can change it without any access key.
    Please go through the following link which will help you understand the exits in a much better way:
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm
    http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
    http://sap.niraj.tripod.com/id21.html
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.sap-img.com/ab038.htm
    User Exits.
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    customer exits
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    Menu Exit.
    http://www.sappoint.com/abap/spmp.pdf
    http://www.sappoint.com/abap/userexit.pdf
    http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
    http://www.sapdevelopment.co.uk/en
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • ENHANCEMENT SPOT implementation - STEPWISE

    Hello all,
    I wanted to implement enhancement spot in standard SAP code.I will be thankful if somebody can tell me the steps to implement ENHANCEMENT spot.
    Thanks.

    Hi Sandeep
    I will share some basic knowledge on them
    Enhancement points are regions where can insert our code to suit customer needs...Spots are subsets of points and created inside these points..for an enhancement point multiple active spots can exist
    For enhacement-sections : the main idea is to provide a spot to customise the existing process..eg:SAP has done a select criteria..but you need to filter it more by adding a where condition..in that case SAP suggests using Enhancement sections..At any time the first active enhancement section works...even if multiple sections are created(though ideally multiple sections are not allowed to be created)..if you do the procedure below you can see that enhancement-section when a spot is created for it...the code in the parent section is copied and given in the editable mode
    Creating spots implementations for points/sections are given below................................................................
    to Create a spot in the standard code...click on the spiral icon..screen changes to a different color...place cursor on ENHANCEMENT-POINT/ENHANCEMENT-SECTION keyword of the spot you require to create implementation for...righ click -> "enhancement implementation -> "create" -> a table control comes -> at the bottom "CREATE" button to be clicked" ...give a name and text in customer name space and save -> select the same name just given in the table control ..press 'Tick' .....you will get a space where code can be written..write the code.....save and activate
    Also check the following blogs 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
    /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
    Reward if helpful and revert back for clarifications
    regards
    Byju

  • Enhancement Spot: WB2_CC_SETTLEMENT-- BAdi WB2_CC_SETTL_CHANGE_DATA

    Hi,
    I am implementing Enhancement Spot:WB2_CC_SETTLEMENT with BAdi WB2_CC_SETTL_CHANGE_DATA and class Interface IF_WB2_CC_SETTL_CHANGE_DATA.
    Interface IF_WB2_CC_SETTL_CHANGE_DATA have changing parameter is CR_BVB_TAB_DATA and defined as DATA.Structure of CR_BVB_TAB_DATA is available at runtime.
    Requirement is to access dynamic data of table CR_BVB_TAB_DATA fields WBELN, KNUMV and update field value of KAWRT.
    BAdi will be called in Vendor Contract Settlement ( transaction WB2R_SV ).
    I could not find trace of call badi  of WB2_CC_SETTL_CHANGE_DATA in program RWB2R_VENDOR_SETTLEMENT.
    Any information where this BAdi is called from program RWB2R_VENDOR_SETTLEMENT?
    Please suggest solution.
    Thanks,
    Somi Reddy Satti

    Hi Vikram,
    Thanks for prompt reply.
    The above transactions are belongs to Vendor Contract Settlements and under package WB2_REBATES.The BAdi's are called through classes CL_WB2_REBATE_SETTLEMENT,CL_WB2_REBATE_SETTLEMENT_1 in program RWB2R_VENDOR_SETTLEMENT.
    Enhancement Spot: WB2_CC_SETTLEMENT have following BAdi's
    WB2_CC_CHANGE_SPLIT_PART_SETTL - Change Split for Partial Settlement Dates active
    WB2_CC_REV_ACCR_ALLOWED_CHECK  - Check if reversal of accruals is allowed
    WB2_CC_SETTL_AFTER_CREATE      - Save own data after settlement document creation
    WB2_CC_SETTL_ALLOWED_CHECK     - Check if settlement is allowed
    WB2_CC_SETTL_CHANGE_BVB_DATA   - Change Business Volume Base for Settlement
    WB2_CC_SETTL_CHANGE_DATA       - Change Data before Data Transfer
    WB2_CC_SETTL_CHANGE_FINALLY    - Change Data before Settlement Document Creation
    WB2_CC_SETTL_CHANGE_HEAD_DATA  - Change Head Data
    WB2_CC_SETTL_CHANGE_ITEM_DATA  - Change Item Data
    WB2_CC_SETTL_SIGN_ADJUSTMENT   - Adjust Signs in Business Volume Data
    Thanks,
    Somi Reddy Satti

  • Enhancement Spot Activation problem after Transport

    Hi All,
    We are implementing  enhancement spot as per certain requirement. Everything is fine in the deveopment system. But once we move the object to quality system the program execution is not going into the implementation, although Enhancement spot implemention is available in Quality.
    Currently we are going into Quality system and activating Enhancement spot manually, even thoug this solves the problem we are worried about the production system. Because we wont be having access to production system.
    Has anyone faced these kind of scenarios?
    Regards,
    Antony

    I am facing the same issue. However I learnt that we might need to use Adjusting Tool from  Object Navigator/SE80 on the implementation before transporting.

  • Enhancement Spot in CRM 5.0

    Hi,
    Please let me kow if anyone has implemented Enhancement Spot in CRM 5.0. I want to understand the limitations of implementation.
    Regards
    Vamsi
    Points will be rewarded

    Hi,
    Please let me kow if anyone has implemented Enhancement Spot in CRM 5.0. I want to understand the limitations of implementation.
    Regards
    Vamsi
    Points will be rewarded

  • 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

  • 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

  • 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 implementation for enhancement spot DPR_EVENTS

    Hi. SAP Export.
    I created an enhancement implementation for enhancement spot DPR_EVENTS, and set the filter value equal to ON_TTO_IN_PROCESS, it means the code executed when user set system status to u2018IN PROCESSu2019.
    I added my code to do some logical check in the method IF_EX_DPR_EVENTS~ON_EVENT, if the check failed. I can show an error message on the cProjects, BUT I CAN STILL SAVE THE DATA with ERROR. It looks like the error message is not useful.
    Could some one please kindly help with provide a solution to solve this issue?

    Can you please elaborate, what exactly is the requirement? Do you want that the message should be displayed as warning & processing should continue or something else?

  • 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

  • Enhancement Spot Implementation

    Hi there,
      I need some help for the implementation of an Enhancement Spot as am quite new to this process,
    I have been given the following enhancement spot: ES_SAPRV77S to enhance SAPRV77S.
    What I did is to create a new enhancement spot in the z namespace "ZES_SAPRV77S" via SE18. From here i don't know how to proceed.There is only create new BADI but what i want is to use existing Enhancement implementation for the ES_SAPRV77S Enhancement Spot
    Can anyone please tell me if am going the right way and how to do so?
    Thanks in advance for your help
    Regards
    Didier

    Hello Didier,
    if I understand you correctly you want to enhance something, so you sould create an enhcement implementation instead.
    If the enhancement spot is of type badi choose implement from context menu of that spot or use transaction se19.
    If the enhancement spot is of type source code plugin, go to the source code search for enhancement-point and enhancement-section. These can be enhanced.
    Addional to the online documentation refer to
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/the%2bnew%2benhancement%2bframework%2band%2bthe%2bnew%2bkernel-based%2bbadi
    Regrads
    Michael

  • Enhancement Spot in Badi implementation

    Hello All,
    Can smb explain what is "Enhancement Spot" in Badi definition?(trn code SE18)
    What the difference between classic Badi and new Badi?
    Where can I find some documentation on this?
    Rika

    Rika
       I remember that the new BADI's are based upon the SAP's latest technology on Enhacement Framework.
       Please refer the Enhacement Framework  [here|http://help.sap.com/saphelp_nw70/helpdata/en/94/9cdc40132a8531e10000000a1550b0/frameset.htm].
    Thanks
    Allot points if this helps!

Maybe you are looking for