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.

Similar Messages

  • Debugging BSP Pages

    Hi,
       We are upgrading from ECC 5.0 to 6.0.
    The test environment is upgraded and after upgrade i am unable to do HTTP debugging for BSP pages.
    is there any configuration settings that i have to change ?
    Kindly Help
    Regards
    Bharath Mohan B

    For ECC:
    Before settings the break-point, you need to Active External break-point for HTTP. YOu can find this option in
    SE80, in
    Utilites--> External break-point-->Activate/Deactive for HTTP users
    then it will ask you the user name, mention your user name. This will activate your HTTP break-point.
    Then "Set External break-point (CtrlShiftF12).
    This will solve your problem...
    <i>*Reward each useful answer</i>
    Raja T

  • Step by Step Debugging in BSP page

    Hi,
      Can any one tell me How to do the Step by step debugging? In ABAP application we are doing through /h command.Like this any command is there in BSP page for debugging? And where actually we need to place the break point means in Controller or in View?
    Thanks in advance,
    Regards,
    Anu.

    HI
    GOOD
    GO THROUGH THESE LINKS
    http://www.sappro.com/downloads/technical_guides/WebAppDevTOC.pdf
    http://www.sap.com/solutions/netweaver/pdf/50052038.pdf
    THANKS
    MRUTYUN

  • Assign a value from dropdownlist to input field value on BSP page

    Hi,
    I'm new to SAP and ABAP. We have a CRM project in which I have to maintain BSP pages.
    Now, coming to my problem: I have a input field with
    value = "//BTAdminH/HeaderInfo"
    This field is normally maintainable. The required function is now to set this field as not maintainable/readonly. Then, the value should be set automatically to an value, which will be selected from a dropdownListBox. After saving, the value HeaderInfo should have the same value like the selected value from the dropdownListBox.
    How can I now set the field as readonly (this should be the easier part) and
    how can I set the value for the HeaderInfo to the value of the selected value from the dropdownListBox?
    If I set it directly like this
    value = "//BTActivity/Priority"
    it is shown on the BSP page correclty, but it is not saved as HeaderInfo.
    Please help me.
    Enja

    Hello Gokul,
    test was only for test purposes! I am using as a separator the plus sign!
    But this is not the problem!
    In debugging, the local variable has the concatenated value! So, this is working!
    oncatenate ls_ddlb1-value ls_ddlb2-value ls_ddlb3-value into lv_headerinfo SEPARATED BY ' + '.
    But when I assign the value of my set_headerinfo to the local variable, then it is returning only the separator sign!!!
    if BTAdminH->GET_HEADERINFO( 'HEADERINFO' ) is initial.
        BTAdminH->SET_HEADERINFO( attribute_path = 'HEADERINFO' value = lv_headerinfo ).
      endif.
    If I declare the local variable as one of the dropdown values, then it is getting populated also for set_headerinfo
    lv_headerinfo  =ls_ddlb1-value.
    So, the assigning is also working! But it is not working, when the local variable equals more than one value! I hope that I could explained it in the right way for you!!!!
    So. why is the value for set_headerinfo not the same as the one for the local variable! The local variable has the correct value after the concatination.
    Regards
    Enja

  • Download to excel in different tabs from bsp page

    Hi all,
    I have a requirement in which I have to download to xl-sheet in different tabs based on some conditions from a bsp page.
    I am successful in downloading data into different tabs.
    Now I had written the piece of code required to download to xl in a function module
    and I am calling that function module when pressing a button in bsp page.
    When I run the fm seperately its working but when I run it from bsp page its not working.But while debugging I found that the fm is being called and executed perfectly without any errors.
    But the xl is not being created on our side.
    Can anyone suggest me how to proceed on this.
    Helpful answers will be rewarded.
    Thanks,
    Uga

    Hi Raja,
    Yes I am using ole objects.
    For more clarity I am alos pasting my code.
    If this is not possible then please guide how to achieve this in BSP.
    *******************CODE*****************************************
    include ole2incl.
    data: w_cell1 type ole2_object,
    w_cell2 type ole2_object.
    *--- Ole data Declarations
    data: h_excel type ole2_object, " Excel object
    h_mapl type ole2_object, " list of workbooks
    h_map type ole2_object, " workbook
    h_zl type ole2_object, " cell
    h_f type ole2_object, " font
    gs_interior type ole2_object, " Pattern
    worksheet type ole2_object,
    h_cell type ole2_object,
    h_cell1 type ole2_object,
    range type ole2_object,
    h_sheet2 type ole2_object,
    h_sheet3 type ole2_object,
    gs_font type ole2_object,
    flg_stop(1) type c.
    Internal table Declaration
    data:gt_kna1 type standard table of kna1,
         gt_knvv type standard table of knvv,
         wa_kna1 type kna1,
         wa_knvv type knvv.
    types: data1(1500) type c,
    ty type table of data1.
    data: it type ty with header line,
    it_2 type ty with header line,
    it_3 type ty with header line,
    rec type sy-tfill,
    deli(1) type c,
    l_amt(18) type c.
    data: begin of hex,
    tab type x,
    end of hex.
    field-symbols: <fs> .
         constants cns_09(2) type n value 09.
    assign deli to <fs> type 'X'.
    hex-tab = cns_09.
    <fs> = hex-tab.
    data gv_sheet_name(20) type c .
    SELECT kunnr name1
      INTO corresponding fields of table gt_kna1
      FROM kna1
    UP TO 1000 ROWS.
    SELECT kunnr vkorg
      INTO corresponding fields of table gt_knvv
      FROM knvv
    UP TO 3 ROWS.
    loop at gt_kna1 into wa_kna1.
    concatenate  wa_kna1-kunnr  wa_kna1-name1 into it separated by deli.
    append it.
    clear it.
    endloop.
    loop at gt_knvv into wa_knvv.
    concatenate wa_knvv-kunnr wa_knvv-vkorg into it_2 separated by deli.
    append it_2.
    clear it_2.
    endloop.
    if h_excel-header = space or h_excel-handle = -1.
    *start Excel
    create object h_excel 'EXCEL.APPLICATION'.
    endif.
    call method of h_excel 'Workbooks' = h_mapl.
    set property of h_excel 'Visible' = 1.
    *add a new workbook
    call method of h_mapl 'Add' = h_map.
    gv_sheet_name = 'KNA1'.
    get property of h_excel 'ACTIVESHEET' = worksheet.
    set property of worksheet 'Name' = gv_sheet_name .
    *--Formatting the area of additional data 1 and doing the BOLD
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 50.
    call method of h_excel 'Range' = h_cell
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    *CALL METHOD OF gs_cells 'Select' .
    get property of h_cell 'Font' = gs_font .
    set property of gs_font 'Bold' = 1 .
    data l_rc type i.
    call method cl_gui_frontend_services=>clipboard_export
    importing
    data = it[]
    changing
    rc = l_rc
    exceptions
    cntl_error = 1
    error_no_gui = 2
    not_supported_by_gui = 3
    others = 4.
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 1.
    PERFORM err_hdl.
    call method of h_excel 'Range' = range
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    call method of range 'Select'.
    *PERFORM err_hdl.
    call method of worksheet 'Paste'.
    ****for second sheet**********
    GV_SHEET_NAME = '2ND SHEET'.
    gv_sheet_name = 'Knvv'.
    get property of h_excel 'Sheets' = h_sheet2 .
    call method of h_sheet2 'Add' = h_map.
    set property of h_map 'Name' = gv_sheet_name .
    get property of h_excel 'ACTIVESHEET' = worksheet.
    *--Formatting the area of additional data 1 and doing the BOLD
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 50.
    call method of h_excel 'Range' = h_cell
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    get property of h_cell 'Font' = gs_font .
    set property of gs_font 'Bold' = 1 .
    call method cl_gui_frontend_services=>clipboard_export
    importing
    data = it_2[]
    changing
    rc = l_rc
    exceptions
    cntl_error = 1
    error_no_gui = 2
    not_supported_by_gui = 3
    others = 4.
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 1.
    PERFORM err_hdl.
    call method of h_excel 'Range' = range
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    call method of range 'Select'.
    PERFORM err_hdl.
    call method of worksheet 'Paste'.
    Can you people give me inputs so that I can proceed further.
    Thanks,
    Uga

  • How to store the content of text_edit in the BSP page to infotype

    Hi experts,
    I created a bsp page with a text_edit which is for every one that read the page to leave comments...
    I tried to store the content of the text_edit to infotype, but failed, I noticed that there is a class named CL_HRRCF_INFOTYPE, has method named read_text and update_text.
    I think maybe these methods could help me fulfill the requirement,
    I've debug the standard program many times(the standard infotype 5130 used the class CL_HRRCF_INFOTYPE and the methods to store descriptions into infotype.)but still can not figure out how the standard complete the process..
    Please help me with this...
    Thank you!!

    So the issue is not with BSP but to find the appropriate method/FM for updating the text. you will get a quicker response in ABAP forum and moving your thread to ABAP forum.
    Regards
    Raja

  • 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

  • Class connection to BSP page

    I have a error in a bsp app which is dumping in some conditions. The only clue I am getting in ST22 is a pointer to a bsp generated class named something like:
    CL_O2AH7ZCIJP6MCKNV45ALQC...
    Is there an easy way to map this back to the specific BSP page in my application?
    Thanks in advance.
    Nigel

    This is where I award myself 10 points because I found a much better solution.
    Here it is for all your enjoyment.
    1. Go to transaction SE24
    2. Enter CL_O2_RT_SUPPORT in the 'Object Type' box
    3. Press the F8 key. (The Key not the facebook api)
    (with me so far?)
    4. Click the little tick icon to the right of method GET_PAGE_BY_CLASSNAME
    5. Paste your cryptic class name in the P_CLASSNAME box.
    6. Press the F8 key again.
    7. Read the BSP page from the result.
    Phew, I just knew there had to be a better way than guess and debug.
    Thanks again for your answers guys,
    Nigel

  • Unable to capture the Idle time for BSP page

    Hi Experts,
    I want to capture the Idle time of my BSP page. If that is 5 mins then i have to display the pop up displaying the remaining time.
    Please let me know how to capture the IDLE TIME. not the time after the page is loaded.
    Any suggestion will be helpful.
    Aready checked in SDN but unable to get the solution so posting it.
    Thanks in advance.
    Sravanthi.V

    hi,
    After capturing the idle time iam giving the warning popup to user before 5mins of expiry.Now my requirement is if the user clicks on OK button of popup the page should get refresh. i.e.Idle time should of system should break and we have to get one more hour for expiry.
    Thanks in advance,
    Sravanthi.V

  • Field value on BSP Page

    Hi,
          I have a requirement to show previous entered values in an input  field on BSP Page. for example suppose I enter value '0998' in an input field say 'XYZ'  and then I close or refresh the browser. again i open the page in browser and click the input field then system should suggest me the previous entered value i.e. '0998'.   does anyone have idea how we can do it?
    Regards
    Amit kumar
    Edited by: amitku1201 on Jan 8, 2010 12:19 PM

    Hi Amit,
    I saw your code..
    <htmlb:form id="Form1" method="POST" autoComplete = "TRUE">
    <bsp:findAndReplace find = "ON" replace = "ON">
    In the link I provided
    <bsp findAndReplace find = "off" replace = "on">
    I dont see the closing tag
    </bsp:findAndReplace>
    anywhere in your code.
    The tag should be not used immediately after the FORM tag instaed it is used just before the tag for particular element.
    Like in your case if you want to used it for the inputfield i_case , it should be done as
    <bsp findAndReplace find = "off" replace = "on">
    <htmlb:inputField id="i_case" value="<%=i_case%>" type="string" maxlength="12" width="100"/>
    </bsp:findAndReplace>
    The inputfield tag will be used between find and replace tags.
    I hope this will help you solve the issue.
    Regards,
    Anubhav

  • Message not getting refreshed in bsp pages.

    Hi experts,
    An error message which is getting displayed should be removed on leaving the page. I mean the meassage area is not getting refreshed on leaving the page. Everytime i need to refresh the page to remove it. Please help.
    Abhi.

    hello Friend,
    Please clear the internal table / work are used to show message in OnInitialization method of the BSP page.
    now It is not getting cleared at the time leaving the page and data stays in memory...
    Thanks
    K.

  • In portal blank bsp page is displaying

    Hi Experts,
    Iam having an issue in BSP i.e, regarding appraisal template the bsp page is working fine at R/3 side
    but, in portal for one user the data is comming and for other user the blank bsp page is comming
    please can u help me in this
    waiting for u r responses,
    Regards,
    Shilpa.
    Edited by: pasumarthi shilpa on Dec 15, 2008 7:40 AM
    Edited by: pasumarthi shilpa on Dec 16, 2008 5:16 AM

    Hi,
    Check the user Authorization in R/3 and Portal also..
    In portal, Content Administration-->Portal Content -->Your folder(i.e. Role) -->Give a Every one Group Permissions with Read to that folde and check the Enduser check box.
    Thnx
    Suriya

  • How to return values from a BSP page to Javascript

    Hi All,
    I want to call a BSP page which reads a single value from a table and returns that value I want the Javascript in the HTML code to get the value from the BSP page.
    Can you kindly let me know how I can return the value from the BSP page to JavaScript.
    Kindly please provide me a simple code of a BSP page and the Javascript
    Thanks
    Karen

    Hi,
    you need 3 elements to make the javascript code read the value in any field in the table: table´s name, line and column. This is how your code could look like:
    script language="javascript>
       var row = 0;
       function display(){
          row = row + 1;
          campo = 'tabla1_' + row + '_4';                 " <-- table, line, column
          valor = document.getElementById(campo).value;
    </script>
    ROW works as a counter. You have in variable valor the value of the field and can do with it what you want, perhaps display it with ALERT. I am reading the values from field 1 to n in column 4 in table TABLA1. Pay attention to the '_' in the concatenation of field´s name. The table in my BSP is very simple:
    <htmlb:tableView id                = "tabla1"
                           table             = "<%= mytable %>"
                           width             = "100%"
                           allRowsEditable   = "X"/>
    and somewhere I must call function display in my javascript code:
    <htmlb:button  id="boton" text="Texto aqui" onClientClick="display()" />
    So, give it a try.

  • How to call a BSP page or webdynpro from a WAD Template button

    Hi All,
    I want to implement a button on a web template which when called involes a BSP page or a web dynpro and displays the BSP page or webdynpro in a popup window.
    Thanks
    Karen

    Hi Karen,
    What you could do is create a bsp application which receives workbook id as url parameter.
    From WAD create a link to this BSP page and pass the wbook id in the url.
    Within the BSP you can then read the excel as binary string like below
    Select * from rsrwbstore into table wb_tab where workbookid = wbid.
    You can then set wb_tab-clustd as the response of the page with mime type to 'application/vnd.ms-excel'. which will open as excel
    Take a look on this weblog,
    /people/durairaj.athavanraja/blog/2006/02/06/read-sap-table-data-from-bw-webtemplate-ajax-in-bw-webtemplate
    Hope it Helps,
    Regards,
    Amit

  • Questions on using classes inside BSP pages

    Hi Group,
    I have a few questions on how to use classes,interfaces,parameters in classes,
    and etc., relating to OOPs concepts that can be implemented in BSPs.
    Pls send me some link wherein I can explore things and use it in BSPs.
    Thanks & Regards,
    Vishnu.

    Hi Raja,
    I am facing issues like this:
    1) When I use the code in my BSP as under:
    <%
    class ZCL_MODEL_03 definition load.
    data ref1 type ref to ZCL_MODEL_03.
    data cust_id type c value "1000".
    data c_id type c.
    create object ref1.
    c_id = cust_id.
    call method ref1->CHECK_CUSTOMER changing cid = cust_id.
    %>
    Cannot we define variables in the Scriptlet?? or we need to do only in the attributes sections only?? or in both??
    2)I am not able to use both exporting & importing things in my method call.
    eg.,call method ref1->GET_CUSTOMER
                      exporting cid = cust_id
                      importing c_id = eid.
    In the method definition, I am only using simply logic like, I was trying to send a value into the "cid" defined in the method and putting that value into "eid" which was defined exporting, but, still I could not get the value into "c_id" that I have defined in the BSP page.
    Note: in both the things(in BSP and class definition as well, I am using the same
            type for defining the attributes.
    3)When can we define a "Returning" option in the Class method's parameter    
       Definition? and how can I use it with an example?
    Thanks in advance.
    Regards,
    Vishnu.

Maybe you are looking for