Integrate bsp-extension into htmlb_manager

I have problems integrating my BSP extension in the HTMLB-manager.
My BSP extension has a "table" attribute (TYPE REF TO DATA). In DO_HANDLE_EVENT of the controller, i try to get this reference but I don't get it to work.
I call
lorv_tt ?= cl_htmlb_manager=>get_data(
                   request      = request
                   name         = 'ZpuGen:tt'
                   id           = 'my_id' ).
and a reference to my handler class is returned. however, the table attribute is empty (while id is not).
probably i have to modify event_initialize or restore_from_request, but i am not sure how.
any ideas?

Hi,
Just for future references, please add this code in the OnInitialization Event:
DATA: event TYPE REF TO if_htmlb_data.
event = cl_htmlb_manager=>get_event_ex(
runtime->server->request ).
IF event IS NOT INITIAL
AND event->event_name = cl_xhtmlb_buttongroup=>co_event_name.
ELSE.
   DATA: bee_html TYPE REF TO cl_bsp_bee_html.
   CREATE OBJECT bee_html.
   bee_html->add(
   html1 = '' ).
   bee = bee_html.
ENDIF.
The issue in this example seems to be related with the constructor method of BEE, so it is useful to manually initialize the content.
I hope this helps.
Regards,
Eze.

Similar Messages

  • How to download data displayed in a BSP page into Excel sheet

    Hi,
    I'm displaying an internal table data into tableview of a BSP page. I want to provide a feature to download the tableview contents to Excel sheet from Internet Explorer.  How do I do it?  Can someone guide me.
    Kedhar.

    Hi Kedhar,
    welcome to SDN. You should try to use the Search functionality here. Then you will find this Weblog:
    <a href="/people/thomas.jung3/blog/2004/09/02/creating-a-bsp-extension-for-downloading-a-table">Creating a BSP Extension for Downloading a Table</a>.
    You can award points if this answer was helpfull.
    Regards
    Gregor

  • Integrate web dynpro into WEB UI

    Hi,
    I have a problem with integrating wd4a application into web ui.
    When I set up url of the wd4a application (absolute url) as logical link, everything went ok in dev system.
    But after transport to test system, application was not reachable, because absolute url linked to dev.
    The second attemp was to set up the logical link to BSP application, which called absolute url to wd4a application using <bsp:call> statement in view. The problem is that this statement didnt work at all and it doesnt matter if there link to my application or to google.com.
    do you have any idea how to solve this?
    thanks
    Juraj

    Hi,
    I know this method,
    but problem is that I used absolute link in WEB UI customizing, tx CRMC_IC_LTX_URLS ... in case I could create my own link, everything is ok
    my problem is that I dont know how to define link in this tx with relative url
    or I can be solved in way that I somehow integrate web dynpro into BSP application and then set up URL in tx CRMC_IC_LTX_URLS for the BSP.
    the only problem is I dont kobw how to do this
    thanks
    Juraj

  • Is XHTML better option than BSP extensions?

    Hi,
    for some strange reason my project team wants to use XHTML for layout rather than any of the existing BSP extensions...the reason being the HTMLB does not generate XHTML in the back-end or something like that. Is anyone aware of any such lackings in BSP extensions that we have? Are there any alternatives with in BSP extensions? I want to convince the team to use standard BSP extensions...
    Thanks
    Kiran

    Ahha... I have just seen as I logged on this...
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/ibm">IBM integration area or somesuch</a>
    but I dont think it is going to have what you are looking for. I have had some experience with itegrating output from BSP into a Websphere portal and it wasnt that much fun. We used iframes to host the bsp application in portal which wasnt ideal. This was only for a prototype of a large application and the full blown applicaion would have probably used websphere making bapi calls to get the info from sap. One option was using EP between BSP and WebSphere but this is probably not an option due to budget  constraints.
    This isn't a great deal of help but hopefully it is food for thought.
    regards,
    Nigel

  • Problem in following the webblog "Using TimeStamps: BSP Extensions"

    I try to follow the webblog "Using TimeStamps: BSP Extensions for a TimeStamp UI."
    However, after I have created the method 'RESOLVE_MODEL_BINDING' and compiled it, it shows me an error message
    <b>'Method "ADD_TO_CHECK_TABLE" is unknown or PROTECTED or PRIVATE.'</b>
    This is some part of that code.
      model = m_page_context->get_model( model_name ).
      name = model->get_attribute_name( attribute_path = value_path ).
      valuelow = model->get_attribute( attribute_path = value_path ).
      IF id IS INITIAL.
        id = name.
      ENDIF.
      IF disabled IS INITIAL.
        bspmodel ?= model.
        bspmodel->add_to_check_table( control_id = name ).
      ENDIF.

    I defined the bspmodel above the if block like the tutorial code.
    DATA: model             TYPE REF TO if_bsp_model_binding,
          model_name        TYPE string,
          metadata          TYPE REF TO if_bsp_metadata_simple,
          metadata_base     TYPE REF TO if_bsp_metadata,
          value_path        TYPE string,
          is_valid          TYPE i,
          error_value       TYPE string,
          bspmodel          TYPE REF TO if_bsp_model.
    I further looked into the interface <b>if_bsp_model</b> in my system. It doesn't include any interface, and only five methods were found:
    1) INIT
    2) GET_BINDING_INTERFACE
    3) GET_ERRORS
    4) INSTANTIATE
    5) RESET_ERRORS

  • BSP-Extension Event

    Hi everybody!
    I've made a simple BSP-Extension which generates a button like this:
    data: htmlb_button type ref to cl_htmlb_button.
    htmlb_button = cl_htmlb_button=>factory(
                                id = 'Knopf01'
                                text = 'Knopf 1'
                                onclick = 'test'
    while me->m_page_context->element_process( htmlb_button ) = co_element_continue.
    endwhile.
    And now i want to handle the fired event from that button in the same BSP_Extension. I did it like this:
    DATA: event       TYPE REF TO if_htmlb_data,
          htmlb_event TYPE REF TO cl_bsp_htmlb_event.
    event = cl_htmlb_manager=>get_event_ex(mc_runtime->server->request  ).
    IF event IS NOT INITIAL AND event->event_class = 'CL_BSP_HTMLB_EVENT'.
        htmlb_event ?= event.
    ENDIF.
    So i can check the event by getting event->event_id. That works fine. But now my Question:
    Can i send some parameters with the event, so that i can handle them after the event was fired?
    regards,
    Fabian

    Fabian,
    No and yes. The HTMLB button itself does not have any way to carry your additional parameters. But the one thing it does offer you is the onclick string. And this is the yes part. This is a simple string, that has a meaning only for you, and not interpreted in any way by the framework. So do something such as:
    data: on_click type ref to string.
    concatenate 'test~~' 'parm~' value ... into on_click.
    htmlb_button = cl_htmlb_button=>factory( ...
                                onclick = on_click
    Effectively, you are just storing your parameters in the event string.

  • How to create an link to an BSP-Extension in documentation

    Hello everybody,
    I've got an perhaps easy question. I want to create an link in my documentation to the documentation of an BSP-Extension (for example <htmlb:inputField>) Is here someone who can tell me the best way to do this?
    If I use the function to insert links in docus, I don't find a Documentation Class that fits.
    I already looked to the docu of the BSP-Extension (in edit-mode) and see, that say use the function "Internet Service" but it don't run.
    What's to do?
    Thanks for help.
    Bye Matthias

    Hi Matthias,
    just go into your document e.g. via se61, in edit mode and do the following: Enter this link syntax:
    <DS:IS.HTMLB                         INPUTFIELD>inputfield</>
    Please note that IS is the technical name of the BSP-Extension objects, then comes the name of the extension itself, in this example it's htmlb, followed by several blanks (they are part of the name and thus very important) and then the name of the element in capital letters.
    You can find this technical name of an existing docu object if you are in the SAPscript editor and select Extras -> Information -> For document.
    Instead of using the syntax for links directly (i.e. <DS:IS:Extension-name followed by blanks and extension itself>name</>) you can also use this function in the SAPscript editor for long texts:
    Insert -> Link, then choose document class BSP-Extension-Object via F4 and enter the name of the extension, the extension element and the text to be displayed in the document. However, this document class is not always visible via F4, so you'd better use the direct link syntax mentioned above to be on the safe side.
    Hope this helps.
    Regards, Heidi

  • Can I integrate Lotus database into Oracle with ODI

    I would like to know is it possible to integrate Lotus into Oracle with ODI.
    I know that Lotus database (file extension .nsf) is not an relational database, but it is possible to extract the data from Lotus database into XML and ODI supports XML
    so one solution would be to convert Lotus database to XML and then integrate the data into Oracle with ODI (Am I wrong?)
    Is there another solution, where I could directly integrate data from Lotus into Oracle with ODI

    IBM do provide JDBC access to Lotus Notes data. This is likely to be the best way. Google "LOTUS NOTES JDBC DRIVER" and you find links to IBM's info.

  • Integrating BSP Iview into VC model.

    Dear experts,
    We are using BSP to create activities in portal for CRM and i want to use this BSP iview in VC so that users can check the notes and also create notes using this BSP iview staying in VC only for a particular transaction.
    thanks and regards.
    Neel

    Hi
    Thanks for the document, eventhough its mostly talks about how to integrate BI documents , my requirement is to integrate already available BSP iview into VC but in the document its says that by using html iview i can give the URL of the BSP iview in the connector and get the BSP iveiw displayed.
    am i right if yes then my second doubt is.
    For example in my bi report i have columns like activity no and customer name can i pass the activity no to the BSP iview and look the details for this particular activity no.
    thanks and regards
    Neel

  • New BSP Extensions book

    I noticed that there is a new BSP book available from the SAP Press, BSP Extensions: How to Master Web Reporting with HTMLB by Frédéric Heinemann.  Has anyone had a chance to get a copy of this yet?  I'm wondering if the 95 page book is worth $85.00 (USD).

    Hello,
    I just bought the book. It is great for learning BSP Extensions.
    I noticed that a wiki page has been created on the book. Is it intended as a place for remarks, and suggestions.
    I am half way through the writing of the ZCCM web application on a WAS 6.4? (SAP_BASIS 700, SP11) and I have stumbled into a JScript error in some of the *.js files called up by the htmlb extension.
    The error is "childNodes.0.tagName is null or not an object".
    I found a SAP Note (949105) explaining how to correct a similar error in sapUrMapi_ie6.js
    After applying the note I still get the error. Has anyone played with that?
    Also, for those that are going to create the ZCCM application there is a typo page 39 in the 2005 english edition.
    wa_treenode-client should be
    wa_treenode-mandt
    wa_treenode-comment should be
    wa_treenode-remark
    i_comment should be
    i_remark.
    Claudio Ciardelli

  • Custom BSP Extension

    Hi to all,
    I need to have one more attribute in button element for selecting picture for displaying on it.
    For this I made a copy of htmlb button element into custom bsp extension,
    and copied CL_HTMLB_BUTTON  into ZCL_HTMLB_BUTTON, but I am getting some error while activating this.
    Please suggest me some way to make this happen.
    Regards,

    <% data image type   ref to cl_htmlb_image.
            data: image_string type string.
            create object image.
            image->id = 'UserSelectionCancel2'.
            image->src = cl_bsp_mimes=>sap_icon( 'ICON_CHECKED' ).
            image->tooltip = ''.
            clear image_string.
            image_string = image->IF_BSP_BEE~RENDER_TO_STRING( page_context ).
          %>
          <htmlb:button id            = "UserSelectionEnter"
                        onClientClick = "closeiframe();"
                        text          = "<%= image_string %> ENTER"
                        encode        = "FALSE" />
    I had seen following code to make icons, now if I have lot of icons to make I need write this code several times,
    If I write one method of mine application class using above code and use one parameter to change icon name. will it work??

  • How to integrate BW Hierarchy into Webi?

    Hi Everybody,
    I need to create a report based on 0FIGL_V10_Q0001 in Webi and this query has a hierarchy and i have created the hierarchy from the designer itself. In webi, when i tried to pull 1 of the hierarchy dimension with key figure, it shows no data but if i remove the key figure i can view the information. May i know what went wrong with it or do you have a details on how to integrate BW hierarchy into Webi?
    Your assistance on this is greatly appreciated.
    Thanks
    Best Regards,
    Hizam

    Hi,
    use the following link:
    https://sapmats-us.sap-ag.de/download/download.cgi?id=SOTBBWVP5VS0BRNUJFQWYL5A6L3GXGPDJ59UKUDZMA1UVE1WOQ
    (should work properly in about 10 min)
    - merge the regsitry file to your BusinessObjects Server
    - Restart the Services via a restart of the Server Intelligence Agent
    - re-run the report with keyfigures
    You should see 2 logfiles being created on the C:\ root folder
    attach the logfiles to this message (do not copy past the content).
    I assume the underlying BI query works fine.
    Ingo

  • Some problem of download BSP data into excel using  cl_bsp_utility= download

    Hello Experts,
    I have read the blog of thomas.jung for download bsp data into excel, and it's working correct, and after some try and error, now I can download the excel with multi sheets.It's all cool except one thing.....when I add a button on the standard screen of the supplier qualification of the slc to download the excel file, after the popinp up screen, the standard screen can't do any operation at all......there are no any error message and the downloaded file is all correct .
    Does any one know what can I do?

    any ideas?
    By the way, after some research, maybe the issue was caused by the setup of the button, but I don't know how to fix it...0rz
    the standard code for buttton is
    lv_id = mv_id && '>display'.
    lo_edit_display_button = cl_thtmlb_button=>factory( id       = lv_id
                                                       text     = lv_button_text
                                                   tooltip  = lv_button_text
                                                   enabled  = 'TRUE'
                                                  onclick  = lv_button_action ).
    WHILE io_page_context->element_process( element = lo_edit_display_button ) = if_bsp_element=>co_element_continue.
    ENDWHILE.
    so I copy it and modify like this:
    lv_id = mv_id && '>download'.
        lo_download_excel_button = cl_thtmlb_button=>factory( id       = lv_id
                                                            text     = w_text
                                                        tooltip  = w_text
                                                        enabled  = 'TRUE'
        onclick  = /srmsm/if_ql_ext_ui_c=>ZC_ACTION_DOWNLOAD_EXCEL
    WHILE io_page_context->element_process( element = lo_download_excel_button ) = if_bsp_element=>co_element_continue.
    ENDWHILE.

  • Is the BSP extension better than this solution(Text and Image in Button)?

    Hi guys,
    I have a  concept question to decide whether a BSP extension is needed.
    I want to put text and image in htmlb button, and used the solution like below:
    <%
      data image type ref to cl_htmlb_image.
      data: image_string type string.
      create object image.
      image->id = 'back'.
      image->src = cl_bsp_mimes=>sap_icon( id = '@9S@' ).
      image->tooltip = 'Go back'.
      clear image_string.
      image_string = image->IF_BSP_BEE~RENDER_TO_STRING( page_context ).
            %>
            <xhtmlb:toolbarButton id      = "back"
                                  onClick = "back"
                                  text    = "<%= image_string %>" />
    But this solution is not desired by customer, since they don't think it looks nice. So is it possible to create my own BSP extension to get a nicer element?
    Thanks for any hint.
    Regards,
    Liying

    Hi,
    By a nicer element...did you mean to display a better image...or a nicer image ????
    if yes, the you can upload any image you need and then use it here...
    Tell me if you need more information...!!
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.

  • BSP Extensions doesn't work with Pocket PC2003

    hello,
    i faced out following problem, that i have alreday posted in the BSP-forum. They said the guys here may have a solution.
    I want to write an application using webas on abap 6.20 SP 41 using BSP-Extension. The Extension framework
    dumps:
    browser not supported!
    Any solution?
    On which platform can i write web-apps for pocketpc 2003.
    Also the ep 6.0 dumps, if called via browser on a handheld under pocketpc 2003.
    Best regards, Stefan

    HI,
    Where did u find the extension for the BSP pages for Pocket PC .
    I am also trying to do the same thing and not getting desired result .
    If u find the solution then please let me know the detail on [email protected] .
    Thanks
    Gyan

Maybe you are looking for

  • Adobe Premiere Pro CS6 has stopped working

    I have brand new Samsung 5 series laptop Windows 8 Intel core i7 Radeon Graphics AMD AMD HD8750M gDD3 2Go_Dual 8 Go (DDR3 1600MHz/4Go*2) 1T I open Adobe Premiere Pro CS6. I import a .mov file. I move the .mov file into the next box and a message pops

  • SQL Developer 2.1 editor settings

    In SQL Developer 2.1, when I single click on a pl/sql object in the navigation pane, a writable editor tab opens. How can I change this behavior so that it opens as read-only? I only want the pl/sql editor to be writable if explicitly selected. I cou

  • WCC 11.1.1.6.0 Wrong release date for new item

    Hi All When I try to check in item from contribution folder I always get release date 8/2/12 3:24 PM Browse Content -> Folders -> MyFolder ->Add -> New Content Item. I get right release date when I check in item from New Check In or DIS or from outlo

  • Print Ouput for Payment Run

    Hi The Payment method is T iand Print Programme RFFOUS_C is assigned to it at CC and Country Level at FBZP. After Payment Run is doen The Print out put Is not generating for the Payment Run. At SE38 I gave pyemnt run details with Varient.  But it is

  • Doubts: Freinds Share your Views !!

    1.How do you tell what your machine name is and what is its IP address? (in Solaris) 2.Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database? 3.How would