Using only 1 view from a component ( usage )

hi experts..
I have a component C1 with 7 views...
I have another componet C2 in ehich i want to use only 1 view of the component C1 rather than the entire component...
How can i do that...
jagruti

Hi again.
can u make it more simpler sascha..
In the component controlelr of C1 create en event
(mark as interface).
Steps below r not clear.....
Then in the actíon handler method of C1 fire this
event.
The action handler method assigned to the back button in the view you want to use in C2. Here you can use the wizzard to fire the event in the component controller. There should be a fire_... method in the component controller now.
In the controller of view in C2 which contains the
ViewUiContainerElement create an event handler method
for the event of C1. In this handler you fire an
outbound of the view which navigates to another view
in C2.
this is described in the above mention thread. In C2 you created a viuew with the ViewUiContainerElement which embedds the view with the back button of C1.
Go to the attrib utes tab of this view and add the usage of C1 here.
Then go to the methods tab of this view and create a method handleBackEvent and choose event handler. In the event columen make a F4 and select the event of the component usage C1. Hit enter.
Create an outbound plug in this view which should be use to navigate to the view in C2 you want. Then go to the event handler method just created and fire the outbound plug.
Do not forget to connect the outbound to the inbound of the view you want to navigate to.
sorry for bugging u..
No prob.
jagruti..
Cheers,
Sascha
Message was edited by:
        Sascha Dingeldey

Similar Messages

  • Creating multiple graphs dashboard in Crystal XI using a single View from MS SQL Server 2005

    How to create multiple graphs dashboard in Crystal XI using a single View from MS SQL Server 2005?
    I need to use Crystal XI and create a dashboard which shows some sales data and stuff, multiple graphs on a single screen.
    My tech team says they can display one graph per page but not 4 graphs on the same page as it uses a common view from SQL Server 2005.
    How to manage this? Can we call in multiple views / graphs in the same page? Say 4 graphs on the same page?
    We use ASP or .NET for calling crystal reports into the App.
    Regards,
    Akshay.
    INDIA

    Have you tried creating multiple sections, putting each graph in a separate section and then underlaying the sections so they appear next to each other?

  • Fireing outbound plug of interface view from within component

    Hi all,
    is there a better way of firing an outbound plug of an wd component interface view than from within the interface view controller itself?
    The problem is, that you easly get a cyclic reference if you evaluate inbound component plugs in the interface controller (usage from int view ctrl --> int ctrl needed) and then try to fire an outbound plug from this interface controller (usage comp int --> comp int view usage needed).
    One workaround is to use some custom controller with usage of the interface view, but this doesn't seem to be a nice solution.
    So is it possible to fire outbound comp plugs from, lets say the component controller - without any usage releation to the comp int view - instead, maybe via wdComponentAPI? If yes, could you provide a code snippet?
    Thanks you and best regards,
    Christian

    Hi Christian,
    this is not possible by using the public API only, i'm afraid. It is of course possible, if you decide to forget about the possible drawbacks of using methods and classes reserved for internal use. But you have to use it at your own risk. I hacked this together some weeks ago, don't know whether it still works
    * Fires an outbound plug of an interface view with parameters.
    * @param wdComponentAPI Component API "owning" the interface view.
    * @param windowName Name of window
    * @param plugName Name of outbound plug
    * @param callerParameterMap optional Map of plug parameters.
    public static final void fireOutboundPlug(
      IWDComponent wdComponentAPI,
      String windowName,
      String plugName,
      Map callerParameterMap)
      throws WDRuntimeException {
      // Find window requested
      IWDWindowInfo windowInfo = wdComponentAPI.getComponent().getComponentInfo().findInWindows(windowName);
      if (windowInfo == null) {
        throw new WDRuntimeException(
          "Can't find window: " + windowName + " in component: " + wdComponentAPI.getQualifiedName());
      // Get info of interface view
      IWDInterfaceViewInfo ifViewInfo = windowInfo.getInterfaceView();
      if (ifViewInfo == null) {
        throw new WDRuntimeException("Window: " + windowName + ", no interface view info found");
      // Find outbound plug
      IWDOutboundPlugInfo outboundPlug = ifViewInfo.findInOutboundPlugs(plugName);
      if (outboundPlug == null) {
        throw new WDRuntimeException(
          "The interface view: " + ifViewInfo.getName() + " has no outbound plug: " + plugName);
      // Parameter passing
      Collection plugParameters = outboundPlug.getParameters();
      // TODO make check optional, check caller map parameter keys against existing
      if (plugParameters == null || plugParameters.isEmpty()) {
        // No caller parameters allowed.
        if (callerParameterMap != null && !callerParameterMap.isEmpty()) {
          throw new WDRuntimeException(
            "The outbound plug: " + plugName + " has no parameters, callerParams must be empty/null.");
      // TODO This is a hack, use of internal WD runtime classes and methods (don't use productive).
      InterfaceView ifViewController =
        (InterfaceView) ((Component) wdComponentAPI.getComponent()).getController(ifViewInfo.getName());
      ifViewController.navigate(outboundPlug.getName(), callerParameterMap);
    Please remember, that not everything which is technically possible, makes sense
    Regards
    Stefan

  • How to view lifecycle for component usage

    Greetings-
    I have declared use of one component to another in the diagram view.  I initially set the lifecycle to "CreateOnDemand" using the "New Component Usage" wizard but now I'd like to change this to "Manual".  However, I don't see the lifecycle when I view the properties of the referenced Component in the diagram view.  How do I find/change this?

    Hi,
    In WebDynproExplorer expand the "UsedComponents" node under your component .
    Double click on the usedComponent and you can change the lifecycle property.
    Regards, Anilkumar

  • How to Access the view from another Component

    Hi,
    Seek your advice on this following requirement.
    1. Would like to add the view OVWindow of Component BTCATEGORIES in an assignment block of 
        CRMCMP_CMG similar to the assignment block exists in the BT116H_SRVO component.
    2. Please provide the step by step procedure to implement this requirement.
    Regards,
    Arif

    Hi,
       I am having view1 and view2.
      in view1 i am using roadmap. S1 is one of the step of road map.
      in view1 i used this code to get the reference of this view in componentcontroller attribute
    Data: lo_api TYPE REF TO if_wd_view_controller.
    If first_time = 'X'.
    lo_api = wd_this->wd_get_api( ).
    wd_Comp_Controller->my_VIEW = lo_api.
    endif.
    in my view2 i want to access the roadmap step
    i dono how to access that.. i used this code.......
             wd_comp_controller->my_view->get_element( 'S1' ).
    is this correct.. If not what is the code to get that id..
    Can any one tell me clearly...

  • Why i can not use only 10 view in JHeadstart 10g ?

    Hi,
    I am a student in King Saud University and i want to use a product help me to enter data and see my project as interface in web page and my project has 19 tables , and i heard a bout JHeadstart 10g it is a nice product just few steps and you will see your project completely finish as a web pages.
    But when i use the JHeadstart 10g 10.1.3 i can not only use 10 view , why ?
    Is there a way to use JHeadstart 10g in my project that has only 19 tables ?
    Please I need help !!!!

    Michael is correct, this is a limitation of the evaluation version. JHeadstart is not a free product, you can use the evaluation version on a limited set of tables, and if you like the product, please buy Jheadstart licenses, and you get access to the unlimited production version.
    Steven Davelaar,
    JHeadstart Team.

  • Unflatten data using only the output from flatten to string

    Using the Unflatten from String vi requires that you provide the type. This is not always possible - you may not know it (or you have a number to choose from). In a situation where the original data is flattened, then the Type String & Data string are clustered & flattened again, you have a common structure no matter what the source data. Unflattening will return the Type & Data strings of the original data, however I have seen no vi anywhere that either converts Type String to Type, or Unflattens data given only the Type & Data strings. How is either of these done?
    Attachments:
    Type_conversion.vi ‏48 KB

    You are asking too much from LabVIEW or any compiler for that matter. When the the datatype is unknown or undefined at compile time, it can't change the code to adapt to the incoming data. That is the programmer's job to do this and provide code to detect the incoming datatype and branch to appropriate routine to handle each datatype after it has been cast to a known type.
    The compiler has to know the datatype before generating the code. Can you imagine executing your diagram in debug mode and see the wire change type from one iteration to the other as the incoming data changes type? That's the programmer that knows what datatypes are to be expected.
    The original poster suggested to bundle typestring and flat data: you essentialy have
    a structure similar to a variant. If you want to use undefined datatype, you should use variants instead of flattened strings since it includes the datatype. See my presentation on OpenG.org http://openg.org/tiki/tiki-index.php?page=2003-05-06+Group+Meeting
    to see how to manipulate variant data at run-time.
    LabVIEW, C'est LabVIEW

  • Setting SCORM 1.2 to force a mastery score in the manifest even when only slide views are used to tr

    I have some courses that use only slide views to track completion, because the quizzes are set as separate elements in the LMS we are using (from Oracle PeopleSoft).  The LMS people are telling me they require a masteryscore of 0 to be included in the SCORM manifest file when using slide views.  However, when the manifest files are created, there is no mastery score included in the manifest. 
    Is there a way to force Captvate 6 to publish a mastery score in the SCORM manifest even when the completion criteria are 80% slide views?

    I am not sure, but you can always unzip the SCORm package and add the masteryscore by hand
    In your manifest there should be an organizations section like this. Add <adlcp:masteryscore> under the <item> tag
    <organization identifier="org-ident">
                                  <title>Course Title</title>
    <item identifier="some_id_1" identifierref="some_id_1-1" isvisible="true">
                                            <title>Course Title</title>
    <adlcp:masteryscore>0</adlcp:masteryscore>
    </item>
    </organization>
    </organizations>
    The above example has a single SCO with an ID of "some_id_1-1" an activity id of "some_id_1" and a masteryscore of 0. The masteryscore can be between 0 an 100

  • Adding a view in a component of BSP application

    Hi All,
    I want to create new component for a BSP and add a view to it.
    my scenario is : I have a problem in creating a pop-up view whenever a button in a WEB UI is clicked.
    I have added a button in the items tab of sales order creation(in WEB UI),so when that button is clicked a pop-up view has to be generated.
    the view i am creating is a ineractive view where the user can enter some data and press a button in the pop-up window so that the data is copied in the items tab.
    the pop-up contains a table grid where the user can enter the data and press the button in pop-up window.
    so could you please let me know how to create this type of pop-up window.
    Regarding this some one has send me a solution of creating a new component with a new view.but unfortunately i am not able to create a view because it is asking for nodes and BOL entity.
    so could you all provide me some input inorder to create the component and view.
    Thanks
    Tanveer

    Hi Tanveer,
    I have done the Similar Case.
    By now I hope you have Created a New Component.
    Ensure the Following Points before you Proceed.
    1. Create a Window/View Set and View.
    2. As you are saying yours is Table View while Creating View Specify it as Value Node and assign Corresponding Attributes to the Value Node.
    3. Specify Type of View is Table Type.
    4. Now in Runtime Repository Add the Created Window.
    5. Now add the Created ViewSet and View to the Window and Save.
    6. Create a New Interface View which is ( Window Name ) in Runtime Repository.
    7. Add Component Usage in Runtime Repository.( In Source Component where Button is Present )
        a. Give ID and Interface View for the Component Usage and give Used Component
            Name. If View is created in same component then give same name other wise
             Give another component name.
    8. After create View/Window/Component Interface/Component Usage Now to get the
       Table View in Popup Screen
       Modify the Standard Code similar to the Table View in HTML Page.
       For Reference:
    <chtmlb:tableExtension tableId = "Table"
                           layout  = "FIXED" >
      <chtmlb:configTable id              = "Table"
                          navigationMode  = "BYPAGE"
                          onRowSelection  = "select"
                          selectedRowIndex      = "<%= CONTEXTNODE->SELECTED_INDEX %>"
                          selectedRowIndexTable = "<%= CONTEXTNODE->->SELECTION_TAB %>"
                          selectionMode         = "<%= CONTEXTNODE->->SELECTION_MODE %>"
                          table           = "//CONTEXTNODE->/Table"
                          usage           = "SEARCHRESULT"
                          visibleRowCount = "10"
                          width           = "100%"
                          showNoMatchText = "FALSE"
    />
    </chtmlb:tableExtension>
    CONTEXTNODE is the Context Node in View.
    Now to get the Values in the Table View when popup gets displayed.
    Go to the Newly Created View and add Code to populate Values in Table View
    Method CL_BSP_WD_CONTEXT_NODE_TV - > IF_BSP_MODEL~INIT.
    Now,to Call the Created View as a popup from the New Component when Buton is Clicked
    Use the Following Code in the Event of Button Click.
    DATA: lr_popup TYPE REF TO if_bsp_wd_popup.
      IF lr_popup IS NOT BOUND.
        lr_popup = me->comp_controller->window_manager->create_popup( )
        (Specify Parameters Interface View,Component Usage and Title for Window in the above Method._
        lr_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
      ENDIF.
    Set the callback event on the imported controller ( Specify Event Name which needs to get Triggered when Popup is Closed.)
      lr_popup->set_on_close_event( iv_event_name = "EVENT_NAME"
                                           iv_view = me ).
    *Set the width of the popup
      CALL METHOD lr_popup->set_window_width
        EXPORTING
          iv_width = 500.
    *Open the popup
      lr_popup->open( ).
    This will help in Getting a View as a Popup when Button is Clicked.

  • How to call view from Diffrent Components

    Hi Experts,
    In my application 5 component(comp1,comp2,comp3,comp4,comp5) under one DC.
    In Comp1-> View1 have a drop down to select business operations, View Container with empty view while starting.
    Ex: one,two, three, four list of values in drop down.
    If i select Two from drop down, it should  display view from comp2->View1 in ViewContainer.
    Like this it should display view from diffrent component in comp1->View1 (Inter Componet Communication).
    This application developing in CE 7.1 & NWDS 7.1 not in 2004s..
    Please any one help me to do this requirement .....
    Thanks in advance..
    Regards, 
    Satya.

    Hi,
    The simplest solution in this case is to create another DC component.
    This will have a single window with (a) ViewSet Container(s). Then you will have to create a window per view in your first DC Component.
    After this - you will need to add the first DC component to the second DC component (under used DC Components). This is done by first creating public parts of the first DC and adding to the second, following which you need to right click "Used DC components" in the second DC and select the first. You may need to do this multiple times for different windows.
    After this - in your second DC you will need to embed the Component Interface views of each of the windows to the View Set Containers (as created previously).
    Next you will need to write some code in the onSelect Action for the DropDown that will manage the visibility of the different views.
    Let me know in case there are any further issues.
    Thanks.
    HTH.
    p256960.

  • Three levels hierarachy - hierarchy viewer data visualization component

    I am not getting the third level when i am using the hierarchy viewer....any pointers will be a great help
    Edited by: Deepak Subramanian on Jan 22, 2010 5:34 AM

    oops sorry if i sounded vague....
    using jdev version 11g
    well I am trying to use the hierarchy viewer data visualization component to create a hierarchy which shows the managers and employees below them.
    am using a single query based VO which has two columns manager and employee.
    then created a self view link with that vo
    the data control looks something like
    manager(first level)
    ----manager or employee(first level)
    ---------employee(third level)
    I am dragging entire data control on the page so that the create hierarchy viewer option appears.
    from there I am stuck...
    when I am running the page, I am getting just two levels...the last level is not showing up :(.....
    Edited by: Deepak Subramanian on Jan 22, 2010 5:35 AM

  • Referencing component usage with different interfaces

    Hi experts,
    First of, some details;
    - I'm on NW04.
    - I have a generic WDP interface named: IModelComponent
    - I have a specific WDP interface named: IEmployee
    - I have a WDP component implementing both interfaces named: Employee
    Now I want to create some sort of component factory component. In this component I have:
    - defined 'Used Web Dynpro Component' IModelComponent
    - Created a method getComponentUsage (static names just for clearer example):
    wdThis.wdGetIModelComponentComponentUsage().createComponent("x.x.x.org.mdc.empl.EmployeeModelComponent", "x.x/x~org~mdc~employee");
    return wdThis.wdGetIModelComponentComponentUsage();
    Next I have a client view component which refers to the component factory and the employee interface
    - defined 'Used Web Dynpro Component' IEmployee
    - defined 'Used Web Dynpro Component' ComponentFactory
    - On request I call the factory method getComponentUsage
    Now, when I use this component usage the following way:
    wdThis.wdGetIEmployeeComponentUsage.enterReferencingModeUnsafe(receivedComponentUsage);
    Then things work perfectly! This is basically what I want to achieve.
    But the method enterReferencingModeUnsafe is deprecated, so I wonder if there are other, better ways to achieve usage referencing of components with multiple interfaces (create as one interface, use as the other interface).
    Looking forward to any comment.
    Grtz,
    Chris
    Edited by: Chris van de Wouw on Feb 6, 2010 5:20 PM

    Basically solved it myself. I'm now using the actual required component usage (IEmployee) as entry point for the factory, which will create the correct implementation component (based on configuration). For IModelComponent specific methods I can use the getInterfaceController() of the employee component usage class and cast it to the model component interface.

  • Need some help regarding the component usage

    Dear ALL,
    I have one scenario something like this .
    I have a main component say ZComp1  and in it i have created one view in which we two drop downs and i have 28 view containers depending upon the drop down values these view containers will be visible here all the view container i am using for displaying by means of component usage (i.e 28 compoenents i am calling into my main ). So now when i run my main application it is taking minimu of 2 mins to display the screen .  To test whats the problem i have written some code in the handle default of main window and  set the break point what i observed is quite surprising that when i run the apllication it takes hardly 2 mins of time to reach my handledefault method (which is the first one to trigger when i run the apllicatin) . Please suggest me what can be doen to overcome this issue. or suggest some alternative to improve  performance.
    Note : When there is less amount of data in the screen then it takes less time to execute or else it takes hell lot of time plz suggest :(.
    Awaiting for your valuable suggestions.
    Regards,
    Sana.

    Hi Misbah,
    28 VCO are too much in  a view.
    So, try to revamp teh design and reduce the VCO's in a view.
    Another thing would be, Every WDDOINIT, and WDDOMODIFY view of the used components would be called when you try to load the component at first.
    In your case that is happening, and please check and confirm it.
    A proper modular design would be a better approach in handling the situation.
    Good day!
    Regards,
    Shashikanth. D

  • Want to use only DAC client on Windows machine

    Hi,
    I want to use only DAC client from my windows machine. I have all other components on UNIX machine. Now my question is,
    1.
    Do we need to install all OBIEE components & then Oracle BI Apps on windows machine to use DAC client? Or just copying DAC folder from some different windows machine onto my machine will be fine to use DAC client?
    2. If it is must to install OBIEE for installaing Oracle BI Apps(As DAC is part of BI Apps), What are the minimum components of OBIEE that i need to install?
    Thanks,
    Prasad

    The supported way to do this is to install everything on Windows. However as you have see by installing the software on UNIX the file copy approach works. You can try it just make sure you have the proper path of folders. Since you will not actually have BI EE installed you still have to create an "OracleBI" folder because some DAC files look to that folder hierarchy. Also make sure you have the Java in path with no spaces.
    Let us know how it works out.

  • Can we only year value from "0FISCPER" (Fiscal Year/Period) at BEx level

    Hi all,
    I have two time characteristics "0FISCYEAR" (Fiscal Year) and "0FISCPER" (Fiscal Year/Period). In DSO initially "0FISCPER" was there and later request came to add "0FISCYEAR". Now data in char. "0FISCPER" is since beginning (from 2000) and for char. "0FISCYEAR" is since 2010.
    User's requirement is to create a report which will display data Year wise.
    My issue is if i am using "0FISCYEAR" then user is not able to see year instead it shows #. I dont want to do data reloading as this is GL data and hold huge no. of records in it.
    So my concern is : Is there any way to use only year value from "0FISCPER" (Fiscal Year/Period) at BEx level? Is there any setting which I can apply and get the same value of Year as I can see from "0FISCYEAR". Please assist me on this.
    Thanks,
    Arvind

    Hi Arvind,
    Your requirement can be realised through virtual characteristics.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b04be008-86cc-2c10-4bad-e517ea3f4c80?QuickLink=index&…
    however, I would still suggest to reload the data. you will only need to reload years before 2010 and you can do this in phases.
    Hope this helps.
    -Swati.

Maybe you are looking for

  • Update Parked Non PO invoice - FBV2 functionality via BAPI or FM not BDC

    Good day all, after searching many days, I have found many threads similar to this request but none have been properly answers.  My scenario: I need to change a header field (ZUONR) and account assignment related fields (KOSTL, AUFNR, etc) in the doc

  • Error at the time of Post Goods Issue

    Dear All, I am getting an error when I am doing the post goods issue the error says that Field Selection Movement Type 601 Differs for Business Area.Though we went to the respective table RM07CUFA and rectified the same what could be the cause of thi

  • Trying to install CS 5.5 on new macbook pro laptop (10.8.3) and having trouble :(

    hi there!  i'm trying to install CS 5.5 Design Premium on my new macbook pro.  i have the original dvds *with the serial number* but this new laptop doesn't have a dvd driver SO, i've downloaded the CS 5.5 files from the adobe site and i was hoping d

  • VERY VERY URGENT !!!! - Value tag in Text Field !

    Hi, I am displaying some value from the DB in a textfield in jsp. I am facing problem when the value has a single quote or double quote. When i write - <input type=text name=mytext value="<%=myVar%>"> 1) When value of myVar has a single quote, the ab

  • PS script that emails after completion?

    Hello, I have this script it's suppose to mail the PS document: Header 1 var mailServer = "mail_Server_name"; var mailAddress = "E-Mail-Address"; var mailTitle = "Results of script"; var mailText = "Script completed at " + new Date(); printText = fal