WD ABAP: debugging?

Hi,
need to know how to debug a ABAP WD prog... breakpoint is set but ignored... is there a special debug mode to run the program with?

>as in wd for Java ...for a server there is a debugging port and it is to be set as debugging ON ....so find is there any debugging port in WD for ABAP .....
There is no debug port or debug setting that must be set for the ABAP engine.  The ABAP Virtual Machine has the capability to dynamically switch a running process in and out of debug mode - including the ability to remotly attach a debug session to an already running process.

Similar Messages

  • What is the utility of watch point and break point in ABAP DEBUGGING !

    What is the utility of watch point and break point in ABAP DEBUGGING !
    PLEASE TELL ME IN DETAILS AND IF POSSIBLE WITH SCREEN SHOTS !

    Hi,
    Breakpoints, Watchpoints, and Checkpoints
    Summary
    The standard Breakpoints tool is always located on the Breakpoints desktop. With this tool, you can manage breakpoints, watchpoints and checkpoints. In addition, you can monitor the current status of the different breakpoint types.
    Detailed Description
    Breakpoints
    In the Breakpoints area, you will see a list of all the breakpoints set so far. If one of the breakpoints has just been reached, this is marked with a yellow arrow. The visibility (Debugger, session, user) and type (line, ABAP command, …) is displayed for each breakpoint.
    If you double click the Navigation() column, the system will display the breakpoint in the respective source code.
    The visibility of a breakpoint can be changed through the dropdown list. To change the visibility of several breakpoints, mark them and select the pushbutton Save as Session Breakpoint or Save as User Breakpoint.
    You can change the visibility of all Debugger breakpoints using the menu path Breakpoints-> Save Debugger BPs as -> ....
    In addition, you have functions for creating, changing, activating and deactivating breakpoints at your disposal.
    Watchpoints
    In the Watchpoints area, you will see a list of all the watchpoints set so far. The watchpoint last set is highlighted with a yellow arrow.
    For each watchpoint you will see not only the current value but the value before the last changed. (Technically speaking, each time you create the watchpoint and each time the watchpoint variable is changed, a clone of this variable is created.)
    In this way, you can always determine what changes have been made to the monitored variable. For complicated data structures, such as internal tables or structures, select the pushbutton „Compare Variables“( ) and choose the Diff tool to compare the old and new variable values.
    In addition, you have functions for creating, changing, activating and deactivating watchpoints at your disposal.
    Checkpoints
    In addition, you can edit conditional and unconditional checkpoints using the Breakpoints tool. This function is provided in the new Debugger only. Conditional checkpoints are set first in the source code using the ASSERTstatement; unconditional checkpoints are set using the BREAK-POINT statement. These have the effect that programs will be continued only if a preset condition is fulfilled. In the following window, these checkpoints can be searched for, activated, or deactivated.
    Pls refer to :
    http://help.sap.com/saphelp_nw70/helpdata/en/e2/5f5a42ed221253e10000000a155106/frameset.htm
    Regards,
    Renjith Michael.

  • What is utility of watch points and break point  in ABAp debugging !

    What is utility of watch points and break point  in ABAp debugging !

    Hi,
    Breakpoints, Watchpoints, and Checkpoints
    Summary
    The standard Breakpoints tool is always located on the Breakpoints desktop. With this tool, you can manage breakpoints, watchpoints and checkpoints. In addition, you can monitor the current status of the different breakpoint types.
    Detailed Description
    Breakpoints
    In the Breakpoints area, you will see a list of all the breakpoints set so far. If one of the breakpoints has just been reached, this is marked with a yellow arrow. The visibility (Debugger, session, user) and type (line, ABAP command, …) is displayed for each breakpoint.
    If you double click the Navigation() column, the system will display the breakpoint in the respective source code.
    The visibility of a breakpoint can be changed through the dropdown list. To change the visibility of several breakpoints, mark them and select the pushbutton Save as Session Breakpoint or Save as User Breakpoint.
    You can change the visibility of all Debugger breakpoints using the menu path Breakpoints-> Save Debugger BPs as -> ....
    In addition, you have functions for creating, changing, activating and deactivating breakpoints at your disposal.
    Watchpoints
    In the Watchpoints area, you will see a list of all the watchpoints set so far. The watchpoint last set is highlighted with a yellow arrow.
    For each watchpoint you will see not only the current value but the value before the last changed. (Technically speaking, each time you create the watchpoint and each time the watchpoint variable is changed, a clone of this variable is created.)
    In this way, you can always determine what changes have been made to the monitored variable. For complicated data structures, such as internal tables or structures, select the pushbutton „Compare Variables“( ) and choose the Diff tool to compare the old and new variable values.
    In addition, you have functions for creating, changing, activating and deactivating watchpoints at your disposal.
    Checkpoints
    In addition, you can edit conditional and unconditional checkpoints using the Breakpoints tool. This function is provided in the new Debugger only. Conditional checkpoints are set first in the source code using the ASSERTstatement; unconditional checkpoints are set using the BREAK-POINT statement. These have the effect that programs will be continued only if a preset condition is fulfilled. In the following window, these checkpoints can be searched for, activated, or deactivated.
    Regards,
    Renjith Michael.

  • ABAP Debug Mode in SAP and webMethods

    HI,
    Can anyone help resolve why I am receiving this message when I set the ABAP debug mode to yes on the SAP server? com.sap.mw.jco.JCO$Exception: (105) ERROR_NO_DIALOG_USER: ERROR_NO_DIALOG

    HI,
    Very possibly the webMethods generic "SAP User" is set up as a "CPI-C" user in SAP. This means that this user can never log directly onto the SAP system, or participate in a 'dialog process' (actual GUI interraction). This is a common approach to ensure that no one can actually log onto the SAP system using this user id (other licensing issues may apply).
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • Abap debugging

    Dear All
    Could anyone guide me about abap debugging for sd and user exits and their role.
    Regards
    KAPIL MORE

    It depends on what you exactly want to do.
    There are ways by which you can go into the program and debug.
    a. You can go to the program, put a '/h' in the ok code. Then execute the program. In the Menu >> Environment >> Break point, put the break point on say for example on Messages. Then press F8. You can reach the message where the program errors out. You can also set the watch points for the values.
    b. You know a program. You know why the program may be erroring out. Say for example, you are not getting the company code on the invoice print. Then, go to the invoice print program. Search for field BURKS. Put a break point there and then try to print the invoice. The program will stop where you have put a break point. You can check from there why it is not working.
    There are many other ways and means but it only comes by repeatedly doing it...
    You can find the user exit for SD in SPRO >> Sales and Distribution >> System Modification >> User Exit in SD... There is a lot of documentation in these nodes which you will have to read..
    MV45AFZZ is the widely used userexit in Sales order...
    I would say an ABAPer can be your best teacher...
    Hope this helps...
    Regards,
    Mukund S

  • Basic ABAP Debugging

    What is the best way to start learning ABAP debugging. I have very limited knowledge of programming. Are there any good books to start of.
    Edited by: Kumar Reddy on Dec 17, 2007 3:05 PM

    Dear Kumar,
    You can check the following links:
    www.sappro.com/downloads/Settings&SystemAreas.pdf
    http://www.sap-img.com/abap/testing-and-debugging-abap-codes-functions.htm
    Well I feel that debugging is nothing else but an understanding of the functioning of the code.
    So to to really debug a code it is better to have a good understanding of the codes and what they are suppossed to do.
    Hope this helps you.
    Do award points if you found them useful.
    Regards,
    Rakesh

  • Callback invoked only if abap-debug set to true

    I use NCo ver 2.0.1 and VS.NET 2003
    I instantiate a sapproxy object of type client and one of type server.
    After that i've set the .callback property of the <b>sapproxy-client</b> to the <b>sapproxy-server</b> instance.
    If I call sample functions Stfc_Connection and Stfc_Connection_Back I report no problems.
    I have to use another function (<b>CDesk_Show</b>) calling more then one callback function on the sapproxy-server instance.
    I put breakpoints on these function.
    If I invoke the main function (the one internally calling callback functions i.e Cdesk_show) without ABAP-DEBUG option set to true, I get an exception and execution don't  stop on callback-function-breakpoints.
    If I set ABAP-DEBUG to true, execution stops at these breakpoints(i.e in Visual studio) and everything works fine and no exception is thrown.

    Hi,
    Obviously, your function module or the callback function needs to somehow access SAPGUI. In this case, the option use_sapgui=1 should be used. The option abap_debug also enables SAPGUI access in addition to turning on the ABAP debugger.
    Regards,
    Guangwei

  • ABAP debugging : excel to internal table

    Hi ,
    I would like to know if there is any way to copy excel sheet data into internal table during Debugging? Any pointers to this are highly appreciated.
    Thank you in Advance.
    Sravan.

    Here is one technique if you have Basis 640 or higher - you can use the advanced debugger (New ABAP Debugger). I have done this many times.
    1) Select the tables tab when you are at a place in the code where you wnat to change the internal table
    2) Use a single table versus the split screen within the tables tab to maximize fields on the screen
    3) Select the tools for the service (wrench) on the right side of the screen - pop up window will appear and select 'Change row content'. Note there is a change column but I have not tried that to see if the entire table column changed or if only the visible rows column changed.
    4) Align excel fields in the same order as the internal table fields and copy the data
    5) Place cursor in the first position of the starting field and paste
    This can only be done for the rows that are visible on the screen so you will need to page down to continue to paste. Perhaps since you work for SAP you can suggest a better way to paste in an internal table. Also there is a limitation with the number of records that can be displayed/changed in the advanced debugger.
    Andy

  • Finding Screen Number for a Popup Window using ABAP debug

    Hi Guys
    IPlease could you tell me how to find the screen number of a pop-up window using debug as opposed to F1 Help?
    Thanks
    Edited by: Brett Cunliffe on Sep 14, 2011 9:37 PM

    Hi,
    You can create a short cut for debugging on desktop and drag n drop the debugging icon from desktop to pop up screen, then it will be available for debugging.
    or copy the below code in a notepad and save it. If you want to debug pop ups then drag and drop this file.
    The code is
    [FUNCTION]
    Command=/H
    Title=Debugger
    Type=SystemCommand
    [more info wiki|http://wiki.sdn.sap.com/wiki/display/ABAP/SAPGUI+shortcuts]
    Shiva

  • ABAP debugging, catch exception

    Hello, experts!
    Is there any way for catching exception from "insert <tabname> from table itab" during debugging, if there's no any exception handling in code? I want to know what is the error text to analyze it in more detail. I can't modify a program, because it has been generated automatically (it is a data loading program for BW extractor), so I need any case to insert error handling or get the error message while debug before program exit.
    Any suggestions would be appreciated.
    Thanks,
    Andrew.

    hi andrew,
    There is a catchable exception which you can try
    TRY.
         insert <tabname> from table itab
        CATCH CX_SY_ITAB_DUPLICATE_KEY.
    ENDTRY.
    There are also non-catchable exceptions which you can refer at
    ABAP Keyword Documentation

  • ABAP debugging in xRPM

    Hi ,
       I'm trying to use a BADI in xRPM and was wondering whether anyone knew how to debug the badi on the abap side when an action is done on the portal in xRPM.
    I know that similarly for cProjects, there is a webdynpro(DPR_MAINFRAME) that can be used for debugging. As xRPM is on Java webdynpro, is there any way to debug the code written in BADIs?
    Regards,
    Aravind

    Hi,
      Thanks for your response. I'm not using a BAPI. I'm using a BADI.
        I also tried putting external breakpoints( we are on ECC 6.0) but hasn't helped either.
    Any other suggestions?
    Regards,
    Aravind

  • Problem to use new abap editor and new abap debug.

    HI experts.
    currently using 640(patch 19) and GUI 640(patch 23).
    but when I activate new abap editor in se80 server dumps error
    ' Runtime Errors         MESSAGE_TYPE_X
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X).'
    and new debug does not activating even though I switch to new debug.
    it works well both new editor and debug if I turn on new options when  I connect ECC6.0 with same GUI
    guess 640 server has not propery installed new editor and debug or something has to be checked.
    can anyone help me to activating these new functions?
    thank you.
    Lee

    There is a separate forum for the SAP GUI, please post your question over there and close this thread here.
    Thx

  • ABAP debugging in CRM ISA B2C application

    Hi gurus !
    I need to debug FM 'CRM_ISA_BASKET_ORDER' to monitor some values in a CRM ISA 4.0 B2C application. The FM is stateful and I have set the necessary parameters in modification-config.xml file. However, when running the CRM ISA 4.0 B2C application from a remote client, I do not get the SAPGUI popping up as given in the SAP_ISA4DevExtG10.pdf documentation. Have I missed any setting ? Is there anything else that I need to complete to get the SAPGUI to popup to debug the FM ?
    Cheers,
    Ashok.

    - Did you set an external break point or just a session break point?
    - Did you set the RFC-user in SAPGUI as debug user? Utilities -> Settings -> ABAP Editor -> Debugging -> External Debugging: Here should be the RFC user of the B2C application.
    Florian

  • Start ABAP Debug in Web Services Application - won't take non-Dialog user

    Hello all. We are trying to Replicate Employees from SuccessFactors to SAP ECP/ERP with a delivered integration from SAP, but we''re having trouble interpreting some of the errors we're getting in the Application Log
    As shown in the Web Services Utilities Message Monitor - our message is successfully Delivered - we would like to set a break-point in Class CL_PAOCF_EC_EE_MDR_IMPL and run our test. Unfortunately we have to use a Technical User in our middleware connector to consume the Service (to connect to the Java Application Server?) and setting External Breakpoints or enabling Debugging in SICF will only permit Dialog users. Does anyone know how we can run our Web Service and invoke an External Breakpoint in our application posting Class?

    Hello Keith,
    What is the "user type" for this user? In our system we have the user for the middleware defined as "Service type" and external debugging is possible with that user.
    BR,
    Suhas
    PS - Read the documentation of the data element XUUSTYP for further details.

  • ABAP Debugging Trace

    Hi,
    is there a built-in tool in the ABAP debugger to trace the complete source code and copy in a text file, for further analysis?
    I would like to compare the source code for similar processes, to find gaps, for instance why the first process works as expected  and the second one doesnt. If I have two files with the complete source code, that was proceeded from the debugger, than I could seek the source code position, where the erroneos method or function group branches otherwise.
    Thanks!
    Regards,
    Laura

    laura2010 wrote:
    Hi,
    >
    > is there a built-in tool in the ABAP debugger to trace the complete source code and copy in a text file, for further analysis?
    >
    > I would like to compare the source code for similar processes, to find gaps, for instance why the first process works as expected  and the second one doesnt. If I have two files with the complete source code, that was proceeded from the debugger, than I could seek the source code position, where the erroneos method or function group branches otherwise.
    >
    > Thanks!
    >
    > Regards,
    > Laura
    You may start your analysis/comparision with the files generated by the SE30(Runtime Analysis), this would give you a good overview of deviations at a high level, if you are looking for deviations within the same modularazation unit you may find [this blog|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/22536] helpful, however you have to be on Netweaver 7.0 Ehp2
    to be able to use the features explained.
    -Rajesh.

Maybe you are looking for

  • Oracle ebs is not opening in mozila

    Dear Experts, I am having oracle ebs 12.1.3 and it is opening in internet explorer whilst its not opening in Firefox Mozila 26.I am able to login but after that page is not opening , Could you please share your remarks to sort out this issue?. I have

  • Essbase Studio data load problem

    please excuse me ... this problem is related to the below thread: Does essbase studio support Parent/Child build method Thanks, Praveen Edited by: user8627339 on Dec 22, 2010 10:27 PM

  • Using XI3.1 Import Wizard to Migrate from XIR2 to XI3.1 (Which options?)

    We have installed XI3.1 on a new server environment. We are currently running XIR2 SP2 (Production). Last week we copied everything from XIR2 to XI3.1 using the XI3.1 import wizard. The import wizard options we used were the default. We are now wanti

  • What does my Kernel Panic mean??  Please help!!1

    My 12" PowerBook is having some problems and gets the kernel panic message pretty often. Can anyone help me decipher this kernel log message?: Mon Jul 23 10:29:56 2007 panic(cpu 0): Uncorrectable machine check: pc = 00000000004265F0, msr = 0000000000

  • CiscoWorks-Config collection problem

    Hi, I have configured config collection on Cisco Works. But only one device's configuration has been succesfully collected, rest of the devices are showing failed. check the log...showing telnet authentication failed 3 times.  but I have checked the