Debugging code in Enhancement implementation

Hi,
   I want to debug code inside an Enhancement-Point and Endenhancement Section. The enhancement point is already implemented.
When i execute the transaction in Debugging mode, the control does not go inside the code in the implementation. Please give some pointers on this.
Thanks,
Lakshmi.

HI,
just put a line..
break-point
or
break <USERID>
and try

Similar Messages

  • Explicit enhancement implementation not seen in the debug mode

    Hi All,
    I have implemented a explicit enhancement implementation via a source code plugin. But i could neither keep a break point in any lines of the source code plugin nor see those lines in the debug mode.  I changed the already available implementation in the enhancement section. I have implemented this enhancement for the Function Module CK_F_ASSEMBLY_COSTING.  The enhancement section is as given below...
    ENHANCEMENT-SECTION     CK_F_ASSEMBLY_COSTING_05 SPOTS ES_SAPLCK00.
    END-ENHANCEMENT-SECTION.
    I created a enhancement from the above section as below...
    $$-Start: CK_F_ASSEMBLY_COSTING_05----
    $$
    ENHANCEMENT 3  /SAPMP/GENERAL_SAPLCK00.    "active version
    ENDENHANCEMENT.
    Is there anything i need to activate other than activating the enhancement? How to make the enhanced source code execute..Plz help..Thanks..
    Regards,
    Nirmal.

    >
    Nirmal K Manohar wrote:
    > I created a enhancement from the above section as below...
    > $$-Start: CK_F_ASSEMBLY_COSTING_05----
    $$
    > ENHANCEMENT 3  /SAPMP/GENERAL_SAPLCK00.    "active version
    > .......
    > ENDENHANCEMENT.
    This is a standard implementation, not yours! Moreover, this implementation belongs to switch /SAPMP/GENERAL, which may be switched off in your system (it is deactivated in mine).
    If you want to implement your own one, create a ZXXXX implementation, and you'll see something like ENHANCEMENT 1 ZXXXX. ... ENDENHANCEMENT.
    Edited by: Sandra Rossi on Jul 9, 2009 5:51 PM

  • Is I have to create different enhancement implementation for diff. code are

    Hi,
       I want to modify standard program in 3 different part  through enhancement framework.
    Is I ave to create 3 different enhancement implementation or i can use only one?.
    Regards,
    Himanshu

    Hi,
                  Below is given code which i have added in copy of stranded program at diff. code ares and its running fine.
                 Now i want to write in stranded code through enhancement framework.
                 I dont think we can write it in 1 place.? what you say.
    Internal tables
    ******Added By Himanshu*****
             BDMNG               LIKE  RESB-BDMNG,
    ******Himanshu*****
    ***Himanshu modification*****
       DATA: BEGIN OF xtab1 OCCURS 10,        "Tabelle der Reservierungen
             werks LIKE resb-werks,
             lgort LIKE resb-lgort,
             charg LIKE resb-charg,
             matnr LIKE resb-matnr,
             bdmng LIKE resb-bdmng,
             bdmns LIKE resb-bdmng,
             erfme LIKE resb-erfme,                      "ALRK014884 SW
             erfmg LIKE resb-erfmg,                      "ALRK014884 SW
           END OF xtab1.
      DATA: kzwso LIKE mara-kzwsm,
            ytab1 like xtab1 occurs 0 with header line.
    RANGES: xbdart FOR resb-bdart,
            MS_WERKS FOR MARC-WERKS.
    REFRESH XBDART.
      CLEAR   XBDART.
      XBDART-SIGN   = 'I'.
      XBDART-OPTION = 'EQ'.
      XBDART-LOW    = 'AR' .
      APPEND XBDART.
      XBDART-LOW    = 'MR' .
      APPEND XBDART.
      REFRESH MS_WERKS.
      CLEAR   MS_WERKS.
      XBDART-SIGN   = 'I'.
      XBDART-OPTION = 'EQ'.
      XBDART-LOW    = 1010.
      APPEND XBDART.
    end Himanshu********
    FORM data_selection.
    ****Himanshu*****
      data :  begin of it_mat occurs 0,
                matnr like mara-matnr,
                end of it_mat.
      select matnr  into corresponding fields of table it_mat
                          from mara
                        where matnr in matnr.
        CLEAR: XTAB1  . REFRESH XTAB1 .
        loop at it_mat .
      CALL FUNCTION 'MB_ADD_RESERVATION_QUANTITIES'
        EXPORTING
          X_MATNR = it_mat-matnr
          X_XLOEK = SPACE
          X_KZEAR = SPACE
          X_KZWSO = KZWSO          "ALRK014884 SW
        TABLES
          XTAB1   = XTAB1
          XWERKS  = MS_WERKS
          XBDART  = XBDART.
          ytab1 = xtab1.
          append ytab1.
          endloop.
    ****end himanshu*****
    FORM fieldcatalog.
    *****Himanshu Modification******
        loop at ytab1.
        read table bestand  with key matnr = ytab1-matnr.
        if sy-subrc = 0.
         bestand-bdmng = ytab1-bdmng.
         MODIFY TABLE bestand .
        endif.
        endloop.
    ******end Himanshu *******
    *****Himanshu Modification******
         CLEAR fieldcat.
      fieldcat-fieldname     = 'BDMNG'.
      fieldcat-tabname       = 'BESTAND'.
      fieldcat-ref_tabname   = 'YTAB1'.
      FIELDCAT-SELTEXT_S = 'Reserved'.
      fieldcat-outputlen     = 8.
      APPEND fieldcat.
    *****end Himanshu******

  • 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 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?

  • How to get back the enhancement implementation?

    Hi, when I tried to change ENHANCEMENT-SECTION gn_delivery_create_02 in function GN_DELIVERY_CREATE, there is an implement to OIO_SAPLV50S:
    Post deliveries
    ENHANCEMENT-SECTION     gn_delivery_create_02 SPOTS es_saplv50s.
      PERFORM gn_lieferungen_buchen.
    END-ENHANCEMENT-SECTION.
    $$-Start: GN_DELIVERY_CREATE_02----$$
    ENHANCEMENT 80  OIO_SAPLV50S.    "active version
        if if_oio_simulate is initial.
          perform gn_lieferungen_buchen.
        endif.
    ENDENHANCEMENT.
    $$-End:   GN_DELIVERY_CREATE_02----$$
    I modified ENHANCEMENT 80 and actived it, but when try to change it again, I click the menu "undo" by mistake, then the ENHANCEMENT 80  OIO_SAPLV50S was disappeared.
    This implementation was created by Oil and Gas business function set, our system doesn't need it, but the code should not disappear. And we still can see it in SE19, it is belong to Enhancement Implementation OIO_SAPLV50S.
    How can I make the code display again?

    Hi,
    Have you checked the version for the program you undo the enhancement ? If I understand you correctly you deleted the enhancement spot in main program (which also means access key was entered before for this program). In this case previous versions maybe helpful.
    Regards,

  • Create and Remove Enhancement Implementation in WD ABAP!!!

    Hi Experts,
    I have Created an Enhancement implementation in a standard Web Dynpro ABAP component and added a new view in the component. Now I need to remove this enhancement implementation. Can anybody please suggest how to do it. In normal ABAP code we have an option to undo enhancement when we right click on the code. But here I have created a view so I can't find from where to remove this enhancement. Please help.
    Regards,
    Vaibhav Tiwari.

    in SE80 transaction, when you display any standard WD component, you can have option to create view or view as enhancement. this option will be shown when you right click on "Views" node under your WD component.
    what all changes you can do in standard view => add context node/attributes, new methods, add new ui elems, add pre/post exit in existing methods.
    and I have tried all these option available to enhance any standard WD Component.
    Everything has been deleted when i've deleted the Enhancemnt Implementation.
    I don't know what will be the effect after applying any enhancement pack.
    -Haresh

  • Help on removing a enhancement implementation

    Hi all,
    I created an enhancement. The enhancement has no code in it. It was created by error. It is not in any change request. I tried to recreate the enhancement with an empty core, but the system always tells me that it already exists. How can fix this? I do not want the enhancement anymore but when I activate a new development the enhancement is in the list of inactive objects.
    Help please!
    Regards!
    Curtis

    From SE19 delete that enhancement implementation.Give the name and delete it.

  • Debugging Code in Beta 2

    Hello;
    We're currently trying to do some performance analysis of an application on
    BEA WLS 6.0 Beta 2 that makes heavy use of MDBs, and new EJB 2.0 Entity Bean
    features. We're starting to get some interesting numbers back from JProbe.
    Before we go into the analysis of the JProbe results too deeply, I wonder if
    you could enumerate for us where in WLS 6.0 Beta 2 you still have
    non-optimized debugging code. This will allow us to "temporary disregard"
    these areas, or at the very least, not panic, if the performance seems less
    than we would expect.
    Brian.

    Yes, I suspect the separate jar files are your problem. WL 6 optimizes
    RMI calls within an application, but calls across applications are much
    more expensive.
    As a first step, I would deploy the session and entity bean in the same
    jar file.
    -- Rob
    Brian Dueck wrote:
    >
    Let's start with the basic scenario. We're implementing an active objects
    pattern using MDBs, with the state of the active objects stored in EBs. All
    this action is shielded from the client through a session bean "controller".
    Here's the sequence of operations that we go through (simplified of course):
    1. A client application invokes a session bean, which in turn creates an
    entity bean. After creating the entity bean, the session bean then puts a
    message into a non-persistent JMS topic and returns to the client.
    2. An MDB picks up the message that was put into JMS by the session bean,
    does some work (including updates on the entity bean), and then puts a
    message into a non-persisten JMS queue or topic before returning from
    onMessage().
    3. MDB(s) pick up the message placed in the topic/queue, they do some work,
    and then possibly generate more JMS messages. These are in turn processed by
    more MDBs and so on and so forth.
    In the simplest possible "hello world" variation of the above scenario, it
    looks like we're doing pretty poorly performance wise right now. We're
    trying to tear the scenario down though and build it back up step by step,
    using the WLS 6.0 examples as a reference. For instance, I've been playing
    with the ejb20.message example to do some rough throughput measurements for
    the types of messages that we're producing/consuming. The modified example
    is giving me much better numbers than my "hello world" scenario above - by
    2 orders of magnitude actually.
    I haven't run out of things to try yet, but am hoping for some advice that
    will steer me in the right direction (vs. brute force trial and error...).
    One of the things I noticed, is that the "hello world" implementation is
    broken up across multiple jar files - any possibility that is causing major
    performance issues. I seem to recall another posting indicating this sort of
    multi-jar deployment will cause BEA to not be able to optimize calls.
    Thanks for any help,
    Brian Dueck
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    There have been some performance improvements since beta-2.
    However, I would be interested in seeing your profile data. We're always
    looking to make the product faster.
    -- Rob
    Brian Dueck wrote:
    Hello;
    We're currently trying to do some performance analysis of an application
    on
    BEA WLS 6.0 Beta 2 that makes heavy use of MDBs, and new EJB 2.0 EntityBean
    features. We're starting to get some interesting numbers back fromJProbe.
    Before we go into the analysis of the JProbe results too deeply, Iwonder if
    you could enumerate for us where in WLS 6.0 Beta 2 you still have
    non-optimized debugging code. This will allow us to "temporarydisregard"
    these areas, or at the very least, not panic, if the performance seemsless
    than we would expect.
    Brian.

  • Remove Enhancement Implementation...

    Hi all,
              During the creation of a business partner using the transaction code BP, a modal dialog window is displayed.
    The user must enter the BP who is confirming privacy and must click on 'Yes' to proceed.
    If 'No' is selected, then the transaction will terminate.
    This has been developed using the statements:
    ENHANCEMENT id.
    ENDENHANCEMENT.
    These statements define a source code plug-in with the ID id.
    Between the statements, a source code enhancement can be implemented. Here I have found out this enhancement implementation. This is known as ZBUPA_DIALOG_BEFORE_CREATION.
    Now what i need to do is to remove this "enhancement implementation" so that the modal dialog window does not appear any more.
    please let me know how to remove this enhancement implementation ???

    Hi,
    click the Enhancement Implementation (Drop down)
    In the second drop down give the name of your implementation Eg: ztest
    click Eneter.
    than right click and delete.
    Thanks,
    Anitha

  • How can I Delete the implicit Enhancements Implementations

    Hi ,
    I un necessarly Created two implicit Enhancements Implementations in the Function Module "RS_TABLE_LIST_CREATE".But I can't see them in the source code .But the are reflecting under the Trasnport number .Can Some one give me idea how Can I delete these implicit Enhancements Implementations?
    Thnaks,
    Ramya.

    Dear ramya,
    Yes you can delete the implicit Enhancements Implementations
    if you know the implementation names then follow the steps
    se80-give implementation nameunder enhancement implementation -press enter--then your implementation will appear right click on that and press delete .
    Cheers
    fareed

  • Difference between Enhancement Implementation and BadI Implementation

    What is the difference between Enhancement Implementation and BadI Implementation?

    Hi Rajendra Prasad,
    Enhancement spot : It is the point where you can add your code. It can have multiple implementations. All the implementations can active at a time but the sequence of executions of the implementations can be anything.
    (or)
    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
    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
    Please go through this link also.
    implicit enhancement and explicit enhancement
    Reward points if it helps you
    Cheers,
    Swamy Kunche

  • 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.

  • 790FX-GD70 not POSTing no debug code all LEDs on

    Hi
    I have had my 790FX-GD70 for almost the past 2 years and it has given me no real problems. But yesterday whilst playing Fallen Earth, my computer froze so I gave it a restart and it froze during windows start up. At this point I opened my case and watched the debug display and this time it froze during post, can't remember the debug code it froze on. I tried restarting a few more time and it would freezes at different points during post. At this point I remove it from its case and start barebones testing it. If I left it for a time I could get into the bios and go to the hardware monitoring page and look a the tempter of the CPU for it froze. There it reported that the tempter was 34C. Stopped testing it last night and when I turned it one this morning it would not even start to post. When I turn it on all the LEDs on the board turn on even the overclocking LED and the overclocking switch also turns and to turn off the system I have to do a hard switch off and UPS.
    I have tried it with a different UPS with no effect, tried a different graphics card with no effect. Also tried with different RAM and no RAM no effect.
    Computer  secs:
    MB: MSi 790FX-GD70
    CPU: AMD Phenom 2 X4 955 Black Edition
    UPS: Antec TRUEPOWER Quattro 850 watt
    RAM: Corsair XMS3 4Gig DDR3 can not remember the speed.
    GPU: MSI AMD Radeon R6950 twin Frozr 2
    CPU Heat Sink: Cooler Mater Hyper N520
    Any help would be great.

    Quote from: Svet on 06-May-12, 02:30:14
    try with another video card then
    Also done that to no effect, currently I don't have a spare CPU that will work on my motherboard. I was hoping that some one has had this problem before because I have never seen my computer start up with all the LEDs on as it starts up. Also the hard drive LED is on constantly even when there is no hard drive plug in.

  • BADI having multiple enhancement implementations

    Hi,
    The requirement is to have multiple implementations of a BADI. In the program i have to call each of the implementations of this specific BADI.
    Is this how to do it.
    1. Firstly i just know the enhacement spot details like the BADI name and the interface name. With this information i want to find all the enhancement implementations that exists for the given BADI name or interface name.
    I tried the following method, but does not seem to work.
    CALL METHOD cl_exit_master=>create_obj_by_interface_filter
      EXPORTING
        inter_name                = 'IF_SSP_USER_SETTINGS'
       method_name               =
       flt_val                   =
       internal                  = SXRT_FALSE
       caller                    =
       delayed_instance_creation = SXRT_FALSE
      IMPORTING
        exit_obj_tab              = lt_EXIT_OBJ_TAB
    2. Once i get all the enhancement implementations, i want to call them one by one, i.e. a specific method of each of them.
    Am i right in what i am doing given my requirement as stated above. If not, please direct me as to how i can achieve it.
    Thanks and Regards,
    Madhura Lobo

    Arun,
    Many thanks, and you're right about having different enhancement sets active, although you can control which enhancement set is active via the BADI COMPONENT...something...
    However, in my case I shall remove the other two unused enhancement sets as this is just asking for trouble, if they remain.
    I must admit I would like to see more control, perhaps a warning, to say that there is already an active enhancement set when you create a new one. This can easily happen when you have multiple developers on the project, of which some are junior.
    Anyway, your time is much appreciated.
    Jason

Maybe you are looking for

  • Poor Wifi

    Hi all  Ive posted on this subject before and thought it had gone away. I have a BB speed of 6.6mbs via the ethernet. We use several devices on Wifi. iphones, ipad. In auto the Router (HomeHub 3) gives a wifi of 6.6mbs for a period of time then speed

  • E71 Firmware Upgrade Step-by-Step (Undocumented Ti...

    Although Nokia's firmware upgrade claimed to be smooth using Nokia Suite, the fact it is not. There are many things which could interfere with the process. For example upgrading E71-1 firmware from 100.07.76 to 110.07.127 is not always trouble free.

  • Audio and Video not playing in sync

    After importing my mp4 video into Premiere Pro, the audio plays perfectly, but the video is out of sync and plays as if though it's in slow motion. I've been using this software for about 4 months and have encountered this problem within the last few

  • Installing PSE 12 on my Mac.

    Goodmoring. I just bought the software of PSE 12_NL. But I can not install it on my Mac. Can someone help me? I have to install it on my Imac and then share so I can use it on my MacBook Air.

  • I can't conect iPhone with my MacBook

    Hi there. My iTunes doesn't recognize my iPhone as used. I've changed from Leopard to Snow Leopard. How can I fixe that?