New views in xisting components??

Hello all,
I wanted to know whether we can add new views to existing components like "ICCMP_BP_SEARCH".
I have enhanced this component using an enhancement set. Now when i try to add new view to this, it is now getting listed in the "Views" list. Any inputs whether it is possible to create new views in enhanced components, if yes how can we achieve this.
Regards,
chandan

if you see the new view in the view list, you have answer to your question "is it possible to create new views ?"
you can add everything you want in an enhanced component (views, custom controllers, context nodes, ...)
you should read ramp-up documents in order to learn how to use BSPWD_CMP_WB, it is a bit too long to do it here 

Similar Messages

  • Adding new view to viewset (BP_DATA to ICCMP_BP_DETAIL)

    Hello Experts !
    We are on CRM 7.0. I want to add the window IDNumber of component BP_DATA in the component ICCMP_BP_DETAIL.
    What are the steps to follow?
    I created an "usage" of the component BP_DATA in the component ICCMP_BP_DETAIL. I added the interface view BP_DATA/IdNumberWindow to the usage.
    I also created a new view area ('ZIdNumberData') in the viewset ICCMP_BP_DETAIL/BuPaCreateVS. Then, I assign the view of my usage BP_DATA to this new view area.
    I enhance the BuPaCreateVS.htm by adding a new line to the code like this:
       <thtmlb:gridCell columnIndex = "1"
                       rowIndex    = "3" >
        <bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'ZIdNumberData' ) %>"
                  url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'ZIdNumberData' ) %>" />
      </thtmlb:gridCell>
    But when I enter the webui it's giving me a DUMP in the view BP_DATA/AccountIDNumberList, the method DO_PREPARE_OUTPUT, because the following reference is initial:
    ME->VIEW_GROUP_CONTEXT
    The reference ME has the following value:
    Does anybody has any suggestions ?
    Thank you in advance
    M.

    Hi,
          Some components are meant to be used with a main component. The view group context is inherited hierarchically from parent components. Coming to your problem, assuming that the BP_DATA/AccountIDNumberList view is already enhanced, redefine the method set_view_group_context method im the IMPL class.
    Put in code, something like this..
    method SET_VIEW_GROUP_CONTEXT.
      IF iv_parent_context IS BOUND.
        CALL METHOD super->set_view_group_context
          EXPORTING
            iv_parent_context = iv_parent_context
            iv_first_time     = iv_first_time.
      ELSE.
        CREATE OBJECT me->view_group_context
            TYPE cl_bsp_wd_view_group_context.
      ENDIF.
    endmethod.
    This will clear up the immediate issue, but you will likely face more.
    Regards,
    Arun Prakash

  • New View Object not found

    Using the scott schema, in my test workspace I created a BC4J project that had 4 tables/view objects using the wizards and taking all the defaults. I created a UIX-JSP project using those view objects.
    Next I created a new table in the database (LoginMaster). I went back to the BC4J project added the entity object (LoginMaster) and allowed the wizard to build the default view object (LoginMasterView) into package1. Then I opened the properties on the AM (ScottModule)to put the new view object in the Data Model property. I tested the ScotMOdule AM and the view object is there and is accessable.
    I build a jsp page (using the starter form wizard in UIX-JSP category). I then striped out ALL of the default code and cut-n-pasted ALL of the code from another query form that was built by the "Business Components JSP Application" wizard of the UIX-JSP category. I changed the data source name from "EmpView" to "LoginMasterView" and when I run the application I'm told:
    Error Message: Could not locate View Object LoginMasterView in application Package1Module.
    oracle.jbo.JboException: Could not locate View Object LoginMasterView in application Package1Module.
    As I said, the VO LoginMasterView is in package1. I also verified it is coded in package1.xml andd scottmodule.xml, I suspect it was put here by setting the AM properties.
    So what did I leave out or do wrong?
    TIA,
    Ed.

    Edit your package1Module application module and verify that the name of the viewobject in the selected DataModel tree is the same as the name you're providing in your JSP page.
    I belive by default a number suffix is added to the VO names in the APpModule datapanel. Basically only VO usages that are included in the application module data-model are "findable" by default using the findViewObject methods. Yes it is the correct name in the DataModel Tree.
    Your response got me thinking. What files contain the text LoginMasterView? Well, all the files that conatin that text contain exactly that text. I was told package1.xml in the src directory of my BC4J objects project contained the text (which it did). But then I opened the files Package1Module.xml and Package1ModuleImpl.java and noticed they DID NOT conatin that text (even though it seems they should) so I added it to both of these files. But even after I built the BC4J objects project I noticed that the Package1ModuleImpl.class file is not recompiled (still dated July 4, 2002).
    So now I have two new questions:
    1. How come Package1Module.xml and Package1ModuleImpl.java did not get updated? What updates them?
    2. Once Package1ModuleImpl.java is manually updated and the [roject is built why is Package1ModuleImpl.class not recompiled?
    TIA,
    Ed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Pass parameter to new view in air desktop app

    Hi Guys,
    Have developed a mobile app that uses this code .....
    public function generalList_ChangeHandler(event:IndexChangeEvent):void
    navigator.pushView(Detail, list.selectedItem);
    .... to pass data from a list item that the user clicks to a new view called Detail. 
    This is a very common requirement. ie  Scroll a list, and then click on an item to go to a new view where the
    details about the item selected are rendered.
    ..but, I cannot see how to do this in a classic air desktop app.
    It must be pretty simple but it is not im Tour de Flex and I can't find a solution on the web.
    What would the equivalent code for an air app please?
    Thanks,
    Richard

    Oh, I see.
    Your right if I remember correctly you implemented your own version of a ViewNavigator for your AIR application.
    If you want to use the mobile components in your AIR application you need to add the swc to your project 'mobilecomponents.swc'.
    You do this right click project->propertie, then select Flex Build Path and focus on the Library Path tab. Then click "Add SWC" and browse to 'C:\Program Files (x86)\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\frameworks\libs\mobile' and select the mobilecomponents.swc.
    That should allow you to leverage the ViewNavigator in your AIR application. However, as your AIR app is not a MoblieApplication you will have to instanciate your own instance of ViewNavigator to use and push views to.
    Hope that helps.
    Greg

  • Create a new view in a enhance component

    Hi All,
              I want to create a new view for sales order and quatation in a component BP_factsheet.When i craete new view ,it is asking about some value like model node, bol entity, higher level, bol realtion.after that is is asking context node ,bsp application ,custome controller and view type.How can i get these value .when i create a new view then have to add these view in run time repositry under a window or not?
    Thanks in advance....
    Vishwas

    Hello Vishwas,
    You might be interested in knowing how to customise the new UI to add a new view using the enhancement concept.
    Please refer to the published document on the service marketplace:
    http://help.sap.com/saphelp_crm60/helpdata/en/1a/023d63b8387c4a8dfea6592f3a23a7/frameset.htm
    refers to the link at
    service.sap.com/okp
    Inside this go to:
    SAP CRM 2006s: Learning Map for Technology Consultants
    wherein you can find the cookbook to perform similar operation in detail.
    SAP CRM UI Cookbook
    I hope this helps.

  • Opening a new view in a new window on click of a table row entry.

    Hi Guys,
    How to open a new View of a same application in a new window (just like a pop up) on a click of a Table Row entry?
    I am using NWDS 7.0 version. So please suggest acccorrdingly.

    Hi Nikesh,
    first of all you will have to declare use of onLeadSelect event handler for your table (note that it will only be triggered when a lead selection occurs not a multiselection).
    Also, you can build at design time a View and a Window (for example, PopupWin) in your WebDynpro Component, and embed the view into the window.
    In your code for onLeadSelect function, you can use something like this to pop up the window.
    public void onActionRowSelection(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionSeleccionTabla(ServerEvent)
        IWDWindowManager windowManager = wdComponentAPI.getWindowManager();
        IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("PopupWin");
        IWDWindow window = windowManager.createModalWindow(windowInfo);
        window.setWindowPosition(WDWindowPos.CENTER);
        window.setWindowSize(new WDCssSize(450, WDWindowUnitOfLength.PX) , WDCssSize.UNDEFINED);
        // Store handle ti window in context attribute to able to close it later
        wdContext.currentContextElement().setPopup(window);
        window.show();
        //@@end
    Hope it helps,
    David

  • Creating a new view in a component

    HI,
    I am trying to create a new view in a BSP component using the wizard. But the context nodes are not getting created. Its throwing up an error - "View not copied with wizard; processing not possible".
    What could be the problem ? Pls help.
    Regards,
    Aravind.

    Hi Arvind,
    Before posting error, please search for it.
    Here is what i found here in 2007 forum itself.
    I guess you have not enhanced your component and your view.
    Without enhancing the component it is not possible to add a new context node.
    Here is a very helpful, follow it and the the other link within this thread,
    both are very useful in this regard.
    Web Client Context Node Enhancement
    Thanks & Regards
    Shiven

  • How to add a new view in Factsheet to collect data from R3

    Hi Experts,
    I need to add a new view in Account Factsheet called  'Open Delivery data'
    which will collect the delivery data from R3 system.
    As I know we have two Function Modules (at CRM) 'CRMT_ERP_FACT_SHEET_RETRIEVE'
    (at R3) 'CRM_CCKPT_EXPORTSUMMARY'
    All We need to do is create view which calls the data from R3 Via these modules.
    How should I proceed.
    Is this relevent steps :-
    http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock
    Regards,
    Ram

    Hi Sandeep,
    To add a new currency in Metadata, just add in Currencies dimension, and to add in Data form-just send the script what you are using as of now for rest of the currencies, or follow the same steps as specified above. or just add the script A#CLORATE.w#Periodic.C2#XYZ in rows of your data form (where XYZ- is the new currency).
    To add a new location in FDM login to FDM web client- click on Metadata--> locations and select the Controls review location where you want to add the data load location, right click and add the new location.

  • Adding New View Objects/Link on "Preview and Print" - Order Acknowledgement

    Hi,
    Can we add New View Objects/View Links for the existing "Preview and Print" Order Acknowledgement.
    I want to add for the 2 new functionalities i.e., for Charges (from OE_PRICE_ADJUSTMENTS_V ) and the Line Level Notes, which is currently not supported by Oracle.
    Can anyone help me on acheving this functionality?
    Looking forward for your response.
    Thanks in advance,
    Regards,
    Muru

    You can do that. You should first create the new business objects(AM, VO, VL) in jdeveloper, create your new regions in jdeveloper, associate the AM to the top level region(stackLayout) you create. Use personalization and add a stack layout in the Preview and Print page, set the extends property to point to the new region which you had created. Donot forget to deploy all the files in middle tier before doing the personalization.
    The AM which you had added to the stackLayout will automatically be nested with the root AM of the page during runtime.

  • How to create a new view by copying from standard view in IC webclient?

    Hello, expert,
    I need to enhance a sap standard component (BP_Factsheet), inside it I need to create a new view by copying from an existing standard view (Acitivities). However when I try to make a copy, I was asked for destination BSP application, I entered the Z-Application which I used when defining enhancement for the component. After the copy, I don't see the new view.
    Then I tried the destination BP_factsheet, instead of the z-application, then after the copy, I can see the new view. However since it's in SAP application, it seems like it's a MOD, not enhancemnet, and inside the new view, the classes (for context, context nodes, etc.) are not in custom namespace (not starting with Z).
    So please let me know how can I make a copy of sap standar view in custom namespace.
    Thanks in advance.
    Jayson

    When copying you can put any BSP name..normally the practice is to prefix the standard name with a Z.
    Secondly when you want to make changes to the individual classes and methods you need to right click and say enhance. Then the AZ class names etc would be generated. The view should appear in the component wherein you copied the original view from.
    I hope this helps.
    The cookbook should have details on this. Otherwise also its quite intuitive.
    Award points if it helps.
    Thanks.

  • Create a new view on Reports section

    I have tried to create a new view on the "Reports" section in SCSM 2012 SP1 and here is my final MP:
    <ManagementPack xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ContentReadable="true" SchemaVersion="1.1" OriginalSchemaVersion="1.1">
    <Manifest>
    <Identity>
    <ID>SG.Report.Library</ID>
    <Version>1.0.0.0</Version>
    </Identity>
    <Name>SG Report Library</Name>
    <References>
    <Reference Alias="System">
    <ID>System.Library</ID>
    <Version>7.5.2905.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="SMReport">
    <ID>Microsoft.SystemCenter.Report.Library</ID>
    <Version>7.5.2905.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    </References>
    </Manifest>
    <Presentation>
    <Folders>
    <Folder ID="Folder.SGReporting" Accessibility="Public" ParentFolder="SMReport!ServiceManager" />
    </Folders>
    </Presentation>
    <LanguagePacks>
    <LanguagePack ID="ENU" IsDefault="true">
    <DisplayStrings>
    <DisplayString ElementID="SG.Report.Library">
    <Name>SG Report Library</Name>
    <Description />
    </DisplayString>
    <DisplayString ElementID="Folder.SGReporting">
    <Name>SG Reports</Name>
    <Description>Contains SG reports</Description>
    </DisplayString>
    </DisplayStrings>
    </LanguagePack>
    </LanguagePacks>
    <Resources>
    </Resources>
    </ManagementPack>
    I can see the MP is imported successfully, Then I query the DB for folder:
    select * from Folder
    where folderName like '%report%'
    which gives me some rows containing the folder with parentID = '77C85F13-0D2F-5989-F175-781DE54AD627'
    this GUID belongs to "ServiceManager" folder which is the parent folder of "reports" section.
    All goes well without error, yet the folder does not show up!
    I have tried sealing the Mp but still to no avail.
    What I have done wrong?
    YSobhdel

    you have to use the MM01 tocde and enter the mateial you want extend for new view. system will propose the view and select the new view.
    Or use MM50 for mass

  • Unable to create a new view for SAP UI5 in NWDS

    Hi UI5 Profis,
    I'm just getting started with SAP UI5 and wanted to create and run my first application using the UI5 Tools wirh NWDS. After having installed NWDS and the UI5 Tools
    I create new SAP ui5 project, but the wizard always run into error, when I want to create new view.
    Did someone already have the same issue?
    Thanks in advance,
    BR,
    Berenger

    Hi Berenger,
    Which is your NWDS version?
    It seems there is a bug on view creation with 1.8.8 version:
    1814417 - Patched version 1.8.8 of UI Development Toolkit for HTML5
    http://service.sap.com/sap/support/notes/1814417
    Kind regards

  • Creating a new view to search local database

    SA
    i need to create a new view that searches my local db for certain clumns
    and i need the filter to have drop down lists based on my instace variables objects
    any suggesstions please ?

    You cannot implement that functionality using the Workspace views. I suggest having a screenflow that uses a JSP to display the information in the way you want. This screenflow can be exposed as a global activity.

  • Adding a new view in Account Identification

    We have a requirement to add a new view beside Installed Base| Object.
    I maintained entries in Object Component and Ac Identification Profile.
    While navigating to the new view there is an exception.
    Cannot display view CRMCMP_BPIDENT/ObjectCompVs of UI Component CRMCMP_BPIDENT
    An exception has occurred Exception Class  CX_BSP_WD_INCORRECT_IMPLEMENT - Window 'dynObjCompMainWin' is not defined in the component 'ICCMP_BP_DETAIL' 
    Method:  CL_BSP_WD_COMPONENT_USAGE=>GET_INTERFACE_VIEW_CONTR 
    Source Text Row:  28
    When I investigated this further I found out that standard SAP expects the window name 'dynObjCompMainWin', however when we enhance the component and add a new window, the generated name is 'ZICCMP_BP_DETL/dynObjCompMainWin (default)' and hence it fails.
    Has anyone faced this or knows a workaround?
    This is a crucial requirement, your help is appreciated.

    Hello,
              Guess you might have resolved this issue but incase you didn't go to runtime repository and click on the XML source code  and then  change the Window name to ' dynObjCompMainWin' it will resolve the issue.
    I was facing the same issue and I changed the window name in the XML source code it worked for me.
    Edited by: reddyp_p on Jan 25, 2012 4:15 PM

  • Inserting a new view  in place of already existed once

    Hai folks,
    In Ic Webclient on crm 5.0 system i got an issue
    In <b>identify customer</b> View set
    i have removed the view of <b>regestered product</b>
    and want to insert a  view <b>bupaLongTexts</b> there(in that deleted area)
    I am able to remove the view by removing the view name in the navigation links
    in <b>BuPaViewsets</b> in a customized design time repository zcrm_ic_dt_rep
    of a   customized   Run.Time. repository zcrm_ic_rt_rep.
    but For inserting a new view..
    I am getting fault .
    I inserted the view in the navigation link flow in Product (view area content id)..
    and copied customized view <b>BuPaIdentifycustomer</b>  and adjusted the code for a new viewset vision.
    I took care of  profile settings too.
    Is there any thing to  take care.. and what is this <b>view area content id.</b>
    Please reply this..Its my urgent requirement.
    Useful answers are rewarded..
    Bye..
    satish

    Hi Sathish,
    Instead of doing so much thing why dont u just go to spro->crm-icwc->customerspecificmodifications and just replace the existing view with the new view of ur application.
    thanks,
    ashish.

Maybe you are looking for

  • Hp laserjet 1000 series for windows 7

    friend, I had a question for you, I have an HP LaserJet 1000 printer series but now I get a new computer with Windows 7, but do I not found hp 1000 printer drivers, pls send me the link or drivers ready

  • Open shipping notification in md04

    Dear Experts, Please suggest how we can handle the qty differences arising from the goods receipt or return delivery in case of using the goods receipt w.r.t inbound delivery in system. In MD04 the diffrential quantities are shown as open shipping no

  • Problem in merge statement -ORA-27432 Step does not exist for chain

    Hi I m getting ORA-27432 Step does not exist for chain error in merge statement.Please explain the same. MERGE INTO fos.pe_td_hdr_sd B USING (          SELECT ACTIVE, ADDUID, ADDUIDTIME,TDKEY         FROM pe.pe_td_hdr           WHERE  (adduidtime lik

  • How do I get an old app of splashtop to work

    I desparately need someone to help me. Last fall I had a Toshiba Tablet, and I purchased the Splashtop app. I just recently sold it, and bought an iPad 2 yesterday. I am having all kinds of trouble, setting this app up on my iPad.   Can someone tell

  • Itunes is very very slow...why??

    im italian and i want to know why itunes is so slow!!! congratuled for iphone because is an fantastic telephone!!!