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.

Similar Messages

  • System copy - BSP applications launching with old host name

    Hi
    After system copy, when we test any bsp application, a new window is opened in the internet explorer with the old Web server hostname. These bsp applications are not launching with the new server name.
    I checked all the ICM settings and they all fine.
    Is there any database table which has the old web server entries?
    Regards
    Chandu

    Resolved by ourselves.  Deleting the contents in table HTTPURLLOC fixed the issue.
    Regards
    Chandu

  • 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

  • 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

  • How to set Password change through BSP Application

    Hello All
    Before dropping my question i will explain you what was the Real scenario, i am using WAD 3.50 Version and server is BW 3.0B.we are not using portal, and Enduser will view the reports in the browser through the WAD execute Http link.
    Question.
    whenever the enduser uses Http link of web template in the browser, he will connect through VPN and they can able view the reports. the question is That Some system Enduser won't have SAPGUI in their system so they wants to change the password because they won't know even if it is expire. is it possble to set password change system through BSP Application in the WEB Templates
    Please Help me how to set Change Password in the browser for the WAD Application.

    right now when the user calls the BW report url , he is prompted for authentication via pop up right?
    to enable password change option in the log on screen use system logon for BEX service in sicf.
    go to transaction SICF and navigate to sap/bw/bex
    double click on node Bex.
    in the resulting window, go to error pages tab and under that in log on errors tab choose "System log on radiobutton" save and now try calling a webtemplte.
    Regards
    Raja

  • How to use bsp application SYSTEM for session handling.

    Hi All,
    We are implementing OCI.We have a few BSP applications that are called by standard ITS application.I need to destroy session at server side when the browser is closed for that..
    I copied the pages session_default_frame.htm and session_single_frame.htm from bsp application SYSTEM into my application and made necessary changes.
    I need to pass one url 'HOOK_URL' (this is related to OCI) from starting page of application to final page.
    Now suppose earlier there were two pages in my application page1.htm and page2.htm , so i was able to pass the HOOK_URL from page1 to page2 but after adding the two pages from SYSTEM application , i can pass the HOOK_URL from session_single_frame.htm  to page1.htm
    Page session_single_frame.htm:
    Page attributes:
    hook_url     TYPE     STRING (AUTO)
    OnRequest:
    navigation->set_parameter( hook_url ).
    but cant pass it from page1 to page2...what additional code is required?
    page page1.htm:
    Page attributes:
    hook_url     TYPE     STRING (AUTO)
    onRequest:
    navigation->set_parameter( 'HOOK_URL' ).
    the above code was working fine until i added the two new pages to my application.
    Hope i was able to explain the issue properly.
    Thanks,
    Anubhav.

    Hi,
    Let me describe the steps i have taken oncw again:
    1)Copy page session_single_frame and session_default_frame from SYSTEM application and changed the name in
    DATA: target_page               TYPE STRING VALUE 'session_test.htm'.
    to
    DATA: target_page               TYPE STRING VALUE 'mypage1.htm'
    2)Addes a page attribute HOOK_URL of type string (AUTO) to session_single_frame.htm .
    3)Added the line
    <i n p u t  t y p e="hidden" na m e ="HOOK_URL"  v a l ue = "< % =  hook_url %>">
    to page1.htm so that hook_url is passd to page2.htm (page2.htm has a page attribute HOOK_URL of type string and auto).
    The hook_url in page2.htm looks like:
    "http://sapupd.mycompanyname.com:8002/sap(cz1TSUQlM2FBTk9OJTNhc2FwdXBkX1NSTV8wMiUzYXJUaHBOdE1VZDdhWkVTa3hYZGtPTXRxY1NBTWo3VlAwN3NWQ2c2REYtQVRU)/bc/gui/sap/its/bbpsc02/?~OkCode=ADDI&~Target=_top&~Caller=CTLG&~sap-syscmd=NOCOOKIE&~client=200&~language=EN&~HTTP_CONTENT_CHARSET=utf-8";
    The problem is that after the page is submited , a blank page comes up .
    On closing this blank page the "Endig user session" window comes.
    Please help
    Thanks,
    Anubhav.
    Edited by: Anubhav Jain on Oct 21, 2008 6:49 AM

  • 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

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

  • 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

  • Callng a RFC from BSP application

    Hi Everyone,
    I am calling a RF function from a BSP function through a destination.
    The BSP application is running on a SRM server and FM is in R3 server.
    In the BSP application ,the function call has just only exporting parameters.
    No need ti return any values back.
    The destination is working fine..
    I tried for  two modes of call to RFC FM
    1. with detination
    2. with detination and background run.
    but it is not traversing into remote Fm.
    Can any one propose the solution.
    Bye,
    satish

    Hi Satish,
    there are a few things that can cause issues:
    Does the user that is used to logon to the remote system has sufficient authorization to execute the function module?
    In case you are using trusted RFC-connections has the user in the remote system sufficient authorization to log on via this trusted connection?
    Is there an authorization required to use the specified RFC-destination and if so does the user performing the call have this authorization?
    In case you want to debug into the remote system the RFC-User used for logon into the remote system needs to have authorization to execute the function module remotely, debug in the remote system and log on as dialog user.
    The use of destination executes it in synchronous mode, the use of destination + background performs the rfc asynchronously. For synchronous call always define the 2 exceptions described in the online help for RFC-calls (system_failure communication_failure) so that you can react on errors during the rfc such like the remote system not being available.
    Hope that helps to dig into this in more detail.
    Best Regards
    Michael

  • Debug BSP in ICF tree /default_host/sap/public/bsp/sap/...

    Hi,
    does anyone know, how to debug a public bsp application?
    I'd like to debug my own login bsp, but I'm not able to activate debugging for the system user.
    thanks a lot,
    Claudia

    Hallo Claudia,
    There is one of two techniques/ideas:
    (1) set the break-points in name of the public user. When on a BSP page in SE80, use menu Help>Settings (Hilfsmittel>Einstellungen). You are interested in the tab ABAP-Editor and then Debugging. There you can configure the user for which the breakpoints must be set. Only problem with this is that everyone now runs into your breakpoints.
    (2) Run the "public" application under your name. It will only run public if you supply no authentication information. So you close all browsers. Start browser new, and add ?sap-user=X&sap-password=Y onto the URL. Do this only for testing.
    Do not forget to assign points. Still <b>today</b>! We need them to pay for a :D The Joker Challenge! Maybe you want also to participate?
    brian

  • Error message in bsp application

    hi
    Im tamil selvan .....this is my first bsp application i created .. but i cant view the output..the default html code itself not executing... i copied the same code in text and saved in html its executing there... i dont know what is the issue..is any system files are missing...plz guide me im new to bsp....first what should i learn ...  the below is the error i pasted...
    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:
    Die URL enthält keine vollständige Domainangabe (isys-ecc statt isys-ecc.).
    Exception Class CX_FQDN
    Error Name 
    Program CX_FQDN=======================CP
    Include CX_FQDN=======================CM002
    ABAP Class CX_FQDN
    Method CHECK
    Line 10 
    Long text -
    Error type: Exception
    Your SAP Business Server Pages Team

    Hi Tamil,
    welcome to the SAP Community Network. You will find lots of great resources, tips, and examples here.
    Of course to find them you have to look for them. You will find most people more than happy to help you with problems if you first try and help yourself by searching for the solution yourself.
    So please, search the forums for the solution to your problem before you post.
    Cheers
    Graham Robbo

  • SSO via Windows authentication for a BSP application

    Hi,
    is it possible to configure/implement a bsp-application, so that the user of the application is authenticated in the SAP system through the windows user (without entering the user or password). I search for a mechanism, that is like the SSO mechanism in the SAP EP. We don't have SAP EP, neither we have a java stack installation.
    Exists a way to implement this scenario?
    My idea was it, to use the same functionality, like in the SAP GUI, when configuring SSO. Unfortunately I don't find any hints about this topic.
    Regards,
    Thomas

    One best way is to embed the BSP page in the iview of the EP. As your are telling EP is not available i think there is no other way around.

  • Javascript error calling a bi 7.0 webapplication from a bsp application

    Hi everyone,
    This is the scenario we're facing a javascript error :
    Enterprise Portal is calling a custom bsp application ( via an iview in the enterprise portal ) in the bi system with a parameter "template_id" and a value, which is the technical name of a bi web application.
    The bsp application is evaluating the parameter by some custom code and creating a html page with a redirect or a maintenance message to the bi web application passed with the parameter "template_id".
    The html link to the bi web application is created according to this documentation :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/03d4ac801467e6e10000000a1553f6/content.htm
    Purpose of the bsp application :
    in the bi system there is a database table to maintain a flag for each webtemplate and infocube, which should not be called via the enterprise portal for a certain time ( some kind of maintenance switch ). The bsp application then decides to show a maintenance page for the called webtemplate or to send the redirect page to the client.
    The process described above is :
    working with the bi 7.01 sp7 in the bi ( enterprise portal sp22 ) in the productive system.
    working in the Q&A system bi 7.01 sp8 with bi 3.5 web applications.
    not working in the Q&A system bi 7.01 sp8 with bi 7.0 web applications.
    The javascript error calling bi 7.0 web applications is :
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET4.0C; .NET4.0E)
    Timestamp: Mon, 6 Jun 2011 09:11:04 UTC
    Message: Object doesn't support this property or method
    Line: 96
    Char: 11
    Code: 0
    URI: https://mlptb1.mlp-ag.com:58001/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=B_221_002_KUNDEN_POSTEN_AD
    We've opened a message. Support center is saying that this method isn't supported by sap. We should ommit the bsp application and the used functionality.
    Is there any way to find out, what is causing this object is missing ?
    Is there another way than a bsp application to use this custom maintenance function in the described system setup ?
    system components :
    production system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 7
    q&a system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 8
    Kind regards.
    Dirk

    Hello everyone,
    we did some further analysis on this problem und we think we found the problem.
    The error occurs while trying to execute the standard url for web templates inside a Enterprise Portal Frame, for example
    https://XXX:XXX/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=XXX
    While executing the URL a HTML-Page with some embeded Javascript-code is sent back to the browser.
    In this Javascrip-Code, the method-call "dsmObj.registerAll" leads to a script error in Internet Explorer.
    dsmObj.registerAll("pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex", "GUSID:6FC9SuhGDPIMMLwOdeHEIg--_7WQud13yeLJDz2kYoQFSg--", "1307605928212");
    In SP7, the method "dsmObj.registerFullKey" is called instead of "dsmObj.registerAll". This has changed in SP8.
    dsmObj.registerFullKey("GUSID:iBPvyska9*xE_JBalkQG2g--YyKv2C3NToP0I79Mw7EO8w--", "1307606479963");
    The object "dsmObj" seems to reference the parent frame of the Enterprise Portal.
    Has anyone seen this before? Any ideas how we can fix this?
    Kind regards,
    Matthias
    Edited by: Matthias Keller on Jun 9, 2011 2:07 PM

Maybe you are looking for

  • Odd mail server behaviour

    Hi For four days now I've been having a frustrating time with Mail on both my iMac and my old iBook. This has been happening on different wireless networks. I send an email from my main account, which is an IMAP account. I see the gear next to 'sendi

  • Accounts Payable Query

    Dear All,          I am analysing data which goes through 0fi_ap_4 data source. I seek info on how accounts payable data is distinguished from General Ledger data.Since accounts payable is a subset of general ledger data, from which table does 0fi_ap

  • How can i READ Steps / Revolution

    I'd like to READ the predefined (in MAX) "Steps per Revolution" (depending on the Board ID and Axes). Is this not possible? I am using LabView 8.5 with NI-Motion-VIs, where just a LOAD "Steps per Revolution" is available. Solved! Go to Solution.

  • How can I dissable 'sponsored' tiles?

    With the new Firefox we got the very unwanted sponsored tiles. There were about 10 tiles that were placed for me. Some of them were even animated. Some nice spam right in your face on a screen you use regularly. There is a' gears' icon where you can

  • BIA Concurrent Requests

    Hi, We are having performance issues in our production BIA  environment. Our BIA system (7.2 revision 11) is running on 11 blades. In the BW system, SM66 all work process are busy with waiting status with many TREX requests. So, we are thinking incre