Running BSP Pages

Hi all,
For running BSP pages from iviews within portal, is there is a plugin or anything needed to be downloaded or installed or is it running on the J2EE engine?  I'm using EP6 Sp09. 
Thanks,
Jin Bae

Jin,
the integration of BSP applications in the portal enviroment ist quite straight-forward. SAP provides master iViews for this.
Or do you want to actually <b>run</b> the BSPs directly on the portal server? This can not be done, as BSPs rely on the ABAP stack (i.e. an existing Web AS ABAP) to run and the portal runs on a pure J2EE engine. As you are running on NW04, you could perform an ABAP + Java-Addin installation for having both stacks (java + abap) on one machine. The respective installation guides should give ou detailed information on this.
Regards,
Dominik

Similar Messages

  • Long-running BSP : Page timed out and should be reloaded.

    Hi,
    I'm a SAP Basis Administrator, so I have a poor knowledge of BSP technologies.
    I have been asked by the developement team to deal with a Z*  BSP  timeout issue.
    SAP release : 4.7 (6.20)
    We have been provided a detailled scenario by the developemnt team :
    The BSP is not launched from the portal, rather the ICM htpp port is directly called by the BSP.
    We do not use the sap web dispatcher.
    We have previously already increased the ICM htpp timeout to correct the "500 connection Timed outu2019
    On the initial screen of the BSP , we have to fill in several cells (250) then save the input.
    Afterwards, the BSP is running during a while (variable length), the user finally receives a blank screen and the timesheet does not respond ,the following error mesage occurs on IE :
    Page timed out and should be reloaded.
    However, on sap side, the user is still connected (SM04), and the work process is still running(sm66)
    Once the work process has finished its task, we can check that the BSP has correctly updated
    SAP tables.
    The timeout origin is not easy to identify, since it can occur after 3minutes, 4minutes, 8 minutes
    I 've tried to significantly increase keepalive value, rdisp/plugin_auto_logout value ... but it didn't help.
    Any help to identify this timeout would be highy appreciated.
    Thank you in advance for your attention.
    Regards.

    Hi RAOUL
    First of all , is it ok of the update occurs several times , for eg updation of custom preferences or creation of documents,
    If its the creation of documents , so u dont want multiple updates.
    Now by increasing the timeout parameter , u have just increased the time before which a timeout page is displayed , but the process (if started ) will still go on in the background,
    There is also a processing timeout which is http port specfic,
    You can set this value in youe profile by the below.
    icm/server_port_0
    PROT=HTTPS, PORT=8001, TIMEOUT=45, PROCTIMEOUT=45,
    The parameter PROCTIMEOUT is the processing timeout , i.e. after 45 secs , the ABAP process will be terminated and the timeout will be shown.
    So u dont have to worry abt orphan processes ,
    But this will apply all apps listenign on port "server_port_0",
    To be more specfic , u can code the app not to commit if the timeout has been exceeded.
    Cheers

  • I have BSP Page.When i run it should open in new window .

    Hi friends,
    I have BSP Page.When i run it should open in new window .
    I want code also whatever i want i can able change  the height width .

    CLOSED

  • I have BSP Page.When i run this BSP my internet expolrer browser screen hei

    Hi friends,
    I have BSP Page.When i run this BSP my internet expolrer browser screen height =200 ,width =-200.
    How to code this layout in BSP and where i have to write?

    chk this
    http://www.codeave.com/javascript/code.asp?u_log=7065

  • BSP pages link back to Shopping cart (EBP 4.0 running on ITS)

    Hi all,
    I am developing a BSP page which, when user press the 'Add to shopping cart' button, will direct the user to the Shopping Cart details page. I am facing the challenge to direct the user back to the shopping cart details page on ITS from my BSP page. Anyone has any idea how this can be done?
    Any help on this is greatly appreciated.
    Thanks in advance!
    Cheers,
    Cyanna

    hi Chung
    In your BSP page on some click of button / event
    redirect the page to the SC  template page.
    Use href and give the URL of the SC.
    This is all in Java script and can change the templates directly.
    take a back up of the original template,
    regards.
    Nimish sheth

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

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

  • BSP page only works for me

    Hi,
    I have a very weird problem with a BSP-page I created.
    The situation is the following:
    - I can run my BSP page the way it should (it uploads a file of name e.g. TEST.CSV to the application server, and first checks if the files selected is really TEST.CSV.
    1 - When somebody else tries to acces my bsp page, and logs in with their own SAP login, they get the error, saying that the filename is not TEST.CSV
    2 - When I login with my SAP login (working in situation 1) on their PC, it gives the same error, saying that the filename is not TEST.CSV
    3 - When somebody uses my PC (from working situation 1) and logs in with their own SAP login, it still gives the same error
    so: only when I login with my own SAP login on my own PC, the PC does what it should do.
    What can be the problem?
    the other users should normally have more authorizations than I have, so I guess that's not the problem...
    ANY! ideas are welcome!
    thanks a lot, points will be awarded of course!

    Ok guys, I have found what is the problem: Internet Explorer.
    Everything works perfect on Firefox, but in Internet Explorer, it always goes to the "wrong_file.htm" page like you can see in the code below. Some of the elements used must me firefox-only, although this really surprises me.
    Any user can run the BSP perfectly on any pc, using firefox. Using IE, it doesn't work.
    (Schrijven naar de UNIX server werkt dus perfect Eddy)
      find multipart containing file
    clear error.
        num_multiparts = request->num_multiparts( ).
        while i <= num_multiparts.
          entity = request->get_multipart( i ).
          value = entity->get_header_field( '~content_filename' ).
          filenamecheck = entity->get_header_field( '~content_filename' ).
          if not value is initial.
          found a file!
            navigation->set_parameter( name  = 'content_filename'
                                       value = value ).
            content_type = entity->get_header_field( 'Content-Type' ).
            navigation->set_parameter( name  = 'content_type'
                value = content_type ).
          get file content
            file = entity->get_cdata( ).
          get file size
           content_length = xstrlen( file ).
            navigation->set_parameter( name  = 'content_length'
                value = content_length ).
    check if filename is correct
            TRANSLATE filenamecheck TO UPPER CASE.
            if filenamecheck ne 'CG_BRA_PRO_FIN.CSV' .
            error = 'X'.
            else.
    data: data_TAB type table of string, LIN TYPE LINE,fname type string.
    split file at CL_ABAP_CHAR_UTILITIES=>CR_LF into table data_TAB.
    fname = '/usr/sap/CG_BRA_PRO_FIN.CSV'.
    OPEN DATASET fname FOR OUTPUT in TEXT MODE encoding default.
    if sy-subrc gt 0.
    WRITE: / 'Error opening file'.
    endif.
    LOOP AT data_TAB INTO LIN.
    TRANSFER LIN TO FNAME.
    ENDLOOP.
    CLOSE DATASET FNAME.
            exit.
        endif.
    endif.
          i = i + 1.
        endwhile.
       if error eq 'X'.
    navigation->goto_page( 'wrong_file.htm' ).
    else.
    navigation->goto_page( 'end_upload.htm' ).
    endif.

  • How to call BSP page in one frame from a webdynpro page in another frame?

    Dear experts,
    I have a scenario as follows:
    A BSP application which contains 5 frames. in the first frame I am calling a web Dynpro application. This is a tree and it is displayed correctly. on click of an item (node item) in the tree, a bsp page should be displayed in the second frame. I am not able to display this in the second frame. When I call the BSP page, it is getting displayed in the same frame (i.e, the first frame).
    Kindly help me out.
    Thanks & Warm Regards,
    Jenny

    From WDA you can't force the navigation of a different frame. Nor should you really be building an application with WDA running within a frame.  You will have session management problems. 
    SAP recommendation is to use the NetWeaver Portal. You could then place the WDA and BSP applications into separate iViews.  They can communicate with each other using Portal Eventing.

  • Call an ABAP Function module on click of Button in BSP page

    Hello ,
    i would like to run a ABAP function module on click of a button in BSP page.
    or in other words i want a Funtion module ex: 'test1' to run after clicking this button ex: 'button1'
    and how to pass the values for a function module after clicking the button.
    i an new to bsp application .
    Can anyone help me on this .

    Hi Shalaxy,
    Triggering a URL to WDJ:
    I suppose the URL of WDJ app. is also a portal URL. I assume that from a BSP application inside portal you need to trigger the WDJ url.
    But the catch is that you cannot hotcode this URL, since it varies for a development, quality and production systems(diff. portal environments).
    To solve this issue, ABAP provides a system variable named sy-sysid, which says want system your ABAP system is, normally a development R/3 system will be associated to development portal system and quality R/3 to quality portal ans so forth.
    So you could have a internal table/db table/ variable for dev, quality or prod portal urls and from the bsp on button click based on the value in the sy-sysid you can trigger the url accordingly.
    Creating a URL in WDJ
    The above is about triggering a WDJ from BSP. But if you dynamically want to create a link in WDJ on a button click, then apparently you could not do that from BSP, since the applications are different. All you could do is to pass some URL parameters to WDJ application from BSP app. Then based on the URL parameters the WDJ application has to dynamically create a link and add it to its application.
    Hope it helps.
    Regards,
    Maheswaran
    Edited by: Maheswaran B on Mar 1, 2010 4:17 PM

  • Logon Failed when running BSP from Portal

    Hello,
    We are getting the following error for users when running BSP Application from Portal :
    Logon Failed
    What has happened ?
    Call of URL http://<hostname>:<Portnumber>/sap/bc/bsp/sap/<BSP Application name> terminated
    Note:
    -Logon performed in system
    What can I do ?
    Check the validity of your SSO ticket for this system.
    HTTP 401 : Unauthorized
    Any help would be highly appreciated.
    Thanks

    Actually when I run the BSP Application in SICF Tcode I get the following error:
    BSP Error :
    Calling the BSP Page was terminated due to an error.
    Which is different from the one I already posted.
    And as mentioned in the earlier error , I checked the Validity of the SSO Ticket on the Portal which is till 2038.
    Thanks
    Edited by: PortalPerson on Aug 24, 2011 10:22 PM

  • Error in running BSP

    hi
      i have created a BSP , while i am running it , is giving ERROR
    i am giving URL as http://sapserver.ialtech.com:8000/sap/bc/bsp/sap/yh858_table1/first.htm
    ERROR is : The page cannot be displayed
    what my be the error,  i have define  full host name in T.Code RZ10, and activated services in T.Code SMICM,
    plz help.

    hi gud morning by indian time
    now while i am executing it with URL
    http://sapserver:8000/sap/bc/bsp/sap/yh858_table1/first.htm
    earlier it was :
    http://sapserver.ialtech.com:8000/sap/bc/bsp/sap/yh858_table1/first.htm
    but our server is not in DOMAIN it is in WORKGROUP, i asked it to my administrator.
    then it is giving this errror.
    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 (sapserver statt sapserver.<domain>.<ext>).
    Exception Class CX_FQDN
    Error Name
    Program CX_FQDN=======================CP
    Include CX_FQDN=======================CM002
    ABAP Class CX_FQDN
    Analyze CHECK
    Line 10
    Long text -
    Error type: Exception
    Your SAP Business Server Pages Team

  • Assigning Roles to BSP Page

    Happy Friday All
    I think I already know the answer to this question, but I have been know to be wrong at times.  I am about to launch my first BSP page to production.  Since my company does not have Portal installed, the applicaiton will only be available on the corporate INTRANET. So anybody that has an SAP login to production can run this page.  I would like to restrict it only to those people in our customer servcie group. From most of what I have read, it appears that in order to do this I have to install the Portal.  Please tell me I am wrong?

    Hi,
    this is not entirely necessary. You could work with authorizations for that. Right before you call your start page, you have to check if user has the authorization for the page; if so, go ahead, otherwise display a page with an error message indicating that user may not access the application.
    check [this link |http://help.sap.com/saphelp_nw2004s/helpdata/en/02/4b52922a8d11d5991f00508b6b8b11/frameset.htm]and this [other link|http://help.sap.com/saphelp_nw2004s/helpdata/en/02/4b52922a8d11d5991f00508b6b8b11/frameset.htm].
    [This one|http://wiki.sdn.sap.com/wiki/display/Img/HowToConfigureUserLookupiFrame-BasedServer+Module] talks more about security in BSP applications.

  • How to figure out a BSP page application in Sicf

    Hello Experts,
    We are facing some issue in a BSP application,
    We are trying to implement SRM in our proj. The main page called as registration page ,
    for which we need to do some changed...
    but who can i find which funtion module or which application that BSP page is running on,
    I.e.
    what i acctually need to do is that,
    After the supplier fill the form it is getting saved i need to know what event  is getting triggered in backend for saving that data..
    can u help me on this...where do i find it.
    please give the steps
    Thanks IN advance!!!

    Hello,
    BSP name as service name in SICF...
    To know how it is handling event - it depends on which type of application is..
    1. If it is following MVC model, please look in DO_HANDLE_EVENT for detailed logic
    2. If it is not MVC and having ;Page with flow logic' concept - then look in event handler tab...
    Thanks

Maybe you are looking for

  • 3rd party app alerts no longer show up in the notification center

    I upgraded my iPhone 5 to iOS7 last week and ever since alerts for 3rd party apps (like gmail and others) haven't been showing up in the notification center.  I've checked my settings for both the notification center and for my individual apps to mak

  • How do I fix the toolbars issue I'm having whenever I open Firefox 4?

    EVERY time I open Firefox 4, the entire window flashes black, and the only way to stop it is to right click on a toolbar (between a flash) to bring up the menu and check or uncheck to view one of the toolbars. On my PC, I had the same problem but I t

  • HT4061 my phone is locked up with an i-tunes symbol and a chord

    my i-phone 4 had an update on the settings icon.  i selected it and it said there was an update.  i selected it and it asked me to review the contract and accept.  i did and an itunes icon and power chord showed up on my screen.  my phone is locked w

  • MAC Itunes Mp3 CD Problem

    Please Help I need to burn an Mp3 cd on my mac. I need some of the songs to play 3 or 4 times, so I cannot use toast unless i change each song names 3 times So I tried using Itunes Playlist. But none of the 2 equipments I use can read the Cd's burned

  • BB Identification reset for messenger

    Every three months or so, my BBM seems to reset, or I suppose it would be more accurate to say it asks for authentication again. After three months, I have long forgotten the passowrd I used at the time so I have no choice but to reset. Now comes the