View in View container

HI,
I am creating employee form where there are two views created.
1) First View is showing an employee ID label and input field, with two buttons ADD AND DISPLAY.
2) After entering the emp ID and clicking on Display >>>will open the second view.
But I want even the first view should remain active while second view (with all details of First name,last name and rest) is being displayed.
So i added the view container and embeded the second view in the view container. In other words, the first view with emp ID shows and after click on display below the first view... another view shows with all  First name,last name etc details but the first view remains active as well.
How should I call the view container. Does this needs to be done in wdmodifyview, or via plugs to be created.
Regards
SP
Edited by: Shakti Parwanda on Aug 24, 2009 7:24 PM
Edited by: Shakti Parwanda on Aug 24, 2009 7:26 PM

Hi SP,
I think in this scenario there is no need of creating two views.In a single view alone on clicking the 'Display' button you set a flag
and in WDDOMODIFYVIEW method you can make the UI element where you are displaying the other details 'visible' by using the
syntax below:
lv_trp->set_visible( CL_WD_TRANSPARENT_CONTAINER=>E_VISIBLE-VISIBLE ).
Note:Initially the 'visible' property of the UI element should be set to none.
Regards
Martina

Similar Messages

  • Embed view in view container dynamically

    Hello Experts,
      I have links in my web dynpro ABAP view, when user clicks on a link I need to show another view in view container.  For example I have two links in my view and when user clicks on link1 I need to show VIEW1 to the user in the view container UI element, if user clicks on link2 I need to show VIEW2.  I have written the below code in Link action method.  But it is not working.  Any one can help in this?
      DATA : lo_window_controller TYPE REF TO if_wd_window_controller.
      DATA : lo_view_controller TYPE REF TO if_wd_view_controller.
      DATA : lo_window_rr TYPE REF TO if_wd_rr_window.
      lo_view_controller   = wd_this->wd_get_api( ).
      lo_window_controller = lo_view_controller->get_embedding_window_ctlr( ).
      lo_window_rr         = lo_window_controller->get_window_info( ).
    Embedding view
      lo_window_rr->embed_view( used_view_name     = 'V_EMP_TERMINATION'
                                embedding_position = 'V_ACTION/VCU_CONTAINER'
                                used_component_name = 'ZHR_MSS_APPL' ).
    with best regards
    K. Mohan Reddy

    Hi mohan ,
    You written the code for embedding the view . then you have to creat the navigation link then only you can do navigation
    Look at the sample code for creating the navigation link dynamically
    DATA lo_navi_services TYPE REF TO if_wd_navigation_services_new.
    DATA lo_api_v_main_wf TYPE REF TO if_wd_view_controller.
    DATA lo_navi_services TYPE REF TO if_wd_navigation_services_new.
    DATA lo_view_usage TYPE REF TO if_wd_rr_view_usage.
    DATA lo_window TYPE REF TO if_wd_rr_window.
      lo_api_v_main_wf = wd_this->wd_get_api( ).
      lo_navi_services ?= lo_api_v_main_wf.
      lo_view_usage = lo_api_v_main_wf->get_view_usage( ).
      lo_window = lo_view_usage->get_window( ).
    CONSTANTS lc_target TYPE string VALUE 'VIEW_MAIN_WF/VC_WF'. "viewname /view vontainer name
    *Write the code for getting the view name here
    if view_name is not initial
       TRY.
         lv_window_name = lo_window->get_name( ).
         wd_comp_controller->fire_unactivate_all_pro_event( ).
            wd_this->m_navi_repository_handle = lo_navi_services->do_dynamic_navigation(
                source_window_name        = 'lv_window_name'
                source_vusage_name        = lo_view_usage->name
                source_plug_name          =  'source_out_plug'
             plug_parameters           = lv_plug_parameter
                target_view_name          = lv_view_name
                target_plug_name          = 'FROM_Plug'
             target_embedding_position = lc_target )."lv_target ).
          CATCH cx_wd_runtime_repository INTO lr_error.
        ENDTRY.
    hope thisl piece of code is help full
    regards
    chinnaiya

  • Errors in the high-level relational engine. The data source view does not contain a definition for the table or view. The Source property may not have been set.

    Hi All,
    I have a cube in which i'm using the TIME DIM that i created in the warehouse. But now i wanted a new measure in the cube which is Average over time and when i wanted to created the new measure i got a message that no time dim was defined, so i created a
    new time dimension in the SSAS using wizard. But when i tried to process the new time dimension i'm getting the follwoing error message
    "Errors in the high-level relational engine. The data source view does not contain a definition for "SSASTIMEDIM" the table or view. The Source property may not have been set."
    Can anyone please tell me why i cannot create a new measure average over the time using my time dimension? Also what am i doing wrong with the SSASTIMEDIM, that i'm getting the error.
    Thanks

    Hi PMunshi,
    According to your description, you get the above error when processing the time dimension. Right?
    In this scenario, since you have updated the DSV, it should have no problem on the table existence. One possibility is that table has been specified for tracking in the notifications for proactive caching, but isn't available any more for some
    reason. Please change the setting in Proactive Caching into "MOLAP".
    Reference:
    How To Implement Proactive Caching in SQL Server Analysis Services SSAS
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Embedding view in view container UI element

    Hello,
       I have a requirement which is given below:
      I have a MAIN view where there is a view container UI element. This container holds one of 3 views(VIEW1,VIEW2 and VIEW3) depending on user input. Initially VIEW1 is displayed (this is set as the default view). Then the user navigates to VIEW2 and enters some selection criteria and confirms. Then VIEW3 is displayed with the entered selection criteria. Then the user clicks on search on the MAIN view and the RESULT view is displayed. When the user clicks on back functionality in the RESULT view,MAIN view is again displayed but the view container has VIEW1. The user wants to see VIEW3 in the viewcontainer in MAIN view.
    Please let me know if there is anyway to achieve this.
    Regards
    Nilanjan

    Hi Nilanjan,
    Create three context attributes V1,V2,V3 of type char1.
    Default value for V1 is 'X'. 
    Bind the visible property of each view container to the above attributes like
    View1-V1
    View2-V2
    View3-V3
    When you run the application, defaul View1 displays, coz its default values set as 'X'.
    Now depends up on the logic, change the value of each attribute as 'X' or SPACE .
    Eg:
        DATA lo_el_context TYPE REF TO if_wd_context_element.
        DATA ls_context TYPE wd_this->Element_context.
        DATA lv_v1 TYPE wd_this->Element_context-v1.
        DATA lv_v2 TYPE wd_this->Element_context-v2.
        DATA lv_v3 TYPE wd_this->Element_context-v3.
    *   get element via lead selection
        lo_el_context = wd_context->get_element( ).
    *   @TODO handle not set lead selection
        IF lo_el_context IS INITIAL.
        ENDIF.
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V1`
          value = 'X' ).
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V2`
          value = '' ).
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V3`
          value = '' ).
    or
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V1`
          value = '' ).
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V2`
          value = 'X' ).
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V3`
          value = '' ).
    or
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V1`
          value = '' ).
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V2`
          value = '' ).
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V3`
          value = 'X' ).
    Regards,
    Amarnath S

  • 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

  • What's the maximum number of view criteria that a view object can contain?

    We are making extensive use of view criteria in our view objects, mainly for LOV purposes. Is there a figure on the maximum amount of view criteria a view object can contain.
    Regards
    Ollyando
    Somewhere in Canada

    Hi,
    I am not aware of a limitation
    Frank

  • Exchange Edge Server - 2010 (helpdesk to view queue viewer)

    Setup - Exchange Server Edge 2010 running in DMZ
    Question: Created a local account for Helpdesk team, allowed RDP permission to them, they unable to view Queue Viewer, getting an error message "couldn't find the enterprise organization container'
    What permission do i need to give to local account to view queue viewer, need info on power shell command to use to provide them access.
    I am sure RBAC would play a role here, command info, pls assist.
    Thanks
    Inderjit

    Hello Inderjit
    Unfortunately we cant use RBAC on EDGE server
    On Edge Transport servers, RBAC isn't used to control permissions. The local Administrators group is used to control who can configure
    Exchange features on the local server.
    https://technet.microsoft.com/en-in/library/dd297943(v=exchg.141).aspx
    https://technet.microsoft.com/en-in/library/aa996854(v=exchg.141).aspx
    sandip

  • Month view, week view and working week view in outlook calendar in wpf

    Hello everybody!
    i was posted
    http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/7d927ca0-a110-4ede-bb2c-fa0070625722/ here how to make Outlook calendar sheet view , and tried
    http://www.codeproject.com/Articles/30881/Creating-an-Outlook-Calendar-Using-WPF-Part-2 this sample now i wanted it in Week view ,month view and working week(without sat & sun) , anybody knows any idea for this further requirement.
    Thanks & Regards dhampall

    Hi dhampall_79,
    Ok, you could open the project you shared, and open RudiGrobler.Controls/Calendar/Themes/Generic.xaml file, and then you could find below part of code:
    <Style TargetType="{x:Type local:Calendar}">
    <Setter Property="Template">
    <Setter.Value>
    <ControlTemplate TargetType="{x:Type local:Calendar}">
    <Border Background="#E3EFFF"
    BorderBrush="#6593CF"
    BorderThickness="2,2,2,2">
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="50" />
    <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
    <RowDefinition Height="38" />
    <RowDefinition Height="22" />
    <RowDefinition Height="*" />
    </Grid.RowDefinitions>
    <StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Margin="5,0,0,0">
    <Button Content="Previous" Height="25" Command="{x:Static local:Calendar.PreviousDay}" Background="{x:Null}" BorderBrush="{x:Null}">
    </Button>
    <Button Content="Next" Height="25" Command="{x:Static local:Calendar.NextDay}" Background="{x:Null}" BorderBrush="{x:Null}">
    </Button>
    </StackPanel>
    <Border BorderBrush="#6593CF" BorderThickness="0,0,1,1" Grid.Column="0" Grid.Row="1" />
    <local:CalendarDayHeader Grid.Column="1" Grid.Row="1" x:Name="PART_DayHeader"/>
    <ScrollViewer Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" x:Name="PART_ScrollViewer">
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="50" />
    <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <local:CalendarLedger Grid.Column="0" x:Name="PART_Ledger"/>
    <local:CalendarDay Grid.Column="1" x:Name="PART_Day" />
    </Grid>
    </ScrollViewer>
    </Grid>
    </Border>
    </ControlTemplate>
    </Setter.Value>
    </Setter>
    </Style>
    Above code is the appearance of the View, you could create your own view and replace
    <local:CalendarLedger Grid.Column="0" x:Name="PART_Ledger"/>
    <local:CalendarDay Grid.Column="1" x:Name="PART_Day" />
    You could change above two lines to your control, and then you could get what you want.
    best regards,
    Sheldon _Xiao[MSFT]
    MSDN Community Support | Feedback to us
    Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • View application pages - view forms views and application pages. enumerate lists

    view application pages - view forms views and application pages. enumerate lists, if we disable this permission in sharepoint then user gets blocked from getting into application pages which is good. But now I have few list view web parts on a page and user
    is not able to see those reports based on view. It shows working on it. As soon as I enable view application pages permission it works.
    I need a permission level -view forms views only.
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi Amit,
    SharePoint has a feature called “ViewFormPagesLockDown” at site collection scope. After enabling the feature, all groups / users not having the “View Application Pages” permission will not be able to navigate to pages like “_layouts/viewlsts.aspx”
    or “pages/forms/allitems.aspx”.
    So, for your issue, please disable the ViewFormPagesLockDown feature via PowerShell command:
    $lockdownFeature = get-spfeature viewformpageslockdown
    disable-spfeature $lockdownFeature -url [the URL of your site]
    More information:
    http://sharepointtechie.blogspot.jp/2011/06/blocking-access-to-application-pages.html
    http://sureshpydi.blogspot.jp/2013/12/viewformpageslockdown-feature-in.html
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • I have been working on a book and have 418 photos already in my book.  All of a sudden I cannot access the book format to see the multiple view, spread view, or single view.  I can no longer see my book although I still see the collection with 418 photos

    I have been working on a book and have 418 photos already in my book.  All of a sudden I cannot access the book module and clicking on the multiple view, spread view, or single view does not take me back to the book I have been working on.  I can no longer see my book although I still see the collection with 418 photos under collections.  What I do see is a blank template for a new book and I can't find the unfinished book I started with 418 photos.  It is like the new empty template is somehow covering it up.  How do I get back to the book I have been working on?

    Is it possible you mistakenly clicked on a [Clear Layout] button?
    But a great hint is- Always click on the [Create a Saved Book] button, early in your new book design.
    Then you have a permanent link to the book in the Collections panel. (In addition to the standard collection of your selected images)
    Note: a Book Collection shows an icon that looks like a book.
    Every time you come back to edit the book, open the Book Module by clicking on the white arrow that appears on the end of your Book Collection title. (The title as saved)
    Re-opening a book without using the "Saved Book" option can have unpredictable results.
    A "Book" Collection is like a "Smart Collection" because anything you do to the book design, change pages, change images, etc,  is automatically updated in the Saved Book collection.

  • Creation of Database View , Projection View

    Hi ABAP EXPERTS,
    Can anyone plz send me the step by step creation of DATABASE and PROJECT VIEWS. Just steps by step explanation will do , screen shots will be more than appreciated.
    Kind Regards,
    Sunil Ranal.

    Database View (SE11)
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set. In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    Check this link for database view creation.
    http://help.sap.com/saphelp_40b/helpdata/en/cf/21ed06446011d189700000e8322d00/content.htm
    Projection View
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed. A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    Check this link for Projection view creation.
    http://help.sap.com/saphelp_nw70/helpdata/en/cf/21ed20446011d189700000e8322d00/content.htm
    Regards,
    Maha

  • Aperture viewer issues after full screen view - in Browser, Split View and Viewer modes

    2012 MacBook Air, Mac OS 10.8.2, Aperture 3.4.3. Everything is up to date and, as usual, has been working just fine since the last update a few weeks ago. Full screen view never caused any issues... until today.
    I tried quitting and restarting Aperture. Using another Aperture library. Quitting everything and restarting my MBA... same behavior.
    I went into the full screen view, edited a photo and got out of the full screen view to export it.
    All of the sudden, only one line of thumbnails was showing up in my Broswer view (out of 380 pictures in that project). Looking closely at it, it seems like the Aperture now thinks that the desktop area it has to work with (the dark gray area where the thumbnails are) is larger than the aperture window because a part of photo is showing up cut off at the right edge and no slider at the bottom:
    (note: at the bottom it says 380 items displayed)
    Going back to full screen view, everything looks and works as nothing has happened:
    In Broswer view, if I scroll down such that the first row is out of the view, the second row of thumbnails shows up:
    Now, if I scroll back up, two rows of thumbnails are shown in the viewer:
    To get the third row to show up, I need to scroll down to get the top two rows out of the way and so on.
    At some point I saw this weirdo but have not been able to replicate it:
    Split View also has its issues - the photo itself is no longer centered and the slider at the bottom gets out of the way past the right edge of the Aperture window before reaching the end of the row of thumbnails:
    Finally, when double clicking the photo in the Split View to view it by itself, once again it is not centered and cut off on the right side but there is no slider...
    Any ideas? I tried looking through the Viewer-related threads on here and did not see anything close to this. Is there a way to contact Apple support? I found some form somewhere on the website, but it had a dropdown for operating system and nothing past 10.7.2 so I am guessing it is not being maintained...
    edit: added the note under the first image

    When the graphical user interface is misbehaving, it frequently helps to remove the Aperture preferences apple.com.Aperture.plist from your user library, see the Aperture 3: Troubleshooting Basics on how to do this.
    Regards
    Léonie

  • ? | View inside view with the IB.

    Hi,
    How can i build views inside view, using the IB ?
    Or with code if it's not possible ?
    Thanks.

    yes.
    Look at the top of the window for "view mode"; there are 3 buttons: the first is icon view (the default), the second is hierarchical/list view (the one you want), the third is the multi-column view. Just press the second button and you'll be able to place new objects "inside" other objects.
    rob.

  • View Output/View Log options are redirecting to browser automatically in Oracle Apps 11i

    Hi,
    Can any one please let me know the what is the option to change popup options in oracle apps 11i.
    My requirement is when I click on view Output/View Log options it should pop up there itself rather than redirecting to  browser.
    Application version is : 11.5.10.2
    Thanks,
    Govind

    Hi,
    Clear the value for the following profile option:
    Viewer: Text
    Regards,
    Bashar

  • How manage materialized view, materialized view logs and db links in Server explorer and Oracle Database Proyect

    Hi,
    We have installed Oracle 12c Oracle Developer Tools for Visual Studio (Visual Studio is 2010 edition). With this tool we can manage tables, views, etc... but we also need to manage more database objects such as materialized views, materialized view logs and db links.
    Is there any option to manage this object from Server Explorer and to add the script in the Database Project? At the same time, the schema compare tools does not include this object types. Is there any option to compare them?
    Thanks.

    As you noticed, not all database objects are available in Server Explorer, and because of this they can't have scripts generated for them, nor can they be compared with Schema Compare.
    In a pinch, you should be able to use SQL Developer to do this.

  • IMG - View maintenance  - View suppress existing entries and do not save

    Hi there,
    within the customizing maintanence I wanted to change a view cluster with an existing view (within transaction /simgh). But after replacement of the vc with the view the view do not show any existing entries and do not save my new entries.
    I already regenerate the whole view again, but the behavior do not change.
    I also deleted the whole maintenance dialog and generated again, but the behavior do not change.
    Now when I access the view, only a number of rows are changeable but empty (number of these entries = number of existing entries) and when I save a new entry, the whole line shift to the end, of empty changeable (open) lines and when I access the screen again, this entry is not saved and not displayed.
    Have anybody an idea how to solve this?
    Kind regards, Kathrin
    Edited by: Kathrin Gossmann on Mar 12, 2009 1:28 PM
    Edited by: Kathrin Gossmann on Mar 12, 2009 1:29 PM

    Hi,
    There is nothing called as basic list in web dynpro
    There are 2 ways of displaying more than one record (internal table data) in either ALV or Table.
    Using ALV you have an advantage of directly downloading onto excel.
    You need to process success and error records separately into 2 internal table, show them in 2 ALVs differently with 2 messages, so that the users can directly download them on to excel file as ALV provides it.
    If the user does not want the records (success or error) ones, if the user wants only a message with number of records uploaded/not uploaded then you do not require them to display it in ALV, you can just give them a message.
    In this case you can hide the ALV and only display messages in a single view or based on  radio button. 2 views or not required.
    In the selection screen itself, you  can show the number of records uploaded/not uploaded.
    Hope this helps.

Maybe you are looking for

  • Video and audio not in sync v 7 itunes

    since downloading this version when attempting to play previews of tv/movies on itunes the video is slow to play back sort like frame by frame (as well if i buy a tv show). of course the audio is all out of sync as well. the sound is perfect and the

  • Service PO and Service pricing procedure

    Hello, 1 Can any one explain how pricing procedure is defined while creating service PO and how service taxes are captured in po 2. Senario-The company wants to send a machine for repairing to a vendor. A work order is created and the machine is sent

  • My screen turns black i can listen but i can't see noting

    my screen turns black i can listen but i can't see noting

  • Why is Facebook suddenly is no longer loading properly with Firefox?

    About an hour ago Facebook's home page stopped displaying properly in Firefox. I tried re-logging into Facebook only to discover that the logon page is also displaying all wrong. I'm having no trouble with Internet Explorer or Google Chrome so the pr

  • DPP Settings to ACR

    Hello I have a Canon EOS 60D in DPP the image looks fantastic but when i transfer it to ACR the colors and everything look completely different is there a profiloe or something that can get these two programs images to look the same?