Unable to set a break point in Enhancement part

Hi,
   Hi,
    I have two servers one is quality and the other is upper lanscape system. I am able to set break point in the enhancement part in Upper landscape system. But in quality system its throwing some error 'The position of the break point cannot be determined'.
Edited by: Delphi on Feb 23, 2012 8:17 AM

This may be due to SWITCH POSITION property in Enhancement.
Go to SE19 -> Edit Implementation -> New BAdI -> Display.
Go to properties tab of your enhancement and check whether SWITCH POSITION is OFF or not.
If its OFF, you cannot put breakpoint.
NOTE: Its state can be changed, but its impact is at Package level
Please find the detailed link:
http://help.sap.com/saphelp_nw04s/helpdata/en/af/e8b540afc87c2ae10000000a155106/frameset.htm
Edited by: Ajoy Chakraborty on Feb 23, 2012 1:15 PM

Similar Messages

  • How to set a Break point in Comp Workbench

    Hello Guys,
    I have a Z** Enhancement set ( t-code: bsp_wd_cmpwb)  and i have a view & a Z**IMPLclass for it.
    I need a way to set a break point in the Z*IMPLclass in t-code: bsp_wd_cmpwb.
    I have my code in this Z* impl class and making some changes for a field. I want to be able to debug this field in this Z**class
    when i launch the Web UI  using CRM_UI.
    Can someone help me on this?
    Thanks
    Ricky

    Hi,
    you should set an External Breakpoint (Ctrlshiftf9 in CRM 7.0) in the point you want to debug in bsp_wd_cmpwb. Then debug opens in the GUI as soon as you reach that breakpoint in the Web UI.
    Regards,
    Laura.

  • Break point in enhancement

    hi all,
    How do we set a break point in a enhancement.
    When i try to create a break point I am getting a message
    'THE POSITION OF THE BREAK POINT CANNOT BE DETERMINED'
    I know that the code in the enhancement point is in a include program.
    but how do i know the name of that program?
    can i set the break point in the include program?
    Thank you,
    Krishna dev

    >
    Suresh Datti wrote:
    > I'm on ECC6 (NW07 SP14)  & so far did not have any problems setting up either session or external breakpoints.
    >
    > ~Suresh
    I am on ECC6.0 and same release, i am also able to setting the break points both session and external. But not on ENHANCEMENT SPOTS.
    If there is any include in the implementation then i can go to that include program and able to see the break point. But not on ENHANCEMENT or inbetween ENHANCEMENT and ENDENHANCEMENT.
    Do you know why..? I tried even before. I thought there is some problem..

  • Dump while setting a break point in ECC 6.0

    Dear Experts,
    In ECC 6.0, when I try to put a break point in the program to stop the control there. I am not able to do so, it is going to dump. The dump message is also not very clear. Do anyone of you are facing the same problem. Any idea why is this happening and how do I fix it.
    Can it be due to the improper installation? Please respond.

    First of all thanks to Mickey, Nitin, Anki, Sujit, Red, Madhu, Vibin for the quick response...To be honest I did not expect such a response as a new member to the SDN community...I am sorry I could not mention the detail about the dump initially...Here is the detailed description..
    Issue: In ECC 6.0, when I write a simple ABAP program (e.g. 'Hello World' program). When I try to keep the cursor on any abap statement and click on the 'session break point' icon in the tool bar to set the break point, i get a status message 'Compling SAPLBREA in separate task and finally i get the dump.
    Dump Detail :
    Runtime Errors: DBIF_REPO_SQL_ERROR
    Short Text : SQL error 1115 occurred when accessing program 'LNAVIDAT' part "SRC".
    Program: SAPLBREA
    Include: LBREATOP
    Row: 41
    There is a an include being called at line no 41, which is "Include LNAVIDAT".
    Now when I click on the 'debugger' icon in the dump...It points to a functional module "RS_SET_BREAKPOINT"
    Also, while double clicking on this include to see the code within, it issues an error message saying "SQL error occurred when accessing the table TRDIR".
                                    Or
    While trying to display the code of the include LNAVIDAT in se38 to see what is wrong with that i get another dump and this time it points to be SELECT query in the dump which is:
    SELECT SINGLE * from PROGDIR WHERE name = rs38m-programm
                                                              and  state = active.
    Thereafter, i keep getting dumps when i try to go to any T.codes (e.g. se11, se38 etc.). until i log off and log in again. Hope this helps you guys understanding the problem. Being new to SAP, I have no clue why is this happening and how to fix it. Thanks in Advance.

  • How to set a break point !

    How to set a break point in the debugging screen !
    tell me the steps !

    Just Double click on the Left side of the Line where u want to put the breakpoint and Click Save.
    Or
    Place the Cursor on the Line and Click the Breakpoint Icon.
    Or
    Goto Utilities --> Breakpoints --> Set / Delete
    If u r already in the Debugging Mode Dont forget to click save once u set the Break point to get the breakpoint next time when u execute.
    awrd points if useful
    Bhupal

  • How to set line break points in JSF Facelets files on NetBeans?

    I am running debugger on NetBeans. I can set line break points for jsp files but cannot for Facelets files with extension 'xhtml'. Dose anybody know how to set break points for Facelets xhtml files? Or is it possible to set break points for xhtml filles?
    Thank you very much.

    You can't. They aren't executable code, they are templates. The only executable code is the part inside #{}.

  • HI How  to set a Break point In Smart Forms

    Hi Guys,
    i want to set a break-point in main window of the smart form ,before dispalying
    values of the varibles in the main window .
    How to Set a break-point And What are the ways to set a break point.
    Thanks for All.
    From
    Hitu.

    Hi Hitu,
    Generally, Break Points are set for the purpose of debugging in Smartforms.
    For debugging , one of the way is :
    1. Write BREAK POINT in the code window.
    2. Put a break point on the call function in the driver program
    3. Put a break point in the generated Function module.
    Hope this resolves your query.
    <b>Reward all the helpful answers.</b>
    Regards

  • Problem setting External break point..

    Hi All,
          I am using EP6 SP14 and R/3 4.6C.  Java Webdynpro aRFCs to connect to R/3 BAPIs. I am having problems setting up external break points. I don't see Debug option in "Utilities -> Settings -> ABAP Editor". Do we have this option in R/3 4.6C? If yes how to enable the option? If no, what is the work around to debug the BAPI through Portal.
       Helpful answers will be rewarded.
    Regards,
    Uday.

    Hi,
    Pl go through this
    Debugging ABAP Code from within Web Dynpro Application
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30
    It explains step by step process
    Regards
    Ayyapparaj

  • Break points set in an included script during debugging sporadically jump to the last line of the included script

    As I stated in the title, I use the ScriptInclude command quite extensively, because we have at our company a policy of maintaining one large-ish (roughly 7k lines) function library which is included by various individual evaluation scripts. Debugging this with break points is often the only (useful) way to see into the state of the script, so I depend on them.
    My problem is that often when I debug a script calling the function library, setting a break point in that library and running into it during debug mode will not transport the cursor to the location of the current break point, but instead to the very end of the included script. I have noticed this with a separate pair of scripts, as well, which includes a similar size script to call functions from (roughly 2k lines).
    Now I wonder if this has to do with the size of the scripts included, or if it is dependent on something else. It seems to not be affected by restarting DIAdem, and sometimes it works as intended, but I have not been able to reliably replicate indivdual occurrences one way or the other.
    Has anyone else had this problem happen to them?
    Leo Zschokke
    Test Engineer C-EPS
    ThyssenKrupp Presta AG

    Leo
    I also use scriptincludes extensively, Most of mine are in the range of 500 to 2000 lines.  Usually I organize them in logical code topics,  I like to use them to hold one class most of the time.  When I debug these I can set a breakpoint, and it will stop at that location.
    I also use custom log class as well, I find this quite helpful, in the applications that are unattended.
    The only thing I can think of to try is to separate the 7k file into 2 2k line files and then script include them separately.
    Paul
    ps. I sometimes need to have intellisense work from a file that was scriptincluded, this requires copying the file into the end of the main script.  (you most likely already know this   )
    One other note, Are you talking about debuging code in a SUD, that is whole different problem to deal with.

  • How i can set break point in standard sap modulepool

    how i can set breakpoint in standard sap modulepool

    If you know the program name, it is no different from normal setting of break point.
    It will have a break point button in the abap editor.
    Place the cursor on the line and set the break point.
    Then run the transaction in another session.
    Or type /h from the transaction itsefl to start the debugging.
    see the wiki faqs section for debuging
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+debugger&
    Regards,
    Ravi

  • Error when break-point is set

    Hi,
    When ever is set a break point,and run the BSP application , it displays an error page saying '500 internal server error'.Can anyone tell me what could be the problem?
    Thanks.

    Hi Eddy,
    The short text shown in St22 is "Templateinterpretation abgebrochen, Template nicht vorhanden."
    Error analysis as shown in St22
    "Sie können testweise den Service Parameter ~generateDynpro = 1 setzen,
    dann wird für diesen Service die HTML-Seite ohne Template generiert und
    Sie können zumindest sehen welches Dynpro vom Web AS gesendet wurde.
    Bitte vergessen Sie nicht, den Parameter wieder zurück zu setzen."

  • DL Break Point Issue - Please Help.

    Hello,
    I use to work in DVDSP when you could only do one layer and even then I knew just enough to get the job done. Now I have a program that is 6.6 gigs total size (according to DVDSP) and I can't get this thing to find the break point. I have read through most of the manual regarding this issue and have read many posts - first I have to ask is why is this so difficult?
    Here are the issues in detail and I ask that if you give input please guide me like I have limited knowledge in this.
    I am using DVDSP 4.1.0 on a G5 Dual 1.8 OS is 10.4.8 with a Pioneer DVR 111D. I have 4 'tracks' all coming off one main menu...no sub menu's - so I have the one main and four buttons that go directly to the videos. When I try to 'burn' the DVD I get this error 'Formatting was not successful. A suitable marker could not be found in the required layer break range. See the DVD Studio Pro User's Manual for more information.' The size of each track is as follows:
    Track One: The Main footage is 4.0 Gig (this is the one I am trying to set the break point because the limit is 3.9 Gig)
    Track Two: is 1.7 Gig
    Track Three: 606 Meg
    Track Four: 216 Meg
    I have tried 'Automatic' without luck.
    I have tried to place a few markers approximately 3/4 of the way through Track One the marker that I place is Green and in the Inspector window when I click on that marker I see the 'Marker Function' and then the button to select Dual-Layer Break Point and I select that only. However when I click something else and then come back to Marker the Dual Layer Break Point is not selected!
    I then have gone into the 'Disc/Volume' and tried to select the 'Break Point' and chose Track One but still nothing. I have read in the forums about building the disc and then going into the TS folders and blah blah blah to get this done but that is above my head and I don't understand it.
    I just need to get this video done. It is for a family who's 17 daughter was tragically killed and will be a fund raiser for them...I need to get this done. So if any of you are willing to help that would be SO appreciated AND if any of you would be so kind to walk me through this over the phone THAT WOULD BE GREAT! Just email me at [email protected] and I will email you my number. I know this is a tad different but I don't have much time left to get this done because of my 'real job' and again, I need to get this done!

    Hi csiaudio,
    Build the project (AltAppleC). Then in the format window (Apple+F), Disc/Volume tab you'll be able to see the available break point markers. If they are all greyed out then you do not have one in the project.
    Add Cell markers in places that you think would be ok as the layer switch. You do this by adding a chapter marker and then in the property inspector un-checking the type Chapter. This will now be a marker that can be used as a dual layer break point but is not a chapter marker.
    You'll need to re-build the project and check the format window options again,
    -Jake

  • How to put a break point while creating a travel request in ess

    Hi to all experts,
    My requirement is to put a break point in the badi while creating a travel request in Ess.
    The badi name is TRIP_WEB_CHECK
    i tried both external and session bps
    i also tried this.
    break uname
    break-point
    and it is i check whether is triggering by throwing dump like ( divide by zero) it is triggering
    how to stop it while triggering

    Hi Bhanu,
    Please go through these links:
    How to debug abap code in update rules...routine?
    debug abap routine in infopackage
    Debugging of global transfer and update routine
    Debugging Start/Transfer routine
    And have a look at this demo video to know how to set up break points and how to debug an ABAP program in NW2004s:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2ddd8361ac0?prtmode=navigate
    Hope it helps..
    Cheers,
    Habeeb

  • Break-point in ALV-GRID OO if standard-button &PRINT_BACK is pressed.

    Hi,
    is it possible to set a break-point in Button '&PRINT_BACK'?
    I will use it to test if i can use:
        CALL METHOD I_ALV_GRID->GET_FRONTEND_PRINT
          IMPORTING
            ES_PRINT = GS_PRNT.
    and
        CALL METHOD I_ALV_GRID->SET_FRONTEND_PRINT
          EXPORTING
            IS_PRINT = GS_PRNT.
    Regards, Dieter

    Hi,
    Please check links,
    ALV Grid Control - Dropwdown / Checkbox
    Question about triggering event for ALV dropdown
    Regards,
    Hema.
    Reward points if it is useful.

  • Export  data in Excel file - Debug and Break Point

    In the program RFUMSV00 the data  been displayed on the screen with the function REUSE_ALV_LIST_DISPLAY.
    With "Cntrl + Shift + F9" I exported the list of data in an Excel file.
    How can I see, with Debug, where the program RFUMSV00 passed the data to Excel File? I can indicate the point, In the program, where I need to set the break point?
    Thanks,
    Serena

    Hi,
    This download functionality has nothing to have with program RFUMSV00. It is actually processed by REUSE_ALV_LIST_DISPLAY fm, which calls fm LIST_COMMAND which finally calls fm LIST_DOWNLOAD, where you will actually find the downloading part (in fact in another fm, DOWNLOAD_LIST)...
    to resume: REUSE_ALV_LIST_DISPLAY->LIST_COMMAND->LIST_DOWNLOAD->DOWNLOAD_LIST
    so I would put the break-point in the last one..
    Kr,
    Manu.
    correction: I made a mistake, the break-point should be set in LIST_DOWNLOAD...where you will find the call to fm LIST_CONVERT_TO_DAT which is responsible of the download...
    Edited by: Manu D'Haeyer on Dec 9, 2011 1:46 PM

Maybe you are looking for