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

Similar Messages

  • Unable to connect to an Infotype from my Custom BSP Page

    I am getting this error in one of my methods in my BSP page that have a controller and an view.
    The data object "Current_Record" does not have a component called "P9140".
    Here is the code:
    method get_customer_fields.
    Author: AA
      check exist_exception( ) eq false.
      data lo_veteran type ref to cl_hrrcf_infotype.
      data lo_ex type ref to cx_hrrcf.
      try.
    lo_veteran ?= ref_cand_bl->get_bo_desired_loc( cand_hrobject ).
          call method cl_hrrcf_ui_services=>create_c_fields_bee
            exporting
              po_infotype   = lo_veteran
              ps_record     = me->current_record-p9140
            importing
              po_bee        = bee
              pt_field_list = me->cust_field_list.
        catch cx_hrrcf into lo_ex.
          add_exception( lo_ex ).
      endtry.

    Hi!
    Sorry for not formating my previous message properly.
    My servlet connects with an SQL server on some remote machine.
    I have create the servlet and deploy it on tomcat.
    I first create this servlet on eclipse that I deploy it on tomcat manually.
    While using it form eclipse it gave no error in connecting with the server.
    But when I deploy the same code on tomcat manually and access the page it gave me an error saying
    [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
    I used the following code for connecting the server
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    jdbcConnection = DriverManager.getConnection("jdbc:odbc:Driver={SQL Server};Server=MyServerName;Database=MyDatabaseName","","");
    Thanx for your help in advance
    Message was edited by:
    nitin403

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

  • Bsp Page Not displying in browser!

    Hi friends,
    My Bsp Page is not displaying in the browser, i read all previous messages and applied patches too,Still i am getting the same problem
    http://sapr347:8001/sap/bc/bsp/sap/system/sso2test.htm?sap-client=800&sap-sessioncmd=open
    this is the url generated by Web Application builder test tool, even i forced the system to use the Anonymous logon procedure and checked logon data required check box, is any request handler require for my application?
    My Instance_profile and trace file shows
    icm instance as sapr347.ssdomain, even i made an attempt and gave Ip address and system name as..
    10.10.4.11 sapr347.ssdomain sapr347  -> Failed
    10.10.4.11 sapr347                   -> Failed
    in windows/system32/drivers/etc/host file for temporary solution.
    Please advice me in this regard
    Thanks in Advance
    Yoki

    Hi friends,
    Thanks for all of your great help, i chekced all the parameters as i said before.. FQDN paramter in instance profile showing sapr347.ssdomain, my host file set into
    10.10.1.106 sapr347.ssdomain
    even i restarted my mechine(client/server),i am getting the following error
    Not found
    The following error occured:
    MsSGetNextLogon: no server found which provides service HTTP (msxxserv.c [15317])
    mySAP.com 620 msg_server (ENT)
    My URL is...
    http://sapr347:8001/sap/bc/bsp/sap/ztutorial/defualt.htm?sap-client=800&sap-sessioncmd=open
    ...its not even finding out my server..i dont know how to work get connected....please any one here find me the correct solution..i read all weblogs..and seen patches..for this..tried all helpful information..even i failed to get my page... my application is also very much activated in sicf..

  • More than one iterator in single BSP page

    Hi All,
    I need to implement different tableviews in a single BSP page which is in MVC. I found in sdn & try with one of the way thro' se24. In se24 i create a class (ZTAB_ITERATOR) which is having the iterator. I dont know how to make use/implement that class in se80 ie in my existing class. 
    Can anyone help me regarding this?
    Regards,
    Anita.

    answered

  • Display image in BSP page,images are on a web server outside of SAP

    Hi,
    I am creating a BSP page for employee profile.The page needs to show an emp picture along with other info.The images are not in the MIME repository,they are stored in a separate web server.I am able to display the page using
    <img border="0"                     src="http://.com/xyz/xyz.bmp" >
    However this is a non secured test server. If the images are on a secured server,I am assuming,an id ,pswd authentication will be required.Can I get the authentication done automatically so that the page is rendered seamlessly for the end user?
    Would SSO help if this web server is a portal server?what if the web server is not a portal server?

    Hi Manidipa,
    The Http class in SAP can also be used in passing the required authentication information to the non-SAP portal system.
    http://searchsap.techtarget.com/whitepaperPage/0,293857,sid21_gci1084087,00.html
    There is an article written by Angeli Axel which does the same. The article has got ABAP HTTP classes and methods to get and post the parameters to the non-SAP portal system.
    The same solution can be done by passing the credentials in the url. The custom solution would be to pass the required credentials in the url and the receiving application should grab those information from the url and confirm the authentication. After that it should be able to provide you the image. After getting the image it can be simply displayed in your BSP using iframe tag.
    For eg if the receiving side is in java, then the following code can be used to receive the username and password. Once you get this you can verify the validity depending on the datasource whether LDAP(MS-ADS, Sun one, Novell edirectory) or ordinary database(Oracle, MS SQL Server .. etc) is used for storing the credentials.
    try {
              String userName = request.getParameter("username");
              String password = request.getParameter("password");
              if (validateUser(userName, password)) {
                 response.sendRedirect("mainpage.jsp");
    The main page here you display the image
    } catch (Throwable t) {
    The above code should be considered as pseudo code for any server side language.
    Please let me know if this helps.
    With regards,
    Rajesh Khanna Venkatesan.

  • Exception CX_SY_OPEN_SQL_DB while executing a BSP page

    Hi,
    I have created a BSP app'n with 2 pages. In one page i am using a class interface within that one method. In that method im firing a select query.
    If i run the BSP page, im getting the CX_SY_OPEN_SQL_DB exception with DBIF_RSQL_INVALID_RSQL error.
    I am not able to understand this issue. If any one had any idea, please reply me. I am very thankful if you do this.
    Thanks,
    Kumar

    Nitin,
    First , check if the Query is correct , then check the backed DB for any additional details , and also you might get more help if you post the same question in the BSP forums.
    How are you calling the query , do you have any internal tables or resultset where you store the values ?
    Arun

  • Download to ppt functionality from a bsp page

    download to ppt functionality from a bsp page .
    can it be done.

    Hi Saad,
    yes that can be done.
    A tricky way that only works in IE is to use ActiveX-Scripting and script the Powerpoint. This way I cannot recommend as you need to lower the security settings of IE and it is pretty cumbersome to do and very slow if you generate large ppt's.
    The way I'd suggest would be to use the new 2007 pptx-format. This file format is basicaly a bunch of XML-files that are packed in the zip-format. As of 640 you can use the class cl_abap_zip to handle zip-files.
    To generate ppt's
    - Check in a empty pptx-file into the mime repository.
    - Get this template and open it using the cl_abap_zip class.
    - Adjust the respective XML-files by using the ixml-library.
    - Update the adjusted XML-files in the zip-archive.
    - Render the zip to an xstring and send this one as response to the browser.
    At the very beginning you need to get used to the OPEN XML-format but checking the web or simply testing it by saving files in the pptx-format and having a look at the content should bring you close to the solution pretty fast.
    If you use older versions of Office you can install the FileFormatConverter from Microsoft to get the new formats supported (I think down to Office 2000). But be aware that if the converter asks you to update you most probably have an error in your generated/adjusted file so the error message is missleading and not helpfull to find the error.
    Hope that helps.
    Best Regards
    Michael

  • Error Passing an internal table between BSP pages

    Any time there is data in the internal table and I try to pass it from one BSP page to the next I get an Web error.  I've heard that it is possible to pass an internal table from one page to the next.  can anyone point me in the right direction here?

    You can do this with the navigation object only if the table is very small. Overwise it overflows 2+KB limitation of URLs.
    Alternative ideas is to use server side cookies (search forum for many examples).
    If stateful, just hang stuff of your application class.

  • Calling a BSP page from ABAP programme

    Dear Friends...
            I am cslling a BSP... from an ABAP program... for that I have used this class and also a function module to ckeck.. actually from the abap program it invoks the BSP page very nicely and as my logic for invoking the BSP is a part of the Business Object and it is associated with the Enterprise portal so... when i reach the ep and trigger that business object to instantiate the BSP page from my calling logic of abap... it goes to the ITS and port 80 or something and didnt produce the BSP.. and only the blank screen was there...kindly help me how i am supposed to instantiate the BSP from properly from ABAP by interfacing the EP... my code is given below...
    data :
        lv_url type string.
      concatenate
        'http://sapdevbp.sbic.co.za:8041/sap(bD1lbiZjPTIwMA==)'
        '/bc/bsp/sap/z_updatemng/bp.htm?bpid=' object-key-businesspartnerid
        into lv_url.
    call method cl_gui_frontend_services=>execute
      exporting
        document = lv_url
      exceptions
        others   = 1.
    please help....
    me...
    regards
    Naim

    Instead of hard coding the URL try to get the URL of the BSP application with the below code
    CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application
    EXPORTING
    bsp_application = '<BSP application name'
    bsp_start_page = <start page e.g default.htm>
    bsp_start_parameters = params " any parameter you want to pass along with url
    IMPORTING
    local_url = url.
    Then try out passing the URL to the execute function

  • Calling an SAP transaction from a BSP page

    Hi, I have created some BSP pages that are rendered inside SAPGUI screens using a HTML control object. When looking at a CRM system I came across the Business Partner Cockpit (CRMD_ORDER_BP) which displays activities for a business partner using a BSP implemented by CL_CRM_CCKPT_CFS_SERVICE_HTTP.
    The interesting thing about this BSP, is that you can click on the transaction number in the BSP and it launches the appropriate SAPGUI transaction to display the details of this activity.
    Looking at the HTML source, the link is defined like this: -
    <a href="SAPEVENT:OBJTYPE=BUS2000115&OBJKEY=CDAEBBF5BD903E4390DA7984D3054A65">0920000086</a>
    In the above example this activity is a sales order.
    Can anyone help me understand how this works, and how I can use it to navigate to SAP transactions using links in my BSP pages that are placed in SAPGUI HTML controls?
    Thanks
    Graham

    Hi Graham!
    I have a similar problem in transaction CIC0 and the Sales summary tab in CRM.
    I have created a new class and assigned it to a new fact sheet. One column in this fact sheet should be a hyperlink defined in the way that you have described.
    When using method get_event_parameter I are not getting any data for the SAPEVENT parameters - I don't get the value, only the keys:
    <a href="SAPEVENT:?OBJTYPE&OBJKEY>
    How should I procced to assign an object type and object key to this SAPEVENT???
    Would also be very nice if anyone could explain how to "call transaction" works.
    Help understanding this would be very appreciated.
    BR
    Mattias

  • How to close bsp page in onInputprocessing eventhandler?

    On my bsp page layout, i have a cl_htmlb_button .i do some db processing in that button's onclick event,at the end of the processing i want to close the page,but i don't want to use onclientclick event (e.g. javascript:window.close() ) of that button.
    so my question: how can i access javascript function to close the current page within onInputprocessing eventhandler ?
    or which abap class method should i call to close the page?

    Hi,
    One can't use JS in the oninputprocessing. There are 2 options:
    - either you submit you form via JS and end with
    window.setTimeout('window.close()',5000);
    check http://www.devguru.com/technologies/ecmascript/quickref/win_settimeout.html for details
    - either you don't specify any page you're navigating to end set a variable.
    in the the <body> tag of your layout  you test on that variable. If set you do a window.close in the onload of the body.
    Check http://www.devguru.com/technologies/ecmascript/QuickRef/evhan_onload.html for details on that.
    Eddy
    PS. Reward the useful answers and you will get <a href="http:///people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself">one point</a> yourself!

  • Executing BW Queries in BSP Page

    Hi,
      Can someone provide source code taking one query and accessing it through the BSP event handler page?
      Will the BSP Page can replicate the same functionality of the BEX web application?
      Can i have drilldown,graphics everything in BSP application?
    Thank you
    arun

    Hi,
    Answer to Arun:
    <i>Can someone provide source code taking one query and accessing it through the BSP event handler page?</i>
    You have to use CL_RSR_REQUEST/CL_RSR_DATA_SET classes (other option is OLAP BAPIs where u have to use MDX stts.)to execute BW queries thru ABAP. (sample code is available in ABAP forum)
    <i>Will the BSP Page can replicate the same functionality of the BEX web application?</i>
    No, you have to code everything yourself. but will be a tedious job.
    <i>Can i have drilldown,graphics everything in BSP application?</i>
    Yes you can, but again as i said you have to code everything , it dosent come easy as in the case of WAD.
    Answer to LUCA:
    One of the possible ways is to use redirect url (url poinintg to the BW query url) in the BSP page.
    you can also pass query variable values via URL.
    example:
    TEMPLATEID=<template name>&var_name_1=<variable name>&var_value_ext_1=<var value>&var_name_2=<var name 2>&var_value_ext_2=<variable value 2>
    Hope it helps.
    Regards
    Raja
    Note: Better place for this question would be BSP forum
    Message was edited by: Durairaj Athavan Raja

  • Maintaining External Alias for BSP Pages in EBP lauchpad

    Hello,
    Below is the problem mentioned :
    Our SRM production system is installed on a AIX server that has
    svuni299.its.it as fully qualified domain name.
    When we connect to the system using the url
    http://svuni299.its.it:8052/sap/bc/gui/sap/its/bbpstart
    everything works fine.
    Instead, when we use the alias:
    http://sapienssrm.fiat.com:8052/sap/bc/gui/sap/its/bbpstart
    we have some problems with the logon to the CCM, because the system
    asks the password again.
    In the attachment problem.doc you can see how to reproduce the error.
    We have seen that in both case, in the left menu of the SRM, all the
    entry contains always a call to an absolute url like this:
    javascript:parent.launchSrvc
    ('','BSP_APPLICATION','http://svuni299.its.it:8052/sap/bc/bsp/ccm/cat_cd
    c/container.htm?sap-client=100&sap-sessioncmd=open&sap-
    language=I','menu')
    instead of having a relative url like this:
    javascript:parent.launchSrvc
    ('BBPSC18','IAC','/sap/bc/gui/sap/its/bbpsc18/!?
    client=100&language=IT&~logingroup=SPACE','menu')
    My Questions:
    Q1.Where can one maintain an external alias to access BSP pages from EBP launch pad.
    Q2.Should relative URL be called or absolute URL?
    Cheers,
    Rohan.

    Hi Rohan,
    You can maintain external aliases using Tcode- sicf.
    There on application toolbar you will find a push button <b>External Alias</b> click on that and then select your virtual host and press create new button and enter the required informations.
    Cheers!
    Narinder

  • BSP page was terminated due

    Hello Experts,
    I have setup the solaris sever system monitoring (Solman with ECC)..
    I folled the simulator tool and configured sytstem monitoring..
    Now when i click Operation- > System monitoring - >  receive an below eror message..
    ===========================
        What happened?
    Calling the BSP page was terminated due to an error.
       SAP Note
    The following error text was processed in the system:
    BSP Exception: Internal Error in Business Server Page Runtime.
       Program CL_BSP_RUNTIME================CP
    Include CL_BSP_RUNTIME================CM001
    Line 196 
    ======================================================
    Observed the below error on the  Dev_w0
    B  dbmyclu : info : pessimistic reads set to 2.
    M
    M Thu Oct 30 16:57:35 2008
    M  rdisp/rb_cleaned_rfc = 0
    A
    A Thu Oct 30 16:58:17 2008
    A  RFC FRFC> fallback on the central gateway <hostname> sapgw00 activ
    C
    C Thu Oct 30 17:00:50 2008
    C  User requested cancel of current SQL on connection 0
    M  program canceled
    M    reason   = soft cancel
    M    user     = WORKER
    M    client   = 001
    M    terminal = 10.74.168.172
    M    report   = SAPLSEOP
    C  OCI-call failed with -1=OCI_ERROR
    C     SQL error 1013: 'ORA-01013: user requested cancel of current operation'
    C  SQL cancelled; calling registered fct. at 0x10031a49c
    M  program canceled
    M    reason   = soft cancel
    M    user     = WORKER
    M    client   = 001
    :q!
    Dev_disp
    ========
    Thu Oct 30 17:00:50 2008
    SoftCancel request for T20 U34 M0 received from IC_MAN
    Kindly give ur the solution to fix the issue?..
    Thanks
    Thirumal
    Edited by: Thiru Thirumal on Oct 30, 2008 9:11 AM
    Edited by: Thiru Thirumal on Oct 30, 2008 11:19 AM

    Hi Tobias,
    in order to copy the standard htm page you simply perform the following steps:
    Open the component in question in transaction BSP_WD_CMPWB_NEW without specifying an enhancement set (this will open the standard component)
    In a separate window open the component in question in transaction BSP_WD_CMPWB_NEW an specify the correct enhancement set (this will open the custom component)
    in both windows open the htm page you want to copy
    select the whole code in the standard htm page and copy it to the clipboard
    switch to edit mode in the custom component htm file, delete its contends and past the contend of the standard htm there.
    save and and active your change
    Christian

Maybe you are looking for

  • Blackberry 8520 keeps repeatedly downloading the same email messages and facebook notifications

    My Blackberry 8520 has all of a sudden started downloading the same email addresses and facebook notifications, that I have already read, I tried deleting them totally and also deleted from my computer inbox, but it just downloaded the next lot in my

  • Mediatracker is not working in browser

    I want to load 2 JEPGs and show them in an applet. Therefore I'm using mediatracker to wait till all Images are loaded like in the following code. When I use the appletviewer everything is working fine, but when I upload the applet and view it with a

  • No tables displayed on the Data Dictionary Import Wizard

    Hello, I'm using Oracle Database 10g Express Edition and Oracle SQL Developer Data Modeler v3.0.0.665. I'm trying to import a Data Dictionary via the Data Dictionary Import Wizard. I can connect to the database ok and I can select the required schema

  • Linux .tar.gz download is missing files

    Hello, The .tar.gz installation archive download is either missing files or the installation instructions need to be corrected. When untarred, only the file "libflashplayer.so" is unpacked. Per the installation instructions, "a directory called insta

  • Automatic paragraph numbering in pages

    Hello, I'm using Pages 5.2.2. I would like to create Numbered Headings and increment automatically. So I've tried the following: From the Format Pane, I've selected the Paragraph Style -> Heading. Then from the Bullets & Lists, I've selected -> Numbe