Bsp-application views + packages

hi folks,
is it possible to put a bsp-view of an bsp-application into another development package than the bsp-application is?
or how could this be done....?
as mimes of an bsp-application can reside in other packages thatn the application does, but what about views????
kind regards,
oliver

I don't think that it will be easy to do that. My initial idea was that you can just call a view which you place in a different namespace using the method create_view( '<application>/<viewname>' ). If this would be possible your third-party vendor would be able to create a table which would allow you to configure which view is called. But like Brian stated in his post this is not possible because the view has to be in the same namespace/application. To prove that take a look at this excerpt from create_view(...).
  l_app_name = if_bsp_page~get_application_name( ).
  l_app_nspace = if_bsp_page~get_application_namespace( ).
  l_current_page = if_bsp_page~get_page_name( ).
  if key is not initial.
    l_page_name = _m_navigation->find_page(
           from_page = l_current_page
           from_application = l_app_name
           from_namespace = l_app_nspace
           key = key ).
  else.
    l_page_name = view_name.
  endif.
  if l_page_name is initial.
    return.
  endif.

Similar Messages

  • After deleting enhanced view still the bsp application is showing in se80

    Hi,
    I enhanced one component then after some reason i deleted the enhanced view at that time it's asked do you want to delete bsp application i click on yes then after also still i showing in se 80 under my package it's showing.
    after deleting enhancement view and deleted enhancement component.
    after deleting these total still all the z classes are showing in sm24. if i enhance from starting on wards from enhancing component and enhancing view i need to new bsp application name because previous bsp application is still showing and some of the context class. after transporting in to quality server this component is showing there is context class which i redefine in the development and view is not defined in the run time repository. why it's showing these errors in quality server.
    my guess is in dev i deleted which are deleted still the classes and bsp application are there older one if provide new bsp classes also.
    what are important things we need to follow if delete the view enhancement and deleting the component enhancement. because if i transport after deleting with new bsp application name and with a previous existing class with a new request also it's not working quality server. because lot of classes are generating automatically in when we redefine the context class in development so these classes are not there in quality server.
    please guide me if delete any enhanced view and component why still bsp application and redefine z classes are showing in se80 and se24. because if enhance newly also and redefine also it's considering previous bsp application and previous redefine classes.
    what are precautions i need to take if i delete enhanced view and enhance component.please guide me.
    jemmi.

    Jemmi,
    You should follow the following SAP Note in deleting enhancements. There are a few steps to be done in SM34. If we just delete through the wizard we are bound to have these issues.
    SAP Note 1122248 - Consultation:Procedure when dealing w/framework enhancements
    Briefly, these are the steps to delete the enhancemnet-
    1) In SM34, view BSPWDVC_CMP_EXT. Select enhancement set and then select enhancement definition. You will see your component there.
    2) Select your component and in left side navigation click Controller Substitutes.
    3) A list of the enhanced views are displayed.
    4) Select the views and delete it. Before you delete make a note of the BSP application these views are attached to. Hopefully, you attached them in a Z BSP application
    5) Go to SE80. Select the Z BSP application and delete it.
    Go through the SAP Note to understand the process in more detail.

  • Create a table view in my BSP Application!.

    Hi All,
    I am using CRM version 4.0 here i want to crate a new table view in my own BSP Application and want to display in the CRM_IC Application.
    The problem now i am facing is.. there is now provision to create the table view via the wizard. I tried to copy the BSP code, changed the code accordingly also i changed the inheritance for the context node class from
    CL_BSP_WD_CONTEXT_NODE to CL_BSP_WD_CONTEXT_NODE_TV.
    i also copied the iterator attribute.
    still the view is coming with an error saying that page have some problem.
    can anyone suggest any easy method to create the table view!.
    or else can you tell me what i have to do further!.
    Thanks n regards,
    sudeep v d.

    Hi,
    The problem is not only at the .htm page!. I think some changes are required at the context node level. for
    here is the BSP code I m using for displaying the table view..
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <%@extension name="xhtmlb" prefix="xhtmlb" %>
    <%@extension name="bsp" prefix="bsp" %>
    <%@extension name="CRM_BSP_IC" prefix="crmic" %>
    <crmic:tray2 id     = "MoreFields"
                 title  = "<%= otr(crm_ic_appl/BuPaAccount) %>"
                 height = "100%,603"
                 width  = "100%" >
      <crmic:trayBody2>
        <crmic:gridLayout cellSpacing    = "1"
                          columnSize     = "1"
                          rowSize        = "10"
                          height         = "100%"
                          width          = "100%"
                          widthPredefine = "TRUE">
        <crmic:gridLayoutCell columnIndex = "1" rowIndex    = "4" >
            <crmic:tableView design          = "STANDARD"
                             width           = "100%"
                             id              = "Address"
                             table           = "//Address/Table"
                             visibleFirstRow = "3"
                             visibleRowCount = "4"
                             selectionMode   = "LINEEDIT"
                             onRowSelection  = "select"
                             fillUpEmptyRows = "TRUE"
                             headerVisible   = "FALSE"
                                           >
              <crmic:tableViewCols>
                <crmic:tableViewColumn columnName = "STREET"
                                       title      = "<%= otr(CRM_IC_APPL/BuPaStreet_t) %>"
                                       edit       = "TRUE" />
                <crmic:tableViewColumn columnName = "POSTL_COD1"
                                       title      = "<%= otr(CRM_IC_APPL/BUPAPOSTCODE_T) %>"
                                       edit       = "TRUE" />
                <crmic:tableViewColumn columnName = "CITY"
                                       title      = "<%= otr(CRM_IC_APPL/BUPACITY_T) %>"
                                       edit       = "TRUE" />
                <crmic:tableViewColumn columnName = "REGION"
                                       title      = "<%= otr(CRM_IC_APPL/REGION) %>"
                                       edit       = "TRUE" />
                <crmic:tableViewColumn columnName = "REGIONNAME"
                                    title      = " "
                                       edit       = "FALSE" />
              </crmic:tableViewCols>
            </crmic:tableView>
        </crmic:gridLayoutCell>
       </crmic:gridLayout>
      </crmic:trayBody2>
    </crmic:tray2>
    In the above code i have given
    table    = "//Address/Table"
    here the 'Address' is defined as a page attribute type ref to the context node class ( CL_CRM_IC_BUPAMOREADDRESS_CN01 ).
    the same class is used in the CRM_IC application works fine!.
    also i entered the attribute entry for the 'Address' in the _CTXT class the view.
    still the same error 'page  cannot be displayed'.
    what could be the problem anyone plaese help!.
    Thanks n regards,
    sudeep v d.

  • How to find url for a view of a bsp application in program?

    hello all,
    I am devloping e-rec and am having a reqmnt, i want to knw how can i find a url for view view1 which is in bsp application zbsp.
    thanks,
    Reena

    Hi,
    views can not be called direct, only controllers. Because of that, views have no URL.
    You can call a controller or a page. You find the URL of the controller if you display the data of the controller.
    The URL of the page you find if you display the property tab of the page.
    Best regards
    Renald

  • Calling a BSP application's View directly

    Hello,
    I am using BAB to simplify 'Maintain Opportunity' BSP. After the simplification, when calling the BSP in portal, I could not call the view 'ACT_LEAN' directly. I can see only the standard BSP in the portal and not the changed one. Following are the parameters I am passing to the portal:
    BSP application: CRM_BSP_FRAME
    Start Page: entrypoint.do
    application parameters: appl=CRMD_BUS2000111&blview=ACT_LEAN&sap-syscmd=nocookie
    I have also activated the whole tree where all these bsps are in the xn 'sicf'
    Any advice on how to call the view directly is appreciated.
    Regards
    - Arun

    Hi ,
    what you need to do is
    1) for the "Send" button attach a java script.
    <htmlb:button id="myButton" text="Submit ...." onClick="sendRequestWrapper()"/>
    this javascript should take the inputfrom the field,
    then in the javascript create the URL.
    function sendReqeustWrapper(){
    sendRequest(InputField);
    function sendRequest(InputField)
    var URL;
    URL  = window.location.protocol + "//" ;
    URL += window.location.host ;
    <b>Note: its only Example link,</b>
    URL += "/sap/bc/bsp/sap/<BSPApplication>/controller.do";
    URL +="?InputFieldName=";
    URL +=InputFieldValue;
    <b>then use</b>
    Your URL will look like:
    http://ld0507.wdf.sap.corp:50007/sap/bc/bsp/sap/<bsp appl>/controller.do?InputFieldName=XXXXX
    window.open(URL,"_self","");
    so once this URL is triggered  you need to goto the respective controller and handle the input. You can see the reply from Mr. Akshaya Rao .
    regards,
    Vijaya Kumar M.
    Message was edited by: Vijaya Kumar

  • How to call BSP pages from a BSP application of another package

    Hi,
    I have a BSP application in one package and I want to call pages from another BSP application in a different package.
    Is it possible? How it would have to do it?
    Thanks in advance
    Regards

    Hi,
    You cannot call a page fragment in a seperate window or seperately in the same window...
    Page fragment is used only for including a fragment in your page....
    It is not a seperate page..!
    To call a page fragment, you have to  use the include directive...
    eg :
    <%@include file="Carrier_report_logo.htm" %>
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.
    Message was edited by:
            Tatvagna Shah

  • BSP Application : Unable to view trace in SE30

    Hi,
    We are testing the performance of BSP applications. We have activated run time analysis using SICF. Now we are testing the BSP applications.
    We are not testing the BSP using SE80, rather we are testing it using a URL.
    This URL uses a SAP "System user" to connect to the SAP system which contains the BSP applications.
    Now if we view the trace in SE30 we are not able to see any trace.
    So for viewing the trace do i need to login into the user which is executing the trace. This is not possible in my case as the user that is  executing the  BSP applications is a "system user" and not a dialog user.
    Is there any other way through which i can activate and view the trace.
    Thanks,
    Vincent

    Hello James,
    You should be able to see BSP trace in SMICM transaction.
    http://help.sap.com/saphelp_47x200/helpdata/en/b3/29ee3adcf1913fe10000000a11405a/frameset.htm
    Regards,
    Siddhesh

  • Creating (view, add, delete, modify) bsp application

    Hi gurus,
    Could anyone here please help. I am totally a new user in SAP and I would wish to create a small bsp application that could interact with my database in transaction se16.
    Below are the requirements.
    1) Allow user to<b> view </b>all Database Records
    2) Allow user to <b>add</b> records into the Database
    3) Allow user to <b>delete</b> records from the Database
    4) Allow user to <b>modify</b> records from the Database
    My table name in se16 is ZRM_PERIOD_CTRL
    and has 4 fields which are : CLASS, FISCPER3, FISCYEAR, ZG_PVER
    Can you please provide some direction on this?
    Thanks in advance
    Message was edited by:
            gary lee
    Message was edited by:
            gary lee

    Hi Gary,
    Lets start...!!!
    1) Create a new page <b>page.htm</b>
    2) In the<b> layout section</b> of the page put :
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="Modify table " >
        <htmlb:form>
          <htmlb:tray id     = "tray1"
                      title  = "Data Tray"
                      design = "BORDER" >
            <htmlb:trayBody>
              <htmlb:tableView id             = "TV"
                               table          = "<%= itab %>"
                               design         = "ALTERNATING"
                               onRowSelection = "MyEventRowSelection"
                               selectionMode  = "MULTILINEEDIT"
                               columnWidth    = "100%"
                               filter         = "SERVER" />
              <br>
              <br>
              <center>
              <htmlb:button id       = "Update"
                            text     = "Update"
                            onClick  = "onInputProcessing"
                            design   = "emphasized"
                            disabled = "false" />
              </center>
            </htmlb:trayBody>
          </htmlb:tray>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    3) In the <b>TYPE DEFINITIONS</b> : 
    TYPES : itab_t type standard table of ZBANCTECPRD,
            wa_t type line of itab_t.
    4) Then in <b>page attributes</b> :
    itab                      TYPE     ITAB_T
    selectedrowindextable TYPE     INT4_TABLE
    wa                      TYPE     WA_T
    zindex                      TYPE     SY-INDEX
    5) In the <b>Event Handler</b> : 
    In <i><b>onCreate</b></i> :
    select * from ZBANCTECPRD INTO TABLE ITAB.
    In <i><b>onInputProcessing</b></i> :
    * To get the selected RowIndex...
    CLASS cl_htmlb_manager DEFINITION LOAD.
    DATA: tv          TYPE REF TO cl_htmlb_tableview,
          event       TYPE REF TO cl_htmlb_event,
          table_event TYPE REF TO cl_htmlb_event_tableview.
    FIELD-SYMBOLS <i> LIKE LINE OF selectedrowindextable.
    tv  ?= cl_htmlb_manager=>get_data( request = request
                                       name    = 'tableView'
                                       id      = 'TV' ).
    IF tv IS NOT INITIAL.
      table_event = tv->data.
      CLEAR selectedrowindextable.
      selectedrowindextable = table_event->prevselectedrowindextable.
      IF table_event->event_type EQ cl_htmlb_event_tableview=>co_row_selection.
        READ TABLE selectedrowindextable WITH KEY table_line = table_event->row_index TRANSPORTING NO FIELDS.
        IF sy-subrc EQ 0.
          DELETE selectedrowindextable INDEX sy-tabix.
        ELSE.
          APPEND INITIAL LINE TO selectedrowindextable ASSIGNING <i>.
          <i> = table_event->row_index.
          zindex = table_event->row_index.
        ENDIF.
      ENDIF.
    ENDIF.
    * get the button event.
    IF event_id = cl_htmlb_manager=>event_id.
      event = cl_htmlb_manager=>get_event( runtime->server->request ).
      IF event->name = 'button' AND event->event_type = 'click'.
        DATA : button_event TYPE REF TO cl_htmlb_event_button.
        button_event ?= event.
      ENDIF.
      CASE event->id.   " Use this for specifying code for different buttons.
        WHEN 'Update'.          " This is the button id.
          tv ?= cl_htmlb_manager=>get_data(
                 request      = request
                 name         = 'tableView'
                 id           = 'TV' ).
          IF tv IS NOT INITIAL.
            DATA : tv_data TYPE REF TO cl_htmlb_event_tableview .
            tv_data = tv->data.
    *get values from screen to work-area...get_cell_value is for tableView and get_data is for other objects like inputfield
            wa-scnotify     = tv_data->get_cell_value(
                                             row_index     = zindex
                                             column_index  = 1 ).
            wa-equipmentid  = tv_data->get_cell_value(
                                             row_index     = zindex
                                             column_index  = 2 ).
            wa-clientname   = tv_data->get_cell_value(
                                             row_index     = zindex
                                             column_index  = 3 ).
            wa-sla          = tv_data->get_cell_value(
                                             row_index     = zindex
                                             column_index  = 4 ).
            wa-reference_no    = tv_data->get_cell_value(
                                             row_index     = zindex
                                             column_index  = 5 ).
            wa-district_code    = tv_data->get_cell_value(
                                             row_index     = zindex
                                             column_index  = 6 ).
            DATA : temp_date(10) TYPE c, new_date TYPE d.
            temp_date  = tv_data->get_cell_value(
                                   row_index     = zindex
                                   column_index  = 7 ).
            CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
              EXPORTING
                date_external = temp_date
              IMPORTING
                date_internal = new_date.
            wa-malfuncstdate = new_date.
            temp_date  = tv_data->get_cell_value(
                                   row_index     = zindex
                                   column_index  = 8 ).
            CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
              EXPORTING
                date_external = temp_date
              IMPORTING
                date_internal = new_date.
            wa-malfuncendate = new_date.
            wa-ceid   = tv_data->get_cell_value(
                                             row_index     = zindex
                                             column_index  = 9 ).
            MODIFY itab INDEX  zindex FROM wa .
            MODIFY zbanctecprd FROM wa.
          ENDIF.
      ENDCASE.
    ENDIF.
    <u><i><b>This is the code to modify a table line.....Try and think on these lines to add or delete a table line....!!</b></i></u>
    Also note that i have used my own Ztable....you will have to modify the code a bit for your Ztable....!!
    <i>Do reward each useful answer..!</i>
    Thanks,
    Tatvagna.

  • How to add toolbar to ecl viewer in bsp application

    i took help of the following link
    /people/durairaj.athavanraja/blog/2005/09/14/using-ecl-engineering-client-3d-viewer-viewer-in-bsp-application
    the 3D image in opening properly.
    My question is, is it possible to add the TOOLBAR in the Internet explorer which get normally in Ecl Viewer which has the options like file tools etc

    Hi Chinnu,
    First find decide in which tab you want to display the field. Find out the screen structure behind the field group and check whether the field is present in it.
    if yes all you need is to add this field in the field group structure other wise you have to add the field in the screen structure and then in the field group.
    Reward if helpful.
    Regards,
    Naveen

  • Bring view from BSP application into CRM 7.0?

    How to add a custom view from a BSP application in CRM 5.0 to CRM 7.0. I tried to use it as a URL ( in transaction launcher ) and gave controller class . It does not work. Am I missing something here?

    Hello CRM_2007,
    May you please elaborate on what doesn't work?
    Do you see your link created via transaction launcher?
    Did you manage to create a link to some URL like "google.com" that is working fine, or every kink that you create doesn't work at all ?
    Kind regards,
    Nicolas Busson.

  • Eventing between team viewer and BSP application

    Hi Everyone,
    Basically, I have a standard BSP application (HCM_LEARNING) on ECC5.0. I need to make it communicate with MSS team viewer.
    HCm_learning is a big BSP application from SAP which enables self booking for course, training history data, courses attended, can view courses offered, prebooking, participation history, qualifications achieved, qualifications missing etc.  It is a master piece BSP from SAP.  It brings the data from the backend system through pernr.
    in portal, a manager should see the qualifications of an employee and book courses for him if he misses particular qualifications. hcm_learning is a self booking application; if it communicates with team viewer: that is great. manager can pick a person (name) from team viewer and from there he can take of all the activities 'hcm_learning' does for an employee.
    I have spend lot of time watching all the blogs, threads.. searching for this scenario. can not get right information.
    is this scenario possible.
    could any body tell me where i should look at for documentation. could you give me suggestions on this.
    THanks!
    Siribabu

    Hi Siribabu,
    Did you ever find an answer to this?
    Thanks
    Jane

  • Table to store the list of BSP Applications and View Names

    Hi,
    Please let me know the tables used to store the list of BSP Application and the corresponding View Names.
    Thanks and Regards,
    Pavithra

    Table name is O2PAGDIR.
    ~Salil

  • Capture all the Users who viewed the BSP Applications ???

    Hello All,
           I need to create a BSP Application which shows all the Users, who have executed different BSP Applications and the Number of Times each user has executed these BSP's.
    Is this Possible ?
    If yes, can anyone tell me how to go forward  ????
    Regards,
    Deepu.K
    Message was edited by:
            deepu k

    Hello Eddy,
          I have gone thru ur Blog.
    But in this I guess I need from this part -->
    C. Generating Own Stats in BSP
    C.1. Logging It
    If all of the aforementioned tools don’t cover what you’re looking for, or there are technical/other reasons not
    to choose them, then there is only one thing left to do. Write your own stuff. It really isn’t that difficult to do
    and, if you are confident enough, you can make something that suits your needs 100%. Or as a host in a
    Flemish regional TV DIY show always says: “What you do yourself is usually done better.” Let us see what
    you need to do in order to achieve this.
    First of all you need data on the browser. This can be done via JavaScript and the navigator object:
    appCodeName
    The code name of browser (i.e.: Mozilla)
    appName
    The name of the browser (i.e.: Microsoft Internet Explorer)
    appVersion
    Version information of the browser (ie: 4.75 [en] (Win98; U)
    userAgent
    String passed by browser as user-agent header. (ie: Mozilla/4.0
    (compatible; MSIE 5.5; Windows 98; Hotbar 3.0))
    Platform
    The platform of the client's computer. JavaScript 1.2 property. (ie:
    Win32)
    You probably need some extra information like IP number. This can be done via the
    request->get_header_field method.
    As such you don’t need to retrieve this info every time if you have a single entry point like a login page. Just
    put it in a server side cookie. Each new page will read this cookie and save this info together with the page
    name, user id, eventual parameters, etc. into the log. Now I talked earlier about the visitor concept. This is
    also an ideal place to implement this. If you are only interested in returning visitors with a full day time interval,
    you can for example determine whether that user has already used that application. If so, you just increment a
    counter. If not, you have to create a new line. This method will also reduce the size of your table.
    C.2 Showing It
    The only thing you need to do is to analyze and visualize stuff. The analyzing stuff is completely up to you.
    The following screen shot is an example where the total number of visitors within a given time frame is shown.
    It also shows the number of unique visitors in that same time frame compared to the potential number of
    visitors. You might find this of interest if you want to know how many (internal) users actually use your intranet
    application. You can couple the user info to the department info and then you can figure out whether
    department X or Y is actually using the application.
    But I didnot get the actual idea of implementing this in my BSP.
    Can you give an explanation for the above ?
    Regards,
    Deepu.K

  • Delete a BSP Application

    Hi All,
    I have deleted a BSP application via SE80, and it showed successfully deleted the application!.
    However, after sometime, I could see the same application is shown under my package without any contents (views/pages/mimes). In other words if I double click the application it says doesn't exist!.
    How can I properly/completely delete a BSP application?.
    Thanks, Sudeep..

    Hi Sudeep,
    use Program MR_CLEARUP to cleanup inconsistencies in MIME repository
    (and MR_CHECK_MIME has analysis functions)
    Best regards,
    Adrian

  • Calling sub controllers in different BSP applications

    I try to call in a controller class a sub controller which belongs to another bsp-application (and another dev package)
    Here the example of the structure:
    (Package) Z_TST1
    --(Controller class) Z_CO_TST1
    --(BSP-Application) Z_TST1_BSP
    (controller) tst1.do ...
    (some additional views, model classes, ...)
    (Package) Z_TST2
    --(Controller class) Z_CO_TST2
    --(BSP-Application) Z_TST2_BSP
    (controller) tst2.do
    Now i want to call the controller tst2.do as sub controller in controller class Z_CO_TST1. help.sap.com says its possible to call controllers of other applications:
    http://help.sap.com/saphelp_erp2004/helpdata/en/21/d8463c9c9ffc3ae10000000a114084/frameset.htm
    In controller class Z_CO_TST1 i will do some code like described in help.sap.com:
    http://help.sap.com/saphelp_nw04/helpdata/en/ce/43473ccf20514ee10000000a114084/frameset.htm
    Thanks for any ideas
    Peter

    I'm sorry, but I solved it by my own (today). Solution is to let application_namespace empty and use application_name for the BSP application name you call in the create_controller method. In the view I only call <bsp:call comp_id = 'name_of_controller_id' />. Help.sap.com has more info, than I thought.
    Thanks for answering - Peter.

Maybe you are looking for

  • Printing only 1 page not whole document?

    When you are proofing a page, you must remember to check the page range button as it defaults to all after each page is printed. How do you change this default? We have printed many copies when we are thinking that only one page will go. We toggle be

  • Photobooth crash - What gives?

    Hello, I have a Mac Pro 3,1 based machine and when I try to run photobooth, it gives me the following: I am running Snow Leopard 10.6.1 Process: Photo Booth [352] Path: /Applications/Photo Booth.app/Contents/MacOS/Photo Booth Identifier: com.apple.Ph

  • HT4623 Need HELP with this ..since updating my 4S iphone today

    After updating my 4s phone, I suddenly have every facebook friends contact info in my contact list on my phone...all 1000 of them... NOT GOOd... some of them I only play games with.  Where did that come from and how do I get rid of that feature?

  • Making AQ usage transactional across session beans, using mosly JMS syntax

    I need to determine what I need to have in place in order for JMS/AQ messages to be "fully transactional". I have a J2EE server application that will send JMS/AQ messages to a queue. I have a standalone application that reads messages from the queue,

  • Connecting the S750 subwoofer to an AV reciever

    Is it possible to connect the S750 subwoofer to an external AV reciever? And what output on the reciever and what input on the subwoofer in case it works?