Grid in custom BSP

Hi,
I need to reproduce in a custom BSP a grid with the same layout used in the grid of standard BSP. Can someone explain to me how to make it?
Thanks,
Sara

Hi Dany,
thanks for your reply. I don't know how to use the HTMLB extension for the grid. Can you provide me an example please? I need to fill the grid using the values of a internal table created in ABAP. Moreover I'm not sure if the layout is the same for the standard grid because I've seen some grids created using the <htmlb:tableView> and the results are far from what I want to realize.
Thanks a lot,
Sara

Similar Messages

  • CRM 5.0 Custom BSP takes whole viewarea

    Hello all,
    I created an entry in my navigation bar where I launch a custom BSP. When I click the entry the BSP opens up fine but the navigation bar, error bar and history navigation bar are gone. The telephony function and the bottom bar (with date and time) are still visible however.
    I followed all the steps as described in the cookbook to add custom view (and viewset) and controller and created them through the wizard in the IC workbench.
    The custom BSP page is currently empty and only has a button in it.
    <%@page language="abap"%><%@ extension name="htmlb" prefix="htmlb"%><%@ extension name="xhtmlb" prefix="xhtmlb"%><%@ extension name="crm_bsp_ic" prefix="crmic"%><%@ extension name="bsp" prefix="bsp"%>
    <crmic:tray2 frame="1" height="100%" id="de" title="<%=otr(CRM_BSP_WD_TOOLS/SAMPLETRAYTITLE)%>" width="100%">
      <crmic:trayBody2>
        <crmic:gridLayout cellSpacing="1" columnSize="8" height="100%" rowSize="6" width="100%">
          <crmic:gridLayoutCell colSpan="8" columnIndex="1" horizontalAlignment="LEFT" rowIndex="1">
            <crmic:button design="EMPHASIZED" id="SAMPLE_BTN" onClick="SAMPLE_BTN" text="<%=page->otr_trim( 'CRM_BSP_WD_TOOLS/SAMPLEBUTTONTEXT' )%>"/>
          </crmic:gridLayoutCell>
        </crmic:gridLayout>
      </crmic:trayBody2>
    </crmic:tray2>
    I declared my viewset in the MainViewSet.xml file:
    <ViewSet id="IC_BASE/workViewSet">
         <ViewArea id="workViewSetArea"
                     views="<%@include file="../CRM_IC_DT_REP/StdWorkareaOccupation.xml" %>
                            CRM_IC_AUTO/VehMDViewSet <b>../CONTACT/CRM_IC/CustomFactSheetViewSet</b>"/>
    </ViewSet>
    I already tried different ways of referencing the viewset /CONTACT/CRM_IC/CustomFactSheetViewSet, CONTACT/CRM_IC/CustomFactSheetViewSet. Of course all other configuration, as described in the cookbook, has been done.
    Anyone encoutered the same problem before?
    Many thanks in advance,
    Regards,
    Joost

    Thanks for your replies!
    Ankur: I created a new viewset with a new gridlayout with only one row and one column:
    <crmic:gridLayout cellSpacing="1" columnSize="1" rowSize="1">
      <crmic:gridLayoutCell colSpan="1" columnIndex="1" rowIndex="1" rowSpan="1">
        <bsp:call  comp_id="<%=controller->GET_VIEWAREA_CONTENT_ID( 'main' )%>" url="<%=controller->GET_VIEWAREA_CONTENT_URL( 'main' )%>"/>
      </crmic:gridLayoutCell>
    </crmic:gridLayout>
    So I think this could not be the reason.
    Mihai:
    I have declared the viewset in the mainviewset in my MainViewSet.XML file:
    <%@page language="abap"%><ViewSet id="IC_BASE/ICAPPMainViewSet">
         <ViewArea id="navigationArea" views="IC_BASE/navigationViewSet"/>
         <ViewArea id="workArea" views="IC_BASE/workViewSet"/>
         <ViewArea id="contextArea" views="IC_BASE/contextAreaView"/>
         <ViewArea id="breadCrumbsArea" views="IC_BASE/BreadCrumbsView"/>
         <ViewArea id="globalSearchArea" views="HistoryView"/>
         <ViewArea id="helpArea" views="Help"/>
           <ViewArea id="statusArea" views="StatusView"/>
         <ViewArea id="errorArea" views="IC_BASE/ErrorViewSet"/>
    </ViewSet>
    <ViewSet id="IC_BASE/navigationViewSet">
         <ViewArea id="navigationViewSetArea" views="IC_BASE/NavBarView"/>
    </ViewSet>
    <ViewSet id="IC_BASE/workViewSet">
         <ViewArea id="workViewSetArea"
                     views="<%@include file="../CRM_IC_DT_REP/StdWorkareaOccupation.xml" %>
                     Z_CRM_IC/CustomFactSheetViewSet"/>
    </ViewSet>
    If I would remove the entry (Z_CRM_IC/CustomFactSheetViewSet) the BSP is still loaded in full screen.
    I debugged the whole process, the moment I click the entry in the nav bar IC only loads root.htm and not all the other required htm like root_content.htm, ICAPPMainViewSet.htm. Somehow the IC doesn't know that this viewset (CustomFactSheetViewSet) should be loaded in the standard workviewsetarea even though it's declared...
    Many thanks to all of you!
    Joost

  • How to run custom BSP application in UI frame work.

    Hi,
    Can you please tell me how to run custom BSP application in UI frame work.
    I have copied CRM_UI_FRAME application into ZCRM_UI_FRAME. Now if i am trying to test this particular application but in URL of IE i am able to see that its always calling CRM_UI_FRAME application.
    Can any body help me out in this?
    Rgds,
    Jat.

    Hi!
    You will find that and some other interesting stuff here
    https://websmp206.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700001006302007E
    The documents name is How-to Guide Framework Enhancements
    rollo
    Edited by: rollo on Aug 8, 2008 8:20 AM

  • Custom bsp Iviews work in dev but not in qas?

    Hi All,
    We're using R/3 4.7, ESS 50.4, MSS 60.1.20.
    We have developed a number of custom bsp iviews that work perfectly fine in dev but when we transported to qas, no data is displayed.  The labels in the bsp are being displayed so we know that the bsp is working.
    We use epcf to listen for the employee number in the bsp's.  It is configured the same in both dev and qas but in qas the bsp is not picking up the employee number and therefore is displaying no data.  When you click on susbequest employees in the team viewer, nothing happens (bsp should reload).
    The only difference is that the portal dev and the bsp's reside on the same server but when we go to portal qas, it is now on a different server to the bsp.  We have relaxed the domain, so that the server name has been removed from the domain name but still to no avail.
    If anyone can help at all, i'd really appreciate it, as i'm at a loss as to what to do next.
    Many thanks,
    Liz.

    Hi,
    Seems that there is:
    1. something wrong with the System Object or it's definition..
    OR
    2. someone used a server/hostname as a "constant" instead of a "variable"
    OR
    3. the Portal and Backend are not in the same domain or the configuration is not with Fully Qualified Domain Name
    Hope this helps you to narrow it down or even find the issue.
    Good Luck,
    Benjamin Houttuin

  • How to call custom BSP application (copied from standard)

    Hi,
    I came across 1 interesting link in SDN.
    [Enhancement procedure of BSP application HRRCF_RECRUITER in eRecruitment]
    My requirement is also similar.
    I need to copy the HRRCF_TRM_SRCH application.
    I know how to make the changes for the logic (like copying the standard controller & iterator class etc.)
    But I donu2019t know how to call the custom BSP application.
    One requirement is, I need to call a BSP application, in which there are only UI(user interface/screen) changes .
    That is, if there are only changes made to hitlist_cand.bsp page . And no changes made to hitlist_cand.do page.
    Eg: Removing one button from screen.
    Second requirement is, I need to call a BSP application in which there are logic changes also.
    (I know how to  change the standard controller class to custom class)
    Eg: Changing logic of button.
    We tried renaming the application name from standard to custom one (with Namespace=SAP itself, though it gave a warning) in the table T77RCF_LOG_APPL .
    Then we used this name to configure the start page link. But still the execution control is going to standard page & not to custom BSP application.
    How will I know which BSP application(Appl A), is calling the BSP application (Appl B) in which I want to make changes ?
    The starting application is HRRCF_START_INT.
    Would really appreciate solutions posted.
    Thanks,
    Nisha Vengal.

    Hi Nisha,
    I think you have an issue to call custom BSP.
    -     Ignore the warning message (in the table T77RCF_LOG_APPL) as it is just a warning message. I did not touch start page link at all.
    -     Additionally you need to make (I had to made) an entry in table u2018V77RCF_SMG_NAVIu2019.
    Let me know, if you need anything else.
    ...Naddy

  • How to call custom BSP application on click of BACK button for SC in EBP.

    Hi All,
    We are implementing OCI using custom BSP applications.In EBP SC screen ,in step1 (Select Goods/Services), the links for these BSP applications are displayed.
    The user can create a shopping cart using these applications , after the items are transfered from BSP to SC on standard  EBP screen , in step2
    there are four buttons ,
    1)Refresh
    2)Check
    3)Back
    4)Continue.
    We need to call one of our custom BSP applications on click of  this BACK button
    How can i acchieve the same?
    Do i need to make changes in the standard ITS application or thers some other way?
    Thanks,
    Anubhav.
    Edited by: Anubhav Jain on Jul 1, 2008 7:24 AM

    To call a wd abap application from BSP use the method CL_WD_UTILITIES=>CONSTRUCT_WD_URL then just create a link in bsp with the url returned like this:
    <a href="url">Link</a>
    To pass data from wd abap to bsp or vice versa that a look at this blog: /people/koen.labie2/blog/2006/11/29/eating-cookies-with-webdynpro-and-bsp
    regards,
    Fabio Louzada Saito

  • CRM 5.0 Navigation bar entry that navigates to a custom BSP

    Hello all,
    I'm currently trying to add an entry in the navigation bar that redirects the webclient to a custom BSP.
    I changed the navigation profile and added an entry that should point to a 'Navigational Link' ('Type of navigation'). When I use the input help it asks me a profile (IC profile, not navbar profile) so I select my Z profile, in the next screen an input help with all possible navigational links are shown but my navigational link is not showing...
    What I've done so far:
       - I created a viewset containing one view, added the viewset definition to CRM_IC_ALL_Viewsets.xml which is in my Z_CRM_IC_DT_REP bsp application. Below you can find the file:
    <ViewSet id="CONTACT/CustomFactSheet">
         <ViewArea id="main" views="CONTACT/myFactSheet"/>
    </ViewSet>
       - I created the navigational links, it could be I made a mistake here, here is the file :
    <NavigationalLink name="showFactSheet">
    <Source viewRef="VehIDetail" outboundPlugRef="default"/>
    <Targets>
    <Target viewRef="CONTACT/myFactSheet" inboundPlugRef="inboundPlug"/>
    </Targets>
    </NavigationalLink>
    -  In my /CONTACT/CRM_IC bsp application I have two controllers:
       myFactSheet: controller for the view myFactSheet
       CustomFactSheet: controller for the viewset CustomFactSheet
    I'm developing in a customer namespace /CONTACT/, not in the default Z namespace.
    I created both the viewset and the view through the IC workbench wizards.
    I cannot add this navigational link to my navigation bar profile. When I type the navigational link 'showFactSheet' in the navigation bar profile item (without using F4) and I launch the interaction center, click on the newly added link, nothing happens... (No error messages or dumps however) Everything else works, I have tons of other navigational links that work fine so it's really the definition of this particular item, all the rest of the configuration is done and is working.
    Anyone an idea??
    Thanks in advance!
    Kind regards,
    Joost

    Look at this thread to get more inforamtion on creating Controller Class in Customer namespace..
    IC Webclient - New context node in customer namespace
    Thanks,
    Thirumala.

  • Custom BSP Extension

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

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

  • How to create custom BSP application in SAP CRM?

    Hi Experts,
    I would like to seek help from you. I am new in developing CRM objects. My first requirement is to create a custom program that will generate a PDF report.
    First thing I would like to know is the transaction code where I need to create a BSP application that will be able to run in crm webclient. Please clarify if it is in BSP_WD_CMPWB or in SE80 because it is said that I should create BSP application using MVC.
    Second thing is how will I be able to call a smartforms in a BSP application. The scenario for my custom program would be, I should have a two input fields in the selection-screen which are Business Partner ID and Product Lines. together with a button that will trigger the form when ticked.
    Hope to hear from all of you. Your help will be very much appreciated.
    Thanks and Regards,
    Monica

    Hello MonicAnna,
    You can find some information on this page.
    (http://help.sap.com/saphelp_nw70/helpdata/en/59/cd7daa07d711d5b66f006094192fe3/content.htm)
    And also you dont have to use se80 to create new Bsp appliaction. You can create new application by this transaction BSP_WD_CMPWB.
    Zafer,
    Edited by: Zafer Kuru on Dec 5, 2011 10:12 AM

  • Calling custom BSP application from CRM PCUI

    Hi,
    We are using the CRM PCUI for channel partner management. Since PCUI framework has some limitations as to how the data is formatted in the layout such as no multiple value selection ( Being a generic framework using blueprint tables we have to use the predefined layout settings and positions) we want to call a standalone BSP application to maintain some of the data such as marketing attributes. We want to do this by providing a link to the standalone BSP application where the data can be maintained. Since we will be calling this application in the create mode of a new BP, is it possible to integrate the whole application as one logical unit ? I mean we want to commit the marketing attributes within the same 'save' methods of the pcui framework. Is this possible to do ? Any ideas or input is greatly appreciated.
    Thanks.

    Hi,
    we've already done a rework of the marketing attributes screen by using the technique I've described in my Weblog <a href="/people/gregor.wolf3/blog/2005/05/27/use-crm-pcui-html-viewer-to-call-a-custom-url">Use CRM PCUI HTML viewer to call a custom URL</a>. But it has one drawback: You can't use the Save button of the PC-UI applicaiton. You have to provide your own. But the usability enhanchement is rearly great.
    Regards
    Gregor

  • Editable Grid vs Custom Buttons

    Hi all,
    I have a grid in edit mode (created with the standard function REUSE_ALV etc etc) and i have a custom User Interface with a button to add a line (just a simple append in my internal table displayed in the grid).
    All it's ok and works, but if a put a value in my editable cell and i press the button WITHOUT press "ENTER" or move the cursor in another cell, the method handle_data_changed doesn't raise and i lost my new entries. If i use another button (for example sort, select all, filter) the event raise and the grid save my modification.
    So what is the problem? is something to configure in User Interface? i have debugged the FM without success and i haven't idea
    thx
    Francesco

    Have u decalared the USER BUTTON in class?
    If yes use HANDLE METHOD and the case e_comm.
    in this u have to write the code for the BUTTON declared.
    Also use the method get_selected_rows instead of handle_data_changed .
    I hope this helps

  • How to call a standard page from a custom BSP-iView by URL

    Dear readers,
    I have to implement a scenario as described in the guide "Administration of the Business Package for SAP CRM 4.0", chapter "Object Links in the Portal" scenario 1 and/or 2 (page 404).
    In my case, a custom iView-BSP lists certain business partners in a tree view as hyperlinks. Which URL do I have to use for these hyperlinks to call the "Accounts" page (within role Account Management (com.sap.pct.crm.AccountManager)) with the selected business partner.
    The guide informs that there exists among others a table CRMC_PRT_ROLE_MO where I can find the ID Page/Servie URL for each Role/CRM Object type/CRM Method.
    My question is if I can use this URL fragment within the URL I have to build, and if yes, how must I construct the full URL to call the account page? If now, which URL must I use to call the account page?
    thank you
    Andreas

    Hi Niladri,
    My requirement was calling the OAF page from standard form (menu), below are the steps that I followed,
    1) Get the OAF page function name
    2) Personalize the form, by calling the OAF page function
    a) Function Code: Give the OAF function code
    b) Parameter: Here pass the parameters
    example: ='contractLineId='||:OKS_LINES.ID
    Note: If you are calling from a custom form you can also try using fnd_function.execute to call the OAF page
    Thanks,
    Bharat

  • Custom bsp template for MBO.

    1. I've copied hap_document bsp application to my own z*. 
    2. I created a BAdI implementation based on definition HRHAP00_BSP_TMPL.
    3.  I've activated the implementation, went to the basic setting of OSA (transaction OOHAP_BASIC) and register the new implementation in exit area &#8216;AW &#8211; Web Layout&#8217;.
    4.I've set for a template on the layout tab writer the WEB layout to the custom layout
    And when i tring to make preview of my form in appraisal catalog, i got "500 Connection timed out" message. What i doing wrong?

    Hi Evgeniy,
    Go to SICF
    Go to your BSP ZHAP_DOCUMENT
    Under Service Data tab you will find a field Session Timeout
    Change that field to 2 to 5 min (it will be 00:00)
    and Try testing the service
    I m sure it will work.
    Regards,
    Rao

  • Hide alv grid PR custom subscreen

    Hello All,
    I have a custom subscreen on PR ( bulit via screen exit) with ALV grid and some screen elements ( to get input data from user) on it.
    In create and change PR mode, I need to get the input ( could be multiple rows with the help of create next icon )from user and update ALV grid with the input values. But in PR display mode, I need to hide the ALV grid.
    I tried using desctructor method FREE, but dint work.
    Any suggestions?
    Thanks,
    Chandra

    I have a similiar problem:
    I have a dynpro where there are different possibilities for ALV grids to be shown. I have 10 containers (that's the maximum number of ALV grids that can appear) and want to use the highest first. Now, it might be that I want to show another ALV in a container I have had an ALV before, therefore I must hide / delete / destroy the previous ALV in this container.
    I use the FREE( ) method of the alv controls, I clear and free all references, but still, even after leaving and accessing the dynpro again, the ALV is shown. That's why I'd need some help here too...
    Thanks in advance, Christopher

  • Calling a custom BSP application in CRM2007  ICWC using transaction launche

    Hi Experts,
    I created a Z BSP application in se80 which is a statefull application.Now I created a direct link in ICWC for this Bsp application using transaction launcher.
    Now my problem is that the session of this BSP remains active even if I click on some other link in the navigation bar.
    I need a way to end the session as soon as we navigate to some other link on the navigation bar.
    It would also be helpful if I just know the code for killing the session programatically.
    Helpful Answers will be rewarded!!
    Thanks,
    Ashish.

    Hi,
    I am not sure, but according to my understanding u can use CL_BSP_SERVER_SIDE_COOKIE class in ur BSP application to get refrence of ur BSP page.
    When u r in Web UI by the help of this class u can check whether u r in BSP related view or in other then view. If u r in other view then u can set runtime->keep_context = 0.
    Take help from this link for the class related info.
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
    Regards
    Gaurav

Maybe you are looking for

  • Can't insert a calculated field into af:table

    VO: select a.pp, count(b.id) from a left join b on a.pp=b.pp group by a.pp When I try to drag count(b.id) into my af:table I get an error message: "Could not create widget" "This operation has been cancelled since the drop target is not compatible wi

  • Adobe Media Encoder Does Not Get out of wait state

    Processor: Intel Core(TM)2 Quad CPU queue 6600 At 2.40 GH Z Memory:  8.00 GB System Type:     64 – bit Operating System Operating System:      Microsoft System 7 Ultra When transferring a 1 min. 11 second video from Adobe Premier Pro 5.5 to Adobe Med

  • Deployment Warning messages

    Hi, I have a rather straightforward mapping (but it has over 20 source tables into the Joiner and out to one target table). I am getting the following 6 warnings when I deploy: ORA-06550: PACKAGE BODY, line 126, column 36:PL/SQL: ORA-00936: missing e

  • Show ordimages - dynamic page or portal reports

    Hi all. I have one table with 2 columns ordimages and 1 varchar2, im use a oracle portal forms to make inserts, its works perfect, but now a need to display this images, i try to use Portal Reports, but when a try display this images just show a smal

  • Failure to access my account anymore

    Each time l try to log it indicates that service is nolonger supported and account not accessible anymore. L have not read emails on my handset since november this year, your quick response will be appreciated.