Use of bsp's

what is the advantage of using bsps in sap

Hi
·        Structuring BSP applications is simplified, since the view is cleanly separated from the controller and the model.  This not only facilitates changing BSP applications, but also considerably improves their maintenance.
·        You have the option of generating program-driven layout. The HTML/XML output is therefore created by program code instead of a page with scripting.
·        Navigation using the

Similar Messages

  • 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

  • Classes used in BSP application 'HAP_DOCUMENT'

    Hi,
    'CL_BSP_HAP_DOCUMENT_UI' - this is a class used in BSP Application 'HAP_DOCUMENT'.
    do anyone have a document explaining the Attributes and method of this particular class ? or any website where i can go and find the use of each and every attribute and methods used in that class (CL_BSP_HAP_DOCUMENT_UI)
    Regards
    Bharath Mohan B

    Hi,
    Maybe this web log will explain stuff:
    /people/sap.user72/blog/2007/02/20/objective-setting-appraisals-the-web-environment
    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!

  • Debugging methods used in BSP

    In my BSP, there is a method of a particular class being used to populate some table which is being displayed in the front end. I want to set a break-point on the method so I could see on runtime how & from where is it fetching data. Could anyone guide me on the same please. Thanks in advance.
    Regards.

    Hi,
    Please check the below links :
      https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bsp/debugging+problems
      http://help.sap.com/saphelp_nw2004s/helpdata/en/17/00ab3b72d5df3be10000000a11402f/frameset.htm
    Hope these helps...
    Regards,
    Prakash.

  • Using CRM BSPs in Mozilla -- getting Design2002 error

    Hi there,
    we're trying to integrate the BSPs of CRM 4.0 to our NW04-Portal. On the WAS 6.20 of the CRM system SP49 is installed. For example we're calling http://fqdn:8005/sap/bc/bsp/sap/crm_bsp_frame/entrypoint.so?appl=CRMD_BUS2000126 (to maintain activities in CRM).
    Now when we call the BSPs from Mozilla 1.7.5 we get the message, that just IE >5.50 and NN>6.20 are supported by Design2002.
    I'm not a developer. So how can I make the CRM BSPs work with Design2003 that is also supported by Mozilla/Firefox.
    Is it possible to switch to Design2003 and can somebody tell me step-by-step, what to do???
    We tried using the URL-parameter sap-htmlb-design=Design2003, but this wasn't the solution.
    Any help appreciated
    Marko

    The CRM PCUI framework 4.0 only supports DESIGN2002. CRM uses in combination with our design2002 a lot of additional custom rendering, which does not match the HTML outputed by design2003. It will not be possible to have CRM 4.0 support Mozilla. (As far as I know, CRM only supports IE with the 4.0 version. You should check their release documents.)
    This thread is moved to CRM forum.

  • Wrong ICF path used for BSP link in role

    Hi,
    I've added a BSP to the menu of a role.
    When I start the BSP from the role menu in PFCG it starts the BSP as supposed.
    If I go to the browser and look at the Web template with the role menu, I see my BSP link has a wrong ICF path:
    http://server.web.bc:8000/sap/bw/BSP_APP/default.htm
    but the BSP_APP is under:
    sap/bc/bsp/sap/BSP_APP
    Is there somewhere a default setting that sets the ICF path to: sap/bw for Web application templates?
    Regards,
    Eric

    Nothing much happening on this topic...
    In the mean time I found out there is a table HTTPURLLOC which allows an exception setting.
    I added the entry:
    040    010    HTTP   /BSP/SAP/*    SAPBWBIP.WEB.BC    8000
    but this doesn't appear to change things.
    Still don't know why it is using '/sap/bw' as default prefix and not '/sap/bc/bsp/sap'.
    If I launch the menu item from PFCG, it goes well.
    From within the webtemplate on the role menu it doesn't work.
    Very frustrating...
    Anyone who can shed some light on this?
    Regards,
    Eric

  • Using a BSP page to hide report url ?!

    Hello everybody,
    I would like to 'hide' exact query url.
    I have found in SICF transaction external aliases but I can replace only a part of my url, ie :
    http://host:port/sap/bw/bex?parameters => http://host:port/test?parameters
    I would like to replace all the url in :
    http://host:port/sap/bw/bex?parameters  => http://serveuralias/
    This url has to be the same for each BW reports ... (little bit stupid i think but ...)
    How can i do this ?
    We told me that we can parameter a BSP page in SICF, on bex service, which call bw reports and thus we should only see the bsp url in IExplorer and not BW report url. Is it possible ?
    Thanks a lot,
    CG.

    hi tom,
    can u tell which method u r using for URL parameter passing?
    regards,
    kamaljeet

  • E-recruiting: how to use custom BSPs

    Hi experts,
    Can anyone tell me how and where do we replace standard BSP applications in EREC.
    Regards,
    Bharat

    Dear Bharat,
    It would help if you specify which standard BSP applications you want to replace.
    If you want to replace standard BSP applications then you can do them in T77RCF_LOG_APPL. Replace the standard application with your Z BSP. Do NOT delete any entries from this table.Incase of search applications, pls be careful to replace in V77RCF_SMG_NAVI also.
    If it is only a tab that you need to replace, then you create a Z BSP and modify the container sequence to point to the new BSP in IMG. Eg : Requistion Maintenance container sequence
    If you want to add an application to an extra link which will be given in the application, that also can be done from IMG for modification of start pages.
    Regards,
    Sowmya

  • How to call BSP based iview using Parameters

    Hi,
       i developed one BSP application which takes 2 input parameters 1. Document No 2. Item No.
       I created a iView based on this BSP Application. I would like to call this iView by hardcoding input parameters.
       Input: Document No, Item and Submit button. output displays some text based on input. which is working fine, No issues.
    Now, i developed a iViews using these BSP application. If i call iViews, again no Issues. Which works great, we need to enter input manally.
    I would like to call my iViews with document no = '0004000000' , Item No = '000001' and Submit = 'SET'.  Which directly should display the data for above document item.
    that means iView URL + Document = '0000400000' & Item = '000001' & submit = 'SET'.
    how to call Parametrized iViews???
    I'm talking about Application Parameters in documentation (http://help.sap.com/saphelp_nw04/Helpdata/EN/88/266a3e54a2e946e10000000a114084/content.htm).
    ApplicationParameter
    You can enter parameter values for certain screen fields for displaying a SAP transaction here.
    This field is optional.
    The parameter values are specified with the following syntax:
    <Screen_field1>=<Parameter1>
    &<Screen_field2>=<Parameter2>
    &<...>=<...>,...
    Thanks,
    Ben.
    Edited by: Nagesh Ganisetti on Jan 29, 2009 9:18 AM

    I want to pass values dynamically? How to pass values dynamically using URL???
    assume my BSP URL wiht parameters:
    http://nwd2bw1.corp.analog.com:8001/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/zzsdpra123/start.htm?gv_doc=0040013811&gv_item=000001  WORKING GREAT!!!
    Developed an iView using ZZPRA123 BSP application in portal without APPLICATION PARAMETERS.
    http://nwd2bw1.corp.analog.com:50100/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportalcontent!2fcom.analog.analog!2fcom.analog.SD_BI_REPORTS!2fcom.analog.SD_iviews!2fcom.analog.z_quote_text?sap-config-mode=true&_gv_doc%3d0040013811&gv_item%3d000001 NOT WORKING.
    Simple BSP application: ON INITIALIZATION Method
    event handler for data retrieval
    data: gv_name type thead-tdname.
    data: lt_line1 type standard table of tline,
          lt_line2 type standard table of tline,
          lt_line3 type standard table of tline,
          lt_line4 type standard table of tline.
    data: l_rfcwa type rfcdest.
    data: event type ref to cl_htmlb_event,
          url type string,
          parameter type string,
          url_page type ref to if_bsp_page.
    l_rfcwa = 'PRD_CLI002'.
    if gv_doc is initial.
    CALL METHOD request->get_form_field
      EXPORTING
        name               = 'gv_doc'
       formfield_encoding = 0
      receiving
        value              = gv_doc.
      endif.
      concatenate gv_doc gv_item into gv_name.
      call function 'ZBI_STNDARD_TEXT'
        destination l_rfcwa
        exporting
          name   = gv_name
        tables
          lines1 = lt_line1
          lines2 = lt_line2
          lines3 = lt_line3
          lines4 = lt_line4.
      gt_line1[] = lt_line1[]. "Internal Header Text
      gt_line2[] = lt_line2[].
      gt_line3[] = lt_line3[].
      gt_line4[] = lt_line4[].
    Layout:
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="Quote Texts " >
        <htmlb:form>
          <htmlb:inputField id            = "gv_sid"
                            value         = "<%= gv_doc %>"
                            visible       = "FALSE"
                            submitOnEnter = "TRUE" />
          <htmlb:inputField
                            id            = "gv_itm"
                            value         = "<%= gv_item %>"
                            visible       = "FALSE"
                            submitOnEnter = "TRUE" />
          <htmlb:textView text      = "Quote Texts for <%= gv_doc %> "
                          design    = "HEADER1"
                          layout    = "BLOCK"
                          textColor = "dark blue" />
          <%   if gt_line1 is INITIAL.       %>
          <htmlb:textView text   = "No Internal Header Text Found"
                          design = "HEADER2" />
          <% else. %>
          <htmlb:textView text   = "Internal Header Text"
                          design = "HEADER2" />
          <%   loop at gt_line1 into gs_line.    %>
          <htmlb:textView id     = "textEdit"
                          layout = "BLOCK"
                          text   = "<%= gs_line-tdline %>" />
          <%   endloop.       %>
          <%   ENDIF.       %>
    <%--* External Header text      --%>
          <%   if gt_line2 is INITIAL.       %>
          <htmlb:textView text   = "No External Header Text Found"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   else.       %>
          <htmlb:textView text   = "External Header Text"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   clear gs_line.       %>
          <%   loop at gt_line2 into gs_line.       %>
          <htmlb:textView id     = "textEdit"
                          layout = "BLOCK"
                          text   = "<%= gs_line-tdline %>" />
          <%   endloop.       %>
          <%   ENDIF.       %>
    <%Internal Item text%>
          <%   if gt_line3 is INITIAL.       %>
          <htmlb:textView text   = "No Internal Item Text Found"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   else.       %>
          <htmlb:textView text   = "Internal Item Text"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   clear gs_line.       %>
          <%   loop at gt_line3 into gs_line.       %>
          <htmlb:textView id     = "textEdit"
                          layout = "BLOCK"
                          text   = "<%= gs_line-tdline %>" />
          <%   endloop.       %>
          <%   ENDIF.       %>
    <%External Item text%>
          <%   if gt_line4 is INITIAL.       %>
          <htmlb:textView text   = "No External Item Text Found"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   else.       %>
          <htmlb:textView text   = "External Item Text"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   clear gs_line.       %>
          <%   loop at gt_line4 into gs_line.       %>
          <htmlb:textView id     = "textEdit"
                          layout = "BLOCK"
                          text   = "<%= gs_line-tdline %>" />
          <%   endloop.       %>
          <%   ENDIF.       %>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Please guide me to call iview using dynamic parameters.
    Thanks,
    Ben.
    Edited by: Nagesh Ganisetti on Feb 2, 2009 8:47 AM
    Edited by: Nagesh Ganisetti on Feb 2, 2009 8:48 AM
    Edited by: Nagesh Ganisetti on Feb 2, 2009 8:49 AM

  • To logoff using code in BSP

    Hi,
       I have a requirement wherein based on some conditions coded in BSP, I want to do either of the following:
    1. Logoff from portal with a message, say "Wrong mapping".
    2. Call USER MAPPING in PERSONALISE option.
      Kindly suggest me the way to do both the things by writing the code in BSP.
    Regards,
    Santosh

    HI Santosh,
    Portal Applications,like ITS-based applications and BSP ,are rendered in their own IFRAME ,and do not have control over the PARENT window.Using the BSP logoff application page,you won't be able to logoff from the Portal,but the reverse is possible,like based on some events like Personalize Portal or LOGOFF from portal,we can follow up in our BSP application.
    The Enterprise Portal Client Framework (EPCF) provides an infrastructure for scripting used in iViews and by the Portal.
    Using EPCM.subscribeEvent( nameSpace, eventName, eventHandler ) ,we can subscribe to portal events and act acordingly
    while using EPCM.raiseEvent( nameSpace, eventName, dataObject [, sourceId]),we can raise an event.
    I have tried the first case,where if user presses the personalise option or logs off from portal,we can do something,like show an alert.
    But in the other way,when i tried to raise an event to logoff from portal,the event was generated,as i could perceive,as it was caught by the subscribe event to portal logoff,but it doesn't  actually "logoff" the portal.
    I guess it is for  Security reasons that we get access denied trying to access and use Scripts on Portal Objects directly.
    Using the SYSTEM application logoff would'nt work in any case as it would try to logoff from the WAS on which BSP is hosted whereas the session is maintained and stored by the Portal.
    HOpe this helps,
    Regards,
    Siddhartha
    Hope this helps,

  • Error while enhancing the BP_ADDR component using BSP component workbench

    Hi ,
    I am trying to enhance the BP_ADDR component using the BSP component workbench. But when I try to regenerate GET_I methods of my context node, I am getting the following error:
    "Component GET_ADDRESS_GUID does not exist.
    Determination of BOL attributes failed"
    Please let me know the reason for this error and how to resolve it.
    Thanks
    Mreddy

    Hi,
    You may manually create the Get method for the attribute ADDRESS_GUID in your context node class.
    Regards
    Prasenjit

  • BSP call using the application name created in reserved namespace

    Hi,
    Can you please help on the following.
    How to call a bsp applicaion that is  created using reseverd name space(Ex: /eee/*****) by using the bsp call tag.
    Ex: say my application name is /eee/prodlist.If i give the application in the below format it is giving me the error.even I tried giving single / also.
    <bsp:call url="..//eee/prodlist/vhelp.do">

    Hi,
    Go through the sample codes present in the below links,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9d/1ca7f91b76ad4493d62b8ecc7c83db/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/d31c3d8679e94a809d4739433c4e44/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d7/5a693c114bf147e10000000a11402f/frameset.htm
    Regards,
    Azaz Ali.

  • E-recuitment-BSP Applications used

    Dear Experts,
    I am trying to understand the use of BSP's in E-recruitement. I am looking for materials that details the BSP's used in E-recruitment and how they are applied in E-recuitment. Any input on this would be of much help to me.
    Thanks and Regards,
    Pavithra

    Hello Pavithra,
    E-Recruiting uses the BSP technology for user interface. For E-Recruiting 300 BSP was the only user interface, with E-Recruiting 600 SAP introduced WebDynpro for candidate as an option, while for recruiters, managers and admin pages stayed with BSP. With EhP 4 WebDynpro replaces BSP for all E-recruiting applications.
    You will find all BSP applications relevant for E-Recruting in Package PAOC_RCF_UI.
    For the general structure. The very most applications are grouped on startpages for the different roles in the recruiting process (ext. candidate, int. candidate, recrutier, decision maker, ...). To get the links of these standard startpages just run report RCF_GENERATE_URLS. You can then logon to the different startpages but be sure to generate a candiate for your user first, using report RCF_CREATE_USER.
    To learn more about how the different applications are linked within the startpage check the startpage and perhaps the container sequence customizing. Keep in mind that in the IMG only the customer entries are fond. To see the sap standard delivery you will have to use SE11/SE16. E-Recruiting customizing is stored in T77RCF* tables, startpage customizing is T77RCF_SP and container sequence customizing is T77RCF_CS. If you do not get along with the table descriptions just check the technical info of the tables/views behind the IMG nodes, then look for an table named without the C at the end. also check table T77RCF_LOG_APPL.
    I hope that helps for a start.
    Kind Regards
    Roman

  • BSP application using classification data

    Hi, I haven't found the answer anywhere yet, so here is my question:
    I have to change a standard SAP 4.7 sales transaction VA01 using the configurator into its Web version, using BSPs.
    If I try to make it as simple as possible, will it be easy to keep the standard interaction between the classification data in the web screens ? ("if charactéristic C1 = A, then char C2 = B...")
    Thanks very much for any help !
    Jean

    Hi Dezso,
    Sorry I wasn't totally clear...
    In VA01, you can use sell a configurable product. In this case, you call up a configuration screen, which is basically a list of characteristics (from the classification system), and you assign values.
    When you do that, you can have interaction between the characteristics values.
    Now in my new project, the customer wants to do the sales on a web screen, which means using the BSPs to 'translate' VA01 to a web page.
    And I was wondering if I could keep all the behavior from the SAPGUI screen (matchcode, authorization check, interaction between the characteristics...) on the web version.
    I hope this is more clear ?
    Regards
    Jean

  • Using BSP IN ISR framework

    Hi all,
    Can someone tell me how to use a BSP in ISR. We try to use a sample BSP (ISR_DEM01) but this does not work. We googled on the internet, but we did not find any information or samples! We only found the ISR cookbook, but this did not give the correct informatie we need.  The BSP is activated in SICF and when we do a test the BSP works.
    Kind Regards,
    Richard

    >
    R. Middelburg wrote:
    > Hi all,
    >
    > Can someone tell me how to use a BSP in ISR. We try to use a sample BSP (ISR_DEM01) but this does not work. We googled on the internet, but we did not find any information or samples! We only found the ISR cookbook, but this did not give the correct informatie we need.  The BSP is activated in SICF and when we do a test the BSP works.
    >
    > Kind Regards,
    > Richard
    I'm not sure this is the best forum in which to post your question.  ISR is an application specific framework that mostly involves Adobe Interactive Forms. 
    I can tell that in general WDA doesn't necessarily support directly embedding BSP.  We have the iFrame UI element that can technically work, but that is depricated. Most of the time when you want to integrate BSP, you should use separate iViews in the portal and use portal eventing.  The other option is to simply navigate between the WDA and BSP applications using linkToURL or Navigation Plugs.
    You might want to consider having this thread moved to another forum.  If so, let me know and I have it moved.

Maybe you are looking for