Debug  BSP application

I tried to debug the code in OnInitialization and OnInputProcessing event handler but I am not able to do so.
I activated debugging through SICF transaction and also tried through Utilities->External Breakpoints->Set/Delete External Breakpoints and Activate from Web Application Builder but no luck so far
SAP_BASIS Release 700 Level 0009

Have you checked...
In ABAP Workbench. Utlities->Settings->ABAP Editor->Debugging and set users to your username in the Extrenal Debugging area.
In SICF. Edit->Debugging->Activate Debugging. This must be done after you create the breakpoint.
Triple check the BSP application is running under your user name.
Cheers
Graham Robbo

Similar Messages

  • System debugging BSP application

    Experts,
    I set system debugging for my BSP application going thru SICF. I have external breakpoint set at do_init method of my controller class.  If I execute the BSP from portal, it doesn't stop at the breakpoint in my controller class. Any help is appreciated.

    Hi,
    In the development workbench (Transaction SE80).
    Choose Utilities -> Settings. On the following dialog box for the user-specific settings, on the tab ABAP Editor choose the embedded tabstrip HTTP Debugging and activate HTTP debugging globally for your user.
    In the Web Application Builder of the development workbench, you can also activate or deactivate HTTP debugging:
    Choose Utilities -> Breakpoints ®(De)activate for HTTP user.
    Ensure that deleting all breakpoints does not automatically deactivate HTTP debugging.
    Regards,
    Azaz.

  • Debugging BSP Application

    Hi,
         I am having a button the web page. How to debug the BSP Application, what is happening after clicking on that particular button.

    Hi,
    In your BSP Application-in the respective page
    Place the cursor at the line which you want to debug from
    The put a session breakpoint (CtrlShiftF9)
    Now run your BSP application. It wud stop at the line you want to debug.
    Continue using F5
    This will help!!
    Regards,
    Prashant

  • Error while running BSP application

    Hi all,
    the following errors are comming while running the BSP Application on browser, so please help me to sort it out.
    errors comming on browser are:
    1)The following error text was processed in the system  NWS : An exception that could not be caught occurred.
    2)The error occurred on the application server nwserver_NWS_00 and in the work process 0 .
    3)The termination type was: RABAX_STATE
    4)The ABAP call stack was:
    Form: ON_CHECK_BSP of program CL_BSP_RUNTIME================CP
    Form: ON_REQUEST of program CL_BSP_RUNTIME================CP
    Form: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_BSP===============CP
    Form: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    thank you
    kamaljeet

    Hi Kamaljeet
    Are you calling some function module from the BSP page?
    If yes, it seems that it is not getting called properly.
    Function module has to be remote enabled and called from BSP page as: call <FM> DESTINATION '<destination>'. If destination server is same, use 'NONE' as destination
    Or, the problem may be because of mismatch of a data/table type in Function module when called from BSP. In such a case, put a breakpoint at function module and debug to see - at what point, your application fails.
    Hope, it will be of some help.
    Regards
    Ashish Jain
    [email protected]

  • How to Use Interactive Forms in BSP Applications - trouble with demo

    Is anyone else out there having trouble with the subject how to guide? https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0e58022-2a39-2a10-69a8-c1a892e2b3f4
    I think I have everything built out correctly but I get the following run time error.
    Business Server Page (BSP) error
    What happened?
    Calling the BSP page was terminated due to an error.
    SAP Note
    The following error text was processed in the system:
    An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause
    Exception Class CX_SY_REF_IS_INITIAL
    Error Name 
    Program Z_PROCESS_BOOKING_FORM========CP
    Include Z_PROCESS_BOOKING_FORM========CM002
    ABAP Class Z_PROCESS_BOOKING_FORM
    Method DO_REQUEST
    Line 33 
    Long text An attempt was made to execute a dynamic method callon an initial(NULL-) object reference. The reference must refer to an object.
    Following is my code:  line 33 reads as strChecked = node->get_value( ).
    method DO_REQUEST.
    *CALL METHOD SUPER->DO_REQUEST
      data: bookingxml type string.
      bookingxml = request->get_cdata( ).
      data: streamFactory type ref to
      if_ixml_stream_factory.
      data: iStream type ref to if_ixml_istream.
      streamFactory = g_ixml->create_stream_factory( ).
      iStream =
      streamFactory->create_istream_string(
      bookingxml ).
      data: document type ref to if_ixml_document.
      document = g_ixml->create_document( ).
      data: parser type ref to if_ixml_parser.
      parser = g_ixml->create_parser( stream_factory =
      streamFactory
      istream =
      iStream
      document =
      document ).
      parser->parse( ).
      data: node type ref to if_ixml_node.
      data: strChecked type string.
      node = document->find_from_name( name = 'RESERVED'
      strChecked = node->get_value( ).
      data: reserved type BAPISBODAT-RESERVED.
      data: checked type i.
      move strChecked to checked.
      if ( checked = 1 ).
        reserved = 'X'.
      else.
        reserved = ''.
      endif.
      data: custbook type BAPISBONEW.
      node = document->find_from_name( name = 'AIRLINEID'
      custbook-airlineid = node->get_value( ).
      node = document->find_from_name( name = 'CONNECTID'
      custbook-connectid = node->get_value( ).
      data: fd type BAPISBONEW-FLIGHTDATE.
      data: strFd type string.
      node = document->find_from_name( name =
      'FLIGHTDATE' ).
      strFd = node->get_value( ).
      CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
      EXPORTING
      DATE_EXTERNAL = strFd
    * ACCEPT_INITIAL_DATE =
      IMPORTING
      DATE_INTERNAL = custbook-flightdate
      EXCEPTIONS
      DATE_EXTERNAL_IS_INVALID = 1
      OTHERS = 2
      IF SY-SUBRC <> 0.
    * Do something
      ENDIF.
      node = document->find_from_name( name =
      'CUSTOMERID' ).
      custbook-customerid = node->get_value( ).
      node = document->find_from_name( name = 'CLASS' ).
      custbook-class = node->get_value( ).
      node = document->find_from_name( name = 'AGENCYNUM'
      custbook-agencynum = node->get_value( ).
      node = document->find_from_name( name = 'PASSNAME'
      custbook-passname = node->get_value( ).
      data: pb type BAPISBONEW-PASSBIRTH.
      data: strPb type string.
      node = document->find_from_name( name = 'PASSBIRTH'
      strPb = node->get_value( ).
      CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
      EXPORTING
      DATE_EXTERNAL = strPb
    * ACCEPT_INITIAL_DATE =
      IMPORTING
      DATE_INTERNAL = custbook-passbirth
      EXCEPTIONS
      DATE_EXTERNAL_IS_INVALID = 1
      OTHERS = 2
      IF SY-SUBRC <> 0.
    * Something
      ENDIF.
      data: bn type BAPISBOKEY-BOOKINGID.
      data: return type bapiret2_tab.
      data: errmsg type string.
      CALL FUNCTION 'BAPI_FLBOOKING_CREATEFROMDATA'
      EXPORTING
      RESERVE_ONLY = reserved
      BOOKING_DATA = custbook
    * TEST_RUN = ' '
      IMPORTING
    * AIRLINEID =
      BOOKINGNUMBER = bn
    * TICKET_PRICE =
      TABLES
    * EXTENSION_IN =
      RETURN = return.
      data: wa type bapiret2.
      loop at return into wa.
        if wa-type = 'E'.
          move wa-message to errmsg.
          response->append_cdata( errmsg ).
          response->append_cdata( '<BR>' ).
        endif.
      endloop.
    response->append_cdata( 'Flight booked, booking reference number: ').
      data: strBn type string.
      move bn to strBn.
      response->append_cdata( strBn ).
    endmethod.
    The first page works fine but when I submit my form it fails.  I debugged and the request object doesn't look right.
    Any ideas would be greatly appreciated.
    Regards,
    Dan
    Message was edited by:
            Dan Scheck
    Message was edited by:
            Dan Scheck

    Hi Surija,
    there is an issue with Internet Explorer that causes this problem when you launch the BSP applicaiton using the test menu in SE80. The issue does not occur with Firefox...very strange I know.
    Anyway, to get around this you just copy the BSP application URL and open a browser and paste the URL in...so essentially do not use the "Test" in SE80 to launch your application.
    Hope this fixes your problem!
    Cheers,
    Jeff

  • Changes are not updated in Vistex BSP application

    Hi Friends,
    Iam working on VIstex BSP Applications. I have a problem with data update.
    I create a new Agreement Request using existing Agreement in BSP. In the Agreement Request I have different Rules and each Rule has some records in it. When I click on Save, initially all the records are alloted a temporary variable $$000000XX (XX is some number). After Save, from the Number Range object, these records are alloted permanent numbers. Up to here it works fine. When I go to any of the Rules tab and add a new record to that then this record is not saved properly. I mean when i go to the ECC (backend), it shows the newly added record, but when i click on the same tab again in BSP i could see in debugging, that
    the record still has a temporary number to it. So it always inserts a duplicate record in ECC.
    The issue is after i add a new record in BSP, Save the Agreement Request and come out of the transaction, then it saves properly. But when i add the record, Save and go the same tab again and change something to the newly added record, it is creating duplicates. And this is because it is not saving the record properly.
    Also if I just come out of the BSP page and load it again after clicking on save, the save is done properly and no duplicates are created if i modify the newly created record.
    Any suggestions to solve the issue will be appreciated.
    Thanks & Regards,
    Raju
    Edited by: Narayana Raju Sampathirao on Oct 6, 2009 3:02 AM

    Looks It's a Refresh issue part of BSP

  • Problem with BSP Application

    Hi all,
    We have three BSP applications running on Production Environment, but after applying Support Patches only two are running , and the third one is not running. But all three applications are running fine in Development, and Consolidation. Here are some inputs which we figure out while trying to fix this problem:
    1) When we point the Production Server to Test Server's Web Dispatcher all three applications executed well, and when we point the test server to Production Server's Web Dispatcher, two applications which were running fine executed, but the third one failed. So this excercise gave us a conculsion that problem is with Web Dispatcher of Production . but we couldn't figure what.
    2) After debugging both successful applicationa and failed application both are indeed passing some basic URL to HTML Viewer, here are the URL's
    Successful Application : https://sun109.pseg.com:443/sap/bc/bsp/sap/zhr_ta
    Failed Application :
    https://sun109.pseg.com:443/sap/bc/bsp/sap/zhr_poe
    (sun109 is host for Production Web Dispatchure)..
    and following are the URL's which i have got after i did right click on the HTML viewer when the application is pulled up.(In case of failed application i am getting blank page).
    SuccessFul Application:
    https://sun109.pseg.com/sap(bD1lbiZjPTEwMCZ0PVpQU0VHJnc9NjE1NzcyMCs=)/bc/bsp/sap/zhr_ta/ta_intro.htm?sap-htmlb-design=
    Failed Application:
    https://sun109.pseg.com/sap/bc/bsp/sap/zhr_poe
    One more point when i took the URL of successful application and changed the application name like this, and pasted it on browser :
    https://sun109.pseg.com/sap(bD1lbiZjPTEwMCZ0PVpQU0VHJnc9NjE1NzcyMCs=)/bc/bsp/sap/zhr_poe/default.htm
    it worked.
    So i think if we compare the URL's ( both input to Web Dispatcher and on properties) of both successful and failed ,  we notice somepart of URL is missing (some kind of encryption) is missing in failed application.
    I want to know why this conversion of URL is happenning , where and how can i fix this problem.
    Regards,
    Akash
    PS: It's very urgent.

    Hi,
    https://sun109.pseg.com:443/sap/bc/bsp/sap/zhr_poe
    is the url of the failed application and under SAPGui we are opening applications in HTML viewer control.This is the url which is passed to the HTML viewer control.
    Contrary, this is the URL of successful application
    https://sun109.pseg.com:443/sap/bc/bsp/sap/zhr_ta
    I have checked this URL while debugging, and this URL is getting passed to HTML Viewer control.
    Also, please let me know how to close the thread.
    Regards,
    Akash Modi

  • Debugging BSP page

    I want to debug a bsp application (Z app), i am logged in remote desktop, ecc 6.0, internet explorer: 7
    i have tried to test page directly from se80 and also from URL.
    I have tried setting external break-point, activating debugging for user...............but no success to reach debugger and program does not stop at any of the break-point.
    any guess on how  do i get to debugger??

    Hi Ankit,
    Try HTTP debugging. Details to activate this are here - http://help.sap.com/SAPHELP_CRM70/helpdata/EN/17/00ab3b72d5df3be10000000a11402f/content.htm .
    Hope this helps.
    Bhavana.

  • BSP application not returning responses to Pocket IE

    We have a BSP application which is running through Pocket Internet Explorer on a Symbol MC3090 WinCE5.0 handheld, barcode scanning device via a wireless network connection to our SAP servers.  We have tested the application successfully at our home office, however when we deployed at our first site, we are experiencing issues where Pocket IE does not get a response back from the application, but appears to be awaiting a reply from the SAP server.  The browser screen goes blank except for the Windows logo which is flashing indicating that a response is being sent.  The users will wait several minutes but no response ever appears.  At this point, the users are able to close Pocket IE and restart the transaction and run it through successfully, most of the time.  We are at a loss as to how to debug this type of issue as we can't re-create it and aren't sure what to look for.  Would this happen if an error occurs that isn't trapped?  Our network appears to be running well, so we don't think it's that.  Has anyone else experienced anything similar?

    Hi,
    you have to run the applications in the updated version to see if it all is Ok before calling it per RFC. It might be indeed a unicode problem.
    if it is uncode problem how do we enable BSP appilcation for Unicode compatible in SRM 7.0.
    You have to check the code of your applications in the SRM 7.0 and read the SAP note regarding changes between every version. You also have to familiarize with the new instructions and aggregates to existing instructions. There´s no other way.

  • BSP application not being pulled after the application of support packs

    Hi all,
           Support packs SP 35-42 were applied last week end and after that one of the three BSP applications in production server is not being pulled through SAP gui. If I take the URL and paste it in IE the same application is being pulled. We are suspecting that to be a web dispature issue or firewall issue. The land scape is like this. P20 is our production server and C20 is our QA server.P20 has Sun109 as a web dispature and C20 has Sun108 as webdispature. There is a firewall in between P20 and Sun 109 but there is no firewall in between C20 and Sun 108. We redirected P20 to Sun 108 to test and all the three applications pulled up. so we concluded that it could be an issue with SUN 109 or a firewall issue. I am new to this webdispature stuff. I need help in identifying which files I have to look in to identify any kind of such errors. it is confusing why other two applications are being pulled and only one is not being pulled into SAP gui. We debugged the code and every thing is working fine. this is an urgent issue to be resolved.These application were developed long back and the developer did not leave any documentation how the hand shake is done between the web dispature and the SAP system.We are supporting the production system now. I appreciate any one responding as soon as posible.
    Thank you very much,
    Giri

    You mustn't have looked very hard.
    Try https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=954792 as a starter.

  • How to find the Name of the BSP Application Being Invoked?

    Hi ,
    Is there any FM or method that would return the name of the BSP Application being invoked?
    Say i have a method A which is being invoked by 2 BSP Application B and C. How do we determine which BSP is invoking the method A?
    Any input on this regard will be of great help.
    Thanks and Regards,
    Pavithra

    Hi,
    this methods are not 100% efective but you may try it:
    On runtime:
    set an external breakpoint in your method A and run your application. When it stops, the debugger has many folders, so press the one marked with "Standard" and in section ABAP stack you see the different call steps that have been executed, including the application that is calling the method.
    For this you must activate the new debugger (Utilities --> settings --> ABAP editor --> Debugging)
    On development time:
    Click on method A and press button Where-used list. In the incomming window press BSP applications.
    Hope it helps.

  • E-Recruiting - BSP application - How to clear buffer?

    Hi,
    I’m debugging one of BSP application (I set an external break point at method of model class).
    Very first time program flow stops at break point but after that it is not stopping there b/c records being fetched from buffer. May I know how to clear the buffer?
    Regards,
    ...Naddy

    Well,
    E-Recruiting Infotypes are buffered within the application as internal tables.
    The buffer is filled, when first time opening an subapplication. It's also filled, when those infotype records have not been read before.
    Refreshing the buffer is only triggered by the application. This is done by "Refresh"-Buttons or Buttons like "Start selection".
    You cannot refresh it yourself, while debugging. It's a global event called by button events.

  • SRM 7.01 - ROS in SUS - Unable to debug FPM Application

    Hello Experts,
    In the Supplier Self registration link that is sent to suppliers, we need the option to attach documents.
    I found that there is a view container with attachment options in the corresponding Webdynpro component
    /SAPSRM/WDC_SUCO_SREG_CA which was not visible. Now, I could make them visible, but the buttons
    in the view are in disable mode.How could I enable it?
    Also I could not debug the application though I kept external break points in the WD component.
    Thanks,
    Sharmila

    Hi Fai,
    we are dealing with the same issue right now. We are implementing SRM 7.01 and for the ROS screen, we are using the new WebDynpro ABAP. We activated the business function SRM_SUCO1 and activated the customizing switch. Now we are facing the problem to access ROS. We only have the link from the BSP application ROS_SELF_REG in main.htm. Do you know where we can find the link for the Webdynpro screen?
    Thanks for any advice!
    Ina

  • BSP Application copying

    HI
      I copied the BSP application in to custom one and configured as one of the links and in navigation if i go to standard and come back to home page and click on custom one it is still giving the standard .if i go first custom one first and come back and click on standard it is giving me the custom one only not standard .please help me

    Hi Ram,
    I think you have not changed the code as per you requirement.
    Debug the "Z" application and see where the Comp Id is calling the standard application.
    You can have your own Comp ID.
    Reward points if helpful.
    Thanks,
    Gokul.N

  • BSP Application Problem

    Dear All,
    I have one BSP application when I am running on the portal with SP6 it's working well,
    When I worked in Portal SP16 it's not working I debug the both servers parallel I didn't find any bug.
    I test the settings of both applications and configuration.
    every thing is same but application is not working in Portal with SP 16
    Any body can help me please.
    Thanks
    Regards,
    Venkat

    Hi,
       Myself Deep, wants your help.
       I am creating a SAP BSP iView for BSP Application in Portal which is working fine in R/3. I had selected a SAP BSP iView, then clicked on Next, then I had given the name as bsp_test and id too as bsp_test. Again clicked on Next choosed BSP from BSP and BSP Alias. Then specified the System as IDS,Customer Namespace as sap, Application Namespace as sap, Application as the name of the BSP same as I created in R/3 ie tutorial_1 and Start Page as default.htm . After that clicked on Next, a BSP iView is created, but on clicking the Preview a pop-up comes displaying "Page Not Found". Please tell me is there any setting is needed or something else to do.
    With Best Regards
    Deep

Maybe you are looking for

  • I cannot install ITunes 10.6, my computer keeps blocking on it.

    I cannot install ITunes 10.6, my computer keeps blocking on it. At first I had problems with the upgrade, then I couldn't start iTunes anymore, so I had to uninstall it in orde to reinstall it again. However that doesn't work. Everytime I run the ins

  • Workflow real time approvers

    Hi, How can i get the real time level approvers in a workflow situation, example for a certain document the approvers are already defined, but during the process sometimes they change, how can i get the real approvers to show in a report, using abap

  • TouchUp Object Tool

    Hi Sir/Mdm, I have a pdf file where all texts are created in image which I believe I cannot edit it. I tried to touch up it by using TouchUp Object Tool. When I right clicked to "edit image", my photoshop pops out with error opening the image. Pls he

  • Driver help with adapter firmware upgrade

    I'm trying to upgarde the firmware for my Netgear WG511T adapter. After uninstalling the current firmware, the Netgear firmware upgrade installation requests the infamous 'Novell Netware DOS driver disk' - first thing it wants is "lsl.com" (not sure

  • Knowing the Primary Key Sequence Generator of a table

    Hello All, I'm working on an application that uses Oracle toplinks/JPA for persistence. The entity classes in the application have primary key fields with annotations @Id and @GeneratedValue(strategy = GenerationType.AUTO). Per our understanding, thi