Dynamic performence views

hi,
what is V$ACCESS and V$HVMASTER_INFO when it will use

user1175505 wrote:
hi,
what is V$ACCESS and V$HVMASTER_INFO when it will useV$ACCESS displays information about locks that are currently imposed on library cache objects.
The locks are imposed to ensure that they are not aged out of the library cache while they are required for SQL execution.
V$HVMASTER_INFO describes the current and previous master instances and the number of re-masterings of Global Enqueue Service resources.
refer:
Dynamic Performance (V$) Views: V$ACCESS to V$HVMASTER_INFO
http://download.oracle.com/docs/cd/B28359_01/server.111/b28320/dynviews_1.htm
Posters, please mind these common-sense rules when participating here:
- When asking a question, provide all the details that someone would need to answer it. Consulting documentation first is highly recommended.
- When answering a question, please be courteous and respectful; there are different levels of experience represented here.
A poorly worded question is better ignored than flamed - or better yet, help the poster ask a better question.
Thanks for doing your part to make this community as valuable as possible for everyone!
- OTN

Similar Messages

  • Problem with embeding the same view in dynamically created view container

    Hello Experts,
                  I am getiing a dump when i try to embed the same view inside the dynamically created view container of
    dynamically created tabs of a tabstrip
    The requirement go like this, i have 2 views in which i have have to embed the 2nd view to view1 where i have an empty
    tabstrip without tabs. During runtime i create tabs as well as view containers accordingly and then try to embed view2 in tabs.
    I have put the below mentioned code in HANDLEIN,
      DATA: lref_vcntlr  TYPE REF TO if_wd_view_controller,
            lref_comp    TYPE REF TO if_wd_component_usage,
            lv_embed_pos TYPE string.
      lref_vcntlr = wd_this->wd_get_api( ).
      lv_embed_pos = 'FILE_PERS_EDIT/VC_GENERAL'.
      TRY.
          CALL METHOD lref_vcntlr->do_dynamic_navigation
            EXPORTING
              source_window_name        = 'FILE_PERSISTENCE_WND'          " Window
              source_vusage_name        = 'FILE_PERS_EDIT_USAGE_1'       " Source View usage
              source_plug_name          = 'TO_EDIT_LAYOUT'                       " Outbound plug
              target_view_name          = 'PERS_EDIT_LAYOUT'                  " Second view to be embedded
              target_plug_name          = 'IN'                                                  " Second view inboun plug
              target_embedding_position = lv_embed_pos
            RECEIVING
              component_usage           = lref_comp.
        CATCH cx_wd_runtime_repository .
      ENDTRY.
      wd_this->fire_to_edit_layout_plg( ).
    This works fine for the first time.
    However onaction tab select i change the embeding position( 'FILE_PERS_EDIT/view container name of different tab') of the view2 an try to embed view2 in a different tab.
    At this point i get a dump stating View2 already present in the window 'FILE_PERSISTENCE_WND' of component.
    I think, the view2 embediing has to be removed before i add the view2 in a different tab
    Kindly let me know how to remove view2 embedding from tab1 before i add a view2 to a different tab or is there any other
    means to handle this problem?
    Thanks & Best Regards,
    Srini.

    Hello Srini,
    I found a solution to your problem, because I had a similar task.
    In WDDOINIT I changed the method do_dynamic_navigation to if_wd_navigation_services_new~prepare_dynamic_navigation:
    DATA:
        l_view_controller_api TYPE REF TO if_wd_view_controller.
      l_view_controller_api = wd_this->wd_get_api( ).
      TRY.
          CALL METHOD l_view_controller_api->if_wd_navigation_services_new~prepare_dynamic_navigation
            EXPORTING
              source_window_name        = 'WDW_MAIN'
              source_vusage_name        = 'VW_SUB_USAGE_1'
              source_plug_name          = 'TO_VW_CONTENT'
              target_component_name     = 'ZTEST_DYNAMIC'
              target_view_name          = 'VW_CONTENT'
              target_plug_name          = 'DEFAULT'
              target_embedding_position = 'VW_MAIN/VC_TAB.VW_SUB/TAB1_VC'
            RECEIVING
              repository_handle         = wd_this->g_rep_handle.
        CATCH cx_wd_runtime_repository .
      ENDTRY.
      wd_this->fire_to_vw_content_plg( param1 = 'TAB1' ).
    In the action I first deleted the navigation targets, then navigated to the empty-view and last I called my target view:
      DATA:
        lv_position           TYPE string,
        l_view_controller_api TYPE REF TO if_wd_view_controller,
        lr_view_usage         TYPE REF TO if_wd_rr_view_usage,
        lr_view_***_t         TYPE wdrr_vca_objects,
        lr_view_***           LIKE LINE OF lr_view_***_t.
      l_view_controller_api = wd_this->wd_get_api( ).
      lr_view_usage = wd_this->g_view->get_view_usage( ).
      lr_view_usage->delete_all_navigation_targets( plug_name = 'TO_VW_CONTENT' ).
      CLEAR lv_position.
      CONCATENATE 'VW_MAIN/VC_TAB.VW_SUB/' old_tab '_VC' INTO lv_position.
      TRY.
          l_view_controller_api->if_wd_navigation_services_new~do_dynamic_navigation(
          source_window_name = 'WDW_MAIN'
          source_vusage_name = 'VW_SUB_USAGE_1'
          source_plug_name   = 'TO_EMPTYVIEW'
          target_component_name = 'ZTEST_DYNAMIC'
          target_view_name   = 'EMPTYVIEW'
          target_plug_name   = 'DEFAULT'
          target_embedding_position = lv_position ).
        CATCH cx_wd_runtime_repository.
      ENDTRY.
      CLEAR lv_position.
      CONCATENATE 'VW_MAIN/VC_TAB.VW_SUB/' tab '_VC' INTO lv_position.
      TRY.
          wd_this->g_rep_handle = l_view_controller_api->if_wd_navigation_services_new~prepare_dynamic_navigation(
            source_window_name = 'WDW_MAIN'
            source_vusage_name = 'VW_SUB_USAGE_1'
            source_plug_name   = 'TO_VW_CONTENT'
            target_component_name = 'ZTEST_DYNAMIC'
            target_view_name   = 'VW_CONTENT'
            target_plug_name   = 'DEFAULT'
            target_embedding_position = lv_position ).
        CATCH cx_wd_runtime_repository.
      ENDTRY.
      wd_this->fire_to_vw_content_plg( param1 = tab ).
    Ann.: I my example, I had 3 views: VW_MAIN which embedds VW_SUB. VW_SUB has the tabs in it and VW_SUB embedds VW_CONTENT.
    BR,
    Roland

  • Is it even possible to dynamically apply view criteria in an ADF Web App?

    This is one of those situations where something that should take an hour ends up taking days.
    * I have a view.
    * The view has Bind Variables associated with it.
    * The view has View Criteria associated with it.
    * Each of the View Criteria use different Bind Variables.
    * I have a search criteria input page that receives from the user what will ultimately be used to set the bind variables.
    * I have a search results page that uses the view to display a table.
    * I have the code that dynamically sets view criteria and parameters. It is based on the following:
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcadvvo.htm#BCGFHAGA
    * This code works great, until the iterator associated with the table binding to the view is initialized. At that time, the view is reset to its defaults, and all of my code's doings are discarded. How do I know this? Because I have gone so far as to run my code that sets view criteria and binding variables dynamically in a phase event handler for the search results page in the render response phase. There is no other point at which to dynamically modify the view.
    This is turning into a situation where it seems I will need 5 different views and 5 different pages in order to show a single set of query results. I cannot get dynamically applied view criteria to work in an ADF web app. Has anyone else done it? Can anyone relate to this? Are there any other suggestions before I conclude that it's not possible for this framework to handle this simple scenario?
    Thanks

    There must be a setting or something that I am still missing here. If I write code just like this and make sure it is executed, I still only see the results of my view executed without the view criteria applied using the default bind variable values that I supplied in the view object.
    It's like the fact that I set the bind variables, the view criteria, and executed the view query programmatically is lost on the iterator -- it's like it never happened. What setting is used to ensure that the iterator uses the outcome of what I executed programmatically? There has to be a critical set or setting that I am missing.
    Here is the iterator and search region definitions defined in the page def "executables" section:
      <executables>
         <iterator Binds="CustomSearchView1" RangeSize="25"
                  DataControl="AppModuleDataControl"
                  id="CustomSearchView1Iterator"/>
        <searchRegion Binds="CustomSearchView1Iterator"
                      Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
                      id="CustomSearchView1Query"/>
        </executables>Here's the "tree" binding in the page def file:
      <bindings>
       <tree IterBinding="CustomSearchView1Iterator" id="CustomSearchView1">
          <nodeDefinition DefName="Model.CustomSearchView" Name="CustomSearchView10">
            <AttrNames>
              <Item Value="CustomId"/>
              <Item Value="CustomProjectNumber"/>
              <Item Value="CustomName"/>
              <Item Value="CustomStatus"/>
              <Item Value="CustomStatusDate"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
      </bindings>In an effort to take page flow out of this mess, I had modified this to include the search criteria and search results on a single page. So, I now have a "Search" button. When the "Search" button is clicked, the action method does the following:
        public String searchActionListener ()
              // Get search criteria from select one choice and text input controls.
              AppModule appModule =
                    ( AppModule ) Configuration.createRootApplicationModule (
                        "Model.AppModule",
                        "AppModuleLocal");
              appModule.customSearch( searchCriteria1,
                                                   searchCriteria2,
                                                   searchCriteria3 );
        }In my application module this translates to:
        public void customNoticeSearch ( String searchCriteria1, String searchCriteria2, String searchCriteria3)
           CustomSearchViewImpl searchViewImp =
               ( CustomSearchViewImpl ) this.getCustomSearchView1 ();
           searchViewImp.customExecuteQuery ( searchCriteria1, searchCriteria2, searchCriteria3);
        }Finally, in my custom view object implementation code:
        public void customExecuteQuery ( String searchCriteria1, String searchCriteria2, String searchCriteria3 )
            // Set-up the parameters that are part of the core query.
            this.setp_searchCriteria1( searchCriteria1);
            this.setp_searchCriteria2( searchCriteria2);
            if ( searchCriteria3 != null )
                ViewCriteriaManager vcm = this.getViewCriteriaManager();
                ViewCriteria vc = vcm.getViewCriteria ( "WithLastCriteria" );
                this.setp_searchCriteria3( new Number ( searchCriteria3 ) );
                this.applyViewCriteria( vc );
            System.out.println ("This is fun.");
            this.executeQuery();
        }This code executes, but the results table is empty, and I know that there are results, because I can execute use execute with params to execute the base query and get the correct results back.
    Thanks for taking a look at this.

  • Dynamically embed View into View Container UI Element

    Hi all,
    I'm searching for a possibility to embed a view into a dynamically created View container element.
    I want to do this out of another view, where a tabstrip is contained. So I have a button on this view for generation of a new tab with an view container element in it. Now I got to the point where I have to set the view to this container within the tab strip.
    I read several blogs and articles, where this is done via the window manager within an method of the window, but non how to do this within a view.
    Any ideas?
    Thanks
    Olli

    HI,
    that's nit what I wanted. What I want to do is a kind of table maintenance. There is a button under the tabstrip for creating a new row. If the user klicks on that button a new tab should be created for the new row. Therefore the view on the tabs are always the same.
    I have created the tabstrib. dynamically add a tab to this strip on button press is no problem. Also a ViewContainerElement is created. But now I have to set the statically created view for the row maintenance into the container.
    Thanks
    Ragards
    Olli

  • Dynamic Performance View question

    So, Oracle maintains dynamic performance tables. Views are created off of them, and then public synonyms are created off of those views and they begin with V$. Very good. But something doesn't make sense to me.
    V$DATAFILE is a synonym that references a view named V_$DATAFILE:
    SQL> select dbms_metadata.get_ddl('SYNONYM', 'V$DATAFILE', 'PUBLIC') from dual;
    DBMS_METADATA.GET_DDL('SYNONYM','V$DATAFILE','PUBLIC')
    CREATE OR REPLACE PUBLIC SYNONYM "V$DATAFILE" FOR "SYS"."V_$DATAFILE"
    SQL> select object_type from dba_objects where object_name='V_$DATAFILE';
    OBJECT_TYPE
    VIEW
    But the definition of the view references the.... synonym itself?
    SQL> select dbms_metadata.get_ddl('VIEW', 'V_$DATAFILE', 'SYS') from dual;
    DBMS_METADATA.GET_DDL('VIEW','V_$DATAFILE','SYS')
    CREATE OR REPLACE FORCE VIEW "SYS"."V_$DATAFILE" ("FILE#", "CREATION_CHANGE#",
    "CREATION_TIME", "TS#", "RFILE#", "STATUS", "ENABLED", "CHECKPOINT_CHANGE#", "C
    HECKPOINT_TIME", "UNRECOVERABLE_CHANGE#", "UNRECOVERABLE_TIME", "LAST_CHANGE#",
    "LAST_TIME", "OFFLINE_CHANGE#", "ONLINE_CHANGE#", "ONLINE_TIME", "BYTES", "BLOCK
    S", "CREATE_BYTES", "BLOCK_SIZE", "NAME", "PLUGGED_IN", "BLOCK1_OFFSET", "AUX_NA
    ME", "FIRST_NONLOGGED_SCN", "FIRST_NONLOGGED_TIME", "FOREIGN_DBID", "FOREIGN_CRE
    ATION_CHANGE#", "FOREIGN_CREATION_TIME", "PLUGGED_READONLY", "PLUGIN_CHANGE#", "
    PLUGIN_RESETLOGS_CHANGE#", "PLUGIN_RESETLOGS_TIME") AS
    select "FILE#","CREATION_CHANGE#","CREATION_TIME","TS#","RFILE#","STATUS","ENA
    BLED","CHECKPOINT_CHANGE#","CHECKPOINT_TIME","UNRECOVERABLE_CHANGE#","UNRECOVERA
    BLE_TIME","LAST_CHANGE#","LAST_TIME","OFFLINE_CHANGE#","ONLINE_CHANGE#","ONLINE_
    TIME","BYTES","BLOCKS","CREATE_BYTES","BLOCK_SIZE","NAME","PLUGGED_IN","BLOCK1_O
    FFSET","AUX_NAME","FIRST_NONLOGGED_SCN","FIRST_NONLOGGED_TIME","FOREIGN_DBID","F
    OREIGN_CREATION_CHANGE#","FOREIGN_CREATION_TIME","PLUGGED_READONLY","PLUGIN_CHAN
    GE#","PLUGIN_RESETLOGS_CHANGE#","PLUGIN_RESETLOGS_TIME" from v$datafile
    So the view definition references a synonym, and the synonym references the same view... seems circular. Is this Oracle Corp's way of telling me to bugger off? I just wanted to look up the name of the dynamic performance table out of curiosity.

    DBjanitor_old wrote:
    So, Oracle maintains dynamic performance tables. Views are created off of them, and then public synonyms are created off of those views and they begin with V$. Very good. But something doesn't make sense to me.
    The synonyms is owned by PUBLIC, not by SYS - so when SYS references v$XXX they access the underlying object, when anyone else references v$XXX they access the synomym, which points to the view owned by SYS, and the view accesses the underlying object owned by SYS.
    The point of this is that SYS is the only schema allowed to use the code that interprets the dynamic performance views properly, so any end user that wants to access them has to go through an object owned by sys, which then accesses them with the privileges of sys (i.e. the equivalent of authid owner). The apparent loop in the chain simply means that SYS, SYSTEM, DBSNMP etc. can all use the same queries to access the dynamic performance views, but only one of them is accessing the special code directly.
    See what happens if you try to grant access to the raw objects to non-SYS schemas (logged on as SYS)
    SQL> grant select on v$session to test_user;
    grant select on v$session to test_user
    ERROR at line 1:
    ORA-02030: can only select from fixed tables/viewsReagrds
    Jonathan Lewis

  • Which table the dynamic selection view will be stored

    Dear Freinds,
                      I  have created a dynamic selections view form Se80 > Editobject>Selection view > Created by adding the required tables pa0002,pa006,pa0009 . But the transport request we have saved it locally
    now i want to create a transport request for the dynamic view . Could any please let me know how to create transport reqest for the Dynamic selection
    View which has been created.
    regards
    divya

    HiDivya,
    yo have saved the changes into local object and now you want to generate the TRN and for the save you have to change the attribute > GOTO > Other object Entry and  changed the package and TRN will generate .
    Regards
    Sheetal

  • Dynamically Binding to Dynamically Create View

    I tried to copy the code of “Dynamically Binding to Dynamically Create View object” but something is wrong because when I am debbuging it doesn’t work after the sentence vo.executeQuery();
    I suspect that the reason could be how I created the view..
    Your code is running well but not mine.
    It shows this error
    •     JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    •     null
    I don’t know why because the code is the same.
    How did you create the objet view ?
    Could you help me?

    I'd recommend checking out this article on Debugging ADF Applications:
    http://www.oracle.com/technology/products/jdev/tips/muench/debugger/index.html
    and then reporting here the full stack trace using the tips described in that article.

  • Dynamic picture viewer

    Dynamic picture viewer.
    Please check out this url,
    http://www.discrete-properties.com/imageView/picView.htm
    it has the swf of the picture viewer, that I am trying to
    create, it also has alink to the source code, for anyone that is
    interested in helping.. thanks.
    problem 1... I want to speed up the animation, however to do
    this I would need to use +=20 instead of ++, however that causes
    problems for the animation of the picture border as it does not
    know when to stop the animation, as it is incrementing in 20, not
    by 1.
    problem 2... The masking image animation starts before the
    image has loaded that needs to be masked.
    problem 3... The masking animation does not always play.
    If you could take a look that would be great.. I am still
    fairly new to this and self taught so I apologies for how dirty the
    actionscripting is!!!!
    http://www.discrete-properties.com/imageView/picView.htm
    Thanks in advance.

    Make the FPS go up, that solves problem 1
    I don't know what you mean by problem 2 and 3...
    If you want the mast image animation to start before the
    image has loaded, I would suggest to make it "play()" as soon as
    the item is clicked, but you need to know how big to resize it. If
    you mean that there's a problem because it plays before it's
    loaded, then... there is no problem :/. I looked at it and it
    didn't play when it was loading.
    Mask animation is always playing :/, solves problem 3 xD
    (yay, another self-taught actionscript person!)

  • Embed dynamic smart view report into power point

    Hello All.
    can amyone help with How to Embed dynamic smart view report into power point
    Thanks.

    Have you tried dragging and dropping onto a ppt slide? I just did and showed up sheet one of the workbook. If you have many sheets in the workbook and want to show a particular sheet/data, you may want to save workbook with that sheet visible when you reopen. One thing I have not checked is dynamic content of the worksheet.
    Venu

  • How to create transport request of Dynamic Selection view.

    Dear Freinds,
    I have created a dynamic selections view form Se80 > Editobject>Selection view > Created by adding the required tables pa0002,pa006,pa0009 . But the transport request saved it locally now i want to create a transport request for the dynamic view . Could any please let me know how to create transport request for the Dynamic selection View which has been created or could any please let me know where this dynamic selection gets stored?
    regards
    divya

    Hi Kalyan,
                    In se80> editobjects > selection view .........i have created the selection view . Now i have went into se80 and i dont find the one you have told me . could you please let me know little bit clear where i have to see .
    regards
    divya.

  • Are all V$ views (Dynamic Perf views) available in Mount Mode?

    DB version: 10.2.0.1, 11.2.0.1
    I remember querying
    v$datafilewhen the database was only mounted. Just curios if all dynamic performance views are available in mounted mode?
    Edited by: Max on Dec 16, 2010 1:41 AM

    Max wrote:
    DB version: 10.2.0.1, 11.2.0.1
    I remember querying
    v$datafilewhen the database was only mounted. Just curios if all dynamic performance views are available in mounted mode?Read the doc:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_1001.htm#i1398692
    After an instance is started, the V$ views that read from memory are accessible. Views that read data from disk require that the database be mounted, and some require that the database be open.
    Kamran Agayev A.
    Oracle ACE
    My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

  • Dynamic week view in calendar

    Hey everybody,
    Is there any way to display the week in a DYNAMIC way in calendar for mac (showing e.g. the past 2 and future 4 days rather than a fixed Monday to Sunday view)? Thanks in advance for your help!
    Best, C.

    Rachel, what happens if you rotate your iPod Touch so that it is in landscape mode while viewing your Calendar?
    B-rock

  • Dynamically embed  View in ViewContainerUIElement

    Hi all,
    Iam trying to create a ViewContainerUI element at runtime and want to add an existing view to the ViewContainer dynamically.
    Please let me know how can I embed a view dynamically in a view container.
    Component Controller :
    //Dynamic view container
    final IWDWindowInfo myWindow = wdComponentAPI.getComponentInfo().findInWindows("DemoWin");
    final IWDViewUsageInfo vuiMain = myWindow.getViewUsageByID("DemoView");
    final IWDViewContainerAssignmentInfo vcaiMainArea = vuiMain.createViewContainerAssignment();
    final IWDViewInfo viMain= (IWDViewInfo)vuiMain.getView();
    final IWDViewContainerInfo vciViewContainer = viMain.createViewContainer();
    /* Transfer the name to view controller to setup UI element */
    wdContext.currentContextElement().setViewId( vciViewContainer.getName() );
    vcaiMainArea.setViewContainer( vciViewContainer );
    In the DemoView :
    IWDViewContainerUIElement theViewContainer = (IWDViewContainerUIElement) view.createElement(IWDViewContainerUIElement.class, fld.getFieldID());
    theViewContainer.createLayoutData(IWDMatrixHeadData.class);
    theViewContainer.setViewContainer(wdContext.currentContextElement().getViewId());
    theGroup.addChild(theViewContainer);
    This is working fine. I am not getting exceptions.
    But a empty container is added to the view. Instead I want to add a existing view into viewcontainer dynamically.
    Please help me......Thanks in advance.

    Try this..........
    //Dynamic view container
    final IWDWindowInfo myWindow  = wdComponentAPI.getComponentInfo().findInWindows("MyWin");
    final IWDViewUsageInfo vuiMain   = myWindow.getViewUsageByID("MainView");
    final IWDViewContainerAssignmentInfo vcaiMainArea = vuiMain.createViewContainerAssignment();
                final IWDViewInfo viMain= (IWDViewInfo)vuiMain.getView();
               final IWDViewContainerInfo vciViewContainer     = viMain.createViewContainer();
               /* Transfer the name to view controller to setup UI element */
                vcaiMainArea.setViewContainer( vciViewContainer );
    //EMbed View dynamically in the View Container //
    final IWDViewUsageInfo vuiInner = vcaiMainArea.createEmbeddedViewUsage();
          final IWDViewUsageInfo   myViewMain   = myWindow.getViewUsageByID("MyView");
          final IWDViewInfo myView= (IWDViewInfo)myViewMain .getView();
          myViewMain.setView( myView);
    /* Mark view usage as default */
    vcaiMainArea.setDefaultViewUsage( vuiInner );
    Let me know if it works.........

  • Dynamically Embed View in ViewContainer

    Hi all,
    Iam trying to create a ViewContainerUI element at runtime and want to add an existing view to the ViewContainer dynamically.
    Please let me know how can I embed a view dynamically in a view container.
    Component Controller :
    //Dynamic view container
    final IWDWindowInfo         myWindow  = wdComponentAPI.getComponentInfo().findInWindows("DemoWin");
    final IWDViewUsageInfo      vuiMain   = myWindow.getViewUsageByID("DemoView");
    final IWDViewContainerAssignmentInfo vcaiMainArea = vuiMain.createViewContainerAssignment();
    final IWDViewInfo viMain= (IWDViewInfo)vuiMain.getView();
    final IWDViewContainerInfo vciViewContainer     = viMain.createViewContainer();
    /* Transfer the name to view controller to setup UI element */
    wdContext.currentContextElement().setViewId( vciViewContainer.getName() );
    vcaiMainArea.setViewContainer( vciViewContainer );
    In the DemoView :
                             IWDViewContainerUIElement theViewContainer = (IWDViewContainerUIElement) view.createElement(IWDViewContainerUIElement.class, fld.getFieldID());
                             theViewContainer.setViewContainer("TableView");
                                       theViewContainer.createLayoutData(IWDMatrixHeadData.class);
                                       theViewContainer.setViewContainer(wdContext.currentContextElement().getViewId());
                                            theGroup.addChild(theViewContainer);
    This is working fine. I am not getting exceptions.
    But a empty container is added to the view. Instead I want to add a existing view into DEMOVIew view container.
    Please help me......Thanks in advance.

    Try this..........
    //Dynamic view container
    final IWDWindowInfo myWindow  = wdComponentAPI.getComponentInfo().findInWindows("MyWin");
    final IWDViewUsageInfo vuiMain   = myWindow.getViewUsageByID("MainView");
    final IWDViewContainerAssignmentInfo vcaiMainArea = vuiMain.createViewContainerAssignment();
                final IWDViewInfo viMain= (IWDViewInfo)vuiMain.getView();
               final IWDViewContainerInfo vciViewContainer     = viMain.createViewContainer();
               /* Transfer the name to view controller to setup UI element */
                vcaiMainArea.setViewContainer( vciViewContainer );
    //EMbed View dynamically in the View Container //
    final IWDViewUsageInfo vuiInner = vcaiMainArea.createEmbeddedViewUsage();
          final IWDViewUsageInfo   myViewMain   = myWindow.getViewUsageByID("MyView");
          final IWDViewInfo myView= (IWDViewInfo)myViewMain .getView();
          myViewMain.setView( myView);
    /* Mark view usage as default */
    vcaiMainArea.setDefaultViewUsage( vuiInner );
    Let me know if it works.........

  • Embeding ALV table in dynamically created view container UI element

    Hi ,
    I created a view container UI element dynamically .that is working fine . I am using standard ALV component . Now i want to embed ALV table in View container UI element dynamically > please help me in this .
    Thanks in advance ,
    Vijay vorsu

    Hi,
    I am not sure how to do add an ALV table dynamically but you can have a look at this blog which talks about creating and adding a TABLE ui element dynamically. And TABLE UI element may solve your problem.
    http://mamma1360.blog.163.com/blog/static/314740992008127115551165/
    Thanks,
    Abhishek

Maybe you are looking for