External Breakpoints

Hi Everyone,
I am not sure if this should be posted in the ABAP forums or Basis forum. I finally decided to post in the ABAP Forums as i thought ABAPers would be having a better idea  of what the issue is .
I need to debug a function module. I am not sure what calls this function module, the only thing I am sure of is that it is called when clicking a button in BSP. Previously, I used to debug Webdynpro code by using "External Breakpoints". However, I was not able to find any option to enable external breakpoints.
I was just wondering, if the external breakpoints option could be restricted via Basis authorizations. If so, how could I enable them. Also, Also, is there any way i can get the debug screen after i run the BSP application.
Thanks in advance for any help and suggestions.
Cheers,
Mz

Hi All,
I think that the authorizations could be related to the user... In my program, I tried to debug using an infinite loop as suggested by Matt Earlier.
This went fine until I reached a particular FM which looked like below.
CALL FUNCTION 'Z_CPR_CREATE_CPROJECT_NEW'
      DESTINATION zcl_r_00=>sv_cpr_logsys_com
      EXPORTING
        is_attributes    = ls_cpr_attributes
        iv_template_guid = lv_template_guid
        it_stkhldr       = is_attributes-rpm_project_stkhldr
        it_folder        = ls_fold_api
        iv_commit        = cl_rpm_co=>sc_true
      IMPORTING
        ev_cpr_guid      = ev_cpr_guid
      TABLES
        return           = return.
When I try to go into the FM, using F5, the program just doesn't go in. Destination zcl_r_00=>sv_cpr_logsys_com is specified using a system user (ABAPSYS)....
any Idea how I can debug this. I tried getting SAP_ALL from Basis but still this has no effect.
I also tried changing the RFC destination to take my ID by checking the current user checkbox in the RFC destination..
This crazy issue has me going round in circles literally.
Please let me know if you have any suggestions and if you require any feedback from me.
Thanks in advance to All.
Best Regards,
Mz

Similar Messages

  • External breakpoints not working

    Hi,
    I am working on a CRM 7.0 (SAP_ABA 7.01 SP 6) system and my external breakpoints are not working.
    If I set an external  breakpoints for my user in a component method or HTML page  and I log onto the CRM Web UI
    the system hangs. The same happens if I switch on the debugging directly in the component
    without breakpoints. I have the same behavior for breakpoints in Web Dynpro code, when I try to execute a WD application.
    Breakpoints in ABAP reports are working fine, so I don't think it's a problem of authorities or roles, should be something
    with the HTML debugging. I worked on other SAP CRM 7.0 systems before and never had this problem before.
    Somebody can help or has an idea?!
    Thanks.
    Best regards,
    Oliver
    Edited by: Oliver Pregler on Aug 6, 2010 1:57 PM
    Edited by: Oliver Pregler on Aug 6, 2010 1:58 PM

    Hi Oliver,
    Which component and view u are setting the break?
    Are u sure that u are setting external break-point?
    Is there any error/exception?
    Try to set and infinite loop and debug using trx. sm50. If ur scenario is totaly standard create an enhacement point to set the infitine loop.
    DO.
    if sy-subrc eq  123.
    exit.
    endif.
    ENDDO.
    Hope with the code above u be able to debug.
    Best regards,
    Caíque Escaler

  • Starting abap debugger without an external breakpoint

    Can anyone let me know if i can start an new debugger session on any  action in the browser without setting an external breakpoint in the code (something similar to /h  ).
    Thanks ,
    Kiran

    Not currently in 7.0 or 7.01.  However in 7.02 such a feature was added as a URL parameter. The url parameter is /H=X as a tribute to long time ABAP developers 
    You can then activate debugger via the context menu:
    http://www.flickr.com/photos/tjung/4563357958/
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/0d/5c8fd973154cc7b5772c01eea9a164/frameset.htm

  • Problem with external breakpoint in RFC in CRM box

    Hi All
           I have created a RFC FM to create new realtionship in CRM Box which is being called from Web portal. The issue is that when I set a external breakpoint in this RFC , two debugging sessions are getting created . In 1 session it creates the realtionship successfully and i can see the return table but then it goes to another session and finally displays msg "Relationship already exists". The relationship is getting created properly but the user will get to see wrong msg on the portal screen.
    Can anybody suggest as to what could be the problem.
    Regards
    Babita

    [enterprise portal in SAP CRM|http://sapcrmlearn.blogspot.com/2009/02/enterprise-portal.html]

  • ABAP Debugger: assign user to external breakpoint

    Hi, when I assign different users to an external breakpoint the program still stops when it is executed with the "original" user which is not assigned to the BP anymore. Has anybody any solution for this behavior?
    The procedure I use is the following: SE80-> utilities -> settings -> debugging.
    FYI: The message in the status line shows the correct user when the external BP is created.
    thanks a lot in advance and best regards,
    Flo

    Hello friend,
    Goto Utilities in that you have options called Break Points and external break points. Just check that and see whether the break point table is clear or not.
    Else check whether have you set the match point or any other settings which can stop the program.
    I think the program stops because there must be any thing set by you unknowingly so try to check that. Don't think that break point is the only option to stop the code and work in that perspective.
    Still your problem persists again post.
    Thanks,
    Sri Hari

  • How to debug using External Breakpoint

    Hello,
    I am using external breakpoint in system B.
    I am running a program in systemA which updates table in systemB through programB.
    I am using RFCuser to login to system B.
    Currently it is not going in debugging mode in program B.
    KIndly suggest what needs to be done?

    You need to do the following.
    1. Identify the userid you are using for the RFC session.
    2. While in the ABAP editor, go to Utilities->Settings
    3. Ensure that you are in the tab 'Abap Editor'
    4. Under the tab 'Abap Editor' go to the tab 'Debugging'
    5. Ensure that the user name entered there is the one identified in step 1.
    6. Set the external breakpoint
    7. Logon to the target system.
    At this stage, when you start the external transaction, it should stop where you set the breakpoint.

  • ABAP-Debugger: external breakpoints

    Hi,
    is there a possibility to extend the validity of external breakpoints (by default 2h) for the ABAP Debugger?
    Thx in advance.
    Flo

    I am pretty sure you will find this in transaction SMICM or SICF. Look on the menus for the debugger options. Sorry can't remember exactly which one.
    Cheers
    Graham Robbo

  • Gateway RFC External Breakpoint Issue

    Hi all,
    I have used the generator tool on an RFC and I am trying to set an external breakpoint in my RFC code.
    I have set my user name in debugging and I have also activated everything needed in SICF but the breakpoint is still not working.
    Does anyone have any advice on this?
    Thanks in advance,
    Megan

    HI Megan,
       I never had this problem in my system but you can try using SAAB transaction to create a checkpoint group.
    In your code insert this istruction:
      LOG-POINT ID [SAAB ID created in SAAB transaction] SUBKEY 'LOG_POINT'
                           FIELDS sy-uname
    to understand if your service is correctly called and which user is performing the call .
    See these two links:
    Help: http://help.sap.com/saphelp_erp60_sp/helpdata/EN/aa/a6b241a1b33131e10000000a155106/frameset.htm
    WebLog: /people/andrea.olivieri/blog/2011/11/09/checkpoint-group-the-powerful-friend-of-every-abaper-but133beware
                   How to Instrument Your ABAP Code With Checkpoint Groups
    I hope that I helped you.
    Regards
    Fabio

  • Regarding setting external breakpoint

    Hi experts,
               I am using a rfc adapter to call a rfc in my ABAP from XI.
    Can any one tell me how i can keep a breakpoint so that i can debug the rfc when it is being called from XI ?
    Regards,
    Vignesh

    Hi Vignesh,
    I dont think ...that kind of debugging will work...
    why dont you test the RFC itself in R/3... using some test data....
    if that works...it will surely work when XI calls it...
    Just make sure ...
    1. The data is passed using correct parameter names in the call
    2. The name of the RFC shuld be in all CAPS...
    3. The RFC should be Remote Enabled.... (Check in the attributes tab in FM)
    **Reward points if helpful
    Regards,
    Sushil.

  • External breakpoints not active

    Hello everyone,
    I try to debug BSP applications in the new SAP development system, which was recently put on service, but it just does not work. The process doesn´t stop at the @§$%& breakpoint.
    In transaction SICF I can activate the breakpoints for the BSP application for a certain username and for 2 hours, but it then happens that the systems inserts a breakpoint at METHOD if_http_extension~handle_request of class CL_HTTP_EXT_BSP. This really bothers me much, because for every event and action on the application (a request to the server is performed), the process is stopped there. It is not possible to erase or deactivate THAT breakpoint without erasing my breakpoint(s).
    This does not happen in the old SAP development system, so there´s a pending configuration to do. Can any one tell me what to do is ??
    Thanks a lot in advance !!

    No cross posting
    Read the "Rules of Engagement"
    Regards
    Juan

  • Problem with breakpoints in Web Dynpro components

    Hello experts,
    I have problems with breakpoints in methods of Web Dynpro components. Sometimes everything works as expected and a new window with the debugger comes up. Sometimes the breakpoints are ignored, and debugging is impossible. It even happens that a colleague can debug and I can't or vice versa.
    I am setting breakpoints with button "Set/Delete External Breakpoint", and the message always is "Breakpoint is set for user xxx". But sometimes when I display a method there is a warning that external debugging is not active. What does that mean and what is the reason for that?
    As adviced in the SAP help document "Debugging Web Dynpro ABAP Applications" I have enabled the new Front-End Editor and the new debugger, but still the problem exists. Does anybody experience similar problems or have an explanation for this?
    A second question concerns the different types of break points. My Web Dynpro component has an assistance class, and if I want to set a breakpoint there, I can choose between a session breakpoint and an external breakpoint. What exactly is the difference between these types? And here in the forum I sometimes read about internal breakpoints. Is this even a third type, or the same as session breakpoints?
    Thanks, Karsten

    Hi Kartsen.
    External Breakpoint -> can be started from outside the SAP GUI (e.g. WebDynpro)
    Session breakpoints are used if you start a programm or something like that in SAP GUI.
    I have the same problem ... sometimes he does not recocnize a new break point ... so I just reload the page and the break point works.
    If external debugging is not active, you habve to activate it in SE80 Utilities->External Breakpoints.
    Also make sure that in your Settings the correct debugging user is set:
    Utilities->Abap_Editor->Debugging.
    Cheers,
    Sascha

  • How to get into a breakpoint in a OData Webservice?

    Hi, I have the following Problem:
    I implemented a Webservice via the SEGW transaction. Then I implemented the Methods in the ..._DCP_EXT Class. Now I need to set a breakpoint in one of my methods in this class because I want to debug it. The problem is, that when I call the webservice via my browser, I dont reach the breakpoint and I dont know why.
    How to set a breakpoint for a method of a implemented OData webservice?

    Hi Michael,
    You need to check the user ID of web logon id and SAP gui logon id.
    if two ids are same. you need to check whether you use the External breakpoint.
    if two ids are different. you need to check the debug id.
    Utilities->Setting->ABAP Editor tab->Debugging tab-> changing the user id same as Web logon id.
    then set an external breakpoint by this id.
    You try again to test.
    Regards,
    Yawa

  • External Debugging in CRMD_ORDER_BP

    Hi Expert,
    I've set external breakpoint in
    class cl_crm_cckpt_view
    method get_report
    but it does not hit in crmd_order_bp.
    I tried to set external breakpoint in
    class CL_CRM_CCKPT_CSCFS
    method REFRESH
    the breakpoint can be hit, which means the external debugging is successfully activated.
    I analyzed on another system, which can have the breakpoint hit, the calling stack is
    CL_CRM_CCKPT_VIEW=============CP
    METHOD  GET_REPORT
    CL_CRM_CCKPT_CFS_SERVICE_HTTP=CP
    METHOD  IF_HTTP_EXTENSION~HANDLE_REQUEST
    CL_HTTP_SERVER================CP
    METHOD  EXECUTE_REQUEST_FROM_MEMORY  <<<<  system debugging
    SAPLHTTP_RUNTIME
    FUNCTION  HTTP_DISPATCH_REQUEST      <<<<  system debugging
    SAPMHTTP
    MODULE (PBO)  %_HTTP_START           <<<<  system debugging
    then I tried on
    CL_CRM_CCKPT_CFS_SERVICE_HTTP=CP
    METHOD  IF_HTTP_EXTENSION~HANDLE_REQUEST
    breakpoint not hit
    And tried to put breakpoint in the previous system debugging coding, all not hit.
    It seems that those codings are not executed, but the factsheet data can be displayed.
    Any idea about the possible reason?
    thanks a lot
    Ruth

    Further to this, there is a transaction code that calls this function module: SRDEBUG (see OSS Note 1004248). It's a little quirky but it does work.
    1) Set your external breakpoint.
    2) run transaction SRDEBUG. This will display a pop-up asking if you want to stop debugging. This pop-up must remain active until you want to stop debugging, so just leave it hanging there while you debug.

  • External break point in sap r/3 system

    i want to set external debugging to rfc in r/3
    i tried to set it
    its getting set
    but when i call rfc from external system(webdynpro)
    its not gng to that break point i.e its not linking to that break point
    what could be the reason
    and how we can set external breakpoint
    are there any setting we need to do in r/3 so that break points will work
    Regards,
    Vani

    Hi Vani,
    First u have set ur Server to Debug mode...then only u can debug the code...
    1. Select "Server0" from J2EE engine (To get this view navigate thru Window--> Show View --> J2EE Engine)
    2. Make a right click on "Server0" and choose "Enabling Debugging of Process"
    3. Now, Navigate to Run --> Debug --> Select your Project as "Webdynpro Application" and click "new" button
    4. Now give some name and Click BROWSE to select ur project and then click APPLY and DEBUG
    Or
    if u use 2004s, then u can do the settings in Portal itself...which gives u more clear information... follow the link
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56">WebDynpro Java Debug Configurator</a>
    Hope it helps...
    Regards / Guru

  • Problem with external punchout in SRM Server 713

    Hello,
    We upgrade from SRM_SERVER 701 SP 04 to SRM_SERVER 713 SP 02, now we have a problem with external catalog, we did not change anything in standard call structure, however now when the user access to external catalog, select a product and "checkout", SRM returns to shopping cart screen without products and no message are register in log in transaction code SLG1.
    Our parameters in structure are:
    10                     https://xxxxxxxxx                          URL
    20 VIEW_ID          NAME                            Fixed value
    30 VIEW_PASSWD     XXXXXX               Fixed value
    40 USER_ID          SY-UNAME                   SAP field
    50 BRANDING      search5                     Fixed value
    60 LANGUAGE      ES                           Fixed value
    70 COUNTRY      MX                             Fixed value
    75 EASYORDER 1                          Fixed value
    80 target _top                                  Fixed value
    85 ~caller      CTLG                              Fixed value
    90 OCI_VERSION     4.0                     Fixed value
    91 FILTER                                      Fixed value
    92 OPI_VERSION 1.0                     Fixed value
    100 HOOK_URL                             return URL
    110 returntarget      _top                       Fixed value
    we made some test with parameter BYPASS_INB_HANDLER, set as 'X' but this not solve our issue.
    We have an implementation in badi BBP_CATALOG_TRANSFER to map product category, even if I set an external breakpoint in this implementation, system does not pass through it, also we test with this implementation inactive and behavior is the same, nothing transfer to shopping cart
    Does anyone know what's missing?
    Thanks in advance.
    Best regards,
    José Luis D.

    Hello Jason,
    Thank you for your answer, but as I told, If I set an external breakpoint it does not stop for debugging, so I can't see table as you recomended. This process (debugging) is familiar to me, in last version I can do it.
    Any suggestion?
    Thanks in advance, best regards
    José Luis D

Maybe you are looking for

  • Itunes 10.6.3 network issues

    hi guys Here's my problem. I am unable to access the itunes store after having downloaded the new itunes 10.6.3. In the previous version I had, 10.2.1, it was able to do so, but after downlaoding the new one. Nothing. I ran the itunes diagnostic test

  • How position the cursor in selected screen field insted of defualt field

    Hi All, Can you pls let me know , how to position the cursor in selected selection-screen filed. My requirement is i have 3 selection-screen fields, By default cursor is positioned on field screen field, but i want the cursor to be positioned at 3rd

  • Calendar and Book not working

    Please help. After selecting some pics (or an album or event), I click on Book and get the "Choose type" window, but none of the listed choices are available. Clicking on Calendar doesn't do anything at all, while clicking on Card works just fine. Wh

  • Reinstall Elements 8 after Hard drive crash

    I need to see how to reinstall Elements after my hard drive was replaced. My version of Elements was a download from Adobe. Thank you

  • Getting to Objects in Dialog

    I have created a JDiaolg box in the UI editor. This Dialog has a JTextArea object. The Dialog is instantiated in say class myClass as myDialog. How do I get to the setText method of the JTextArea in myDialog. myDialog.setText( "Test Text String" ) pr