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.

Similar Messages

  • 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

  • Auto create View/Edit/Delete cfm pages for databsae records? Anyone remember CF Studio?

    Anyone use Recordmaster wizard from back in the CF Studio
    days?? Sometimes I really miss it! Is there anything comparable
    available today for the current toolset (CFeclipse or Dreamweaver)?
    RecordMaster was a little automated wizard thing that you could
    just point to a DSN and a table, and it would build a nifty set of
    basic pages to do admin stuff, namely view, add, edit and delete
    records. Very good start to build quick and dirty admin pages, and
    super easy.
    There was even a little built in Studio wizard that would
    generate record view/edit/delete pages. All just basic cfm, no
    cfc's.
    Anyhing? I've got to build some admin type pages here on a
    table with lots of fields and don't want to do it all from scratch.
    If I can't find anything, I may search my CD archives for an old
    version of Studio just to use RecordMaster! What do others use for
    fast creation of database record admin pages???
    -Jeff

    Not exactly what you are looking for, but take a look at
    reactor (
    http://www.alagad.com/go/products-and-projects/reactor-for-coldfusion).
    It will create a database abstration layer on-the-fly for simple
    CRUD operations. A similar solution would be Illudium PU-36 (
    http://cfcgenerator.riaforge.org/).
    Similar concept to reactor, but used for one-time
    generation.

  • Creating a New PO using BSP Application

    Hello BSP Gurus,
    Newbie in BSP and want to create a BSP application that uploads PO data using Transaction ME21N. Its like this, an BSP application displays the Header and Line item data. and then I need to create a New PO by inputting the fields in the BSP Application.
    Any suggestions would be rewarded.
    Regards
    Leo

    <b>Since you are new to BSP refer the below links to create the BSP..</b>
    https://wiki.sdn.sap.com/wiki/display/BSP/Main
    http://www.sapdevelopment.co.uk/webapps/bsp/mvc_example1.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/101c3a1cf1c54be10000000a114084/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/e5/edae3b59e17646e10000000a11402f/frameset.htm
    http://www.sapdesignguild.org/resources/htmlb_guidance/
    Look at the below links.. Some of them are step by step procedures.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/24
    http://help.sap.com/saphelp_nw04/helpdata/en/7a/b86041397211d5992200508b6b8b11/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7a/b86041397211d5992200508b6b8b11/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/4e/ac0b94c47c11d4ad320000e83539c3/content.htm
    https://www.sdn.sap.com/irj/sdn/weblogs
    /people/durairaj.athavanraja/blog/2005/08/21/running-your-first-bsp-application-in-sap-netweaver-04-abap-edition--nsp
    www.thespot4sap.com/Articles/SAP_WAS_BSP_Apps.asp
    www.thespot4sap.com/Articles/SAP_WAS_Overview.asp
    help.sap.com/saphelp_nw04/helpdata/ en/56/e6f3409ade8631e10000000a1550b0/content.htm
    New to BSP
    New to BSP. Where do I start from?
    New to BSP's ....Please Help me.......................
    And also recommend you to go through the BSP Weblogs in the BSP forum...highly Suggested and Helpful
    ;\ New BSP Weblogs
    <b>TO Create the PO:</b>
    Get the data from BSP & Use the BAPI:- <b>"BAPI BAPI_PO_CRE</b>ATE1 " to create the PO.
    See the link for more detail..
    BAPI_PO_CREATE1
    <i>* Reward each helpful answer</i>
    Raja T

  • Create a PDF from a BSP Application

    Hi All
    How can I create a PDF from a BSP and/or an XML + XSLT(FO) with SAP webAS ?
    Best regards
    Jerome

    Hi Raja,
    Could you please provide some details on the solution you mentioned?
    I am in need of solution for converting DocX to PDF using XSLT(XSL-FO) and some how the XSLT is not generating a well formatted xsl-fo so the final output is not rendered by FOP in PDF and raising exceptions.
    I am trying to do conversion in ABAP only ( without using third party webservices ) or using FOP ( as it is already configured )
    Any pointers?

  • Add/Delete/Modify Record form question

    I have a form set up in which I want the viewer to be able to
    select a job title from a list menu. From that selection, I want
    them to have the option to modify or delete that job selection or
    add a new job. WIth that I have a "Add Job" button, "Modify Job" or
    "Delete Job" button in the form for them to submit the form with.
    But how do I set it up so each button will submit to the
    appropriate page, (i.e the modify the selected job page, the delete
    the selected job page, or the create new job page"
    Thanks,
    Dave

    Okay-
    Maybe I need to take a step back or something, but here is
    what I now set up trying a slightly different approach:
    <cfif form.title GT 0>
    <cfif IsDefined("form.edit")>
    <cfinclude template="../Admincopy/UticaEditJob.cfm">
    <cfelseif isdefined("form.Delete")>
    <cfinclude template="../Admincopy/UticaDeleteJob.cfm">
    <cfelseif isdefined("form.Insert")>
    <cfinclude
    template="../Admincopy/UticaInsertPosting.cfm">
    </cfif>
    <cfelse>
    <cflocation url="UticaJobPostings.cfm?"> Please select
    a job to edit.
    <cfexit>
    </cfif>
    What I thought would happen is that if form.title had a
    value, it goes to the appropriate template. If it doesn't have a
    value, the page returns to the UticaJobPostings.cfm page which has
    the form field to select the posting.
    Initially, if I select a job listing, it will go to the
    appropriate template. If I don't choose a job listing, it still
    goes to the template with the missing value error.
    I am truly trying to figure this out and hate to keep posting
    you with this problem, but I am at my wits end here!!!
    Viewing what I have, what can I change???
    Dave

  • How to reinstall deleted standart bsp application

    Hi guys ;
    When i was trying to delete an enhancement set in BSP_WD_CMPWB (BSP Component workbench) , accidently i deleted a standart component BTPARTNER completely.
    How can i get back its original status? is it possible to reinstall only this application?
    Note : when i go to requests , i have recovered repository.xml only  but there is no any view .
    Thanks

    Hi,
    There will be some std client like 800, 666 other then your devlopement client
    Contact with your basis people for client copy or copy to this component from std client to your devlopement client.
    Regards
    Gaurav

  • Approve EVERY add, delete, modify by hand.

    I've looked through the forum, but perhaps I haven't been using the right search terms...
    Is there a way to change a setting on iSync such that I can approve EVERY modification by hand?
    right now I have it set to notify me if ANY changes are to be made, but it will only tell me 2 additions, 1 deletion, and 3 modifications, but won't tell me WHICH 2 are being added, which 1 is being deleted, and WHICH 3 are being modified.
    Of couse, the big concern is the deletions and the modifications. (Not so much the additions) There are plenty of cases where I want to make sure that what is being changed/deleted is what I really want: Accidental pushing of cell phone buttons while in pocket, mistaken changes, cell software deleting objects randomly.
    The Conflict window would be great for reviewing these changes, but that only is invoked when it dectects items that have either both been changed or have not been synced.
    Anyone have any ideas?
    Thanks!
    Various    

    Newsletter? I don't actually have one. I've often thought of starting an online forum outside of Apple Discussions specifically for Mac OS X synchronization, but I just don't have the free time required to support it yet.
    There is some publicly available documentation you can read concerning the Sync Services framework. This overview is a good place to start:
    http://developer.apple.com/macosx/syncservices.html
    Embedded in it are links to other developer material, but in order to get access to the tools you need to examine client registration information, the truth database, conflicts and synchronization history, you need to be a paid, active developer. My best guess is that the specific capabilities you require essentially don't exist at the moment, and it may be some time before they do.
    There is an iSync 'roadmap' but it's not publicly available. If the development team itself were publicly accessible, they would never get any development work done because of the demand from users for help, feature improvements and information about upcoming releases. I am confident that they are well aware of user desires for such features as reviewable, non-conflicting record changes, but my best guess is that you will not see that sort of capability in iSync or other components of the framework for some time.
    As you can imagine, a great deal of effort is going into the soon-to-be released Mac OS X 10.5 package, with the many changes coming to client, contact and other data synchronization.

  • How to create BSP application

    I have created abap report. I want to convert it to BSP application. Could you please provide some guidelines or sample sites to create BSP or to convert abap report to BSP applicaton
    thanks

    To start with check this:
    http://help.sap.com/saphelp_nw04/helpdata/en/7a/b86041397211d5992200508b6b8b11/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/16/ac1e3a0088e042e10000000a11402f/frameset.htm
    And here the complete section:
    http://help.sap.com/saphelp_nw70/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
    Also refer to these threads :
    Creating (view, add, delete, modify) bsp application
    How to disable column in tableview
    after creating your BSP application into SE80 transaction you can refer to this useful thread:
    Re: How to update the tableview
    Here is showing how to read data in a BSP application from a DB table and how to updating lines from BSP application
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4fbe7b8e-0a01-0010-b69b-b7e717378f22
    Full Demos:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d46b9b90-0201-0010-ef92-9964c1bc98e1
    IC Web client
    Reward Points..

  • 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 create global toolbar for some common operation like add, delete etc

    Hi,
    I want to create one global toolbar which contains buttons for common operations such as add, delete, modify etc.
    I have one globl .jspx page and in its center facet, I am loading my each screen's .jsff page.
    Now I want to create global toolbar on my .jspx page and when I click on toolbar's add button at that time it should call, currently loaded .jsff (loaded in center facet of .jspx page) backing bean's add method.
    How can I get the instance of currently loaded .jsff backing bean in my toolbar's backing bean and also I need it with its current state( means whatever UI components have values I should be able to get it in my instance).
    Regards,
    Devang

    Hi,
    since page templates don't support method expression arguments there are two options I can imagine
    - define a contract between the toolbar buttons and the availability of a managed bean available for the consumer page. If for example each page has a managed bean like <viewId>_toolbar then the Toolbar could reference exposed methods on this bean (which must be consistent)
    - Another option is to have the page passing in the EL string to access the iterator to operate on as an attribute of the template you use. Then you create a ValueExpression from it and call it for the button action events that you point to the managed bean you deploy with the template
    Frank

  • How to view hidden users, add & delete?

    I administer eMacs and iBooks in an elementary school setting. Ideally, having hidden users like an administrator, would clean up login page and make the system more secure. The login page would not normally display the hidden login users until required.
    How do you view, add & delete hidden users?

    For now, I used a Library/Preferences/com.apple.loginwindow.plist file that has a "HideAdminUsers" command in it, and used it by simply replacing the standard com.apple.loginwindow.plist file that displays all users. Conversely, I switched them back when the task was done.
    It sounds as if you used this command to modify the .plist file:
    sudo defaults write /Library/Preferences/com.apple.loginwindow HideAdminUsers -boolean Yes
    As an aside, it can be reversed with
    sudo defaults write /Library/Preferences/com.apple.loginwindow HideAdminUsers -boolean No
    I don't think there is a keystroke to show the hidden admin usernames, but you can log into a hidden admin account with just a few more keystrokes. At the login screen, press the down-arrow to highlight one of the non-admin accounts, then hold down the option key and press Return. At the next window, enter your admin username (the shortname is fine) and enter your admin password. If there is only one non-admin account in the login window, then click the back button before pressing the down-arrow key.

  • BSP Applications step by step

    hi,
        could any one send me the step by step procedure to create web enabled report through BSP Applications. or pls send any related links.
                   thnx in advance,
                   santosh.

    Hi
    To learn how to create Web applications with Business Server Pages, you can work through the simple tutorials that build on each other. You should be able to run through all of the steps described here in your own system.
    If you want to develop Web applications with BSPs, your system must meet the following requirements: Prerequisites for Creating Web Applications.
    The following tutorials are available:
    ·         First Tutorial: First Steps with Business Server Pages…
    ·         Second tutorial: A Small BSP Application and A Small BSP Application with HTMLB
    ·         Third tutorial: Our First Online Bookshop
    ·         Fourth tutorial: Further Developing the Bookshop
    ·         A small Tutorial is also available for your first steps with the Model View Controller design pattern.
    ·         For a more complex MVC tutorial based on the third tutorial, see: Our Little Online Bookshop Using MVC and HTMLB
    When creating BSP applications, note the browser dependencies described in Note 598860.
    steps:
    1) start the transaction RZ10.
    2) now u u have to select Profile name, so select the INSTANCE Profile from the list of options given with the Profile parameter list.U may find multiple instance profile in the list, so select the profile in which ur server name is given.
    3) u will also find three options in the same window.
    Administrator data, Basic Maintenance, and Extended Maintenance. So select the last one from that.
    4) Now click on change button.
    5) here u will find parameter icm/host_name_full, so now set it as FQDN.
    6) Now copy ur settings with new version number.
    7) Activate that version.
    8) And now please restart ur WAS.
    So this will set ur FQDN, and also don't forget to login using Admin User.
    Now u also check for following service are active in your ICF setting or not,( just start transaction code SICF)
    /default_host/sap/bc/bsp/sap
    /default_host/sap/bc/bsp/sap/system
    /default_host/sap/bc/bsp/sap/public/bc
    /def ault_host/sap/public/bc
    /default_host/sap/public/bc/ur
    /default_host/sap/public/bsp/sap/public
    /default_host/sap/public/bsp/sap/public/bc
    /defaul t_host/sap/public/bsp/sap/system
    /default_host/sap/public/bsp/sap/htmlb
    if not then activate all.
    check this link
    Read this weblog...
    /people/brian.mckellar/blog/2003/09/25/bsp-in-depth-fully-qualified-domain-names
    http://www.thespot4sap.com/articles/SAP_WAS_Creating_BSP_Apps.asp
    it consists of screen shots also
    Reward all helpfull answers
    Regards
    Pavan
    Message was edited by:
            Pavan praveen

  • Assigning a BEx role to BSP - BSP application is missing in PFCG

    Hi everybody,
    at first I will describe our problem.
    We constructed a mixed environment web application, consisting out of a BSP application and WAD web templates. Unfortunately the url of web templates and the bsp-application differs - meaning the server is the same, but the port is different. That's why it is not easy to link the application each other, because for transportation reasons, we would like to have relative url paths.
    After searching the SDN and reading several help files I draw the conclusion, that I have to put my BSP application into a BEx role. Correct? If anybody has a better approach, please raise your hand now!
    So, I tried to create a role for my BSP application in the transaction PFCG. To specify the target I choosed entry type OTHER and BSP application. But in the appearing list of all BSP applications, my application was missing.
    I really wondered about it, because similar BSPs from other authors within the sap/bc/bsp - folder appeared in the list.
    Question: What are the prerequisites that a BSP application is available in the PFCG transaction?
    Thanks for any comments and helps
    Best regards,
    Sebastian

    Hi Raja,
    thank you for your quick reply.
    you are looking at constructing the BW WAD url and call it from BSP, however the host address (port) differs and coz of that you cannot use relative urls.
    Almost. I'm actually searching for the other way round. I want to call the BSP in an inlineframe of a WAD web template. But its exactly that port change issue, that causes the problem.
    My BSP application is located in a subfolder of default_host/sap/bc/bsp/ ?
    There are other BSPs in that folder which already appear in the PFCG transaction under OTHER.
    Best regards,
    Sebastian

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

Maybe you are looking for